Skip to content

Commit

Permalink
3.0.22 - update metamask interface; build
Browse files Browse the repository at this point in the history
  • Loading branch information
rise1507 committed Jul 5, 2024
1 parent f84cc51 commit af9ddc4
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion dist/css/app.4c7835ab.css → dist/css/app.7434224a.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html translate="no"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="google" content="notranslate"/><link rel="icon" href="/favicon.ico"/><link rel="preconnect" , href="https://fonts.googleapis.com"/><link rel="preconnect" crossorigin="true" href="https://fonts.gstatic.com"/><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@600;700&display=swap"/><title>TON Bridge</title><script defer="defer" src="/js/chunk-vendors.6c33e418.js"></script><script defer="defer" src="/js/app.898fd4c1.js"></script><link href="/css/app.4c7835ab.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but ton-token-bridge doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div id="tonConnectButton"></div></body></html>
<!doctype html><html translate="no"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="google" content="notranslate"/><link rel="icon" href="/favicon.ico"/><link rel="preconnect" , href="https://fonts.googleapis.com"/><link rel="preconnect" crossorigin="true" href="https://fonts.gstatic.com"/><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@600;700&display=swap"/><title>TON Bridge</title><script defer="defer" src="/js/chunk-vendors.eac6bc8b.js"></script><script defer="defer" src="/js/app.815f32f6.js"></script><link href="/css/app.7434224a.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but ton-token-bridge doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div id="tonConnectButton"></div></body></html>
2 changes: 0 additions & 2 deletions dist/js/735.2c837a9e.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/js/735.2c837a9e.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions dist/js/735.6c870ff0.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/js/735.6c870ff0.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/js/app.815f32f6.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/js/app.898fd4c1.js

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/Footer/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<footer class="Footer">
<!-- Version -->
v3.0.21,
v3.0.22,

<!-- Instruction -->
<a :href="instructionLink" target="_blank">{{$t(`instruction`)}}</a>,
Expand Down
6 changes: 4 additions & 2 deletions src/utils/providers/metamask/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ export class Metamask implements Provider {
],
});

const accounts = (await window.ethereum.send("eth_requestAccounts"))
.result;
const accounts = await window.ethereum.request({
"method": "eth_requestAccounts",
"params": []
});

this.myAddress = accounts[0];
} catch (e: any) {
Expand Down

0 comments on commit af9ddc4

Please sign in to comment.