@dynamic-labs/aleo 4.92.4 → 5.0.0-rc.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 +14 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/connectors/DynamicWaasAleoConnector/DynamicWaasAleoConnector.d.ts +16 -1
- package/src/connectors/WaasAleoWalletConnector/WaasAleoWalletConnector.cjs +1 -1
- package/src/connectors/WaasAleoWalletConnector/WaasAleoWalletConnector.d.ts +1 -1
- package/src/connectors/WaasAleoWalletConnector/WaasAleoWalletConnector.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.0.0-rc.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.0.0-rc.0...v5.0.0-rc.1) (2026-07-17)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* move legacy embedded wallet to waas upgrade flow to new legacy-embedded-wallet-migration package (#11841)
|
|
8
|
+
* drop default injection of legacy embedded wallet connectors (#11833)
|
|
9
|
+
* remove legacy embedded wallet support (#11979)
|
|
10
|
+
* throw when legacy embedded wallet is detected without migration provider (#11855)
|
|
11
|
+
* remove deprecated eclipse package (#11831)
|
|
12
|
+
* remove deprecated functions and props (#11832)
|
|
13
|
+
|
|
14
|
+
|
|
2
15
|
### [4.92.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.92.3...v4.92.4) (2026-07-16)
|
|
3
16
|
|
|
4
17
|
|
|
@@ -57,6 +70,7 @@
|
|
|
57
70
|
* improve social OAuth error messages ([#11837](https://github.com/dynamic-labs/dynamic-auth/issues/11837)) ([8e57c06](https://github.com/dynamic-labs/dynamic-auth/commit/8e57c067c5a89111a32a12fb82e190cf6c46ad67))
|
|
58
71
|
* **react-native-extension:** reject path traversal in downloadFile fileName ([#11816](https://github.com/dynamic-labs/dynamic-auth/issues/11816)) ([9367a56](https://github.com/dynamic-labs/dynamic-auth/commit/9367a56b6daa853d7f7e7f5534261bc68825b239))
|
|
59
72
|
* **sdk-react-core:** display exactly the bytes signed in personal_sign preview ([#11818](https://github.com/dynamic-labs/dynamic-auth/issues/11818)) ([30b9382](https://github.com/dynamic-labs/dynamic-auth/commit/30b93829122f00060cb484aef09a03294c03f651))
|
|
73
|
+
|
|
60
74
|
|
|
61
75
|
### [4.91.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.5...v4.91.6) (2026-07-03)
|
|
62
76
|
|
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": "
|
|
3
|
+
"version": "5.0.0-rc.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": "
|
|
21
|
+
"@dynamic-labs/assert-package-version": "5.0.0-rc.1",
|
|
22
22
|
"@dynamic-labs-sdk/client": "1.18.0",
|
|
23
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
23
|
+
"@dynamic-labs/sdk-api-core": "0.0.1082",
|
|
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": "
|
|
29
|
-
"@dynamic-labs/types": "
|
|
30
|
-
"@dynamic-labs/utils": "
|
|
31
|
-
"@dynamic-labs/waas": "
|
|
32
|
-
"@dynamic-labs/wallet-book": "
|
|
33
|
-
"@dynamic-labs/wallet-connector-core": "
|
|
28
|
+
"@dynamic-labs/logger": "5.0.0-rc.1",
|
|
29
|
+
"@dynamic-labs/types": "5.0.0-rc.1",
|
|
30
|
+
"@dynamic-labs/utils": "5.0.0-rc.1",
|
|
31
|
+
"@dynamic-labs/waas": "5.0.0-rc.1",
|
|
32
|
+
"@dynamic-labs/wallet-book": "5.0.0-rc.1",
|
|
33
|
+
"@dynamic-labs/wallet-connector-core": "5.0.0-rc.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
36
36
|
}
|
|
@@ -39,7 +39,7 @@ declare const DynamicWaasAleoConnector_base: (abstract new (...args: any[]) => {
|
|
|
39
39
|
relayUrl?: string | undefined;
|
|
40
40
|
baseClientKeysharesRelayApiUrl?: string | undefined;
|
|
41
41
|
dynamicWaasClient: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient | undefined;
|
|
42
|
-
revokeSignedSession: (() => void) | undefined;
|
|
42
|
+
revokeSignedSession: ((reason?: string | undefined) => void) | undefined;
|
|
43
43
|
chainName: string;
|
|
44
44
|
authMode: "cookie" | "header";
|
|
45
45
|
logger: Logger;
|
|
@@ -132,6 +132,21 @@ declare const DynamicWaasAleoConnector_base: (abstract new (...args: any[]) => {
|
|
|
132
132
|
accountAddress: string;
|
|
133
133
|
password?: string | undefined;
|
|
134
134
|
}): Promise<void>;
|
|
135
|
+
runBackupLifecycle({ provider, accountAddress, password, performBackup, }: {
|
|
136
|
+
provider: string;
|
|
137
|
+
accountAddress: string;
|
|
138
|
+
password?: string | undefined;
|
|
139
|
+
performBackup: (prerequisites: {
|
|
140
|
+
walletClient: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient;
|
|
141
|
+
resolvedPassword: string | undefined;
|
|
142
|
+
signedSessionId: string;
|
|
143
|
+
sessionPublicKey: string | undefined;
|
|
144
|
+
traceContext: {
|
|
145
|
+
traceId: string;
|
|
146
|
+
startTime: number;
|
|
147
|
+
};
|
|
148
|
+
}) => Promise<void>;
|
|
149
|
+
}): Promise<void>;
|
|
135
150
|
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: {
|
|
136
151
|
accountAddress: string;
|
|
137
152
|
password?: string | undefined;
|
|
@@ -84,7 +84,7 @@ class WaasAleoWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
84
84
|
* Resolution order:
|
|
85
85
|
* 1. localStorage value (set by `setNetworkId` / `switchNetwork`)
|
|
86
86
|
* 2. First entry in `aleoNetworks` — this is the env's default ordering
|
|
87
|
-
* (matches how `
|
|
87
|
+
* (matches how `LegacyEVMEmbeddedWalletConnector.getLastUsedChainId` falls
|
|
88
88
|
* back to `evmNetworks[0].chainId`). Crucially, if we returned a
|
|
89
89
|
* different network than the env's default, the widget's network-
|
|
90
90
|
* mismatch detector would flag the wallet as being on the wrong
|
|
@@ -46,7 +46,7 @@ export declare abstract class WaasAleoWalletConnector extends WalletConnectorBas
|
|
|
46
46
|
* Resolution order:
|
|
47
47
|
* 1. localStorage value (set by `setNetworkId` / `switchNetwork`)
|
|
48
48
|
* 2. First entry in `aleoNetworks` — this is the env's default ordering
|
|
49
|
-
* (matches how `
|
|
49
|
+
* (matches how `LegacyEVMEmbeddedWalletConnector.getLastUsedChainId` falls
|
|
50
50
|
* back to `evmNetworks[0].chainId`). Crucially, if we returned a
|
|
51
51
|
* different network than the env's default, the widget's network-
|
|
52
52
|
* mismatch detector would flag the wallet as being on the wrong
|
|
@@ -80,7 +80,7 @@ class WaasAleoWalletConnector extends WalletConnectorBase {
|
|
|
80
80
|
* Resolution order:
|
|
81
81
|
* 1. localStorage value (set by `setNetworkId` / `switchNetwork`)
|
|
82
82
|
* 2. First entry in `aleoNetworks` — this is the env's default ordering
|
|
83
|
-
* (matches how `
|
|
83
|
+
* (matches how `LegacyEVMEmbeddedWalletConnector.getLastUsedChainId` falls
|
|
84
84
|
* back to `evmNetworks[0].chainId`). Crucially, if we returned a
|
|
85
85
|
* different network than the env's default, the widget's network-
|
|
86
86
|
* mismatch detector would flag the wallet as being on the wrong
|