@getpara/react-sdk 2.11.0 → 2.12.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.
@@ -13,7 +13,7 @@ const getViemAccount = (_0) => __async(void 0, [_0], function* ({ para, address
13
13
  return null;
14
14
  }
15
15
  }
16
- return yield createParaAccount(para, address);
16
+ return createParaAccount(para, address);
17
17
  });
18
18
  export {
19
19
  getViemAccount
@@ -18,7 +18,7 @@ const getViemClient = (_0) => __async(void 0, [_0], function* ({
18
18
  if (!viemAccount || !para) {
19
19
  return null;
20
20
  }
21
- return yield createParaViemClient(para, __spreadProps(__spreadValues({}, walletClientConfig), { account: viemAccount }));
21
+ return createParaViemClient(para, __spreadProps(__spreadValues({}, walletClientConfig), { account: viemAccount }));
22
22
  });
23
23
  export {
24
24
  getViemClient
@@ -19,7 +19,7 @@ const useViemClient = ({ address, walletClientConfig }) => {
19
19
  if (!para || !viemAccount) {
20
20
  return null;
21
21
  }
22
- return yield createParaViemClient(para, __spreadProps(__spreadValues({}, walletClientConfig), { account: viemAccount }));
22
+ return createParaViemClient(para, __spreadProps(__spreadValues({}, walletClientConfig), { account: viemAccount }));
23
23
  })
24
24
  });
25
25
  return { viemClient: data, isLoading };
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@getpara/react-sdk",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "dependencies": {
5
- "@getpara/cosmjs-v0-integration": "2.11.0",
6
- "@getpara/cosmos-wallet-connectors": "2.11.0",
7
- "@getpara/evm-wallet-connectors": "2.11.0",
8
- "@getpara/react-sdk-lite": "2.11.0",
9
- "@getpara/solana-signers-v2-integration": "2.11.0",
10
- "@getpara/solana-wallet-connectors": "2.11.0",
11
- "@getpara/viem-v2-integration": "2.11.0"
5
+ "@getpara/cosmjs-v0-integration": "2.12.0",
6
+ "@getpara/cosmos-wallet-connectors": "2.12.0",
7
+ "@getpara/evm-wallet-connectors": "2.12.0",
8
+ "@getpara/react-sdk-lite": "2.12.0",
9
+ "@getpara/solana-signers-v2-integration": "2.12.0",
10
+ "@getpara/solana-wallet-connectors": "2.12.0",
11
+ "@getpara/viem-v2-integration": "2.12.0"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@types/react": "^18.0.31",
@@ -33,7 +33,7 @@
33
33
  "package.json",
34
34
  "styles.css"
35
35
  ],
36
- "gitHead": "1cce45857320460cca03c4a9d0a59db169b222d6",
36
+ "gitHead": "09c114d148f7a0c2ad250d6346a76aa3b332b2d4",
37
37
  "main": "dist/index.js",
38
38
  "peerDependencies": {
39
39
  "@tanstack/react-query": ">=5.0.0",