@dynamic-labs/midnight 4.99.0 → 4.100.1
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 +20 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/waas/connector/DynamicWaasMidnightConnector.d.ts +18 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.100.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.0...v4.100.1) (2026-09-16)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **ethereum-core:** prefer dashboard-saved RPC urls when mapping viem chains ([#12407](https://github.com/dynamic-labs/dynamic-auth/issues/12407)) ([e794605](https://github.com/dynamic-labs/dynamic-auth/commit/e79460541f5d99caee64e9f4699baa1bf1b36544))
|
|
8
|
+
* **wallet-connect:** fix Rabby WalletConnect connection on Mobile [V4 backport] ([#12387](https://github.com/dynamic-labs/dynamic-auth/issues/12387)) ([a2f137f](https://github.com/dynamic-labs/dynamic-auth/commit/a2f137f5dc203f7fbfc4399b9999751c22851654))
|
|
9
|
+
|
|
10
|
+
## [4.100.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.99.0...v4.100.0) (2026-09-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **solana-extension:** expose createAssociatedTokenAccount ([#12377](https://github.com/dynamic-labs/dynamic-auth/issues/12377)) ([c127857](https://github.com/dynamic-labs/dynamic-auth/commit/c127857097069ef2fcf337b78971e678f0552277))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* show transaction amount when simulation returns no transfers (v4 backport) ([#12356](https://github.com/dynamic-labs/dynamic-auth/issues/12356)) ([36feb2d](https://github.com/dynamic-labs/dynamic-auth/commit/36feb2d24de3f78560112bdf86a258d0596c4470))
|
|
21
|
+
|
|
2
22
|
## [4.99.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.98.0...v4.99.0) (2026-09-10)
|
|
3
23
|
|
|
4
24
|
|
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": "4.
|
|
3
|
+
"version": "4.100.1",
|
|
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.
|
|
22
|
-
"@dynamic-labs/sdk-api-core": "0.
|
|
21
|
+
"@dynamic-labs/assert-package-version": "4.100.1",
|
|
22
|
+
"@dynamic-labs/sdk-api-core": "0.40.0",
|
|
23
23
|
"@midnight-ntwrk/dapp-connector-api": "4.0.1",
|
|
24
|
-
"@dynamic-labs/logger": "4.
|
|
25
|
-
"@dynamic-labs/types": "4.
|
|
26
|
-
"@dynamic-labs/utils": "4.
|
|
27
|
-
"@dynamic-labs/waas": "4.
|
|
28
|
-
"@dynamic-labs/wallet-book": "4.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
24
|
+
"@dynamic-labs/logger": "4.100.1",
|
|
25
|
+
"@dynamic-labs/types": "4.100.1",
|
|
26
|
+
"@dynamic-labs/utils": "4.100.1",
|
|
27
|
+
"@dynamic-labs/waas": "4.100.1",
|
|
28
|
+
"@dynamic-labs/wallet-book": "4.100.1",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "4.100.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
|
32
32
|
}
|
|
@@ -57,31 +57,38 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
|
|
|
57
57
|
setGetSessionPublicKeyFunction(getSessionPublicKey: () => Promise<string | undefined>): void;
|
|
58
58
|
delegateKeyShares({ accountAddress, password, }: {
|
|
59
59
|
accountAddress: string;
|
|
60
|
+
/**
|
|
61
|
+
* Gets the currently active account address
|
|
62
|
+
* @returns The active account address or undefined if not set
|
|
63
|
+
*/
|
|
60
64
|
password?: string | undefined;
|
|
61
65
|
}): Promise<void>;
|
|
62
66
|
createRevocableSignedSessionCallback(): {
|
|
63
67
|
getSignedSessionId: () => Promise<string>;
|
|
64
68
|
};
|
|
65
69
|
createDynamicWaasClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
66
|
-
|
|
70
|
+
/**
|
|
71
|
+
* Sets the active account address for this connector
|
|
72
|
+
* @param accountAddress - The Midnight account address to set as active
|
|
73
|
+
*/
|
|
74
|
+
detachWaasClient(client: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient | undefined, reason: string): boolean; /**
|
|
75
|
+
* Requires and returns the signed session ID
|
|
76
|
+
* @returns The signed session ID
|
|
77
|
+
* @throws {DynamicError} If signed session ID is not available
|
|
78
|
+
*/
|
|
67
79
|
getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
|
|
68
80
|
forceRebuild?: boolean | undefined;
|
|
69
81
|
} | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
70
82
|
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
|
|
71
83
|
thresholdSignatureScheme?: string | undefined;
|
|
72
84
|
password?: string | undefined;
|
|
73
|
-
bitcoinConfig?: import("@dynamic-labs-wallet/
|
|
85
|
+
bitcoinConfig?: import("@dynamic-labs-wallet/core").BitcoinConfig | undefined;
|
|
74
86
|
businessAccountId?: string | undefined;
|
|
75
87
|
} | undefined): Promise<{
|
|
76
88
|
chainName: string;
|
|
77
89
|
accountAddress: string;
|
|
78
90
|
publicKeyHex: string;
|
|
79
|
-
rawPublicKey: string | Uint8Array | undefined;
|
|
80
|
-
* Validates that the expected wallet address matches the active wallet
|
|
81
|
-
* Updates the active account address if it doesn't match
|
|
82
|
-
* @param expectedAddress - The expected wallet address to validate
|
|
83
|
-
* @throws {DynamicError} If signed session ID is not available or account is not found
|
|
84
|
-
*/
|
|
91
|
+
rawPublicKey: string | Uint8Array | undefined;
|
|
85
92
|
}>;
|
|
86
93
|
addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, }: {
|
|
87
94
|
accountAddress: string;
|
|
@@ -94,7 +101,7 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
|
|
|
94
101
|
};
|
|
95
102
|
signerType?: "endUser" | "server" | undefined;
|
|
96
103
|
password?: string | undefined;
|
|
97
|
-
}): Promise<{
|
|
104
|
+
}): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
|
|
98
105
|
shareSetId: string;
|
|
99
106
|
}>;
|
|
100
107
|
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
|
|
@@ -175,10 +182,10 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
|
|
|
175
182
|
unlockWallet({ accountAddress, password, }: {
|
|
176
183
|
accountAddress: string;
|
|
177
184
|
password?: string | undefined;
|
|
178
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
185
|
+
}): Promise<import("@dynamic-labs-wallet/core").GetWalletResponse>;
|
|
179
186
|
getWalletRecoveryState({ accountAddress, }: {
|
|
180
187
|
accountAddress: string;
|
|
181
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
188
|
+
}): Promise<import("@dynamic-labs-wallet/core").WalletRecoveryState>;
|
|
182
189
|
endSession(reason?: import("@dynamic-labs-sdk/client").LogoutReason | undefined): Promise<void>;
|
|
183
190
|
getActiveAccountAddress(): Promise<string | undefined>;
|
|
184
191
|
getConnectedAccounts(): Promise<string[]>;
|