@dynamic-labs/multi-wallet 0.17.13 → 0.17.14

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.14](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.13...v0.17.14) (2023-06-27)
3
+
4
+
5
+ ### Features
6
+
7
+ * add support for custom walletconnect v1 bridge ([#2487](https://github.com/dynamic-labs/DynamicAuth/issues/2487)) ([#2498](https://github.com/dynamic-labs/DynamicAuth/issues/2498)) ([c050e56](https://github.com/dynamic-labs/DynamicAuth/commit/c050e569c05801f661940e7b5a76677992fa2b86))
8
+
2
9
  ### [0.17.13](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.12...v0.17.13) (2023-06-27)
3
10
 
4
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/multi-wallet",
3
- "version": "0.17.13",
3
+ "version": "0.17.14",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -10,11 +10,11 @@
10
10
  "@dynamic-labs/sdk-api": "0.0.198",
11
11
  "ethers": "5.7.2",
12
12
  "tslib": "2.4.1",
13
- "@dynamic-labs/rpc-providers": "0.17.13",
14
- "@dynamic-labs/types": "0.17.13",
15
- "@dynamic-labs/utils": "0.17.13",
16
- "@dynamic-labs/wallet-book": "0.17.13",
17
- "@dynamic-labs/wallet-connector-core": "0.17.13"
13
+ "@dynamic-labs/rpc-providers": "0.17.14",
14
+ "@dynamic-labs/types": "0.17.14",
15
+ "@dynamic-labs/utils": "0.17.14",
16
+ "@dynamic-labs/wallet-book": "0.17.14",
17
+ "@dynamic-labs/wallet-connector-core": "0.17.14"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@walletconnect/types": "2.4.2"
@@ -20,7 +20,7 @@ const defaultWalletUiUtils = {
20
20
  },
21
21
  };
22
22
  const getSupportedWallets = (args) => {
23
- const { appLogoUrl = '', appName = '', chainRpcProviders, flowNetwork, isWalletConnectV2Enabled = false, networkConfigurations = { cosmos: [], evm: [], solana: [], starknet: [] }, customerApiProviders = [], skipMemo = false, walletConnectProjectId = '', walletConnectorsProp, walletUiUtils = undefined, } = args;
23
+ const { appLogoUrl = '', appName = '', chainRpcProviders, flowNetwork, isWalletConnectV2Enabled = false, networkConfigurations = { cosmos: [], evm: [], solana: [], starknet: [] }, customerApiProviders = [], skipMemo = false, walletConnectProjectId = '', walletConnectorsProp, walletUiUtils = undefined, walletConnectV1Bridge, } = args;
24
24
  if (!skipMemo && wallets.length > 0) {
25
25
  return wallets;
26
26
  }
@@ -39,6 +39,7 @@ const getSupportedWallets = (args) => {
39
39
  isWalletConnectV2Enabled,
40
40
  projectId: walletConnectProjectId,
41
41
  solNetworks: solanaNetworkConfigs,
42
+ walletConnectV1Bridge,
42
43
  walletUiUtils: walletUiUtils || defaultWalletUiUtils,
43
44
  };
44
45
  const allWallets = walletConnectorsProp
@@ -16,7 +16,7 @@ const defaultWalletUiUtils = {
16
16
  },
17
17
  };
18
18
  const getSupportedWallets = (args) => {
19
- const { appLogoUrl = '', appName = '', chainRpcProviders, flowNetwork, isWalletConnectV2Enabled = false, networkConfigurations = { cosmos: [], evm: [], solana: [], starknet: [] }, customerApiProviders = [], skipMemo = false, walletConnectProjectId = '', walletConnectorsProp, walletUiUtils = undefined, } = args;
19
+ const { appLogoUrl = '', appName = '', chainRpcProviders, flowNetwork, isWalletConnectV2Enabled = false, networkConfigurations = { cosmos: [], evm: [], solana: [], starknet: [] }, customerApiProviders = [], skipMemo = false, walletConnectProjectId = '', walletConnectorsProp, walletUiUtils = undefined, walletConnectV1Bridge, } = args;
20
20
  if (!skipMemo && wallets.length > 0) {
21
21
  return wallets;
22
22
  }
@@ -35,6 +35,7 @@ const getSupportedWallets = (args) => {
35
35
  isWalletConnectV2Enabled,
36
36
  projectId: walletConnectProjectId,
37
37
  solNetworks: solanaNetworkConfigs,
38
+ walletConnectV1Bridge,
38
39
  walletUiUtils: walletUiUtils || defaultWalletUiUtils,
39
40
  };
40
41
  const allWallets = walletConnectorsProp
package/src/types.d.ts CHANGED
@@ -11,6 +11,7 @@ export type GetSupportedWalletsOpts = {
11
11
  isWalletConnectV2Enabled?: boolean;
12
12
  networkConfigurations?: NetworkConfigurationMap;
13
13
  skipMemo?: boolean;
14
+ walletConnectV1Bridge?: string;
14
15
  walletConnectProjectId?: string;
15
16
  walletConnectorsProp: WalletConnectorsMethod[];
16
17
  walletUiUtils?: WalletUiUtils;