@dynamic-labs/ethereum-aa 2.0.4 → 2.0.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 +19 -0
- package/package.json +8 -8
- package/src/ZeroDevConnector.cjs +1 -0
- package/src/ZeroDevConnector.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
|
|
2
|
+
### [2.0.6](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.5...v2.0.6) (2024-05-03)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* fallback to walletconnect for zerion on mobile ([#5536](https://github.com/dynamic-labs/DynamicAuth/issues/5536)) ([#5537](https://github.com/dynamic-labs/DynamicAuth/issues/5537)) ([e013ee7](https://github.com/dynamic-labs/DynamicAuth/commit/e013ee7188f4f98fee478a65b1825cd16f4eedca))
|
|
8
|
+
* linking phantom wallets in mobile ([#5524](https://github.com/dynamic-labs/DynamicAuth/issues/5524)) ([#5557](https://github.com/dynamic-labs/DynamicAuth/issues/5557)) ([78017d1](https://github.com/dynamic-labs/DynamicAuth/commit/78017d1333cb78c5c95b2890de0f265756d8ef45))
|
|
9
|
+
|
|
10
|
+
### [2.0.5](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.4...v2.0.5) (2024-04-26)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* display wallet tabs when linking a wallet ([#5492](https://github.com/dynamic-labs/DynamicAuth/issues/5492)) ([3c34510](https://github.com/dynamic-labs/DynamicAuth/commit/3c3451002be3ccef35b70cb326406d0a1789e708))
|
|
16
|
+
* ensure zerodev viem client handles eth_accounts call ([#5477](https://github.com/dynamic-labs/DynamicAuth/issues/5477)) ([#5482](https://github.com/dynamic-labs/DynamicAuth/issues/5482)) ([5809269](https://github.com/dynamic-labs/DynamicAuth/commit/58092699bffd958457f734807123d694be12b532))
|
|
17
|
+
* network changes with keplr ([#5485](https://github.com/dynamic-labs/DynamicAuth/issues/5485)) ([#5489](https://github.com/dynamic-labs/DynamicAuth/issues/5489)) ([d792d13](https://github.com/dynamic-labs/DynamicAuth/commit/d792d136c48d5587968088a3cf43cfe2be27cf3b))
|
|
18
|
+
* refetch nameservice data and display properly ([#5476](https://github.com/dynamic-labs/DynamicAuth/issues/5476)) ([#5483](https://github.com/dynamic-labs/DynamicAuth/issues/5483)) ([47cf1e4](https://github.com/dynamic-labs/DynamicAuth/commit/47cf1e43ece9bb3d44a558704efdddfc40889af9))
|
|
19
|
+
* use the correct auth token in embeddedWalletCreatedCallback ([#5479](https://github.com/dynamic-labs/DynamicAuth/issues/5479)) ([2118aab](https://github.com/dynamic-labs/DynamicAuth/commit/2118aab14c7bbfb481701eafd94deca70e537095))
|
|
20
|
+
|
|
2
21
|
### [2.0.4](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.3...v2.0.4) (2024-04-24)
|
|
3
22
|
|
|
4
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum-aa",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@dynamic-labs/sdk-api-core": "0.0.418",
|
|
30
|
-
"@dynamic-labs/ethereum": "2.0.
|
|
31
|
-
"@dynamic-labs/logger": "2.0.
|
|
32
|
-
"@dynamic-labs/types": "2.0.
|
|
33
|
-
"@dynamic-labs/utils": "2.0.
|
|
34
|
-
"@dynamic-labs/viem-utils": "2.0.
|
|
35
|
-
"@dynamic-labs/wallet-book": "2.0.
|
|
36
|
-
"@dynamic-labs/wallet-connector-core": "2.0.
|
|
30
|
+
"@dynamic-labs/ethereum": "2.0.6",
|
|
31
|
+
"@dynamic-labs/logger": "2.0.6",
|
|
32
|
+
"@dynamic-labs/types": "2.0.6",
|
|
33
|
+
"@dynamic-labs/utils": "2.0.6",
|
|
34
|
+
"@dynamic-labs/viem-utils": "2.0.6",
|
|
35
|
+
"@dynamic-labs/wallet-book": "2.0.6",
|
|
36
|
+
"@dynamic-labs/wallet-connector-core": "2.0.6"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@zerodev/presets": "~5.1.0",
|
package/src/ZeroDevConnector.cjs
CHANGED
|
@@ -142,6 +142,7 @@ class ZeroDevConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
142
142
|
}
|
|
143
143
|
getTransport(provider) {
|
|
144
144
|
const transport = viemUtils.confirmationTransport({
|
|
145
|
+
getAccounts: () => _tslib.__awaiter(this, void 0, void 0, function* () { return [provider.account.address]; }),
|
|
145
146
|
onPersonalSign: (_a) => _tslib.__awaiter(this, [_a], void 0, function* ({ message }) {
|
|
146
147
|
this._walletUiUtils.disabledConfirmationOnce();
|
|
147
148
|
return provider.signMessage({
|
package/src/ZeroDevConnector.js
CHANGED
|
@@ -138,6 +138,7 @@ class ZeroDevConnector extends WalletConnectorBase {
|
|
|
138
138
|
}
|
|
139
139
|
getTransport(provider) {
|
|
140
140
|
const transport = confirmationTransport({
|
|
141
|
+
getAccounts: () => __awaiter(this, void 0, void 0, function* () { return [provider.account.address]; }),
|
|
141
142
|
onPersonalSign: (_a) => __awaiter(this, [_a], void 0, function* ({ message }) {
|
|
142
143
|
this._walletUiUtils.disabledConfirmationOnce();
|
|
143
144
|
return provider.signMessage({
|