@taquito/beacon-wallet 24.3.0-rc.4 → 24.3.1-beta.1

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.
@@ -234,20 +234,19 @@ class BeaconWallet {
234
234
  return transactionHash;
235
235
  }
236
236
  /**
237
- * Disconnect the wallet and remove all Beacon data from localStorage.
237
+ * Disconnect the wallet and clear the active Beacon session.
238
238
  *
239
239
  * This is the recommended way to end a user session (logout). It calls
240
- * `client.destroy()` under the hood, which clears the active account,
241
- * cached relay node (`beacon:matrix-selected-node`), peer data, and all
242
- * other `beacon:*` localStorage keys.
240
+ * `client.disconnect()` under the hood, which notifies wallet peers, clears
241
+ * the active account, and tears down the active Beacon transports.
243
242
  *
244
- * After calling this method, the BeaconWallet instance is no longer usable.
245
- * You must instantiate a new BeaconWallet to reconnect.
243
+ * After calling this method, the BeaconWallet instance can be used to
244
+ * reconnect through a new permission request.
246
245
  *
247
246
  * For switching accounts without a full logout, use {@link clearActiveAccount} instead.
248
247
  */
249
248
  async disconnect() {
250
- await this.client.destroy();
249
+ await this.client.disconnect();
251
250
  }
252
251
  /**
253
252
  * Clear the active account without destroying the Beacon session.
@@ -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!
5
5
  exports.VERSION = {
6
- "commitHash": "65276fefecc1b65dc79853b4f5c70cbd99c62fdb",
7
- "version": "24.3.0-rc.4"
6
+ "commitHash": "9647402fcc62c98bf3907a30214fea8871b30bea",
7
+ "version": "24.3.1-beta.1"
8
8
  };
@@ -32,8 +32,8 @@ class MissingRequiredScopes extends PermissionDeniedError {
32
32
 
33
33
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT!
34
34
  const VERSION = {
35
- "commitHash": "65276fefecc1b65dc79853b4f5c70cbd99c62fdb",
36
- "version": "24.3.0-rc.4"
35
+ "commitHash": "9647402fcc62c98bf3907a30214fea8871b30bea",
36
+ "version": "24.3.1-beta.1"
37
37
  };
38
38
 
39
39
  /**
@@ -252,20 +252,19 @@ class BeaconWallet {
252
252
  return transactionHash;
253
253
  }
254
254
  /**
255
- * Disconnect the wallet and remove all Beacon data from localStorage.
255
+ * Disconnect the wallet and clear the active Beacon session.
256
256
  *
257
257
  * This is the recommended way to end a user session (logout). It calls
258
- * `client.destroy()` under the hood, which clears the active account,
259
- * cached relay node (`beacon:matrix-selected-node`), peer data, and all
260
- * other `beacon:*` localStorage keys.
258
+ * `client.disconnect()` under the hood, which notifies wallet peers, clears
259
+ * the active account, and tears down the active Beacon transports.
261
260
  *
262
- * After calling this method, the BeaconWallet instance is no longer usable.
263
- * You must instantiate a new BeaconWallet to reconnect.
261
+ * After calling this method, the BeaconWallet instance can be used to
262
+ * reconnect through a new permission request.
264
263
  *
265
264
  * For switching accounts without a full logout, use {@link clearActiveAccount} instead.
266
265
  */
267
266
  async disconnect() {
268
- await this.client.destroy();
267
+ await this.client.disconnect();
269
268
  }
270
269
  /**
271
270
  * Clear the active account without destroying the Beacon session.
@@ -1 +1 @@
1
- {"version":3,"file":"taquito-beacon-wallet.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taquito-beacon-wallet.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -31,8 +31,8 @@
31
31
 
32
32
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT!
33
33
  const VERSION = {
34
- "commitHash": "65276fefecc1b65dc79853b4f5c70cbd99c62fdb",
35
- "version": "24.3.0-rc.4"
34
+ "commitHash": "9647402fcc62c98bf3907a30214fea8871b30bea",
35
+ "version": "24.3.1-beta.1"
36
36
  };
37
37
 
38
38
  /**
@@ -251,20 +251,19 @@
251
251
  return transactionHash;
252
252
  }
253
253
  /**
254
- * Disconnect the wallet and remove all Beacon data from localStorage.
254
+ * Disconnect the wallet and clear the active Beacon session.
255
255
  *
256
256
  * This is the recommended way to end a user session (logout). It calls
257
- * `client.destroy()` under the hood, which clears the active account,
258
- * cached relay node (`beacon:matrix-selected-node`), peer data, and all
259
- * other `beacon:*` localStorage keys.
257
+ * `client.disconnect()` under the hood, which notifies wallet peers, clears
258
+ * the active account, and tears down the active Beacon transports.
260
259
  *
261
- * After calling this method, the BeaconWallet instance is no longer usable.
262
- * You must instantiate a new BeaconWallet to reconnect.
260
+ * After calling this method, the BeaconWallet instance can be used to
261
+ * reconnect through a new permission request.
263
262
  *
264
263
  * For switching accounts without a full logout, use {@link clearActiveAccount} instead.
265
264
  */
