@getpara/evm-wallet-connectors 1.0.2-dev.1 → 1.0.2

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.
@@ -42,7 +42,7 @@ export function ParaEvmProvider(_a) {
42
42
  const updateExternalWalletProviderState = useExternalWalletProviderStore(state => state.updateState);
43
43
  const EvmProvider = useExternalWalletProviderStore(state => state.EvmProvider);
44
44
  const evmContext = useExternalWalletProviderStore(state => state.evmContext);
45
- const para = (_b = _config.para) !== null && _b !== void 0 ? _b : useClient();
45
+ const para = (_b = useClient()) !== null && _b !== void 0 ? _b : _config.para;
46
46
  const { projectId, appName, appDescription, appIcon, appUrl, wallets, chains, transports, paraDisableModal, paraOptions } = _config, wagmiConfigParams = __rest(_config, ["projectId", "appName", "appDescription", "appIcon", "appUrl", "wallets", "chains", "transports", "paraDisableModal", "paraOptions"]);
47
47
  const wcMetadata = computeWalletConnectMetaData({ appName, appDescription, appUrl, appIcon });
48
48
  const paraConnectorInstance = useMemo(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/evm-wallet-connectors",
3
- "version": "1.0.2-dev.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,5 +34,5 @@
34
34
  "dist",
35
35
  "package.json"
36
36
  ],
37
- "gitHead": "10ecce9873131e6a1b114fb0642a94bb02040bef"
37
+ "gitHead": "b52cb28fc10a5fda8c49747e98b512d680b5ded0"
38
38
  }