@dynamic-labs/waas-svm 4.91.6 → 4.92.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 +27 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/connector/DynamicWaasSVMConnector.d.ts +20 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,31 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.92.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.92.0...v4.92.1) (2026-07-09)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **ethereum:** fire in-app-browser redirect on sign for injected EVM wallets that use in-app-browser experience ([#11888](https://github.com/dynamic-labs/dynamic-auth/issues/11888)) ([5116d91](https://github.com/dynamic-labs/dynamic-auth/commit/5116d91ab2c71000a490d72c5d278549d4d8ae9a))
|
|
8
|
+
* **sdk-react-core:** show clear message for Phantom redirect signing failures (v4 backport) ([#11886](https://github.com/dynamic-labs/dynamic-auth/issues/11886)) ([60ac897](https://github.com/dynamic-labs/dynamic-auth/commit/60ac897ba81f7758ccd7a05f97b619785e1f50a7))
|
|
9
|
+
* **social:** use redirect strategy for step-up OAuth on mobile [V4 backport] ([#11881](https://github.com/dynamic-labs/dynamic-auth/issues/11881)) ([42a202e](https://github.com/dynamic-labs/dynamic-auth/commit/42a202e6255de8db73df02eff37c0b10b24fef1a))
|
|
10
|
+
* **solana:** fire in-app-browser redirect on sign and wallet switch ([#11871](https://github.com/dynamic-labs/dynamic-auth/issues/11871)) ([4e2d6b7](https://github.com/dynamic-labs/dynamic-auth/commit/4e2d6b7ac8fdef5bf7c62b8a726ecaef1c6210ec))
|
|
11
|
+
* **solana:** resolve Phantom/Backpack provider collision and Backpack >=0.10.x connect hangs ([#11856](https://github.com/dynamic-labs/dynamic-auth/issues/11856)) ([#11882](https://github.com/dynamic-labs/dynamic-auth/issues/11882)) ([5784aff](https://github.com/dynamic-labs/dynamic-auth/commit/5784aff9641bbc85445fb466f3ab1d6a14331e73))
|
|
12
|
+
|
|
13
|
+
## [4.92.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.6...v4.92.0) (2026-07-08)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **captcha:** add Cloudflare Turnstile provider support alongside hCaptcha (v4) ([#11798](https://github.com/dynamic-labs/dynamic-auth/issues/11798)) ([114c770](https://github.com/dynamic-labs/dynamic-auth/commit/114c7702e900d8dedeebe7be867de35d11a93f31))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **ethereum-aa:** resolve kernel client config per wallet (v4) ([#11870](https://github.com/dynamic-labs/dynamic-auth/issues/11870)) ([1b66d79](https://github.com/dynamic-labs/dynamic-auth/commit/1b66d79b4a32b4b6de433b7536bc46e6719224c6))
|
|
24
|
+
* **iframe-setup:** block dangerous URL schemes and verify sender in OPEN_URL ([#11819](https://github.com/dynamic-labs/dynamic-auth/issues/11819)) ([329b27e](https://github.com/dynamic-labs/dynamic-auth/commit/329b27e9fac825916ab227ec8cf93dc343898923))
|
|
25
|
+
* improve social OAuth error messages ([#11837](https://github.com/dynamic-labs/dynamic-auth/issues/11837)) ([8e57c06](https://github.com/dynamic-labs/dynamic-auth/commit/8e57c067c5a89111a32a12fb82e190cf6c46ad67))
|
|
26
|
+
* **react-native-extension:** reject path traversal in downloadFile fileName ([#11816](https://github.com/dynamic-labs/dynamic-auth/issues/11816)) ([9367a56](https://github.com/dynamic-labs/dynamic-auth/commit/9367a56b6daa853d7f7e7f5534261bc68825b239))
|
|
27
|
+
* **sdk-react-core:** display exactly the bytes signed in personal_sign preview ([#11818](https://github.com/dynamic-labs/dynamic-auth/issues/11818)) ([30b9382](https://github.com/dynamic-labs/dynamic-auth/commit/30b93829122f00060cb484aef09a03294c03f651))
|
|
28
|
+
|
|
2
29
|
### [4.91.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.5...v4.91.6) (2026-07-03)
|
|
3
30
|
|
|
4
31
|
|
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.
|
|
3
|
+
"version": "4.92.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.0.
|
|
22
|
-
"@dynamic-labs/embedded-wallet-solana": "4.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.1067",
|
|
22
|
+
"@dynamic-labs/embedded-wallet-solana": "4.92.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.
|
|
27
|
-
"@dynamic-labs/logger": "4.
|
|
28
|
-
"@dynamic-labs/rpc-providers": "4.
|
|
29
|
-
"@dynamic-labs/solana-core": "4.
|
|
30
|
-
"@dynamic-labs/types": "4.
|
|
31
|
-
"@dynamic-labs/utils": "4.
|
|
32
|
-
"@dynamic-labs/waas": "4.
|
|
33
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
26
|
+
"@dynamic-labs/assert-package-version": "4.92.1",
|
|
27
|
+
"@dynamic-labs/logger": "4.92.1",
|
|
28
|
+
"@dynamic-labs/rpc-providers": "4.92.1",
|
|
29
|
+
"@dynamic-labs/solana-core": "4.92.1",
|
|
30
|
+
"@dynamic-labs/types": "4.92.1",
|
|
31
|
+
"@dynamic-labs/utils": "4.92.1",
|
|
32
|
+
"@dynamic-labs/waas": "4.92.1",
|
|
33
|
+
"@dynamic-labs/wallet-connector-core": "4.92.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
36
36
|
}
|
|
@@ -28,10 +28,7 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
28
28
|
relayUrl?: string | undefined;
|
|
29
29
|
baseClientKeysharesRelayApiUrl?: string | undefined;
|
|
30
30
|
dynamicWaasClient: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient | undefined;
|
|
31
|
-
revokeSignedSession: (() => void) | undefined;
|
|
32
|
-
* Set a getter that resolves the current SVM gas sponsorship state.
|
|
33
|
-
* Using a getter avoids stale values from initialization race conditions.
|
|
34
|
-
*/
|
|
31
|
+
revokeSignedSession: (() => void) | undefined;
|
|
35
32
|
chainName: string;
|
|
36
33
|
authMode: "cookie" | "header";
|
|
37
34
|
logger: Logger;
|
|
@@ -47,10 +44,6 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
47
44
|
scope: TokenScope;
|
|
48
45
|
}) => Promise<string | undefined>): void;
|
|
49
46
|
setGetWalletPasswordFunction(getWalletPassword: import("@dynamic-labs/wallet-connector-core").GetWalletPasswordFn): void;
|
|
50
|
-
/**
|
|
51
|
-
* Sponsor a transaction if gas sponsorship is enabled and the tx is unsigned.
|
|
52
|
-
* Falls back to original transaction on error.
|
|
53
|
-
*/
|
|
54
47
|
getPasswordIfNeeded({ accountAddress, }: {
|
|
55
48
|
accountAddress: string;
|
|
56
49
|
}): Promise<string | undefined>;
|
|
@@ -74,16 +67,31 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
74
67
|
getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
|
|
75
68
|
forceRebuild?: boolean | undefined;
|
|
76
69
|
} | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
77
|
-
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, }?: {
|
|
70
|
+
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
|
|
78
71
|
thresholdSignatureScheme?: string | undefined;
|
|
79
72
|
password?: string | undefined;
|
|
80
73
|
bitcoinConfig?: import("@dynamic-labs-wallet/browser-wallet-client").BitcoinConfig | undefined;
|
|
74
|
+
businessAccountId?: string | undefined;
|
|
81
75
|
} | undefined): Promise<{
|
|
82
76
|
chainName: string;
|
|
83
77
|
accountAddress: string;
|
|
84
78
|
publicKeyHex: string;
|
|
85
79
|
rawPublicKey: string | Uint8Array | undefined;
|
|
86
80
|
}>;
|
|
81
|
+
addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, }: {
|
|
82
|
+
accountAddress: string;
|
|
83
|
+
walletId?: string | undefined;
|
|
84
|
+
businessAccountId: string;
|
|
85
|
+
targetSignerIdentity: {
|
|
86
|
+
userId?: string | undefined;
|
|
87
|
+
identifier?: string | undefined;
|
|
88
|
+
identifierType?: string | undefined;
|
|
89
|
+
};
|
|
90
|
+
signerType?: "endUser" | "server" | undefined;
|
|
91
|
+
password?: string | undefined;
|
|
92
|
+
}): Promise<{
|
|
93
|
+
shareSetId: string;
|
|
94
|
+
}>;
|
|
87
95
|
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
|
|
88
96
|
privateKey: string;
|
|
89
97
|
thresholdSignatureScheme?: string | undefined;
|
|
@@ -100,7 +108,7 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
100
108
|
expectedAddresses: Record<string, string>;
|
|
101
109
|
coinTypes?: Record<string, number> | undefined;
|
|
102
110
|
password?: string | undefined;
|
|
103
|
-
}): Promise<
|
|
111
|
+
}): Promise<Record<string, unknown>>;
|
|
104
112
|
exportPrivateKey({ accountAddress, displayContainer, password, }?: {
|
|
105
113
|
accountAddress?: string | undefined;
|
|
106
114
|
displayContainer?: HTMLIFrameElement | undefined;
|
|
@@ -153,8 +161,9 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
153
161
|
accountAddress: string;
|
|
154
162
|
newPassword: string;
|
|
155
163
|
}): Promise<void>;
|
|
156
|
-
signRawMessage({ accountAddress, message, password, }: {
|
|
164
|
+
signRawMessage({ accountAddress, context, message, password, }: {
|
|
157
165
|
accountAddress: string;
|
|
166
|
+
context?: import("@dynamic-labs/sdk-api-core").SignMessageContext | undefined;
|
|
158
167
|
message: string;
|
|
159
168
|
password?: string | undefined;
|
|
160
169
|
}): Promise<string>;
|