@dynamic-labs/waas-svm 4.100.0 → 4.100.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.
- package/CHANGELOG.md +8 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/connector/DynamicWaasSVMConnector.d.ts +12 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.100.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.0...v4.100.1) (2026-09-16)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **ethereum-core:** prefer dashboard-saved RPC urls when mapping viem chains ([#12407](https://github.com/dynamic-labs/dynamic-auth/issues/12407)) ([e794605](https://github.com/dynamic-labs/dynamic-auth/commit/e79460541f5d99caee64e9f4699baa1bf1b36544))
|
|
8
|
+
* **wallet-connect:** fix Rabby WalletConnect connection on Mobile [V4 backport] ([#12387](https://github.com/dynamic-labs/dynamic-auth/issues/12387)) ([a2f137f](https://github.com/dynamic-labs/dynamic-auth/commit/a2f137f5dc203f7fbfc4399b9999751c22851654))
|
|
9
|
+
|
|
2
10
|
## [4.100.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.99.0...v4.100.0) (2026-09-10)
|
|
3
11
|
|
|
4
12
|
|
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.100.
|
|
3
|
+
"version": "4.100.1",
|
|
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,19 +18,19 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.
|
|
22
|
-
"@dynamic-labs/embedded-wallet-solana": "4.100.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.40.0",
|
|
22
|
+
"@dynamic-labs/embedded-wallet-solana": "4.100.1",
|
|
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.100.
|
|
27
|
-
"@dynamic-labs/logger": "4.100.
|
|
28
|
-
"@dynamic-labs/rpc-providers": "4.100.
|
|
29
|
-
"@dynamic-labs/solana-core": "4.100.
|
|
30
|
-
"@dynamic-labs/types": "4.100.
|
|
31
|
-
"@dynamic-labs/utils": "4.100.
|
|
32
|
-
"@dynamic-labs/waas": "4.100.
|
|
33
|
-
"@dynamic-labs/wallet-connector-core": "4.100.
|
|
26
|
+
"@dynamic-labs/assert-package-version": "4.100.1",
|
|
27
|
+
"@dynamic-labs/logger": "4.100.1",
|
|
28
|
+
"@dynamic-labs/rpc-providers": "4.100.1",
|
|
29
|
+
"@dynamic-labs/solana-core": "4.100.1",
|
|
30
|
+
"@dynamic-labs/types": "4.100.1",
|
|
31
|
+
"@dynamic-labs/utils": "4.100.1",
|
|
32
|
+
"@dynamic-labs/waas": "4.100.1",
|
|
33
|
+
"@dynamic-labs/wallet-connector-core": "4.100.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
36
36
|
}
|
|
@@ -34,20 +34,17 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
34
34
|
logger: Logger;
|
|
35
35
|
__exportHandler: import("@dynamic-labs/waas").WaasExportHandler;
|
|
36
36
|
validateActiveWallet(expectedAddress: string): Promise<void>;
|
|
37
|
-
setGetAuthTokenFunction(getAuthToken: () => string): void;
|
|
37
|
+
setGetAuthTokenFunction(getAuthToken: () => string): void; /**
|
|
38
|
+
* Set a getter that resolves the current SVM gas sponsorship state.
|
|
39
|
+
* Using a getter avoids stale values from initialization race conditions.
|
|
40
|
+
*/
|
|
38
41
|
setOnUnauthorizedFunction(onUnauthorized: () => void | Promise<void>): void;
|
|
39
42
|
setWaasAuthMode(authMode: "cookie" | "header"): void;
|
|
40
43
|
setGetMfaTokenFunction(getMfaToken: (props?: {
|
|
41
44
|
mfaAction?: MFAAction | undefined;
|
|
42
45
|
} | undefined) => Promise<string | undefined>): void;
|
|
43
46
|
setGetElevatedAccessTokenFunction(getElevatedAccessToken: (params: {
|
|
44
|
-
scope: TokenScope;
|
|
45
|
-
* Determines whether a sponsorship failure is worth retrying.
|
|
46
|
-
* Only a classified HTTP rejection can be proven permanent; everything
|
|
47
|
-
* else (network errors, missing auth token, malformed response) defaults
|
|
48
|
-
* to retryable. Classified rejections only retry on rate limits and
|
|
49
|
-
* server errors.
|
|
50
|
-
*/
|
|
47
|
+
scope: TokenScope;
|
|
51
48
|
}) => Promise<string | undefined>): void;
|
|
52
49
|
setGetWalletPasswordFunction(getWalletPassword: import("@dynamic-labs/wallet-connector-core").GetWalletPasswordFn): void;
|
|
53
50
|
getPasswordIfNeeded({ accountAddress, }: {
|
|
@@ -77,7 +74,7 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
77
74
|
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
|
|
78
75
|
thresholdSignatureScheme?: string | undefined;
|
|
79
76
|
password?: string | undefined;
|
|
80
|
-
bitcoinConfig?: import("@dynamic-labs-wallet/
|
|
77
|
+
bitcoinConfig?: import("@dynamic-labs-wallet/core").BitcoinConfig | undefined;
|
|
81
78
|
businessAccountId?: string | undefined;
|
|
82
79
|
} | undefined): Promise<{
|
|
83
80
|
chainName: string;
|
|
@@ -96,7 +93,7 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
96
93
|
};
|
|
97
94
|
signerType?: "endUser" | "server" | undefined;
|
|
98
95
|
password?: string | undefined;
|
|
99
|
-
}): Promise<{
|
|
96
|
+
}): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
|
|
100
97
|
shareSetId: string;
|
|
101
98
|
}>;
|
|
102
99
|
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
|
|
@@ -105,7 +102,9 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
105
102
|
publicAddressCheck?: string | undefined;
|
|
106
103
|
addressType?: string | undefined;
|
|
107
104
|
legacyWalletId?: string | undefined;
|
|
108
|
-
password?: string | undefined;
|
|
105
|
+
password?: string | undefined; /**
|
|
106
|
+
* Override setEnvironmentId to ensure it's set on the global logger
|
|
107
|
+
*/
|
|
109
108
|
}): Promise<void>;
|
|
110
109
|
migrateFromFireblocks({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }: {
|
|
111
110
|
deviceId: string;
|
|
@@ -177,10 +176,10 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
177
176
|
unlockWallet({ accountAddress, password, }: {
|
|
178
177
|
accountAddress: string;
|
|
179
178
|
password?: string | undefined;
|
|
180
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
179
|
+
}): Promise<import("@dynamic-labs-wallet/core").GetWalletResponse>;
|
|
181
180
|
getWalletRecoveryState({ accountAddress, }: {
|
|
182
181
|
accountAddress: string;
|
|
183
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
182
|
+
}): Promise<import("@dynamic-labs-wallet/core").WalletRecoveryState>;
|
|
184
183
|
endSession(reason?: import("@dynamic-labs-sdk/client").LogoutReason | undefined): Promise<void>;
|
|
185
184
|
getActiveAccountAddress(): Promise<string | undefined>;
|
|
186
185
|
getConnectedAccounts(): Promise<string[]>;
|