@omnisat/lasereyes 0.0.46 → 0.0.48
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 +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -435,7 +435,7 @@ var MEMPOOL_SPACE_TESTNET_URL2 = "https://mempool.space/testnet";
|
|
|
435
435
|
var MEMPOOL_SPACE_TESTNET4_URL = "https://mempool.space/testnet4";
|
|
436
436
|
var MEMPOOL_SPACE_SIGNET_URL2 = "https://mempool.space/signet";
|
|
437
437
|
var MEMPOOL_SPACE_FRACTAL_MAINNET_URL = "https://mempool.fractalbitcoin.io";
|
|
438
|
-
var MEMPOOL_SPACE_FRACTAL_TESTNET_URL = "https://mempool-testnet.fractalbitcoin.io
|
|
438
|
+
var MEMPOOL_SPACE_FRACTAL_TESTNET_URL = "https://mempool-testnet.fractalbitcoin.io";
|
|
439
439
|
var getMempoolSpaceUrl2 = (network) => network === TESTNET ? MEMPOOL_SPACE_TESTNET_URL2 : network === TESTNET4 ? MEMPOOL_SPACE_TESTNET4_URL : network === SIGNET ? MEMPOOL_SPACE_SIGNET_URL2 : network === FRACTAL_MAINNET ? MEMPOOL_SPACE_FRACTAL_MAINNET_URL : network === FRACTAL_TESTNET ? MEMPOOL_SPACE_FRACTAL_TESTNET_URL : MEMPOOL_SPACE_URL2;
|
|
440
440
|
|
|
441
441
|
// src/lib/helpers.ts
|
|
@@ -649,7 +649,7 @@ var LaserEyesProvider = ({
|
|
|
649
649
|
}
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
|
-
}, [config
|
|
652
|
+
}, [config]);
|
|
653
653
|
const checkInitializationComplete = () => {
|
|
654
654
|
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) {
|
|
655
655
|
setIsInitializing(false);
|
|
@@ -1336,7 +1336,6 @@ var LaserEyesProvider = ({
|
|
|
1336
1336
|
}), [address2, provider, library]);
|
|
1337
1337
|
const switchNetwork = (network2) => __async(void 0, null, function* () {
|
|
1338
1338
|
try {
|
|
1339
|
-
console.log({ network: network2 });
|
|
1340
1339
|
if (!library)
|
|
1341
1340
|
return;
|
|
1342
1341
|
if (provider === UNISAT) {
|
package/dist/index.mjs
CHANGED
|
@@ -331,7 +331,7 @@ var MEMPOOL_SPACE_TESTNET_URL2 = "https://mempool.space/testnet";
|
|
|
331
331
|
var MEMPOOL_SPACE_TESTNET4_URL = "https://mempool.space/testnet4";
|
|
332
332
|
var MEMPOOL_SPACE_SIGNET_URL2 = "https://mempool.space/signet";
|
|
333
333
|
var MEMPOOL_SPACE_FRACTAL_MAINNET_URL = "https://mempool.fractalbitcoin.io";
|
|
334
|
-
var MEMPOOL_SPACE_FRACTAL_TESTNET_URL = "https://mempool-testnet.fractalbitcoin.io
|
|
334
|
+
var MEMPOOL_SPACE_FRACTAL_TESTNET_URL = "https://mempool-testnet.fractalbitcoin.io";
|
|
335
335
|
var getMempoolSpaceUrl2 = (network) => network === TESTNET ? MEMPOOL_SPACE_TESTNET_URL2 : network === TESTNET4 ? MEMPOOL_SPACE_TESTNET4_URL : network === SIGNET ? MEMPOOL_SPACE_SIGNET_URL2 : network === FRACTAL_MAINNET ? MEMPOOL_SPACE_FRACTAL_MAINNET_URL : network === FRACTAL_TESTNET ? MEMPOOL_SPACE_FRACTAL_TESTNET_URL : MEMPOOL_SPACE_URL2;
|
|
336
336
|
|
|
337
337
|
// src/lib/helpers.ts
|
|
@@ -554,7 +554,7 @@ var LaserEyesProvider = ({
|
|
|
554
554
|
}
|
|
555
555
|
});
|
|
556
556
|
}
|
|
557
|
-
}, [config
|
|
557
|
+
}, [config]);
|
|
558
558
|
const checkInitializationComplete = () => {
|
|
559
559
|
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) {
|
|
560
560
|
setIsInitializing(false);
|
|
@@ -1241,7 +1241,6 @@ var LaserEyesProvider = ({
|
|
|
1241
1241
|
}), [address2, provider, library]);
|
|
1242
1242
|
const switchNetwork = (network2) => __async(void 0, null, function* () {
|
|
1243
1243
|
try {
|
|
1244
|
-
console.log({ network: network2 });
|
|
1245
1244
|
if (!library)
|
|
1246
1245
|
return;
|
|
1247
1246
|
if (provider === UNISAT) {
|