@omnisat/lasereyes 0.0.54 → 0.0.56

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.
package/dist/index.js CHANGED
@@ -791,20 +791,6 @@ var LaserEyesProvider = ({
791
791
  (0, import_react.useEffect)(() => {
792
792
  setBalance(void 0);
793
793
  }, [network]);
794
- (0, import_react.useEffect)(() => {
795
- if (provider !== UNISAT && provider !== WIZZ) {
796
- return;
797
- }
798
- library.getAccounts().then((accounts2) => {
799
- handleAccountsChanged(accounts2);
800
- });
801
- library.on("accountsChanged", handleAccountsChanged);
802
- library.on("networkChanged", handleNetworkChanged);
803
- return () => {
804
- library.removeListener("accountsChanged", handleAccountsChanged);
805
- library.removeListener("networkChanged", handleNetworkChanged);
806
- };
807
- }, [library]);
808
794
  (0, import_react.useEffect)(() => {
809
795
  if (!isInitializing) {
810
796
  const defaultWallet = localStorage == null ? void 0 : localStorage.getItem(
package/dist/index.mjs CHANGED
@@ -696,20 +696,6 @@ var LaserEyesProvider = ({
696
696
  useEffect(() => {
697
697
  setBalance(void 0);
698
698
  }, [network]);
699
- useEffect(() => {
700
- if (provider !== UNISAT && provider !== WIZZ) {
701
- return;
702
- }
703
- library.getAccounts().then((accounts2) => {
704
- handleAccountsChanged(accounts2);
705
- });
706
- library.on("accountsChanged", handleAccountsChanged);
707
- library.on("networkChanged", handleNetworkChanged);
708
- return () => {
709
- library.removeListener("accountsChanged", handleAccountsChanged);
710
- library.removeListener("networkChanged", handleNetworkChanged);
711
- };
712
- }, [library]);
713
699
  useEffect(() => {
714
700
  if (!isInitializing) {
715
701
  const defaultWallet = localStorage == null ? void 0 : localStorage.getItem(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnisat/lasereyes",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "sideEffects": false,
5
5
  "private": false,
6
6
  "license": "MIT",