266
265
  async disconnect() {
267
- await this.client.destroy();
266
+ await this.client.disconnect();
268
267
  }
269
268
  /**
270
269
  * Clear the active account without destroying the Beacon session.
@@ -1 +1 @@
1
- {"version":3,"file":"taquito-beacon-wallet.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taquito-beacon-wallet.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -41,15 +41,14 @@ export declare class BeaconWallet implements WalletProvider {
41
41
  removeDefaultParams(params: WalletTransferParams | WalletStakeParams | WalletUnstakeParams | WalletFinalizeUnstakeParams | WalletOriginateParams | WalletDelegateParams | WalletRegisterGlobalConstantParams | WalletTransferTicketParams | WalletIncreasePaidStorageParams, operatedParams: RPCOperationWithLimits): RPCOperationWithLimits;
42
42
  sendOperations(params: any[]): Promise<string>;
43
43
  /**
44
- * Disconnect the wallet and remove all Beacon data from localStorage.
44
+ * Disconnect the wallet and clear the active Beacon session.
45
45
  *
46
46
  * This is the recommended way to end a user session (logout). It calls
47
- * `client.destroy()` under the hood, which clears the active account,
48
- * cached relay node (`beacon:matrix-selected-node`), peer data, and all
49
- * other `beacon:*` localStorage keys.
47
+ * `client.disconnect()` under the hood, which notifies wallet peers, clears
48
+ * the active account, and tears down the active Beacon transports.
50
49
  *
51
- * After calling this method, the BeaconWallet instance is no longer usable.
52
- * You must instantiate a new BeaconWallet to reconnect.
50
+ * After calling this method, the BeaconWallet instance can be used to
51
+ * reconnect through a new permission request.
53
52
  *
54
53
  * For switching accounts without a full logout, use {@link clearActiveAccount} instead.
55
54
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/beacon-wallet",
3
- "version": "24.3.0-rc.4",
3
+ "version": "24.3.1-beta.1",
4
4
  "description": "TZIP-10 Beacon wallet integration for Taquito dapps built on the Beacon SDK DAppClient.",
5
5
  "keywords": [
6
6
  "taquito",
@@ -70,17 +70,17 @@
70
70
  ]
71
71
  },
72
72
  "dependencies": {
73
- "@ecadlabs/beacon-dapp": "4.8.1-ecad.7",
74
- "@ecadlabs/beacon-types": "4.8.1-ecad.7",
75
- "@taquito/core": "^24.3.0-rc.4",
76
- "@taquito/taquito": "^24.3.0-rc.4",
77
- "@taquito/utils": "^24.3.0-rc.4",
73
+ "@ecadlabs/beacon-dapp": "4.8.4-ecad-beta.1",
74
+ "@ecadlabs/beacon-types": "4.8.4-ecad-beta.1",
75
+ "@taquito/core": "^24.3.1-beta.1",
76
+ "@taquito/taquito": "^24.3.1-beta.1",
77
+ "@taquito/utils": "^24.3.1-beta.1",
78
78
  "typedarray-to-buffer": "^4.0.0",
79
79
  "util": "^0.12.5"
80
80
  },
81
81
  "devDependencies": {
82
- "@ecadlabs/beacon-transport-postmessage": "4.8.1-ecad.7",
83
- "@ecadlabs/beacon-ui": "4.8.1-ecad.7",
82
+ "@ecadlabs/beacon-transport-postmessage": "4.8.4-ecad-beta.1",
83
+ "@ecadlabs/beacon-ui": "4.8.4-ecad-beta.1",
84
84
  "@types/bluebird": "^3.5.42",
85
85
  "@types/chrome": "0.1.40",
86
86
  "@types/node": "^22.0.0",