@dynamic-labs/midnight 4.91.4 → 4.91.5

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,13 @@
1
1
 
2
+ ### [4.91.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.4...v4.91.5) (2026-07-02)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * revoke WaaS signed-session callback on client rebuild to stop iOS nonce race ([#11766](https://github.com/dynamic-labs/dynamic-auth/issues/11766)) ([c895b5d](https://github.com/dynamic-labs/dynamic-auth/commit/c895b5d0987d62a9f5597741dbeae0ec7fedfe5b))
8
+ * **sdk-react-core:** allow sendOneTimeCode to target non-primary chain wallets ([#11777](https://github.com/dynamic-labs/dynamic-auth/issues/11777)) ([63f82af](https://github.com/dynamic-labs/dynamic-auth/commit/63f82af7c52be595bc2948ec88ee9c919ac9275a))
9
+ * **webview-controller:** resolve post-login wallet race in Viem and ZeroDev controllers ([#11774](https://github.com/dynamic-labs/dynamic-auth/issues/11774)) ([95ed26e](https://github.com/dynamic-labs/dynamic-auth/commit/95ed26eee09d9aff5a5af6517ab7e1360ef5f337))
10
+
2
11
  ### [4.91.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.3...v4.91.4) (2026-07-01)
3
12
 
4
13
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.91.4";
6
+ var version = "4.91.5";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.91.4";
2
+ var version = "4.91.5";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/midnight",
3
- "version": "4.91.4",
3
+ "version": "4.91.5",
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,15 +18,15 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/assert-package-version": "4.91.4",
21
+ "@dynamic-labs/assert-package-version": "4.91.5",
22
22
  "@dynamic-labs/sdk-api-core": "0.0.1046",
23
23
  "@midnight-ntwrk/dapp-connector-api": "4.0.1",
24
- "@dynamic-labs/logger": "4.91.4",
25
- "@dynamic-labs/types": "4.91.4",
26
- "@dynamic-labs/utils": "4.91.4",
27
- "@dynamic-labs/waas": "4.91.4",
28
- "@dynamic-labs/wallet-book": "4.91.4",
29
- "@dynamic-labs/wallet-connector-core": "4.91.4"
24
+ "@dynamic-labs/logger": "4.91.5",
25
+ "@dynamic-labs/types": "4.91.5",
26
+ "@dynamic-labs/utils": "4.91.5",
27
+ "@dynamic-labs/waas": "4.91.5",
28
+ "@dynamic-labs/wallet-book": "4.91.5",
29
+ "@dynamic-labs/wallet-connector-core": "4.91.5"
30
30
  },
31
31
  "peerDependencies": {}
32
32
  }
@@ -27,6 +27,7 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
27
27
  relayUrl?: string | undefined;
28
28
  baseClientKeysharesRelayApiUrl?: string | undefined;
29
29
  dynamicWaasClient: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient | undefined;
30
+ revokeSignedSession: (() => void) | undefined;
30
31
  chainName: string;
31
32
  authMode: "cookie" | "header";
32
33
  logger: Logger;
@@ -58,6 +59,9 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
58
59
  accountAddress: string;
59
60
  password?: string | undefined;
60
61
  }): Promise<void>;
62
+ createRevocableSignedSessionCallback(): {
63
+ getSignedSessionId: () => Promise<string>;
64
+ };
61
65
  createDynamicWaasClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
62
66
  getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
63
67
  forceRebuild?: boolean | undefined;
@@ -105,14 +109,14 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
105
109
  accountAddress: string;
106
110
  password?: string | undefined;
107
111
  googleDriveAccessToken?: string | undefined;
108
- }): Promise<void>;
109
- exportClientKeysharesFromGoogleDrive({ accountAddress, password, }: {
110
- accountAddress: string;
111
- password?: string | undefined;
112
112
  }): Promise<void>; /**
113
113
  * When active account is not set (e.g. primary wallet restored from session),
114
114
  * fall back to the first Midnight verified credential so signing and getAddress work.
115
115
  */
116
+ exportClientKeysharesFromGoogleDrive({ accountAddress, password, }: {
117
+ accountAddress: string;
118
+ password?: string | undefined;
119
+ }): Promise<void>;
116
120
  backupKeySharesToICloud({ accountAddress, password, }: {
117
121
  accountAddress: string;
118
122
  password?: string | undefined;