@dynamic-labs/aleo 5.8.1 → 5.9.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
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
|
|
2
|
+
### [5.9.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.0...v5.9.1) (2026-09-18)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **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))
|
|
8
|
+
* **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)
|
|
9
|
+
|
|
10
|
+
## [5.9.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.8.1...v5.9.0) (2026-09-16)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **sdk-react-core:** gate business account mutations behind step-up auth ([#12410](https://github.com/dynamic-labs/dynamic-auth/issues/12410)) ([d394719](https://github.com/dynamic-labs/dynamic-auth/commit/d3947198f9f84debccdd3ae4a4321f56b24467fb))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* prefer dashboard-saved RPC urls when mapping viem chains ([#12404](https://github.com/dynamic-labs/dynamic-auth/issues/12404)) ([dfe75b4](https://github.com/dynamic-labs/dynamic-auth/commit/dfe75b4193cff46b0fa0ef014f8b040587a0667e))
|
|
21
|
+
|
|
2
22
|
### [5.8.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.8.0...v5.8.1) (2026-09-15)
|
|
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/aleo",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.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,19 +18,19 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
22
|
-
"@dynamic-labs-sdk/client": "1.
|
|
23
|
-
"@dynamic-labs/sdk-api-core": "0.
|
|
21
|
+
"@dynamic-labs/assert-package-version": "5.9.1",
|
|
22
|
+
"@dynamic-labs-sdk/client": "1.33.3",
|
|
23
|
+
"@dynamic-labs/sdk-api-core": "0.40.0",
|
|
24
24
|
"@provablehq/aleo-wallet-adaptor-core": "0.3.0-alpha.3",
|
|
25
25
|
"@provablehq/aleo-wallet-adaptor-shield": "0.3.0-alpha.3",
|
|
26
26
|
"@provablehq/aleo-wallet-standard": "0.3.0-alpha.3",
|
|
27
27
|
"@provablehq/aleo-types": "0.3.0-alpha.3",
|
|
28
|
-
"@dynamic-labs/logger": "5.
|
|
29
|
-
"@dynamic-labs/types": "5.
|
|
30
|
-
"@dynamic-labs/utils": "5.
|
|
31
|
-
"@dynamic-labs/waas": "5.
|
|
32
|
-
"@dynamic-labs/wallet-book": "5.
|
|
33
|
-
"@dynamic-labs/wallet-connector-core": "5.
|
|
28
|
+
"@dynamic-labs/logger": "5.9.1",
|
|
29
|
+
"@dynamic-labs/types": "5.9.1",
|
|
30
|
+
"@dynamic-labs/utils": "5.9.1",
|
|
31
|
+
"@dynamic-labs/waas": "5.9.1",
|
|
32
|
+
"@dynamic-labs/wallet-book": "5.9.1",
|
|
33
|
+
"@dynamic-labs/wallet-connector-core": "5.9.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
36
36
|
}
|
|
@@ -59,6 +59,26 @@ declare const DynamicWaasAleoConnector_base: (abstract new (...args: any[]) => {
|
|
|
59
59
|
accountAddress: string;
|
|
60
60
|
}): Promise<string | undefined>;
|
|
61
61
|
getPassword({ accountAddress, }: {
|
|
62
|
+
/**
|
|
63
|
+
* Builds the `(functionName, inputs, inputTypes)` triple for a Send
|
|
64
|
+
* transition based on the picker-selected token's `programKind`. Lives
|
|
65
|
+
* at module scope so the closure body in `createUiTransaction` stays
|
|
66
|
+
* focused on wiring; the per-kind signatures are documented inline.
|
|
67
|
+
*
|
|
68
|
+
* - `credits` u64 amounts. inputs are `[record, recipient, amount]`,
|
|
69
|
+
* matching `credits.aleo`'s historical signature.
|
|
70
|
+
* - `stablecoin` u128 amounts. inputs are `[recipient, amount, record]`.
|
|
71
|
+
* The iframe appends the Sealance proof literal +
|
|
72
|
+
* `[MerkleProof; 2u32].private` type — caller does NOT
|
|
73
|
+
* pass them. Verified against
|
|
74
|
+
* `dynamic-waas-sdk/packages/aleo/src/client/client.ts`'s
|
|
75
|
+
* `proveTransaction` Sealance auto-injection block.
|
|
76
|
+
* - `arc21` u128 amounts. inputs are `[recipient, amount, record]`.
|
|
77
|
+
* Token_id is encoded inside the record plaintext, so
|
|
78
|
+
* the transition signature does NOT include it.
|
|
79
|
+
* Verified against `token_registry.aleo` source via the
|
|
80
|
+
* Provable explorer `/program` endpoint.
|
|
81
|
+
*/
|
|
62
82
|
accountAddress: string;
|
|
63
83
|
}): Promise<string | undefined>;
|
|
64
84
|
setEnvironmentId(environmentId: string): void;
|
|
@@ -98,7 +118,7 @@ declare const DynamicWaasAleoConnector_base: (abstract new (...args: any[]) => {
|
|
|
98
118
|
signerType?: "endUser" | "server" | undefined;
|
|
99
119
|
password?: string | undefined;
|
|
100
120
|
targetSignerPassword?: string | undefined;
|
|
101
|
-
}): Promise<{
|
|
121
|
+
}): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
|
|
102
122
|
shareSetId: string;
|
|
103
123
|
}>;
|
|
104
124
|
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }: import("@dynamic-labs/wallet-connector-core").ImportPrivateKeyParams): Promise<void>;
|
|
@@ -169,10 +189,10 @@ declare const DynamicWaasAleoConnector_base: (abstract new (...args: any[]) => {
|
|
|
169
189
|
unlockWallet({ accountAddress, password, }: {
|
|
170
190
|
accountAddress: string;
|
|
171
191
|
password?: string | undefined;
|
|
172
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
192
|
+
}): Promise<import("@dynamic-labs-wallet/core").GetWalletResponse>;
|
|
173
193
|
getWalletRecoveryState({ accountAddress, }: {
|
|
174
194
|
accountAddress: string;
|
|
175
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
195
|
+
}): Promise<import("@dynamic-labs-wallet/core").WalletRecoveryState>;
|
|
176
196
|
createOfflineRecoveryShares({ accountAddress, password, cloudProviderAccessToken, mfaToken, }: {
|
|
177
197
|
accountAddress: string;
|
|
178
198
|
password?: string | undefined;
|