@dynamic-labs/ethereum-aa 4.0.0-alpha.21 → 4.0.0-alpha.22
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 +12 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/ZeroDevConnector.cjs +2 -2
- package/src/ZeroDevConnector.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.0.0-alpha.22](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.21...v4.0.0-alpha.22) (2024-10-30)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **QNTM-522:** add wallet details card ([#7239](https://github.com/dynamic-labs/dynamic-auth/issues/7239)) ([0181c87](https://github.com/dynamic-labs/dynamic-auth/commit/0181c8727af575620525b8ea47b196945c347846))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* update check for wallet provider event listeners support ([#7303](https://github.com/dynamic-labs/dynamic-auth/issues/7303)) ([c5f3766](https://github.com/dynamic-labs/dynamic-auth/commit/c5f376691c87a0999991e477f9acd07eed4774aa))
|
|
13
|
+
|
|
2
14
|
## [4.0.0-alpha.21](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.20...v4.0.0-alpha.21) (2024-10-30)
|
|
3
15
|
|
|
4
16
|
## [4.0.0-alpha.20](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.19...v4.0.0-alpha.20) (2024-10-30)
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum-aa",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.22",
|
|
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",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"@zerodev/multi-chain-validator": "5.3.3",
|
|
24
24
|
"@zerodev/sdk": "5.3.4",
|
|
25
25
|
"permissionless": "^0.1.20",
|
|
26
|
-
"@dynamic-labs/assert-package-version": "4.0.0-alpha.
|
|
27
|
-
"@dynamic-labs/ethereum-core": "4.0.0-alpha.
|
|
28
|
-
"@dynamic-labs/logger": "4.0.0-alpha.
|
|
29
|
-
"@dynamic-labs/types": "4.0.0-alpha.
|
|
30
|
-
"@dynamic-labs/utils": "4.0.0-alpha.
|
|
31
|
-
"@dynamic-labs/wallet-book": "4.0.0-alpha.
|
|
32
|
-
"@dynamic-labs/wallet-connector-core": "4.0.0-alpha.
|
|
26
|
+
"@dynamic-labs/assert-package-version": "4.0.0-alpha.22",
|
|
27
|
+
"@dynamic-labs/ethereum-core": "4.0.0-alpha.22",
|
|
28
|
+
"@dynamic-labs/logger": "4.0.0-alpha.22",
|
|
29
|
+
"@dynamic-labs/types": "4.0.0-alpha.22",
|
|
30
|
+
"@dynamic-labs/utils": "4.0.0-alpha.22",
|
|
31
|
+
"@dynamic-labs/wallet-book": "4.0.0-alpha.22",
|
|
32
|
+
"@dynamic-labs/wallet-connector-core": "4.0.0-alpha.22"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"viem": "^2.7.6"
|
package/src/ZeroDevConnector.cjs
CHANGED
|
@@ -167,7 +167,7 @@ class ZeroDevConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
167
167
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
168
168
|
// reset the chains provider map when eoa connector changes
|
|
169
169
|
this.providerMap = {};
|
|
170
|
-
|
|
170
|
+
yield Promise.all(this.providersFromApi.map((provider) => _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
171
171
|
if (!this.providerMap[provider.chain]) {
|
|
172
172
|
const [kernelClient, kernelClientWithSponsorship] = yield Promise.all([
|
|
173
173
|
this.getKernelClientWithoutSponsorshipValidation({
|
|
@@ -187,7 +187,7 @@ class ZeroDevConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
189
|
yield this.warnIfProjectChainNotEnabled(utils.parseChainId(provider.chain));
|
|
190
|
-
}
|
|
190
|
+
})));
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
193
|
getKernelClientWithoutSponsorshipValidation(_a) {
|
package/src/ZeroDevConnector.js
CHANGED
|
@@ -163,7 +163,7 @@ class ZeroDevConnector extends WalletConnectorBase {
|
|
|
163
163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
164
164
|
// reset the chains provider map when eoa connector changes
|
|
165
165
|
this.providerMap = {};
|
|
166
|
-
|
|
166
|
+
yield Promise.all(this.providersFromApi.map((provider) => __awaiter(this, void 0, void 0, function* () {
|
|
167
167
|
if (!this.providerMap[provider.chain]) {
|
|
168
168
|
const [kernelClient, kernelClientWithSponsorship] = yield Promise.all([
|
|
169
169
|
this.getKernelClientWithoutSponsorshipValidation({
|
|
@@ -183,7 +183,7 @@ class ZeroDevConnector extends WalletConnectorBase {
|
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
yield this.warnIfProjectChainNotEnabled(parseChainId(provider.chain));
|
|
186
|
-
}
|
|
186
|
+
})));
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
getKernelClientWithoutSponsorshipValidation(_a) {
|