@dynamic-labs/midnight 5.10.0 → 5.12.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 +18 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/waas/connector/DynamicWaasMidnightConnector.d.ts +9 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.12.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.11.0...v5.12.0) (2026-10-16)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **embedded-wallet-solana:** add getSolanaSponsorAddress ([#12517](https://github.com/dynamic-labs/dynamic-auth/issues/12517)) ([b95c550](https://github.com/dynamic-labs/dynamic-auth/commit/b95c550e3dab783b7ff0b019051a17b22ea44f97))
|
|
8
|
+
* **embedded-wallet:** show chain and wallet in private key export modal ([#12507](https://github.com/dynamic-labs/dynamic-auth/issues/12507)) ([4bfb6d6](https://github.com/dynamic-labs/dynamic-auth/commit/4bfb6d6168aac3f800792fde933e0597f288058f))
|
|
9
|
+
* **sdk-react-core:** send OTP purpose from step-up flows ([#12511](https://github.com/dynamic-labs/dynamic-auth/issues/12511)) ([0d2d8a3](https://github.com/dynamic-labs/dynamic-auth/commit/0d2d8a31058b3e75c71af7a34f459e2a3ddf383b)), closes [#12898](https://github.com/dynamic-labs/dynamic-auth/issues/12898) [#816](https://github.com/dynamic-labs/dynamic-auth/issues/816) [#203](https://github.com/dynamic-labs/dynamic-auth/issues/203) [#12512](https://github.com/dynamic-labs/dynamic-auth/issues/12512)
|
|
10
|
+
* **wallet-connect:** back WalletConnect storage with native secure storage on mobile ([#12515](https://github.com/dynamic-labs/dynamic-auth/issues/12515)) ([7b57903](https://github.com/dynamic-labs/dynamic-auth/commit/7b5790325fce707d73d591483a0130b960ed055c))
|
|
11
|
+
|
|
12
|
+
## [5.11.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.10.0...v5.11.0) (2026-10-14)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **react-native:** fall back to a TEE-backed key when StrongBox key generation fails on Android ([#12484](https://github.com/dynamic-labs/dynamic-auth/issues/12484)) ([6884ef1](https://github.com/dynamic-labs/dynamic-auth/commit/6884ef1665e4b18d1b8fdb54ee7cd06861b47fc9))
|
|
18
|
+
* support WaaS password overrides in WebView ([#12509](https://github.com/dynamic-labs/dynamic-auth/issues/12509)) ([fc67fcc](https://github.com/dynamic-labs/dynamic-auth/commit/fc67fccb99be7c0cc8df81a2513ccd3a04db9a61))
|
|
19
|
+
|
|
2
20
|
## [5.10.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.6...v5.10.0) (2026-10-09)
|
|
3
21
|
|
|
4
22
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/midnight",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.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",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
22
|
-
"@dynamic-labs/sdk-api-core": "0.
|
|
21
|
+
"@dynamic-labs/assert-package-version": "5.12.0",
|
|
22
|
+
"@dynamic-labs/sdk-api-core": "0.104.0",
|
|
23
23
|
"@midnight-ntwrk/dapp-connector-api": "4.0.1",
|
|
24
|
-
"@dynamic-labs/logger": "5.
|
|
25
|
-
"@dynamic-labs/types": "5.
|
|
26
|
-
"@dynamic-labs/utils": "5.
|
|
27
|
-
"@dynamic-labs/waas": "5.
|
|
28
|
-
"@dynamic-labs/wallet-book": "5.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "5.
|
|
24
|
+
"@dynamic-labs/logger": "5.12.0",
|
|
25
|
+
"@dynamic-labs/types": "5.12.0",
|
|
26
|
+
"@dynamic-labs/utils": "5.12.0",
|
|
27
|
+
"@dynamic-labs/waas": "5.12.0",
|
|
28
|
+
"@dynamic-labs/wallet-book": "5.12.0",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "5.12.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
|
32
32
|
}
|
|
@@ -44,7 +44,10 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
|
|
|
44
44
|
}) => Promise<string | undefined>): void;
|
|
45
45
|
setGetWalletPasswordFunction(getWalletPassword: import("@dynamic-labs/wallet-connector-core").GetWalletPasswordFn): void;
|
|
46
46
|
getPasswordIfNeeded({ accountAddress, }: {
|
|
47
|
-
accountAddress: string;
|
|
47
|
+
accountAddress: string; /**
|
|
48
|
+
* Override setVerifiedCredentials to filter and set Midnight WaaS credentials
|
|
49
|
+
* Filters for credentials with walletName === 'dynamicwaas' and chain === 'midnight'
|
|
50
|
+
*/
|
|
48
51
|
}): Promise<string | undefined>;
|
|
49
52
|
getPassword({ accountAddress, }: {
|
|
50
53
|
accountAddress: string;
|
|
@@ -145,13 +148,14 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
|
|
|
145
148
|
accountAddress: string;
|
|
146
149
|
password?: string | undefined;
|
|
147
150
|
}): Promise<void>;
|
|
148
|
-
updatePassword({ accountAddress, existingPassword, newPassword, }: import("@dynamic-labs/wallet-connector-core").UpdatePasswordParams): Promise<void>;
|
|
151
|
+
updatePassword({ accountAddress, existingPassword, newPassword, passwordOverrides, }: import("@dynamic-labs/wallet-connector-core").UpdatePasswordParams): Promise<void>;
|
|
149
152
|
setPassword({ accountAddress, newPassword, }: {
|
|
150
153
|
accountAddress: string;
|
|
151
154
|
newPassword: string;
|
|
152
155
|
}): Promise<void>;
|
|
153
|
-
signRawMessage({ accountAddress, context, message, password, }: {
|
|
156
|
+
signRawMessage({ accountAddress, approvalQuorum, context, message, password, }: {
|
|
154
157
|
accountAddress: string;
|
|
158
|
+
approvalQuorum?: import("@dynamic-labs-wallet/core").ApprovalQuorumRequestContext | undefined;
|
|
155
159
|
context?: SignMessageContext | undefined;
|
|
156
160
|
message: string;
|
|
157
161
|
password?: string | undefined;
|
|
@@ -159,14 +163,14 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
|
|
|
159
163
|
unlockWallet({ accountAddress, password, }: {
|
|
160
164
|
accountAddress: string;
|
|
161
165
|
password?: string | undefined;
|
|
162
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
166
|
+
}): Promise<import("@dynamic-labs-wallet/core").GetWalletResponse>;
|
|
163
167
|
lockWallets(): Promise<void>;
|
|
164
168
|
lockWallet({ accountAddress }: {
|
|
165
169
|
accountAddress: string;
|
|
166
170
|
}): Promise<void>;
|
|
167
171
|
getWalletRecoveryState({ accountAddress, }: {
|
|
168
172
|
accountAddress: string;
|
|
169
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
173
|
+
}): Promise<import("@dynamic-labs-wallet/core").WalletRecoveryState>;
|
|
170
174
|
createOfflineRecoveryShares({ accountAddress, password, cloudProviderAccessToken, mfaToken, }: {
|
|
171
175
|
accountAddress: string;
|
|
172
176
|
password?: string | undefined;
|