@dynamic-labs/waas-svm 4.19.3 → 4.19.5

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/CHANGELOG.md CHANGED
@@ -1,4 +1,13 @@
1
1
 
2
+ ### [4.19.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.4...v4.19.5) (2025-06-02)
3
+
4
+
5
+ ### Features
6
+
7
+ * add cleanup for waas connectors ([#8849](https://github.com/dynamic-labs/dynamic-auth/issues/8849)) ([5899169](https://github.com/dynamic-labs/dynamic-auth/commit/5899169abaf7ce86add2b1393cfd9b967da5e388))
8
+
9
+ ### [4.19.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.3...v4.19.4) (2025-05-31)
10
+
2
11
  ### [4.19.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.2...v4.19.3) (2025-05-28)
3
12
 
4
13
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.19.3";
6
+ var version = "4.19.5";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.19.3";
2
+ var version = "4.19.5";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/waas-svm",
3
- "version": "4.19.3",
3
+ "version": "4.19.5",
4
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -18,17 +18,17 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs-wallet/browser-wallet-client": "0.0.76",
21
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.80",
22
22
  "@solana/web3.js": "1.98.1",
23
23
  "eventemitter3": "5.0.1",
24
24
  "bs58": "5.0.0",
25
- "@dynamic-labs/assert-package-version": "4.19.3",
26
- "@dynamic-labs/logger": "4.19.3",
27
- "@dynamic-labs/rpc-providers": "4.19.3",
28
- "@dynamic-labs/solana-core": "4.19.3",
29
- "@dynamic-labs/types": "4.19.3",
30
- "@dynamic-labs/utils": "4.19.3",
31
- "@dynamic-labs/wallet-connector-core": "4.19.3"
25
+ "@dynamic-labs/assert-package-version": "4.19.5",
26
+ "@dynamic-labs/logger": "4.19.5",
27
+ "@dynamic-labs/rpc-providers": "4.19.5",
28
+ "@dynamic-labs/solana-core": "4.19.5",
29
+ "@dynamic-labs/types": "4.19.5",
30
+ "@dynamic-labs/utils": "4.19.5",
31
+ "@dynamic-labs/wallet-connector-core": "4.19.5"
32
32
  },
33
33
  "peerDependencies": {}
34
34
  }
@@ -303,6 +303,15 @@ class DynamicWaasSVMConnector extends solanaCore.SolanaWalletConnector {
303
303
  return transaction;
304
304
  });
305
305
  }
306
+ endSession() {
307
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
308
+ const waasSvmClient = this.getWaasWalletClient();
309
+ if (!waasSvmClient) {
310
+ return;
311
+ }
312
+ yield waasSvmClient.cleanup();
313
+ });
314
+ }
306
315
  }
307
316
 
308
317
  exports.DynamicWaasSVMConnector = DynamicWaasSVMConnector;
@@ -63,4 +63,5 @@ export declare class DynamicWaasSVMConnector extends SolanaWalletConnector imple
63
63
  accountAddress: string;
64
64
  }): Promise<void>;
65
65
  createUiTransaction(from: string): Promise<IUITransaction>;
66
+ endSession(): Promise<void>;
66
67
  }
@@ -299,6 +299,15 @@ class DynamicWaasSVMConnector extends SolanaWalletConnector {
299
299
  return transaction;
300
300
  });
301
301
  }
302
+ endSession() {
303
+ return __awaiter(this, void 0, void 0, function* () {
304
+ const waasSvmClient = this.getWaasWalletClient();
305
+ if (!waasSvmClient) {
306
+ return;
307
+ }
308
+ yield waasSvmClient.cleanup();
309
+ });
310
+ }
302
311
  }
303
312
 
304
313
  export { DynamicWaasSVMConnector };