@dynamic-labs/waas-svm 4.91.2 → 4.91.4
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 +20 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/connector/DynamicWaasSVMConnector.cjs +3 -3
- package/src/connector/DynamicWaasSVMConnector.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.91.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.3...v4.91.4) (2026-07-01)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* conditionally use /op/ route for AA transactions based on block explorer support ([#11628](https://github.com/dynamic-labs/dynamic-auth/issues/11628)) ([95822dc](https://github.com/dynamic-labs/dynamic-auth/commit/95822dc0edbcd739afe870f0b3881555fdb17eb6))
|
|
8
|
+
* require error codes in all SDK error classes ([#11761](https://github.com/dynamic-labs/dynamic-auth/issues/11761)) ([5744811](https://github.com/dynamic-labs/dynamic-auth/commit/5744811efdd1e415aaf51eec5b3300b323ec1347))
|
|
9
|
+
|
|
10
|
+
### [4.91.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.2...v4.91.3) (2026-06-30)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **bitcoin:** detect late-registering wallet-standard wallets (DYNT-1210) ([#11747](https://github.com/dynamic-labs/dynamic-auth/issues/11747)) ([17809f6](https://github.com/dynamic-labs/dynamic-auth/commit/17809f6e811fe101367cc31a2d899a8d0b0d107e))
|
|
16
|
+
* fetch onramp providers lazily instead of eagerly on mount ([#11767](https://github.com/dynamic-labs/dynamic-auth/issues/11767)) ([3ee6708](https://github.com/dynamic-labs/dynamic-auth/commit/3ee67087142ae1942f865e0ab37b7108700b3327))
|
|
17
|
+
* **iframe-setup:** sync parent URL to iframe on pushState/replaceState ([#11751](https://github.com/dynamic-labs/dynamic-auth/issues/11751)) ([c8be3af](https://github.com/dynamic-labs/dynamic-auth/commit/c8be3afc301f77b349f23398bed940ce40f93b73))
|
|
18
|
+
* **nonce:** fetch nonce on demand when missing before wallet verification ([#11753](https://github.com/dynamic-labs/dynamic-auth/issues/11753)) ([4f01a21](https://github.com/dynamic-labs/dynamic-auth/commit/4f01a21b6081c852f32868c8a5e04d70aaf280a2)), closes [#1](https://github.com/dynamic-labs/dynamic-auth/issues/1)
|
|
19
|
+
* **react-native-extension:** arm loading timer before setUrl to cover pre-onLoadStart gap ([#11764](https://github.com/dynamic-labs/dynamic-auth/issues/11764)) ([31f2015](https://github.com/dynamic-labs/dynamic-auth/commit/31f20151a4b59279f9c133b723e50de771b06436))
|
|
20
|
+
* **webview-controller:** unwrap ZeroDev smart wallet for native gasless ([#11758](https://github.com/dynamic-labs/dynamic-auth/issues/11758)) ([989714e](https://github.com/dynamic-labs/dynamic-auth/commit/989714e414556868c8e0c54401aac1ed7354331b))
|
|
21
|
+
|
|
2
22
|
### [4.91.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.1...v4.91.2) (2026-06-26)
|
|
3
23
|
|
|
4
24
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/waas-svm",
|
|
3
|
-
"version": "4.91.
|
|
3
|
+
"version": "4.91.4",
|
|
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.1046",
|
|
22
|
-
"@dynamic-labs/embedded-wallet-solana": "4.91.
|
|
22
|
+
"@dynamic-labs/embedded-wallet-solana": "4.91.4",
|
|
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.91.
|
|
27
|
-
"@dynamic-labs/logger": "4.91.
|
|
28
|
-
"@dynamic-labs/rpc-providers": "4.91.
|
|
29
|
-
"@dynamic-labs/solana-core": "4.91.
|
|
30
|
-
"@dynamic-labs/types": "4.91.
|
|
31
|
-
"@dynamic-labs/utils": "4.91.
|
|
32
|
-
"@dynamic-labs/waas": "4.91.
|
|
33
|
-
"@dynamic-labs/wallet-connector-core": "4.91.
|
|
26
|
+
"@dynamic-labs/assert-package-version": "4.91.4",
|
|
27
|
+
"@dynamic-labs/logger": "4.91.4",
|
|
28
|
+
"@dynamic-labs/rpc-providers": "4.91.4",
|
|
29
|
+
"@dynamic-labs/solana-core": "4.91.4",
|
|
30
|
+
"@dynamic-labs/types": "4.91.4",
|
|
31
|
+
"@dynamic-labs/utils": "4.91.4",
|
|
32
|
+
"@dynamic-labs/waas": "4.91.4",
|
|
33
|
+
"@dynamic-labs/wallet-connector-core": "4.91.4"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
36
36
|
}
|
|
@@ -98,7 +98,7 @@ class DynamicWaasSVMConnector extends waas.withDynamicWaas(solanaCore.SolanaWall
|
|
|
98
98
|
signedSessionId: '',
|
|
99
99
|
});
|
|
100
100
|
if (!targetWallet) {
|
|
101
|
-
throw new utils.DynamicError('Account not found');
|
|
101
|
+
throw new utils.DynamicError('Account not found', 'account_not_found');
|
|
102
102
|
}
|
|
103
103
|
const isWalletActive = walletConnectorCore.isSameAddress(targetWallet.accountAddress, this.activeAccountAddress || '', this.connectedChain);
|
|
104
104
|
if (!isWalletActive) {
|
|
@@ -122,7 +122,7 @@ class DynamicWaasSVMConnector extends waas.withDynamicWaas(solanaCore.SolanaWall
|
|
|
122
122
|
}
|
|
123
123
|
const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
124
124
|
if (!signedSessionId) {
|
|
125
|
-
throw new utils.DynamicError('Signed session ID is required');
|
|
125
|
+
throw new utils.DynamicError('Signed session ID is required', 'signed_session_id_is_required');
|
|
126
126
|
}
|
|
127
127
|
const mfaToken = yield ((_b = this.getMfaToken) === null || _b === void 0 ? void 0 : _b.call(this, {
|
|
128
128
|
mfaAction: sdkApiCore.MFAAction.WalletWaasSign,
|
|
@@ -214,7 +214,7 @@ class DynamicWaasSVMConnector extends waas.withDynamicWaas(solanaCore.SolanaWall
|
|
|
214
214
|
});
|
|
215
215
|
const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
216
216
|
if (!signedSessionId) {
|
|
217
|
-
throw new utils.DynamicError('Signed session ID is required');
|
|
217
|
+
throw new utils.DynamicError('Signed session ID is required', 'signed_session_id_is_required');
|
|
218
218
|
}
|
|
219
219
|
if (!this.activeAccountAddress) {
|
|
220
220
|
throw new Error('Active account address is required');
|
|
@@ -94,7 +94,7 @@ class DynamicWaasSVMConnector extends withDynamicWaas(SolanaWalletConnector) {
|
|
|
94
94
|
signedSessionId: '',
|
|
95
95
|
});
|
|
96
96
|
if (!targetWallet) {
|
|
97
|
-
throw new DynamicError('Account not found');
|
|
97
|
+
throw new DynamicError('Account not found', 'account_not_found');
|
|
98
98
|
}
|
|
99
99
|
const isWalletActive = isSameAddress(targetWallet.accountAddress, this.activeAccountAddress || '', this.connectedChain);
|
|
100
100
|
if (!isWalletActive) {
|
|
@@ -118,7 +118,7 @@ class DynamicWaasSVMConnector extends withDynamicWaas(SolanaWalletConnector) {
|
|
|
118
118
|
}
|
|
119
119
|
const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
120
120
|
if (!signedSessionId) {
|
|
121
|
-
throw new DynamicError('Signed session ID is required');
|
|
121
|
+
throw new DynamicError('Signed session ID is required', 'signed_session_id_is_required');
|
|
122
122
|
}
|
|
123
123
|
const mfaToken = yield ((_b = this.getMfaToken) === null || _b === void 0 ? void 0 : _b.call(this, {
|
|
124
124
|
mfaAction: MFAAction.WalletWaasSign,
|
|
@@ -210,7 +210,7 @@ class DynamicWaasSVMConnector extends withDynamicWaas(SolanaWalletConnector) {
|
|
|
210
210
|
});
|
|
211
211
|
const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
212
212
|
if (!signedSessionId) {
|
|
213
|
-
throw new DynamicError('Signed session ID is required');
|
|
213
|
+
throw new DynamicError('Signed session ID is required', 'signed_session_id_is_required');
|
|
214
214
|
}
|
|
215
215
|
if (!this.activeAccountAddress) {
|
|
216
216
|
throw new Error('Active account address is required');
|