@dynamic-labs/ethers-v6 3.0.0-alpha.47 → 3.0.0-alpha.49

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,30 @@
1
1
 
2
+ ## [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)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * rename viem-utils package to ethereum-core (#6677)
8
+ * remove ethers-v5 package (#6661)
9
+
10
+ ### Bug Fixes
11
+
12
+ * force ui on global transactions and fix zerodev global ([#6673](https://github.com/dynamic-labs/DynamicAuth/issues/6673)) ([7317e44](https://github.com/dynamic-labs/DynamicAuth/commit/7317e449044fe4f87d67714afd36bec596d0cece))
13
+ * remove sync call in getWalletClient getSigner methods ([#6678](https://github.com/dynamic-labs/DynamicAuth/issues/6678)) ([a231337](https://github.com/dynamic-labs/DynamicAuth/commit/a231337f81be54d92715044b7dc8bb35c57087bb))
14
+
15
+
16
+ * remove ethers-v5 package ([#6661](https://github.com/dynamic-labs/DynamicAuth/issues/6661)) ([61cc31b](https://github.com/dynamic-labs/DynamicAuth/commit/61cc31ba4b8346b86a154aabf8842fd38396d632))
17
+ * rename viem-utils package to ethereum-core ([#6677](https://github.com/dynamic-labs/DynamicAuth/issues/6677)) ([ba7fd43](https://github.com/dynamic-labs/DynamicAuth/commit/ba7fd432e332b9f20a4f7aa9403f94722331cde6))
18
+
19
+ ## [3.0.0-alpha.48](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.47...v3.0.0-alpha.48) (2024-08-21)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * collect user data to work when no wallet is selected ([#6670](https://github.com/dynamic-labs/DynamicAuth/issues/6670)) ([b86aae8](https://github.com/dynamic-labs/DynamicAuth/commit/b86aae8e7ceb35793f792941a34cabd19b9e65d4))
25
+ * disable cookie when running on native mobile ([#6668](https://github.com/dynamic-labs/DynamicAuth/issues/6668)) ([e52a3d9](https://github.com/dynamic-labs/DynamicAuth/commit/e52a3d94a9028e36525be2e80a9f0916efad4320))
26
+ * prevent external auth blocking pending user requirements views ([#6669](https://github.com/dynamic-labs/DynamicAuth/issues/6669)) ([848356c](https://github.com/dynamic-labs/DynamicAuth/commit/848356c57e730a8516c642da84274a236e026f40))
27
+
2
28
  ## [3.0.0-alpha.47](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.46...v3.0.0-alpha.47) (2024-08-21)
3
29
 
4
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethers-v6",
3
- "version": "3.0.0-alpha.47",
3
+ "version": "3.0.0-alpha.49",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -30,6 +30,6 @@
30
30
  "ethers": "^6"
31
31
  },
32
32
  "dependencies": {
33
- "@dynamic-labs/wallet-connector-core": "3.0.0-alpha.47"
33
+ "@dynamic-labs/wallet-connector-core": "3.0.0-alpha.49"
34
34
  }
35
35
  }
package/src/ethers-v6.cjs CHANGED
@@ -4,7 +4,7 @@
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var _tslib = require('../_virtual/_tslib.cjs');
7
- var ethers6 = require('ethers6');
7
+ var ethers = require('ethers');
8
8
 
9
9
  /* eslint-disable import/no-extraneous-dependencies */
10
10
  const EthersExtension = {
@@ -25,12 +25,12 @@ const EthersExtension = {
25
25
  name: chain === null || chain === void 0 ? void 0 : chain.name,
26
26
  };
27
27
  if (transport.type === 'fallback') {
28
- const providers = transport.transports.map(({ value }) => new ethers6.JsonRpcProvider(value === null || value === void 0 ? void 0 : value.url, network));
28
+ const providers = transport.transports.map(({ value }) => new ethers.JsonRpcProvider(value === null || value === void 0 ? void 0 : value.url, network));
29
29
  if (providers.length === 1)
30
30
  return providers[0];
31
- return new ethers6.FallbackProvider(providers);
31
+ return new ethers.FallbackProvider(providers);
32
32
  }
33
- return new ethers6.JsonRpcProvider(transport.url, network);
33
+ return new ethers.JsonRpcProvider(transport.url, network);
34
34
  });
35
35
  },
36
36
  getSigner: function () {
@@ -59,7 +59,7 @@ const EthersExtension = {
59
59
  name: chain === null || chain === void 0 ? void 0 : chain.name,
60
60
  };
61
61
  }
62
- const provider = new ethers6.BrowserProvider(transport, network);
62
+ const provider = new ethers.BrowserProvider(transport, network);
63
63
  return provider;
64
64
  });
65
65
  },