@dynamic-labs/ethereum-aa 3.4.4 → 3.4.6
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 +26 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/ZeroDevConnector.cjs +9 -5
- package/src/ZeroDevConnector.js +9 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
|
|
2
|
+
### [3.4.6](https://github.com/dynamic-labs/DynamicAuth/compare/v3.4.5...v3.4.6) (2024-10-31)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add support for compass and leap wallets ([ab170c9](https://github.com/dynamic-labs/DynamicAuth/commit/ab170c962099ed6356d2f31c947b122f1aa7ec73))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* prevent use-wallet-options from reading empty wallet-book ([#7320](https://github.com/dynamic-labs/DynamicAuth/issues/7320)) ([24c6cb1](https://github.com/dynamic-labs/DynamicAuth/commit/24c6cb14ce324925b120d363e029e29b72560895))
|
|
13
|
+
* sats-connect wallets not prompting correctly to sync account when making a transaction ([#7311](https://github.com/dynamic-labs/DynamicAuth/issues/7311)) ([#7312](https://github.com/dynamic-labs/DynamicAuth/issues/7312)) ([2026be4](https://github.com/dynamic-labs/DynamicAuth/commit/2026be412edcbb7e98341a5a5b2a3bd75ffdb83f))
|
|
14
|
+
* update check for wallet provider event listeners support ([#7303](https://github.com/dynamic-labs/DynamicAuth/issues/7303)) ([#7304](https://github.com/dynamic-labs/DynamicAuth/issues/7304)) ([1e91c76](https://github.com/dynamic-labs/DynamicAuth/commit/1e91c767ebe078f63c27884e4a8e7729d49b2114))
|
|
15
|
+
|
|
16
|
+
### [3.4.5](https://github.com/dynamic-labs/DynamicAuth/compare/v3.4.4...v3.4.5) (2024-10-30)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* add support for epicgames social ([#7222](https://github.com/dynamic-labs/DynamicAuth/issues/7222)) ([f34f027](https://github.com/dynamic-labs/DynamicAuth/commit/f34f02738a4d163792ff457dfe053335a4d57328))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* show connect view when user selects a wallet to connect with ([#7211](https://github.com/dynamic-labs/DynamicAuth/issues/7211)) ([c7d3ab0](https://github.com/dynamic-labs/DynamicAuth/commit/c7d3ab00d4ced00128e0e7bde908165707a15a5c))
|
|
27
|
+
|
|
2
28
|
### [3.4.4](https://github.com/dynamic-labs/DynamicAuth/compare/v3.4.3...v3.4.4) (2024-10-24)
|
|
3
29
|
|
|
4
30
|
### [3.4.3](https://github.com/dynamic-labs/DynamicAuth/compare/v3.4.2...v3.4.3) (2024-10-23)
|
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": "3.4.
|
|
3
|
+
"version": "3.4.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"./package.json": "./package.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
29
|
+
"@dynamic-labs/sdk-api-core": "0.0.559",
|
|
30
30
|
"@zerodev/ecdsa-validator": "5.3.1",
|
|
31
31
|
"@zerodev/multi-chain-validator": "5.3.3",
|
|
32
32
|
"@zerodev/sdk": "5.3.4",
|
|
33
33
|
"permissionless": "^0.1.20",
|
|
34
|
-
"@dynamic-labs/assert-package-version": "3.4.
|
|
35
|
-
"@dynamic-labs/ethereum-core": "3.4.
|
|
36
|
-
"@dynamic-labs/logger": "3.4.
|
|
37
|
-
"@dynamic-labs/types": "3.4.
|
|
38
|
-
"@dynamic-labs/utils": "3.4.
|
|
39
|
-
"@dynamic-labs/wallet-book": "3.4.
|
|
40
|
-
"@dynamic-labs/wallet-connector-core": "3.4.
|
|
34
|
+
"@dynamic-labs/assert-package-version": "3.4.6",
|
|
35
|
+
"@dynamic-labs/ethereum-core": "3.4.6",
|
|
36
|
+
"@dynamic-labs/logger": "3.4.6",
|
|
37
|
+
"@dynamic-labs/types": "3.4.6",
|
|
38
|
+
"@dynamic-labs/utils": "3.4.6",
|
|
39
|
+
"@dynamic-labs/wallet-book": "3.4.6",
|
|
40
|
+
"@dynamic-labs/wallet-connector-core": "3.4.6"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"viem": "^2.7.6"
|
package/src/ZeroDevConnector.cjs
CHANGED
|
@@ -167,23 +167,27 @@ 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
|
-
|
|
173
|
-
|
|
172
|
+
const [kernelClient, kernelClientWithSponsorship] = yield Promise.all([
|
|
173
|
+
this.getKernelClientWithoutSponsorshipValidation({
|
|
174
174
|
chainId: provider.chain,
|
|
175
175
|
projectId: provider.clientId,
|
|
176
176
|
signer,
|
|
177
177
|
}),
|
|
178
|
-
|
|
178
|
+
this.getKernelClientWithSponsorshipValidation({
|
|
179
179
|
chainId: provider.chain,
|
|
180
180
|
projectId: provider.clientId,
|
|
181
181
|
signer,
|
|
182
182
|
}),
|
|
183
|
+
]);
|
|
184
|
+
this.providerMap[provider.chain] = {
|
|
185
|
+
kernelClient,
|
|
186
|
+
kernelClientWithSponsorship,
|
|
183
187
|
};
|
|
184
188
|
}
|
|
185
189
|
yield this.warnIfProjectChainNotEnabled(utils.parseChainId(provider.chain));
|
|
186
|
-
}
|
|
190
|
+
})));
|
|
187
191
|
});
|
|
188
192
|
}
|
|
189
193
|
getKernelClientWithoutSponsorshipValidation(_a) {
|
package/src/ZeroDevConnector.js
CHANGED
|
@@ -163,23 +163,27 @@ 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
|
-
|
|
169
|
-
|
|
168
|
+
const [kernelClient, kernelClientWithSponsorship] = yield Promise.all([
|
|
169
|
+
this.getKernelClientWithoutSponsorshipValidation({
|
|
170
170
|
chainId: provider.chain,
|
|
171
171
|
projectId: provider.clientId,
|
|
172
172
|
signer,
|
|
173
173
|
}),
|
|
174
|
-
|
|
174
|
+
this.getKernelClientWithSponsorshipValidation({
|
|
175
175
|
chainId: provider.chain,
|
|
176
176
|
projectId: provider.clientId,
|
|
177
177
|
signer,
|
|
178
178
|
}),
|
|
179
|
+
]);
|
|
180
|
+
this.providerMap[provider.chain] = {
|
|
181
|
+
kernelClient,
|
|
182
|
+
kernelClientWithSponsorship,
|
|
179
183
|
};
|
|
180
184
|
}
|
|
181
185
|
yield this.warnIfProjectChainNotEnabled(parseChainId(provider.chain));
|
|
182
|
-
}
|
|
186
|
+
})));
|
|
183
187
|
});
|
|
184
188
|
}
|
|
185
189
|
getKernelClientWithoutSponsorshipValidation(_a) {
|