@omnisat/lasereyes 0.0.70 → 0.0.71
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.d.ts +8 -2
- package/dist/index.js +471 -15
- package/dist/index.mjs +467 -15
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BitcoinNetworkType } from '@orangecrypto/orange-connect';
|
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
import { ReactNode } from 'react';
|
|
@@ -21,6 +22,8 @@ declare const WIZZ_MAINNET = "livenet";
|
|
|
21
22
|
declare const WIZZ_TESTNET = "testnet";
|
|
22
23
|
declare const WIZZ_TESTNET4 = "testnet4";
|
|
23
24
|
declare const WIZZ_SIGNET = "signet";
|
|
25
|
+
declare const ORANGE_MAINNET = "Mainnet";
|
|
26
|
+
declare const ORANGE_TESTNET = "Testnet";
|
|
24
27
|
declare const LEATHER_MAINNET = "mainnet";
|
|
25
28
|
declare const LEATHER_TESTNET = "testnet";
|
|
26
29
|
declare const MAINNET = "mainnet";
|
|
@@ -31,6 +34,7 @@ declare const FRACTAL_MAINNET = "fractal mainnet";
|
|
|
31
34
|
declare const FRACTAL_TESTNET = "fractal testnet";
|
|
32
35
|
declare const REGTEST = "regtest";
|
|
33
36
|
declare const getXverseNetwork: (network: string) => "Mainnet" | "Testnet" | "Signet";
|
|
37
|
+
declare const getOrangeNetwork: (network: string) => BitcoinNetworkType;
|
|
34
38
|
declare const getLeatherNetwork: (network: string) => "testnet" | "mainnet";
|
|
35
39
|
declare const getUnisatNetwork: (network: string) => "BITCOIN_MAINNET" | "BITCOIN_TESTNET" | "BITCOIN_TESTNET4" | "BITCOIN_SIGNET" | "FRACTAL_BITCOIN_MAINNET" | "FRACTAL_BITCOIN_TESTNET";
|
|
36
40
|
declare const getWizzNetwork: (network: string) => "livenet" | "testnet" | "testnet4" | "signet";
|
|
@@ -52,6 +56,7 @@ declare const LEATHER = "leather";
|
|
|
52
56
|
declare const MAGIC_EDEN = "magic-eden";
|
|
53
57
|
declare const OKX = "okx";
|
|
54
58
|
declare const WIZZ = "wizz";
|
|
59
|
+
declare const ORANGE = "orange";
|
|
55
60
|
declare const P2TR = "p2tr";
|
|
56
61
|
declare const P2PKH = "p2pkh";
|
|
57
62
|
declare const P2WPKH = "p2wpkh";
|
|
@@ -108,6 +113,7 @@ type LaserEyesContextType = {
|
|
|
108
113
|
hasLeather: boolean;
|
|
109
114
|
hasPhantom: boolean;
|
|
110
115
|
hasWizz: boolean;
|
|
116
|
+
hasOrange: boolean;
|
|
111
117
|
connect: (walletName: typeof UNISAT | typeof XVERSE | typeof MAGIC_EDEN | typeof LEATHER | typeof MAGIC_EDEN | typeof OYL) => Promise<void>;
|
|
112
118
|
disconnect: () => void;
|
|
113
119
|
requestAccounts: () => Promise<string[]>;
|
|
@@ -216,7 +222,7 @@ declare const WalletIcon: ({ size, className, variant, walletName, }: {
|
|
|
216
222
|
size: number;
|
|
217
223
|
className?: string | undefined;
|
|
218
224
|
variant?: "first" | "second" | undefined;
|
|
219
|
-
walletName: typeof XVERSE | typeof WIZZ | typeof LEATHER | typeof MAGIC_EDEN | typeof OKX | typeof PHANTOM | typeof UNISAT | typeof OYL;
|
|
225
|
+
walletName: typeof XVERSE | typeof WIZZ | typeof LEATHER | typeof MAGIC_EDEN | typeof OKX | typeof PHANTOM | typeof UNISAT | typeof OYL | typeof ORANGE;
|
|
220
226
|
}) => react_jsx_runtime.JSX.Element;
|
|
221
227
|
|
|
222
|
-
export { FRACTAL_MAINNET, FRACTAL_TESTNET, LEATHER, LEATHER_MAINNET, LEATHER_TESTNET, LaserEyesProvider, LeatherLogo, MAGIC_EDEN, MAINNET, MEMPOOL_SPACE_SIGNET_URL, MEMPOOL_SPACE_TESTNET_URL, MEMPOOL_SPACE_URL, MagicEdenLogo, OKX, OKX_MAINNET, OKX_TESTNET, OP_WALLET_MAINNET, OP_WALLET_TESTNET, OYL, OkxLogo, OylLogo, P2PKH, P2PSH, P2SH, P2TR, P2WPKH, P2WSH, PHANTOM, PhantomLogo, REGTEST, SIGNET, TESTNET, TESTNET4, UNISAT, UNISAT_FRACTAL_MAINNET, UNISAT_FRACTAL_TESTNET, UNISAT_MAINNET, UNISAT_SIGNET, UNISAT_TESTNET, UNISAT_TESTNET4, UnisatLogo, WALLETS, WIZZ, WIZZ_MAINNET, WIZZ_SIGNET, WIZZ_TESTNET, WIZZ_TESTNET4, WalletIcon, WizzLogo, XVERSE, XVERSE_MAINNET, XVERSE_NETWORK, XVERSE_SIGNET, XVERSE_TESTNET, XverseLogo, createConfig, createSendBtcPsbt, delay, estimateTxSize, findOrdinalsAddress, findPaymentAddress, getAddressUtxos, getBTCBalance, getBitcoinNetwork, getLeatherNetwork, getMempoolSpaceUrl, getNetworkForLeather, getNetworkForOkx, getNetworkForUnisat, getNetworkForWizz, getNetworkForXverse, getRedeemScript, getUnisatNetwork, getWizzNetwork, getXverseNetwork, isBase64, isHex, satoshisToBTC, useLaserEyes };
|
|
228
|
+
export { FRACTAL_MAINNET, FRACTAL_TESTNET, LEATHER, LEATHER_MAINNET, LEATHER_TESTNET, LaserEyesProvider, LeatherLogo, MAGIC_EDEN, MAINNET, MEMPOOL_SPACE_SIGNET_URL, MEMPOOL_SPACE_TESTNET_URL, MEMPOOL_SPACE_URL, MagicEdenLogo, OKX, OKX_MAINNET, OKX_TESTNET, OP_WALLET_MAINNET, OP_WALLET_TESTNET, ORANGE, ORANGE_MAINNET, ORANGE_TESTNET, OYL, OkxLogo, OylLogo, P2PKH, P2PSH, P2SH, P2TR, P2WPKH, P2WSH, PHANTOM, PhantomLogo, REGTEST, SIGNET, TESTNET, TESTNET4, UNISAT, UNISAT_FRACTAL_MAINNET, UNISAT_FRACTAL_TESTNET, UNISAT_MAINNET, UNISAT_SIGNET, UNISAT_TESTNET, UNISAT_TESTNET4, UnisatLogo, WALLETS, WIZZ, WIZZ_MAINNET, WIZZ_SIGNET, WIZZ_TESTNET, WIZZ_TESTNET4, WalletIcon, WizzLogo, XVERSE, XVERSE_MAINNET, XVERSE_NETWORK, XVERSE_SIGNET, XVERSE_TESTNET, XverseLogo, createConfig, createSendBtcPsbt, delay, estimateTxSize, findOrdinalsAddress, findPaymentAddress, getAddressUtxos, getBTCBalance, getBitcoinNetwork, getLeatherNetwork, getMempoolSpaceUrl, getNetworkForLeather, getNetworkForOkx, getNetworkForUnisat, getNetworkForWizz, getNetworkForXverse, getOrangeNetwork, getRedeemScript, getUnisatNetwork, getWizzNetwork, getXverseNetwork, isBase64, isHex, satoshisToBTC, useLaserEyes };
|