@dynamic-labs/waas-svm 4.61.0 → 4.61.2

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,21 @@
1
1
 
2
+ ### [4.61.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.61.1...v4.61.2) (2026-02-12)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * export wallet password hook ([#10433](https://github.com/dynamic-labs/dynamic-auth/issues/10433)) ([dd6170e](https://github.com/dynamic-labs/dynamic-auth/commit/dd6170ec42a863b33baea92f9716083e3c4941d0))
8
+ * only prompt braavos wallet once to connect ([#10405](https://github.com/dynamic-labs/dynamic-auth/issues/10405)) ([2aff336](https://github.com/dynamic-labs/dynamic-auth/commit/2aff336a6222404b7907be65ef9af6806c357a07))
9
+ * remove signedSessionId from validateActiveWallet ([#10422](https://github.com/dynamic-labs/dynamic-auth/issues/10422)) ([700a953](https://github.com/dynamic-labs/dynamic-auth/commit/700a95383c8754f1cc0c87f53c50d04b57ef1b52))
10
+ * ton wallets not showing download links ([#10421](https://github.com/dynamic-labs/dynamic-auth/issues/10421)) ([cc8a8f8](https://github.com/dynamic-labs/dynamic-auth/commit/cc8a8f82485e4cc94aacd63d2e6a1bd8ca291f9c))
11
+
12
+ ### [4.61.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.61.0...v4.61.1) (2026-02-11)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * remove warning when SVM gas sponsorship enabled ([#10412](https://github.com/dynamic-labs/dynamic-auth/issues/10412)) ([dc1a615](https://github.com/dynamic-labs/dynamic-auth/commit/dc1a615a43c89942c9b17101bb1da4492df8140b))
18
+
2
19
  ## [4.61.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.60.1...v4.61.0) (2026-02-10)
3
20
 
4
21
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.61.0";
6
+ var version = "4.61.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.61.0";
2
+ var version = "4.61.2";
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.61.0",
3
+ "version": "4.61.2",
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",
@@ -19,18 +19,18 @@
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
21
  "@dynamic-labs/sdk-api-core": "0.0.864",
22
- "@dynamic-labs/embedded-wallet-solana": "4.61.0",
22
+ "@dynamic-labs/embedded-wallet-solana": "4.61.2",
23
23
  "@solana/web3.js": "1.98.1",
24
24
  "eventemitter3": "5.0.1",
25
25
  "bs58": "5.0.0",
26
- "@dynamic-labs/assert-package-version": "4.61.0",
27
- "@dynamic-labs/logger": "4.61.0",
28
- "@dynamic-labs/rpc-providers": "4.61.0",
29
- "@dynamic-labs/solana-core": "4.61.0",
30
- "@dynamic-labs/types": "4.61.0",
31
- "@dynamic-labs/utils": "4.61.0",
32
- "@dynamic-labs/waas": "4.61.0",
33
- "@dynamic-labs/wallet-connector-core": "4.61.0"
26
+ "@dynamic-labs/assert-package-version": "4.61.2",
27
+ "@dynamic-labs/logger": "4.61.2",
28
+ "@dynamic-labs/rpc-providers": "4.61.2",
29
+ "@dynamic-labs/solana-core": "4.61.2",
30
+ "@dynamic-labs/types": "4.61.2",
31
+ "@dynamic-labs/utils": "4.61.2",
32
+ "@dynamic-labs/waas": "4.61.2",
33
+ "@dynamic-labs/wallet-connector-core": "4.61.2"
34
34
  },
35
35
  "peerDependencies": {}
36
36
  }
@@ -89,16 +89,13 @@ class DynamicWaasSVMConnector extends waas.withDynamicWaas(solanaCore.SolanaWall
89
89
  }
90
90
  validateActiveWallet(expectedAddress) {
91
91
  return _tslib.__awaiter(this, void 0, void 0, function* () {
92
- var _a, _b;
92
+ var _a;
93
93
  const walletClient = yield this.getWaasWalletClient();
94
- const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
95
- if (!signedSessionId) {
96
- throw new utils.DynamicError('Signed session ID is required');
97
- }
98
94
  const targetWallet = yield walletClient.getWallet({
99
95
  accountAddress: expectedAddress,
100
- authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
101
- signedSessionId,
96
+ authToken: (_a = this.getAuthToken) === null || _a === void 0 ? void 0 : _a.call(this),
97
+ // TODO: This is a hack - validateActiveWallet is a no-op operation that shouldn't require nonce signing
98
+ signedSessionId: '',
102
99
  });
103
100
  if (!targetWallet) {
104
101
  throw new utils.DynamicError('Account not found');
@@ -58,12 +58,13 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
58
58
  publicKeyHex: string;
59
59
  rawPublicKey: string | Uint8Array | undefined;
60
60
  }>;
61
- importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, }: {
61
+ importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
62
62
  privateKey: string;
63
63
  thresholdSignatureScheme?: string | undefined;
64
64
  publicAddressCheck?: string | undefined;
65
65
  addressType?: string | undefined;
66
66
  legacyWalletId?: string | undefined;
67
+ password?: string | undefined;
67
68
  }): Promise<void>;
68
69
  exportPrivateKey({ accountAddress, displayContainer, password, }?: {
69
70
  accountAddress?: string | undefined;
@@ -85,16 +85,13 @@ class DynamicWaasSVMConnector extends withDynamicWaas(SolanaWalletConnector) {
85
85
  }
86
86
  validateActiveWallet(expectedAddress) {
87
87
  return __awaiter(this, void 0, void 0, function* () {
88
- var _a, _b;
88
+ var _a;
89
89
  const walletClient = yield this.getWaasWalletClient();
90
- const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
91
- if (!signedSessionId) {
92
- throw new DynamicError('Signed session ID is required');
93
- }
94
90
  const targetWallet = yield walletClient.getWallet({
95
91
  accountAddress: expectedAddress,
96
- authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
97
- signedSessionId,
92
+ authToken: (_a = this.getAuthToken) === null || _a === void 0 ? void 0 : _a.call(this),
93
+ // TODO: This is a hack - validateActiveWallet is a no-op operation that shouldn't require nonce signing
94
+ signedSessionId: '',
98
95
  });
99
96
  if (!targetWallet) {
100
97
  throw new DynamicError('Account not found');