@omnisat/lasereyes 0.0.73 → 0.0.74

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
@@ -663,7 +663,7 @@ var LaserEyesProvider = ({
663
663
  const [hasLeather, setHasLeather] = (0, import_react.useState)(false);
664
664
  const [hasPhantom, setHasPhantom] = (0, import_react.useState)(false);
665
665
  const [hasWizz, setHasWizz] = (0, import_react.useState)(false);
666
- const [hasOrange, setHasOrange] = (0, import_react.useState)(true);
666
+ const [hasOrange, setHasOrange] = (0, import_react.useState)(false);
667
667
  const [network, setNetwork] = (0, import_usehooks_ts.useLocalStorage)("network", (config == null ? void 0 : config.network) || MAINNET);
668
668
  (0, import_react.useEffect)(() => {
669
669
  if (config && config.network && library) {
@@ -682,7 +682,7 @@ var LaserEyesProvider = ({
682
682
  }
683
683
  }, [config, library]);
684
684
  const checkInitializationComplete = () => {
685
- if (hasUnisat !== void 0 && hasXverse !== void 0 && hasOyl !== void 0 && hasMagicEden !== void 0 && hasOkx !== void 0 && hasLeather !== void 0 && hasPhantom !== void 0 && hasWizz !== void 0) {
685
+ if (hasUnisat !== void 0 && hasXverse !== void 0 && hasOyl !== void 0 && hasMagicEden !== void 0 && hasOkx !== void 0 && hasLeather !== void 0 && hasPhantom !== void 0 && hasWizz !== void 0 && hasOrange !== void 0) {
686
686
  setIsInitializing(false);
687
687
  }
688
688
  };
@@ -804,7 +804,6 @@ var LaserEyesProvider = ({
804
804
  (0, import_react.useEffect)(() => {
805
805
  const observer = new MutationObserver(() => {
806
806
  const orangeLib = window == null ? void 0 : window.OrangeBitcoinProvider;
807
- console.log(orangeLib);
808
807
  if (orangeLib) {
809
808
  setHasOrange(true);
810
809
  observer.disconnect();
@@ -825,7 +824,8 @@ var LaserEyesProvider = ({
825
824
  hasOkx,
826
825
  hasLeather,
827
826
  hasPhantom,
828
- hasWizz
827
+ hasWizz,
828
+ hasOrange
829
829
  ]);
830
830
  (0, import_react.useEffect)(() => {
831
831
  setBalance(void 0);
package/dist/index.mjs CHANGED
@@ -564,7 +564,7 @@ var LaserEyesProvider = ({
564
564
  const [hasLeather, setHasLeather] = useState(false);
565
565
  const [hasPhantom, setHasPhantom] = useState(false);
566
566
  const [hasWizz, setHasWizz] = useState(false);
567
- const [hasOrange, setHasOrange] = useState(true);
567
+ const [hasOrange, setHasOrange] = useState(false);
568
568
  const [network, setNetwork] = useLocalStorage("network", (config == null ? void 0 : config.network) || MAINNET);
569
569
  useEffect(() => {
570
570
  if (config && config.network && library) {
@@ -583,7 +583,7 @@ var LaserEyesProvider = ({
583
583
  }
584
584
  }, [config, library]);
585
585
  const checkInitializationComplete = () => {
586
- if (hasUnisat !== void 0 && hasXverse !== void 0 && hasOyl !== void 0 && hasMagicEden !== void 0 && hasOkx !== void 0 && hasLeather !== void 0 && hasPhantom !== void 0 && hasWizz !== void 0) {
586
+ if (hasUnisat !== void 0 && hasXverse !== void 0 && hasOyl !== void 0 && hasMagicEden !== void 0 && hasOkx !== void 0 && hasLeather !== void 0 && hasPhantom !== void 0 && hasWizz !== void 0 && hasOrange !== void 0) {
587
587
  setIsInitializing(false);
588
588
  }
589
589
  };
@@ -705,7 +705,6 @@ var LaserEyesProvider = ({
705
705
  useEffect(() => {
706
706
  const observer = new MutationObserver(() => {
707
707
  const orangeLib = window == null ? void 0 : window.OrangeBitcoinProvider;
708
- console.log(orangeLib);
709
708
  if (orangeLib) {
710
709
  setHasOrange(true);
711
710
  observer.disconnect();
@@ -726,7 +725,8 @@ var LaserEyesProvider = ({
726
725
  hasOkx,
727
726
  hasLeather,
728
727
  hasPhantom,
729
- hasWizz
728
+ hasWizz,
729
+ hasOrange
730
730
  ]);
731
731
  useEffect(() => {
732
732
  setBalance(void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnisat/lasereyes",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "sideEffects": false,
5
5
  "private": false,
6
6
  "license": "MIT",