@dynamic-labs/ethereum 0.17.0-RC.10 → 0.17.0-RC.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 CHANGED
@@ -1,4 +1,19 @@
1
1
 
2
+ ## [0.17.0-RC.12](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.11...v0.17.0-RC.12) (2023-05-09)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * allow opening network picker when unsupported network and only one network enabled ([#2061](https://github.com/dynamic-labs/DynamicAuth/issues/2061)) ([486607f](https://github.com/dynamic-labs/DynamicAuth/commit/486607f8bb2666749ce39f18cf2368c86a78f74f))
8
+ * **DynamicWagmiConnector:** prevent disconnect when WC is not present ([#2063](https://github.com/dynamic-labs/DynamicAuth/issues/2063)) ([ef93623](https://github.com/dynamic-labs/DynamicAuth/commit/ef93623fb68b63a9e89a5958eb87bbddedd15fb6))
9
+
10
+ ## [0.17.0-RC.11](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.10...v0.17.0-RC.11) (2023-05-08)
11
+
12
+
13
+ ### Features
14
+
15
+ * add walletConnectors setting for supplying array of wallet connectors ([#2059](https://github.com/dynamic-labs/DynamicAuth/issues/2059)) ([ae65218](https://github.com/dynamic-labs/DynamicAuth/commit/ae652180b17a870f7bbf5f99c876f386e0de1af5))
16
+
2
17
  ## [0.17.0-RC.10](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.9...v0.17.0-RC.10) (2023-05-05)
3
18
 
4
19
  ## [0.17.0-RC.9](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.8...v0.17.0-RC.9) (2023-05-05)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethereum",
3
- "version": "0.17.0-RC.10",
3
+ "version": "0.17.0-RC.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -31,10 +31,11 @@
31
31
  "@walletconnect/ethereum-provider": "1.8.0",
32
32
  "@walletconnect/universal-provider": "2.4.2",
33
33
  "ethers": "5.7.2",
34
- "@dynamic-labs/rpc-providers": "0.17.0-RC.10",
35
- "@dynamic-labs/types": "0.17.0-RC.10",
36
- "@dynamic-labs/utils": "0.17.0-RC.10",
37
- "@dynamic-labs/wallet-connector-core": "0.17.0-RC.10"
34
+ "buffer": "^6.0.3",
35
+ "@dynamic-labs/rpc-providers": "0.17.0-RC.12",
36
+ "@dynamic-labs/types": "0.17.0-RC.12",
37
+ "@dynamic-labs/utils": "0.17.0-RC.12",
38
+ "@dynamic-labs/wallet-connector-core": "0.17.0-RC.12"
38
39
  },
39
40
  "peerDependencies": {}
40
41
  }
package/src/index.cjs CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ require('./polyfills.cjs');
5
6
  var index = require('./injected/index.cjs');
6
7
  require('@walletconnect/universal-provider');
7
8
  require('ethers');
package/src/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import './polyfills';
1
2
  import { WalletConnectorConstructor } from '@dynamic-labs/wallet-connector-core';
2
3
  export * from './injected';
3
4
  export * from './EthWalletConnector';
package/src/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import './polyfills.js';
1
2
  import { injectedWallets } from './injected/index.js';
2
3
  export { injectedWallets } from './injected/index.js';
3
4
  import '@walletconnect/universal-provider';
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var _ = require('buffer/');
4
+
5
+ /* eslint-disable */
6
+ /**
7
+ * @walletconnect/client and @walletconnect/qrcode-modal use `global` and `Buffer`, respectively.
8
+ * This issue is captured here: https://github.com/WalletConnect/walletconnect-monorepo/issues/341
9
+ * Here are some GH issues of others facing the same problem:
10
+ * * https://github.com/WalletConnect/walletconnect-monorepo/issues/734
11
+ * * https://github.com/WalletConnect/walletconnect-monorepo/issues/748
12
+ */
13
+ if (typeof window !== 'undefined') {
14
+ window.global = globalThis;
15
+ Object.assign(window, { Buffer: _.Buffer });
16
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ import { Buffer } from 'buffer/index.js';
2
+
3
+ /* eslint-disable */
4
+ /**
5
+ * @walletconnect/client and @walletconnect/qrcode-modal use `global` and `Buffer`, respectively.
6
+ * This issue is captured here: https://github.com/WalletConnect/walletconnect-monorepo/issues/341
7
+ * Here are some GH issues of others facing the same problem:
8
+ * * https://github.com/WalletConnect/walletconnect-monorepo/issues/734
9
+ * * https://github.com/WalletConnect/walletconnect-monorepo/issues/748
10
+ */
11
+ if (typeof window !== 'undefined') {
12
+ window.global = globalThis;
13
+ Object.assign(window, { Buffer });
14
+ }