@dynamic-labs/sdk-react-core 0.17.14 → 0.17.15

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,11 @@
1
1
 
2
+ ### [0.17.15](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.14...v0.17.15) (2023-06-28)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **wc_v1_bridget:** disable WC v2 when WC v1 bridge is set ([#2505](https://github.com/dynamic-labs/DynamicAuth/issues/2505)) ([#2506](https://github.com/dynamic-labs/DynamicAuth/issues/2506)) ([ed7dcf2](https://github.com/dynamic-labs/DynamicAuth/commit/ed7dcf2168f5486a780933060e61eff3fe0ff59e))
8
+
2
9
  ### [0.17.14](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.13...v0.17.14) (2023-06-27)
3
10
 
4
11
 
package/package.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "0.17.14";
5
+ var version = "0.17.15";
6
6
  var dependencies = {
7
7
  "react-focus-lock": "2.9.2",
8
8
  "@dynamic-labs/iconic": "0.1.23",
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
- var version = "0.17.14";
1
+ var version = "0.17.15";
2
2
  var dependencies = {
3
3
  "react-focus-lock": "2.9.2",
4
4
  "@dynamic-labs/iconic": "0.1.23",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-react-core",
3
- "version": "0.17.14",
3
+ "version": "0.17.15",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -16,13 +16,13 @@
16
16
  "formik": "2.2.9",
17
17
  "qrcode": "1.5.1",
18
18
  "ethers": "5.7.2",
19
- "@dynamic-labs/logger": "0.17.14",
20
- "@dynamic-labs/multi-wallet": "0.17.14",
21
- "@dynamic-labs/rpc-providers": "0.17.14",
22
- "@dynamic-labs/types": "0.17.14",
23
- "@dynamic-labs/utils": "0.17.14",
24
- "@dynamic-labs/wallet-book": "0.17.14",
25
- "@dynamic-labs/wallet-connector-core": "0.17.14"
19
+ "@dynamic-labs/logger": "0.17.15",
20
+ "@dynamic-labs/multi-wallet": "0.17.15",
21
+ "@dynamic-labs/rpc-providers": "0.17.15",
22
+ "@dynamic-labs/types": "0.17.15",
23
+ "@dynamic-labs/utils": "0.17.15",
24
+ "@dynamic-labs/wallet-book": "0.17.15",
25
+ "@dynamic-labs/wallet-connector-core": "0.17.15"
26
26
  },
27
27
  "devDependencies": {
28
28
  "semver": "7.3.8"
@@ -26,7 +26,8 @@ const createWallets = (props) => {
26
26
  var _a, _b, _c, _d;
27
27
  return multiWallet.getEnabledWallets({
28
28
  enabledChains: getEnabledChains(props.settings.chains),
29
- getSupportedWalletOpts: Object.assign(Object.assign({}, props.getSupportedWalletOpts), { chainRpcProviders: rpcProviders.ChainRpcProviders, isWalletConnectV2Enabled: ((_a = props.settings.sdk.walletConnect) === null || _a === void 0 ? void 0 : _a.v2Enabled) &&
29
+ getSupportedWalletOpts: Object.assign(Object.assign({}, props.getSupportedWalletOpts), { chainRpcProviders: rpcProviders.ChainRpcProviders, isWalletConnectV2Enabled: !props.getSupportedWalletOpts.walletConnectV1Bridge &&
30
+ ((_a = props.settings.sdk.walletConnect) === null || _a === void 0 ? void 0 : _a.v2Enabled) &&
30
31
  ((_b = props.settings.sdk.walletConnect) === null || _b === void 0 ? void 0 : _b.projectId)
31
32
  ? (_c = props.settings.sdk.walletConnect) === null || _c === void 0 ? void 0 : _c.v2Enabled
32
33
  : false, walletConnectProjectId: (_d = props.settings.sdk.walletConnect) === null || _d === void 0 ? void 0 : _d.projectId }),
@@ -22,7 +22,8 @@ const createWallets = (props) => {
22
22
  var _a, _b, _c, _d;
23
23
  return getEnabledWallets({
24
24
  enabledChains: getEnabledChains(props.settings.chains),
25
- getSupportedWalletOpts: Object.assign(Object.assign({}, props.getSupportedWalletOpts), { chainRpcProviders: ChainRpcProviders, isWalletConnectV2Enabled: ((_a = props.settings.sdk.walletConnect) === null || _a === void 0 ? void 0 : _a.v2Enabled) &&
25
+ getSupportedWalletOpts: Object.assign(Object.assign({}, props.getSupportedWalletOpts), { chainRpcProviders: ChainRpcProviders, isWalletConnectV2Enabled: !props.getSupportedWalletOpts.walletConnectV1Bridge &&
26
+ ((_a = props.settings.sdk.walletConnect) === null || _a === void 0 ? void 0 : _a.v2Enabled) &&
26
27
  ((_b = props.settings.sdk.walletConnect) === null || _b === void 0 ? void 0 : _b.projectId)
27
28
  ? (_c = props.settings.sdk.walletConnect) === null || _c === void 0 ? void 0 : _c.v2Enabled
28
29
  : false, walletConnectProjectId: (_d = props.settings.sdk.walletConnect) === null || _d === void 0 ? void 0 : _d.projectId }),