@dynamic-labs/waas-svm 4.90.0 → 4.91.0
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 +17 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/connector/DynamicWaasSVMConnector.d.ts +18 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.91.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.90.0...v4.91.0) (2026-06-23)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **midnight:** add WaaS layer to @dynamic-labs/midnight ([#11006](https://github.com/dynamic-labs/dynamic-auth/issues/11006)) ([01b9d16](https://github.com/dynamic-labs/dynamic-auth/commit/01b9d16d0ba92a141a9be546ca00cca4029894d5))
|
|
8
|
+
* **sdk-react-core:** widget support for Midnight multi-address display + export hiding ([#11008](https://github.com/dynamic-labs/dynamic-auth/issues/11008)) ([87320b4](https://github.com/dynamic-labs/dynamic-auth/commit/87320b4d6e286b88e17f144641346e16a27e9e71))
|
|
9
|
+
* **waas:** wire session public key through host backup ops for keyshare diagnostics [DYNT-1280] ([#11675](https://github.com/dynamic-labs/dynamic-auth/issues/11675)) ([4f7981c](https://github.com/dynamic-labs/dynamic-auth/commit/4f7981c009930469dec7b3dec93f20f99bbe5498))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **ethereum-aa:** make ZeroDevConnector inert instead of throwing when ZeroDev config is absent ([#11610](https://github.com/dynamic-labs/dynamic-auth/issues/11610)) ([a3aab6a](https://github.com/dynamic-labs/dynamic-auth/commit/a3aab6a97e2e996f96b725f9336704b844f79603))
|
|
15
|
+
* **react-native-extension:** fall back to react-native-webview when embedded native module is unavailable ([#11683](https://github.com/dynamic-labs/dynamic-auth/issues/11683)) ([3f8d92c](https://github.com/dynamic-labs/dynamic-auth/commit/3f8d92ca0c327128b16e3355ab2f4e63d2c8e731))
|
|
16
|
+
* **sdk-react-core:** warn instead of throwing when ZeroDev connector is absent ([#11611](https://github.com/dynamic-labs/dynamic-auth/issues/11611)) ([5836252](https://github.com/dynamic-labs/dynamic-auth/commit/58362524e45205399c0fdc5b92414190d1929e0b))
|
|
17
|
+
* **waas-evm:** sign EOA transactions with the resolved chainId, not the connector default ([#11653](https://github.com/dynamic-labs/dynamic-auth/issues/11653)) ([e634098](https://github.com/dynamic-labs/dynamic-auth/commit/e634098f0f23f4c53f92a580db6f4aacbd6b1f92))
|
|
18
|
+
|
|
2
19
|
## [4.90.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.89.0...v4.90.0) (2026-06-19)
|
|
3
20
|
|
|
4
21
|
|
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.91.0",
|
|
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.
|
|
22
|
+
"@dynamic-labs/embedded-wallet-solana": "4.91.0",
|
|
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.91.0",
|
|
27
|
+
"@dynamic-labs/logger": "4.91.0",
|
|
28
|
+
"@dynamic-labs/rpc-providers": "4.91.0",
|
|
29
|
+
"@dynamic-labs/solana-core": "4.91.0",
|
|
30
|
+
"@dynamic-labs/types": "4.91.0",
|
|
31
|
+
"@dynamic-labs/utils": "4.91.0",
|
|
32
|
+
"@dynamic-labs/waas": "4.91.0",
|
|
33
|
+
"@dynamic-labs/wallet-connector-core": "4.91.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
36
36
|
}
|
|
@@ -13,6 +13,7 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
13
13
|
overrideKey: string;
|
|
14
14
|
isEmbeddedWallet: boolean;
|
|
15
15
|
getSignedSessionId?: (() => Promise<string>) | undefined;
|
|
16
|
+
getSessionPublicKey?: (() => Promise<string | undefined>) | undefined;
|
|
16
17
|
getMfaToken?: ((props?: {
|
|
17
18
|
mfaAction?: MFAAction | undefined;
|
|
18
19
|
} | undefined) => Promise<string | undefined>) | undefined;
|
|
@@ -21,6 +22,7 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
21
22
|
getElevatedAccessToken?: ((props: {
|
|
22
23
|
scope: TokenScope;
|
|
23
24
|
}) => Promise<string | undefined>) | undefined;
|
|
25
|
+
onUnauthorized?: (() => void | Promise<void>) | undefined;
|
|
24
26
|
environmentId?: string | undefined;
|
|
25
27
|
baseApiUrl?: string | undefined;
|
|
26
28
|
relayUrl?: string | undefined;
|
|
@@ -29,9 +31,14 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
29
31
|
chainName: string;
|
|
30
32
|
authMode: "cookie" | "header";
|
|
31
33
|
logger: Logger;
|
|
34
|
+
/**
|
|
35
|
+
* Set a getter that resolves the current SVM gas sponsorship state.
|
|
36
|
+
* Using a getter avoids stale values from initialization race conditions.
|
|
37
|
+
*/
|
|
32
38
|
__exportHandler: import("@dynamic-labs/waas").WaasExportHandler;
|
|
33
39
|
validateActiveWallet(expectedAddress: string): Promise<void>;
|
|
34
40
|
setGetAuthTokenFunction(getAuthToken: () => string): void;
|
|
41
|
+
setOnUnauthorizedFunction(onUnauthorized: () => void | Promise<void>): void;
|
|
35
42
|
setWaasAuthMode(authMode: "cookie" | "header"): void;
|
|
36
43
|
setGetMfaTokenFunction(getMfaToken: (props?: {
|
|
37
44
|
mfaAction?: MFAAction | undefined;
|
|
@@ -51,6 +58,7 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
51
58
|
setBaseClientKeysharesRelayApiUrl(baseClientKeysharesRelayApiUrl?: string | undefined): void;
|
|
52
59
|
setRelayUrl(relayUrl: string): void;
|
|
53
60
|
setGetSignedSessionIdFunction(getSignedSessionId: () => Promise<string>): void;
|
|
61
|
+
setGetSessionPublicKeyFunction(getSessionPublicKey: () => Promise<string | undefined>): void;
|
|
54
62
|
delegateKeyShares({ accountAddress, password, }: {
|
|
55
63
|
accountAddress: string;
|
|
56
64
|
password?: string | undefined;
|
|
@@ -161,6 +169,16 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
161
169
|
fn: (timing: import("dist/packages/waas/utils/instrumentation").InstrumentationTimer) => Promise<T_1>;
|
|
162
170
|
context?: Record<string, any> | undefined;
|
|
163
171
|
}): Promise<T_1>;
|
|
172
|
+
getPrivateBalance(): Promise<{
|
|
173
|
+
unshielded: Record<string, string>;
|
|
174
|
+
shielded: Record<string, string>;
|
|
175
|
+
dust: {
|
|
176
|
+
balance: string;
|
|
177
|
+
cap: string;
|
|
178
|
+
};
|
|
179
|
+
address: string;
|
|
180
|
+
dustSynced: boolean;
|
|
181
|
+
}>;
|
|
164
182
|
}) & typeof SolanaWalletConnector;
|
|
165
183
|
export declare class DynamicWaasSVMConnector extends DynamicWaasSVMConnector_base implements IDynamicWaasConnector {
|
|
166
184
|
connect(): Promise<void>;
|