@lendasat/lendaswap-sdk 0.1.4 → 0.1.7

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.
Binary file
@@ -22,8 +22,6 @@ export const __wbg_get_quoteresponse_exchangeRate: (a: number) => [number, numbe
22
22
  export const __wbg_set_quoteresponse_exchangeRate: (a: number, b: number, c: number) => void;
23
23
  export const __wbg_get_quoteresponse_protocolFeeRate: (a: number) => number;
24
24
  export const __wbg_set_quoteresponse_protocolFeeRate: (a: number, b: number) => void;
25
- export const __wbg_get_quoteresponse_minAmount: (a: number) => bigint;
26
- export const __wbg_set_quoteresponse_minAmount: (a: number, b: bigint) => void;
27
25
  export const __wbg_get_quoteresponse_maxAmount: (a: number) => bigint;
28
26
  export const __wbg_set_quoteresponse_maxAmount: (a: number, b: bigint) => void;
29
27
  export const __wbg_estimatevtxoswapresponse_free: (a: number, b: number) => void;
@@ -35,6 +33,8 @@ export const __wbg_get_estimatevtxoswapresponse_outputSats: (a: number) => bigin
35
33
  export const __wbg_set_estimatevtxoswapresponse_outputSats: (a: number, b: bigint) => void;
36
34
  export const __wbg_get_estimatevtxoswapresponse_vtxoCount: (a: number) => number;
37
35
  export const __wbg_set_estimatevtxoswapresponse_vtxoCount: (a: number, b: number) => void;
36
+ export const __wbg_get_estimatevtxoswapresponse_expectedVtxoExpiry: (a: number) => bigint;
37
+ export const __wbg_set_estimatevtxoswapresponse_expectedVtxoExpiry: (a: number, b: bigint) => void;
38
38
  export const __wbg_vtxoswapresponse_free: (a: number, b: number) => void;
39
39
  export const __wbg_get_vtxoswapresponse_id: (a: number) => [number, number];
40
40
  export const __wbg_set_vtxoswapresponse_id: (a: number, b: number, c: number) => void;
@@ -101,6 +101,7 @@ export const client_claimVtxoSwap: (a: number, b: number, c: number, d: number,
101
101
  export const client_refundVtxoSwap: (a: number, b: number, c: number, d: number, e: number) => any;
102
102
  export const __wbg_set_quoteresponse_networkFee: (a: number, b: bigint) => void;
103
103
  export const __wbg_set_quoteresponse_protocolFee: (a: number, b: bigint) => void;
104
+ export const __wbg_set_quoteresponse_minAmount: (a: number, b: bigint) => void;
104
105
  export const __wbg_set_vtxoswapresponse_clientFundAmountSats: (a: number, b: bigint) => void;
105
106
  export const __wbg_set_vtxoswapresponse_clientLocktime: (a: number, b: bigint) => void;
106
107
  export const __wbg_set_vtxoswapresponse_clientUnilateralClaimDelay: (a: number, b: bigint) => void;
@@ -108,6 +109,7 @@ export const __wbg_set_vtxoswapresponse_clientUnilateralRefundDelay: (a: number,
108
109
  export const __wbg_set_vtxoswapresponse_clientUnilateralRefundWithoutReceiverDelay: (a: number, b: bigint) => void;
109
110
  export const __wbg_get_quoteresponse_networkFee: (a: number) => bigint;
110
111
  export const __wbg_get_quoteresponse_protocolFee: (a: number) => bigint;
112
+ export const __wbg_get_quoteresponse_minAmount: (a: number) => bigint;
111
113
  export const __wbg_get_vtxoswapresponse_clientFundAmountSats: (a: number) => bigint;
112
114
  export const __wbg_get_vtxoswapresponse_clientLocktime: (a: number) => bigint;
113
115
  export const __wbg_get_vtxoswapresponse_clientUnilateralClaimDelay: (a: number) => bigint;
@@ -169,10 +171,10 @@ export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
169
171
  export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
170
172
  export const rustsecp256k1_v0_10_0_default_illegal_callback_fn: (a: number, b: number) => void;
171
173
  export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
172
- export const wasm_bindgen__convert__closures_____invoke__h49d21def8d7e8715: (a: number, b: number) => void;
173
- export const wasm_bindgen__closure__destroy__h19250ab695821211: (a: number, b: number) => void;
174
174
  export const wasm_bindgen__convert__closures_____invoke__hf86cb6f5b134f7f7: (a: number, b: number, c: any) => void;
175
175
  export const wasm_bindgen__closure__destroy__h5b1ee57da9b2ce1f: (a: number, b: number) => void;
176
+ export const wasm_bindgen__convert__closures_____invoke__h49d21def8d7e8715: (a: number, b: number) => void;
177
+ export const wasm_bindgen__closure__destroy__h19250ab695821211: (a: number, b: number) => void;
176
178
  export const wasm_bindgen__convert__closures_____invoke__h68e6792a5299b78b: (a: number, b: number, c: any, d: any) => void;
177
179
  export const __wbindgen_malloc: (a: number, b: number) => number;
178
180
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
package/wasm/package.json CHANGED
@@ -7,11 +7,13 @@
7
7
  "files": [
8
8
  "lendaswap_wasm_sdk_bg.wasm",
9
9
  "lendaswap_wasm_sdk.js",
10
+ "lendaswap_wasm_sdk_bg.js",
10
11
  "lendaswap_wasm_sdk.d.ts"
11
12
  ],
12
13
  "main": "lendaswap_wasm_sdk.js",
13
14
  "types": "lendaswap_wasm_sdk.d.ts",
14
15
  "sideEffects": [
16
+ "./lendaswap_wasm_sdk.js",
15
17
  "./snippets/*"
16
18
  ]
17
19
  }