@getpara/cosmos-wallet-connectors 1.0.2 → 1.2.0

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.
@@ -30,7 +30,7 @@ export function ParaCosmosProvider(_a) {
30
30
  const updateExternalWalletProviderState = useExternalWalletProviderStore(state => state.updateState);
31
31
  const CosmosProvider = useExternalWalletProviderStore(state => state.CosmosProvider);
32
32
  const cosmosContext = useExternalWalletProviderStore(state => state.cosmosContext);
33
- const para = (_b = useClient()) !== null && _b !== void 0 ? _b : grazOpts.para;
33
+ const para = (_b = grazOpts.para) !== null && _b !== void 0 ? _b : useClient();
34
34
  const connectParaCosmosWallet = useCallback(() => __awaiter(this, void 0, void 0, function* () {
35
35
  if (!para) {
36
36
  return { error: 'No para instance available' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/cosmos-wallet-connectors",
3
- "version": "1.0.2",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "./connectors": "./dist/wallets/connectors/index.js"
10
10
  },
11
11
  "dependencies": {
12
- "@getpara/react-sdk": "1.0.2"
12
+ "@getpara/react-sdk": "1.2.0"
13
13
  },
14
14
  "scripts": {
15
15
  "build": "rm -rf dist && tsc",
@@ -36,5 +36,5 @@
36
36
  "dist",
37
37
  "package.json"
38
38
  ],
39
- "gitHead": "b52cb28fc10a5fda8c49747e98b512d680b5ded0"
39
+ "gitHead": "a9162c59be1456292d46c56787c1d5bf313bf24b"
40
40
  }