@dynamic-labs/midnight 5.9.1 → 5.9.3
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 +14 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/waas/connector/DynamicWaasMidnightConnector.d.ts +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
|
|
2
|
+
### [5.9.3](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.2...v5.9.3) (2026-10-02)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **deps:** patch undici/joi/webpack-dev-middleware highs (main) ([#12452](https://github.com/dynamic-labs/dynamic-auth/issues/12452)) ([3b2ac12](https://github.com/dynamic-labs/dynamic-auth/commit/3b2ac126153bec03c0f296353a71a97bb61974d9)), closes [#1030-1048](https://github.com/dynamic-labs/dynamic-auth/issues/1030-1048) [#1036](https://github.com/dynamic-labs/dynamic-auth/issues/1036) [#1035](https://github.com/dynamic-labs/dynamic-auth/issues/1035)
|
|
8
|
+
|
|
9
|
+
### [5.9.2](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.1...v5.9.2) (2026-09-28)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **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))
|
|
15
|
+
|
|
2
16
|
### [5.9.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.0...v5.9.1) (2026-09-18)
|
|
3
17
|
|
|
4
18
|
|
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.9.
|
|
3
|
+
"version": "5.9.3",
|
|
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.
|
|
22
|
-
"@dynamic-labs/sdk-api-core": "0.
|
|
21
|
+
"@dynamic-labs/assert-package-version": "5.9.3",
|
|
22
|
+
"@dynamic-labs/sdk-api-core": "0.70.0",
|
|
23
23
|
"@midnight-ntwrk/dapp-connector-api": "4.0.1",
|
|
24
|
-
"@dynamic-labs/logger": "5.9.
|
|
25
|
-
"@dynamic-labs/types": "5.9.
|
|
26
|
-
"@dynamic-labs/utils": "5.9.
|
|
27
|
-
"@dynamic-labs/waas": "5.9.
|
|
28
|
-
"@dynamic-labs/wallet-book": "5.9.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "5.9.
|
|
24
|
+
"@dynamic-labs/logger": "5.9.3",
|
|
25
|
+
"@dynamic-labs/types": "5.9.3",
|
|
26
|
+
"@dynamic-labs/utils": "5.9.3",
|
|
27
|
+
"@dynamic-labs/waas": "5.9.3",
|
|
28
|
+
"@dynamic-labs/wallet-book": "5.9.3",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "5.9.3"
|
|
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,6 +86,8 @@ 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
|
+
intent?: import("@dynamic-labs-wallet/core").BusinessAccountIntent | undefined;
|
|
90
|
+
intentSignature?: string | undefined;
|
|
89
91
|
}): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
|
|
90
92
|
shareSetId: string;
|
|
91
93
|
}>;
|
|
@@ -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;
|