@dynamic-labs/ethereum-aa 1.4.9 → 1.4.11

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 CHANGED
@@ -1,4 +1,21 @@
1
1
 
2
+ ### [1.4.11](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.10...v1.4.11) (2024-04-26)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * 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))
8
+ * 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))
9
+ * 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))
10
+ * refetch nameservice data and display properly ([#5501](https://github.com/dynamic-labs/DynamicAuth/issues/5501)) ([59c9390](https://github.com/dynamic-labs/DynamicAuth/commit/59c9390a593e52d6883f5b3ec541279e52e8f45b))
11
+
12
+ ### [1.4.10](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.9...v1.4.10) (2024-04-23)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * add autocomplete attribute to email and phone inputs ([#5444](https://github.com/dynamic-labs/DynamicAuth/issues/5444)) ([01fc1b0](https://github.com/dynamic-labs/DynamicAuth/commit/01fc1b0e0b93a5104112a7682907ea2948ece7b2))
18
+
2
19
  ### [1.4.9](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.8...v1.4.9) (2024-04-20)
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.9",
3
+ "version": "1.4.11",
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.9",
32
- "@dynamic-labs/types": "1.4.9",
33
- "@dynamic-labs/utils": "1.4.9",
34
- "@dynamic-labs/viem-utils": "1.4.9",
35
- "@dynamic-labs/wallet-book": "1.4.9",
36
- "@dynamic-labs/wallet-connector-core": "1.4.9"
31
+ "@dynamic-labs/logger": "1.4.11",
32
+ "@dynamic-labs/types": "1.4.11",
33
+ "@dynamic-labs/utils": "1.4.11",
34
+ "@dynamic-labs/viem-utils": "1.4.11",
35
+ "@dynamic-labs/wallet-book": "1.4.11",
36
+ "@dynamic-labs/wallet-connector-core": "1.4.11"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "viem": "^1.19.13 || ^2.2.0"
@@ -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);
@@ -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);