@taquito/beacon-wallet 19.2.0 → 19.2.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -26,23 +26,19 @@ import { BeaconWallet } from '@taquito/beacon-wallet';
|
|
|
26
26
|
const options = {
|
|
27
27
|
name: 'MyAwesomeDapp',
|
|
28
28
|
iconUrl: 'https://taquito.io/img/favicon.svg',
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
PERMISSION_REQUEST_SUCCESS: {
|
|
32
|
-
handler: async (data) => {
|
|
33
|
-
console.log('permission data:', data);
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
},
|
|
29
|
+
network: { type: 'ghostnet' },
|
|
30
|
+
enableMetrics: true,
|
|
37
31
|
};
|
|
38
32
|
const wallet = new BeaconWallet(options);
|
|
39
33
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
await wallet.client.subscribeToEvent(
|
|
35
|
+
BeaconEvent.ACTIVE_ACCOUNT_SET,
|
|
36
|
+
async (account) => {
|
|
37
|
+
// An active account has been set, update the dApp UI
|
|
38
|
+
console.log(`${BeaconEvent.ACTIVE_ACCOUNT_SET} triggered: `, account);
|
|
44
39
|
},
|
|
45
|
-
|
|
40
|
+
);
|
|
41
|
+
await wallet.requestPermissions();
|
|
46
42
|
|
|
47
43
|
const Tezos = new TezosToolkit('https://YOUR_PREFERRED_RPC_URL');
|
|
48
44
|
Tezos.setWalletProvider(wallet);
|
package/dist/lib/version.js
CHANGED
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
5
5
|
exports.VERSION = {
|
|
6
|
-
"commitHash": "
|
|
7
|
-
"version": "19.2.0"
|
|
6
|
+
"commitHash": "149f239050448e0dfb7d5e1ab98e578f61085d61",
|
|
7
|
+
"version": "19.2.1-beta.0"
|
|
8
8
|
};
|
|
@@ -63,8 +63,8 @@ class MissingRequiredScopes extends PermissionDeniedError {
|
|
|
63
63
|
|
|
64
64
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
65
65
|
const VERSION = {
|
|
66
|
-
"commitHash": "
|
|
67
|
-
"version": "19.2.0"
|
|
66
|
+
"commitHash": "149f239050448e0dfb7d5e1ab98e578f61085d61",
|
|
67
|
+
"version": "19.2.1-beta.0"
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
/**
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
|
|
64
64
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
65
65
|
const VERSION = {
|
|
66
|
-
"commitHash": "
|
|
67
|
-
"version": "19.2.0"
|
|
66
|
+
"commitHash": "149f239050448e0dfb7d5e1ab98e578f61085d61",
|
|
67
|
+
"version": "19.2.1-beta.0"
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taquito/beacon-wallet",
|
|
3
|
-
"version": "19.2.0",
|
|
3
|
+
"version": "19.2.1-beta.0",
|
|
4
4
|
"description": "Beacon wallet provider",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tezos",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@airgap/beacon-dapp": "^4.2.
|
|
71
|
-
"@taquito/core": "^19.1.0",
|
|
72
|
-
"@taquito/taquito": "^19.2.0"
|
|
70
|
+
"@airgap/beacon-dapp": "^4.2.2-beta.2",
|
|
71
|
+
"@taquito/core": "^19.2.1-beta.0",
|
|
72
|
+
"@taquito/taquito": "^19.2.1-beta.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@types/bluebird": "^3.5.40",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"webpack": "^5.89.0",
|
|
104
104
|
"webpack-cli": "^5.1.4"
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "5ca99ce640b7b450a3236babed4bfe0e77cb7368"
|
|
107
107
|
}
|