@dynamic-labs/ethereum-aa 3.0.0-alpha.50 → 3.0.0-alpha.52

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,38 @@
1
1
 
2
+ ## [3.0.0-alpha.52](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.51...v3.0.0-alpha.52) (2024-08-28)
3
+
4
+
5
+ ### Features
6
+
7
+ * add support for custom keplr chains ([#6635](https://github.com/dynamic-labs/DynamicAuth/issues/6635)) ([f0aa2da](https://github.com/dynamic-labs/DynamicAuth/commit/f0aa2dac2a2b259d145ff52174da7cc6ef963182))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * better error handling on solana transaction decoding ([#6731](https://github.com/dynamic-labs/DynamicAuth/issues/6731)) ([a71af86](https://github.com/dynamic-labs/DynamicAuth/commit/a71af869395c9b99c04f0cac78a73e1b2b17bafe))
13
+
14
+ ## [3.0.0-alpha.51](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.50...v3.0.0-alpha.51) (2024-08-23)
15
+
16
+
17
+ ### ⚠ BREAKING CHANGES
18
+
19
+ * renamed solana-utils package to solana-core ([#6680](https://github.com/dynamic-labs/DynamicAuth/issues/6680)) ([9178d72](https://github.com/dynamic-labs/DynamicAuth/commit/9178d72073911364d1cb311944abaf0c93ada842))
20
+ * removed rpc-provider-solana package and moved methods and types to solana-core package ([#6694](https://github.com/dynamic-labs/DynamicAuth/issues/6694)) ([3486b01](https://github.com/dynamic-labs/DynamicAuth/commit/3486b018f6b199318e501854093d3eb7575bf9e0))
21
+ * removed rpc-provider-ethereum package and moved methods and types to ethereum-core package ([#6689](https://github.com/dynamic-labs/DynamicAuth/issues/6689)) ([83bf769](https://github.com/dynamic-labs/DynamicAuth/commit/83bf769a733cce484cfbc0aced654b811b1535de))
22
+ * renamed rpc-provider-starknet package to starknet-core ([#6695](https://github.com/dynamic-labs/DynamicAuth/issues/6695)) ([3fc6a03](https://github.com/dynamic-labs/DynamicAuth/commit/3fc6a0327f50914d3c28ca2c7d028046632d0002))
23
+
24
+
25
+ ### Features
26
+
27
+ * global wallet sdk ui ([#6626](https://github.com/dynamic-labs/DynamicAuth/issues/6626)) ([e000257](https://github.com/dynamic-labs/DynamicAuth/commit/e0002578eb91597577843c93821318112e36a9f0))
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * zerodev sign message ([#6691](https://github.com/dynamic-labs/DynamicAuth/issues/6691)) ([58c7fba](https://github.com/dynamic-labs/DynamicAuth/commit/58c7fba97c42eacad359e2daefd0f8518b8db28b))
33
+ * fix solana transaction optimization endpoint ([#6702](https://github.com/dynamic-labs/DynamicAuth/issues/6702)) ([f14bef7](https://github.com/dynamic-labs/DynamicAuth/commit/f14bef7994c32d66c3020d8c318bdbb5cac8ae94))
34
+
35
+
2
36
  ## [3.0.0-alpha.50](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.49...v3.0.0-alpha.50) (2024-08-22)
3
37
 
4
38
  ## [3.0.0-alpha.49](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.48...v3.0.0-alpha.49) (2024-08-22)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethereum-aa",
3
- "version": "3.0.0-alpha.50",
3
+ "version": "3.0.0-alpha.52",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -31,13 +31,13 @@
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/ethereum": "3.0.0-alpha.50",
35
- "@dynamic-labs/ethereum-core": "3.0.0-alpha.50",
36
- "@dynamic-labs/logger": "3.0.0-alpha.50",
37
- "@dynamic-labs/types": "3.0.0-alpha.50",
38
- "@dynamic-labs/utils": "3.0.0-alpha.50",
39
- "@dynamic-labs/wallet-book": "3.0.0-alpha.50",
40
- "@dynamic-labs/wallet-connector-core": "3.0.0-alpha.50"
34
+ "@dynamic-labs/ethereum": "3.0.0-alpha.52",
35
+ "@dynamic-labs/ethereum-core": "3.0.0-alpha.52",
36
+ "@dynamic-labs/logger": "3.0.0-alpha.52",
37
+ "@dynamic-labs/types": "3.0.0-alpha.52",
38
+ "@dynamic-labs/utils": "3.0.0-alpha.52",
39
+ "@dynamic-labs/wallet-book": "3.0.0-alpha.52",
40
+ "@dynamic-labs/wallet-connector-core": "3.0.0-alpha.52"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "viem": "^2.7.6"
@@ -327,14 +327,11 @@ class ZeroDevConnector extends walletConnectorCore.WalletConnectorBase {
327
327
  }
328
328
  signMessage(messageToSign) {
329
329
  return _tslib.__awaiter(this, void 0, void 0, function* () {
330
- const client = yield this.getSigner();
331
- const account = yield this.getAddress();
332
- if (!account || !client)
333
- return;
334
- return client.signMessage({
335
- account: account,
336
- message: messageToSign,
337
- });
330
+ const client = this === null || this === void 0 ? void 0 : this.kernelClient;
331
+ // https://docs.zerodev.app/sdk/core-api/sign-and-verify#signing-messages
332
+ if (!client)
333
+ throw new Error('Error fetching signer');
334
+ return client.signMessage({ message: messageToSign });
338
335
  });
339
336
  }
340
337
  createUiTransaction(from) {
@@ -323,14 +323,11 @@ class ZeroDevConnector extends WalletConnectorBase {
323
323
  }
324
324
  signMessage(messageToSign) {
325
325
  return __awaiter(this, void 0, void 0, function* () {
326
- const client = yield this.getSigner();
327
- const account = yield this.getAddress();
328
- if (!account || !client)
329
- return;
330
- return client.signMessage({
331
- account: account,
332
- message: messageToSign,
333
- });
326
+ const client = this === null || this === void 0 ? void 0 : this.kernelClient;
327
+ // https://docs.zerodev.app/sdk/core-api/sign-and-verify#signing-messages
328
+ if (!client)
329
+ throw new Error('Error fetching signer');
330
+ return client.signMessage({ message: messageToSign });
334
331
  });
335
332
  }
336
333
  createUiTransaction(from) {