@omnity/ree-client-ts-sdk 0.5.3 → 0.5.5
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/README.md +2 -1
- package/dist/index.cjs.js +48 -48
- package/dist/index.d.ts +7 -3
- package/dist/index.es.js +2297 -2266
- package/dist/react.cjs.js +1 -1
- package/dist/react.d.ts +11 -3
- package/dist/react.es.js +187 -181
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -255,7 +255,7 @@ export declare class ReeClient {
|
|
|
255
255
|
* @param runeId - The rune ID to filter UTXOs by
|
|
256
256
|
* @returns Array of UTXOs containing the specified rune
|
|
257
257
|
*/
|
|
258
|
-
getRuneUtxos(address: string, runeId: string): Promise<Utxo[]>;
|
|
258
|
+
getRuneUtxos(address: string, runeId: string, publicKey?: string): Promise<Utxo[]>;
|
|
259
259
|
/**
|
|
260
260
|
* Search for runes by keyword or rune ID
|
|
261
261
|
* Supports both exact rune ID matches and fuzzy name matching
|
|
@@ -280,7 +280,7 @@ export declare class ReeClient {
|
|
|
280
280
|
* @param runeId - The rune ID to get balance for (format: "block:index")
|
|
281
281
|
* @returns Rune balance as a number, or undefined if rune not found
|
|
282
282
|
*/
|
|
283
|
-
getRuneBalance(address: string, runeId: string): Promise<number | undefined>;
|
|
283
|
+
getRuneBalance(address: string, runeId: string, publicKey?: string): Promise<number | undefined>;
|
|
284
284
|
/**
|
|
285
285
|
* Get list of all available liquidity pools
|
|
286
286
|
* @returns Array of pool information
|
|
@@ -301,11 +301,13 @@ export declare class ReeClient {
|
|
|
301
301
|
* @param params.involvedRuneId - Optional rune ID for rune swaps
|
|
302
302
|
* @returns Transaction instance
|
|
303
303
|
*/
|
|
304
|
-
createTransaction({ address, paymentAddress, feeRate, mergeSelfRuneBtcOutputs, }: {
|
|
304
|
+
createTransaction({ address, paymentAddress, publicKey, feeRate, mergeSelfRuneBtcOutputs, clientInfo, }: {
|
|
305
305
|
address: string;
|
|
306
306
|
paymentAddress: string;
|
|
307
|
+
publicKey?: string;
|
|
307
308
|
feeRate?: number;
|
|
308
309
|
mergeSelfRuneBtcOutputs?: boolean;
|
|
310
|
+
clientInfo?: string;
|
|
309
311
|
}): Promise<Transaction>;
|
|
310
312
|
getRecommendedFeeRate(): Promise<{
|
|
311
313
|
min: number;
|
|
@@ -518,6 +520,7 @@ export declare interface TransactionConfig {
|
|
|
518
520
|
exchangeId: string;
|
|
519
521
|
address: string;
|
|
520
522
|
paymentAddress: string;
|
|
523
|
+
publicKey?: string;
|
|
521
524
|
clientInfo?: string;
|
|
522
525
|
/** Optional manual fee rate in satoshis per virtual byte */
|
|
523
526
|
feeRate?: number;
|
|
@@ -551,6 +554,7 @@ export declare type Utxo = {
|
|
|
551
554
|
}[];
|
|
552
555
|
address: string;
|
|
553
556
|
scriptPk: string;
|
|
557
|
+
pubkey?: string;
|
|
554
558
|
};
|
|
555
559
|
|
|
556
560
|
export { }
|