@getpara/solana-wallet-connectors 1.17.0 → 1.18.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.
@@ -59,7 +59,6 @@ function SolanaExternalWalletProvider({ children, para, onSwitchWallet }) {
59
59
  wallet,
60
60
  connecting,
61
61
  signMessage: solanaSignMessage,
62
- connected,
63
62
  autoConnect
64
63
  } = useWallet();
65
64
  const { wallets: walletFns } = useParaSolana();
@@ -191,9 +190,6 @@ function SolanaExternalWalletProvider({ children, para, onSwitchWallet }) {
191
190
  const getWallet = (name) => wallets.find((w) => w.name === name);
192
191
  const disconnect = () => __async(this, null, function* () {
193
192
  yield _disconnect();
194
- if (connected) {
195
- typeof window !== void 0 && (window == null ? void 0 : window.location.reload());
196
- }
197
193
  });
198
194
  return /* @__PURE__ */ jsx(
199
195
  SolanaExternalWalletContext.Provider,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/solana-wallet-connectors",
3
- "version": "1.17.0",
3
+ "version": "1.18.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.17.0",
12
+ "@getpara/react-sdk": "1.18.0",
13
13
  "bs58": "6.0.0"
14
14
  },
15
15
  "scripts": {
@@ -38,5 +38,5 @@
38
38
  "dist",
39
39
  "package.json"
40
40
  ],
41
- "gitHead": "857cb45a49040c475fa7431f36134b0d5cb630f5"
41
+ "gitHead": "5928feb89e9fe821893477e4f892f6efa2ebffe2"
42
42
  }