@lendasat/lendaswap-sdk-native 0.1.71 → 0.1.72
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/index.d.ts +2 -2
- package/lendaswap-sdk-native.darwin-arm64.node +0 -0
- package/lendaswap-sdk-native.darwin-x64.node +0 -0
- package/lendaswap-sdk-native.linux-arm64-gnu.node +0 -0
- package/lendaswap-sdk-native.linux-x64-gnu.node +0 -0
- package/lendaswap-sdk-native.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -238,8 +238,8 @@ export declare class Client {
|
|
|
238
238
|
getSwap(id: string): Promise<ExtendedSwapStorageData>
|
|
239
239
|
/** List all swaps. */
|
|
240
240
|
listAll(): Promise<Array<ExtendedSwapStorageData>>
|
|
241
|
-
/** Claim
|
|
242
|
-
|
|
241
|
+
/** Claim a swap (server-sponsored, gasless). */
|
|
242
|
+
claim(swapId: string, secret?: string | undefined | null): Promise<void>
|
|
243
243
|
/** Claim VHTLC. */
|
|
244
244
|
claimVhtlc(swapId: string): Promise<string>
|
|
245
245
|
/** Refund VHTLC. */
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|