@dynamic-labs/midnight 5.9.0 → 5.9.2

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,19 @@
1
1
 
2
+ ### [5.9.2](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.1...v5.9.2) (2026-09-28)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **waas:** pass elevatedAccessToken and thread signed intents through addSigner ([#12432](https://github.com/dynamic-labs/dynamic-auth/issues/12432)) ([b754f33](https://github.com/dynamic-labs/dynamic-auth/commit/b754f33b72ac93b9960deb5e133dcdbccb06d638))
8
+
9
+ ### [5.9.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.0...v5.9.1) (2026-09-18)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **sdk-react-core:** sanitize interpolated values in theme stylesheet builder ([#12416](https://github.com/dynamic-labs/dynamic-auth/issues/12416)) ([f256c08](https://github.com/dynamic-labs/dynamic-auth/commit/f256c08209b7818292a7d4d76793c592bd0ca2a0))
15
+ * **webview-controller:** route MetaMask connector storage through native secure storage ([#12304](https://github.com/dynamic-labs/dynamic-auth/issues/12304)) ([627a483](https://github.com/dynamic-labs/dynamic-auth/commit/627a4839a8071d2b2eed1ef6536cd3ecfc833000)), closes [dynamic-labs-oss/public-wallet-connectors#189](https://github.com/dynamic-labs-oss/public-wallet-connectors/issues/189)
16
+
2
17
  ## [5.9.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.8.1...v5.9.0) (2026-09-16)
3
18
 
4
19
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.9.0";
6
+ var version = "5.9.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.9.0";
2
+ var version = "5.9.2";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/midnight",
3
- "version": "5.9.0",
3
+ "version": "5.9.2",
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": "5.9.0",
22
- "@dynamic-labs/sdk-api-core": "0.32.0",
21
+ "@dynamic-labs/assert-package-version": "5.9.2",
22
+ "@dynamic-labs/sdk-api-core": "0.40.0",
23
23
  "@midnight-ntwrk/dapp-connector-api": "4.0.1",
24
- "@dynamic-labs/logger": "5.9.0",
25
- "@dynamic-labs/types": "5.9.0",
26
- "@dynamic-labs/utils": "5.9.0",
27
- "@dynamic-labs/waas": "5.9.0",
28
- "@dynamic-labs/wallet-book": "5.9.0",
29
- "@dynamic-labs/wallet-connector-core": "5.9.0"
24
+ "@dynamic-labs/logger": "5.9.2",
25
+ "@dynamic-labs/types": "5.9.2",
26
+ "@dynamic-labs/utils": "5.9.2",
27
+ "@dynamic-labs/waas": "5.9.2",
28
+ "@dynamic-labs/wallet-book": "5.9.2",
29
+ "@dynamic-labs/wallet-connector-core": "5.9.2"
30
30
  },
31
31
  "peerDependencies": {}
32
32
  }
@@ -74,7 +74,7 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
74
74
  publicKeyHex: string;
75
75
  rawPublicKey: string | Uint8Array | undefined;
76
76
  }>;
77
- addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, }: {
77
+ addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, intent, intentSignature, }: {
78
78
  accountAddress: string;
79
79
  walletId?: string | undefined;
80
80
  businessAccountId: string;
@@ -86,7 +86,9 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
86
86
  signerType?: "endUser" | "server" | undefined;
87
87
  password?: string | undefined;
88
88
  targetSignerPassword?: string | undefined;
89
- }): Promise<{
89
+ intent?: import("@dynamic-labs-wallet/core").BusinessAccountIntent | undefined;
90
+ intentSignature?: string | undefined;
91
+ }): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
90
92
  shareSetId: string;
91
93
  }>;
92
94
  importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }: import("@dynamic-labs/wallet-connector-core").ImportPrivateKeyParams): Promise<void>;
@@ -157,10 +159,10 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
157
159
  unlockWallet({ accountAddress, password, }: {
158
160
  accountAddress: string;
159
161
  password?: string | undefined;
160
- }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").GetWalletResponse>;
162
+ }): Promise<import("@dynamic-labs-wallet/core").GetWalletResponse>;
161
163
  getWalletRecoveryState({ accountAddress, }: {
162
164
  accountAddress: string;
163
- }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").WalletRecoveryState>;
165
+ }): Promise<import("@dynamic-labs-wallet/core").WalletRecoveryState>;
164
166
  createOfflineRecoveryShares({ accountAddress, password, cloudProviderAccessToken, mfaToken, }: {
165
167
  accountAddress: string;
166
168
  password?: string | undefined;
@@ -168,6 +170,13 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
168
170
  mfaToken?: string | undefined;
169
171
  }): Promise<void>;
170
172
  endSession(reason?: import("@dynamic-labs-sdk/client").LogoutReason | undefined): Promise<void>;
173
+ /**
174
+ * Internal method to sign a message with MFA token
175
+ * @param message - The message to sign
176
+ * @returns The signed message as a string
177
+ * @throws {DynamicError} If active account address is not set
178
+ * @throws {DynamicError} If signed session ID is not available
179
+ */
171
180
  getActiveAccountAddress(): Promise<string | undefined>;
172
181
  getConnectedAccounts(): Promise<string[]>;
173
182
  generateTraceId(): string;