@dynamic-labs/ethereum-aa 1.4.10 → 1.4.12
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 +17 -0
- package/package.json +7 -7
- package/src/ZeroDevConnector.cjs +4 -0
- package/src/ZeroDevConnector.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
|
|
2
|
+
### [1.4.12](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.11...v1.4.12) (2024-05-22)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* init ethers web3provider without a network if selected network is unsupported ([#5658](https://github.com/dynamic-labs/DynamicAuth/issues/5658)) ([9973af8](https://github.com/dynamic-labs/DynamicAuth/commit/9973af8fa6bc3f45095f4b830fe480ff2ed58a77))
|
|
8
|
+
|
|
9
|
+
### [1.4.11](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.10...v1.4.11) (2024-04-26)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* display wallet tabs when linking a wallet ([#5493](https://github.com/dynamic-labs/DynamicAuth/issues/5493)) ([cf843bd](https://github.com/dynamic-labs/DynamicAuth/commit/cf843bd9f38c4aed8fe24387fe591ae045a8c3f0))
|
|
15
|
+
* ensure zerodev viem client handles eth_accounts call ([#5477](https://github.com/dynamic-labs/DynamicAuth/issues/5477)) ([#5484](https://github.com/dynamic-labs/DynamicAuth/issues/5484)) ([5c6508a](https://github.com/dynamic-labs/DynamicAuth/commit/5c6508afbfa981b5dd3d2064ee32f9396c142efb))
|
|
16
|
+
* network changes with keplr ([#5485](https://github.com/dynamic-labs/DynamicAuth/issues/5485)) ([#5490](https://github.com/dynamic-labs/DynamicAuth/issues/5490)) ([d54a74c](https://github.com/dynamic-labs/DynamicAuth/commit/d54a74c373a2db35add56bf7383b7243873624c3))
|
|
17
|
+
* refetch nameservice data and display properly ([#5501](https://github.com/dynamic-labs/DynamicAuth/issues/5501)) ([59c9390](https://github.com/dynamic-labs/DynamicAuth/commit/59c9390a593e52d6883f5b3ec541279e52e8f45b))
|
|
18
|
+
|
|
2
19
|
### [1.4.10](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.9...v1.4.10) (2024-04-23)
|
|
3
20
|
|
|
4
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum-aa",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.12",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@zerodev/sdk": "^4.1.5",
|
|
30
30
|
"@dynamic-labs/sdk-api": "0.0.387",
|
|
31
|
-
"@dynamic-labs/logger": "1.4.
|
|
32
|
-
"@dynamic-labs/types": "1.4.
|
|
33
|
-
"@dynamic-labs/utils": "1.4.
|
|
34
|
-
"@dynamic-labs/viem-utils": "1.4.
|
|
35
|
-
"@dynamic-labs/wallet-book": "1.4.
|
|
36
|
-
"@dynamic-labs/wallet-connector-core": "1.4.
|
|
31
|
+
"@dynamic-labs/logger": "1.4.12",
|
|
32
|
+
"@dynamic-labs/types": "1.4.12",
|
|
33
|
+
"@dynamic-labs/utils": "1.4.12",
|
|
34
|
+
"@dynamic-labs/viem-utils": "1.4.12",
|
|
35
|
+
"@dynamic-labs/wallet-book": "1.4.12",
|
|
36
|
+
"@dynamic-labs/wallet-connector-core": "1.4.12"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"viem": "^1.19.13 || ^2.2.0"
|
package/src/ZeroDevConnector.cjs
CHANGED
|
@@ -122,6 +122,10 @@ class ZeroDevConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
122
122
|
}
|
|
123
123
|
getTransport(provider) {
|
|
124
124
|
const transport = viemUtils.confirmationTransport({
|
|
125
|
+
getAccounts: () => _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
const address = yield provider.getAddress();
|
|
127
|
+
return address ? [address] : [];
|
|
128
|
+
}),
|
|
125
129
|
onPersonalSign: (_a) => _tslib.__awaiter(this, [_a], void 0, function* ({ message }) {
|
|
126
130
|
this._walletUiUtils.disabledConfirmationOnce();
|
|
127
131
|
return provider.signMessage(message);
|
package/src/ZeroDevConnector.js
CHANGED
|
@@ -118,6 +118,10 @@ class ZeroDevConnector extends WalletConnectorBase {
|
|
|
118
118
|
}
|
|
119
119
|
getTransport(provider) {
|
|
120
120
|
const transport = confirmationTransport({
|
|
121
|
+
getAccounts: () => __awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
const address = yield provider.getAddress();
|
|
123
|
+
return address ? [address] : [];
|
|
124
|
+
}),
|
|
121
125
|
onPersonalSign: (_a) => __awaiter(this, [_a], void 0, function* ({ message }) {
|
|
122
126
|
this._walletUiUtils.disabledConfirmationOnce();
|
|
123
127
|
return provider.signMessage(message);
|