@omnisat/lasereyes 0.0.28 → 0.0.30
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 +62 -7
- package/dist/index.js +1891 -350
- package/dist/index.mjs +1963 -305
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as bitcoin from 'bitcoinjs-lib';
|
|
5
5
|
|
|
@@ -161,19 +161,19 @@ declare const useInscriber: ({ inscribeApiUrl, }: {
|
|
|
161
161
|
inscribeApiUrl: string;
|
|
162
162
|
}) => {
|
|
163
163
|
content: any;
|
|
164
|
-
setContent:
|
|
165
|
-
setMimeType:
|
|
164
|
+
setContent: React.Dispatch<any>;
|
|
165
|
+
setMimeType: React.Dispatch<React.SetStateAction<"text/plain;charset=utf-8">>;
|
|
166
166
|
previewUrl: string;
|
|
167
|
-
setPreviewUrl:
|
|
167
|
+
setPreviewUrl: React.Dispatch<React.SetStateAction<string>>;
|
|
168
168
|
getCommitPsbt: () => Promise<CommitPsbtResponse>;
|
|
169
169
|
isFetchingCommitPsbt: boolean;
|
|
170
170
|
commitPsbtHex: string;
|
|
171
171
|
commitPsbtBase64: string;
|
|
172
172
|
handleSignCommit: (tx?: string) => Promise<string | undefined>;
|
|
173
173
|
commitTxId: string;
|
|
174
|
-
setCommitTxId:
|
|
174
|
+
setCommitTxId: React.Dispatch<React.SetStateAction<string>>;
|
|
175
175
|
feeRate: number;
|
|
176
|
-
setFeeRate:
|
|
176
|
+
setFeeRate: React.Dispatch<React.SetStateAction<number>>;
|
|
177
177
|
totalFees: number;
|
|
178
178
|
inscriberAddress: string;
|
|
179
179
|
inscribe: ({ content: providedContent, mimeType: providedMimeType, ordinalAddress: providedAddress, commitTxId: providedCommitTxId, }: {
|
|
@@ -187,4 +187,59 @@ declare const useInscriber: ({ inscribeApiUrl, }: {
|
|
|
187
187
|
reset: () => void;
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
|
|
190
|
+
interface OylLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
191
|
+
size?: number;
|
|
192
|
+
variant?: "first" | "second";
|
|
193
|
+
}
|
|
194
|
+
declare const OylLogo: React.FC<OylLogoProps>;
|
|
195
|
+
|
|
196
|
+
interface LeatherLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
197
|
+
size?: number;
|
|
198
|
+
variant?: "first" | "second";
|
|
199
|
+
}
|
|
200
|
+
declare const LeatherLogo: React.FC<LeatherLogoProps>;
|
|
201
|
+
|
|
202
|
+
interface PhantomLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
203
|
+
size?: number;
|
|
204
|
+
variant?: "first" | "second";
|
|
205
|
+
}
|
|
206
|
+
declare const PhantomLogo: React.FC<PhantomLogoProps>;
|
|
207
|
+
|
|
208
|
+
interface XverseLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
209
|
+
size?: number;
|
|
210
|
+
variant?: "first" | "second";
|
|
211
|
+
}
|
|
212
|
+
declare const XverseLogo: React.FC<XverseLogoProps>;
|
|
213
|
+
|
|
214
|
+
interface UnisatLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
215
|
+
size?: number;
|
|
216
|
+
variant?: "first" | "second";
|
|
217
|
+
}
|
|
218
|
+
declare const UnisatLogo: React.FC<UnisatLogoProps>;
|
|
219
|
+
|
|
220
|
+
interface WizzLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
221
|
+
size?: number;
|
|
222
|
+
variant?: "first" | "second";
|
|
223
|
+
}
|
|
224
|
+
declare const WizzLogo: React.FC<WizzLogoProps>;
|
|
225
|
+
|
|
226
|
+
interface OkxLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
227
|
+
size?: number;
|
|
228
|
+
variant?: "first" | "second";
|
|
229
|
+
}
|
|
230
|
+
declare const OkxLogo: React.FC<OkxLogoProps>;
|
|
231
|
+
|
|
232
|
+
interface MagicedenLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
233
|
+
size?: number;
|
|
234
|
+
variant?: "first" | "second";
|
|
235
|
+
}
|
|
236
|
+
declare const MagicEdenLogo: React.FC<MagicedenLogoProps>;
|
|
237
|
+
|
|
238
|
+
declare const WalletIcon: ({ size, className, variant, walletName, }: {
|
|
239
|
+
size: number;
|
|
240
|
+
className?: string | undefined;
|
|
241
|
+
variant?: "first" | "second" | undefined;
|
|
242
|
+
walletName: typeof XVERSE | typeof WIZZ | typeof LEATHER | typeof MAGIC_EDEN | typeof OKX | typeof PHANTOM | typeof UNISAT | typeof OYL;
|
|
243
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
244
|
+
|
|
245
|
+
export { DeScribeCreateResponse, 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, UNISAT, UNISAT_MAINNET, UNISAT_TESTNET, UnisatLogo, WALLETS, WIZZ, WIZZ_MAINNET, WIZZ_TESTNET, WalletIcon, WizzLogo, XVERSE, XVERSE_MAINNET, XVERSE_NETWORK, XVERSE_SIGNET, XVERSE_TESTNET, XverseLogo, createConfig, createSendBtcPsbt, delay, estimateTxSize, findOrdinalsAddress, findPaymentAddress, getBTCBalance, getBitcoinNetwork, getLeatherNetwork, getMempoolSpaceUrl, getNetworkForLeather, getNetworkForOkx, getNetworkForUnisat, getNetworkForWizz, getNetworkForXverse, getRedeemScript, getUnisatNetwork, getWizzNetwork, getXverseNetwork, isBase64, isHex, satoshisToBTC, useInscriber, useLaserEyes };
|