@enclave-hq/wallet-sdk 1.1.1 → 1.1.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.
@@ -575,7 +575,6 @@ var MetaMaskAdapter = class extends BrowserWalletAdapter {
575
575
  * 切换链
576
576
  */
577
577
  async switchChain(chainId) {
578
- this.ensureConnected();
579
578
  const provider = this.getBrowserProvider();
580
579
  try {
581
580
  await provider.request({