@campnetwork/origin 1.2.5 → 1.2.6-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.
@@ -6658,7 +6658,8 @@ const CampModal = ({ injectButton = true, wcProjectId, onlyWagmi = false, defaul
6658
6658
  auth.setProvider(Object.assign(Object.assign({}, defaultProvider), { address }));
6659
6659
  }
6660
6660
  else {
6661
- console.error("Address mismatch. Default provider address does not match authenticated address.");
6661
+ console.error("Address mismatch. Default provider address does not match authenticated address. Disconnecting.");
6662
+ yield auth.disconnect();
6662
6663
  }
6663
6664
  }
6664
6665
  else if (walletConnectProvider &&
@@ -6676,7 +6677,8 @@ const CampModal = ({ injectButton = true, wcProjectId, onlyWagmi = false, defaul
6676
6677
  });
6677
6678
  }
6678
6679
  else {
6679
- console.error("Address mismatch. WalletConnect provider address does not match authenticated address.");
6680
+ console.error("Address mismatch. WalletConnect provider address does not match authenticated address. Disconnecting.");
6681
+ yield auth.disconnect();
6680
6682
  }
6681
6683
  }
6682
6684
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campnetwork/origin",
3
- "version": "1.2.5",
3
+ "version": "1.2.6-0",
4
4
  "main": "dist/core.cjs",
5
5
  "exports": {
6
6
  ".": {