@breeztech/breez-sdk-spark 0.9.0 → 0.9.1
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/breez-sdk-spark.tgz +0 -0
- package/bundler/breez_sdk_spark_wasm.d.ts +8 -0
- package/bundler/breez_sdk_spark_wasm_bg.js +6 -6
- package/bundler/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/bundler/breez_sdk_spark_wasm_bg.wasm.d.ts +2 -2
- package/deno/breez_sdk_spark_wasm.d.ts +8 -0
- package/deno/breez_sdk_spark_wasm.js +6 -6
- package/deno/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/deno/breez_sdk_spark_wasm_bg.wasm.d.ts +2 -2
- package/nodejs/breez_sdk_spark_wasm.d.ts +8 -0
- package/nodejs/breez_sdk_spark_wasm.js +6 -6
- package/nodejs/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/nodejs/breez_sdk_spark_wasm_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
- package/web/breez_sdk_spark_wasm.d.ts +10 -2
- package/web/breez_sdk_spark_wasm.js +6 -6
- package/web/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/web/breez_sdk_spark_wasm_bg.wasm.d.ts +2 -2
package/breez-sdk-spark.tgz
CHANGED
|
Binary file
|
|
@@ -124,6 +124,14 @@ export interface Config {
|
|
|
124
124
|
privateEnabledDefault: boolean;
|
|
125
125
|
optimizationConfig: OptimizationConfig;
|
|
126
126
|
stableBalanceConfig?: StableBalanceConfig;
|
|
127
|
+
/**
|
|
128
|
+
* Maximum number of concurrent transfer claims.
|
|
129
|
+
*
|
|
130
|
+
* Controls how many pending Spark transfers can be claimed in parallel.
|
|
131
|
+
* Default is 4. Increase for server environments with high incoming
|
|
132
|
+
* payment volume to improve throughput.
|
|
133
|
+
*/
|
|
134
|
+
maxConcurrentClaims: number;
|
|
127
135
|
}
|
|
128
136
|
|
|
129
137
|
export interface SparkInvoicePaymentDetails {
|
|
@@ -322,11 +322,11 @@ function __wbg_adapter_64(arg0, arg1) {
|
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
function __wbg_adapter_67(arg0, arg1, arg2) {
|
|
325
|
-
wasm.
|
|
325
|
+
wasm.closure1081_externref_shim(arg0, arg1, arg2);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
function __wbg_adapter_285(arg0, arg1, arg2, arg3) {
|
|
329
|
-
wasm.
|
|
329
|
+
wasm.closure666_externref_shim(arg0, arg1, arg2, arg3);
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
const __wbindgen_enum_ReadableStreamType = ["bytes"];
|
|
@@ -2402,13 +2402,13 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
2402
2402
|
return ret;
|
|
2403
2403
|
};
|
|
2404
2404
|
|
|
2405
|
-
export function
|
|
2406
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2405
|
+
export function __wbindgen_closure_wrapper11908(arg0, arg1, arg2) {
|
|
2406
|
+
const ret = makeMutClosure(arg0, arg1, 844, __wbg_adapter_64);
|
|
2407
2407
|
return ret;
|
|
2408
2408
|
};
|
|
2409
2409
|
|
|
2410
|
-
export function
|
|
2411
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2410
|
+
export function __wbindgen_closure_wrapper13858(arg0, arg1, arg2) {
|
|
2411
|
+
const ret = makeMutClosure(arg0, arg1, 1082, __wbg_adapter_67);
|
|
2412
2412
|
return ret;
|
|
2413
2413
|
};
|
|
2414
2414
|
|
|
Binary file
|
|
@@ -114,6 +114,6 @@ export const __externref_drop_slice: (a: number, b: number) => void;
|
|
|
114
114
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
115
115
|
export const __externref_table_dealloc: (a: number) => void;
|
|
116
116
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4867a1ac48fc7b64: (a: number, b: number) => void;
|
|
117
|
-
export const
|
|
118
|
-
export const
|
|
117
|
+
export const closure1081_externref_shim: (a: number, b: number, c: any) => void;
|
|
118
|
+
export const closure666_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
119
119
|
export const __wbindgen_start: () => void;
|
|
@@ -124,6 +124,14 @@ export interface Config {
|
|
|
124
124
|
privateEnabledDefault: boolean;
|
|
125
125
|
optimizationConfig: OptimizationConfig;
|
|
126
126
|
stableBalanceConfig?: StableBalanceConfig;
|
|
127
|
+
/**
|
|
128
|
+
* Maximum number of concurrent transfer claims.
|
|
129
|
+
*
|
|
130
|
+
* Controls how many pending Spark transfers can be claimed in parallel.
|
|
131
|
+
* Default is 4. Increase for server environments with high incoming
|
|
132
|
+
* payment volume to improve throughput.
|
|
133
|
+
*/
|
|
134
|
+
maxConcurrentClaims: number;
|
|
127
135
|
}
|
|
128
136
|
|
|
129
137
|
export interface SparkInvoicePaymentDetails {
|
|
@@ -305,11 +305,11 @@ function __wbg_adapter_64(arg0, arg1) {
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
function __wbg_adapter_67(arg0, arg1, arg2) {
|
|
308
|
-
wasm.
|
|
308
|
+
wasm.closure1081_externref_shim(arg0, arg1, arg2);
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
function __wbg_adapter_285(arg0, arg1, arg2, arg3) {
|
|
312
|
-
wasm.
|
|
312
|
+
wasm.closure666_externref_shim(arg0, arg1, arg2, arg3);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
const __wbindgen_enum_ReadableStreamType = ["bytes"];
|
|
@@ -2201,12 +2201,12 @@ const imports = {
|
|
|
2201
2201
|
const ret = false;
|
|
2202
2202
|
return ret;
|
|
2203
2203
|
},
|
|
2204
|
-
|
|
2205
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2204
|
+
__wbindgen_closure_wrapper11908: function(arg0, arg1, arg2) {
|
|
2205
|
+
const ret = makeMutClosure(arg0, arg1, 844, __wbg_adapter_64);
|
|
2206
2206
|
return ret;
|
|
2207
2207
|
},
|
|
2208
|
-
|
|
2209
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2208
|
+
__wbindgen_closure_wrapper13858: function(arg0, arg1, arg2) {
|
|
2209
|
+
const ret = makeMutClosure(arg0, arg1, 1082, __wbg_adapter_67);
|
|
2210
2210
|
return ret;
|
|
2211
2211
|
},
|
|
2212
2212
|
__wbindgen_debug_string: function(arg0, arg1) {
|
|
Binary file
|
|
@@ -114,6 +114,6 @@ export const __externref_drop_slice: (a: number, b: number) => void;
|
|
|
114
114
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
115
115
|
export const __externref_table_dealloc: (a: number) => void;
|
|
116
116
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4867a1ac48fc7b64: (a: number, b: number) => void;
|
|
117
|
-
export const
|
|
118
|
-
export const
|
|
117
|
+
export const closure1081_externref_shim: (a: number, b: number, c: any) => void;
|
|
118
|
+
export const closure666_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
119
119
|
export const __wbindgen_start: () => void;
|
|
@@ -124,6 +124,14 @@ export interface Config {
|
|
|
124
124
|
privateEnabledDefault: boolean;
|
|
125
125
|
optimizationConfig: OptimizationConfig;
|
|
126
126
|
stableBalanceConfig?: StableBalanceConfig;
|
|
127
|
+
/**
|
|
128
|
+
* Maximum number of concurrent transfer claims.
|
|
129
|
+
*
|
|
130
|
+
* Controls how many pending Spark transfers can be claimed in parallel.
|
|
131
|
+
* Default is 4. Increase for server environments with high incoming
|
|
132
|
+
* payment volume to improve throughput.
|
|
133
|
+
*/
|
|
134
|
+
maxConcurrentClaims: number;
|
|
127
135
|
}
|
|
128
136
|
|
|
129
137
|
export interface SparkInvoicePaymentDetails {
|
|
@@ -318,11 +318,11 @@ function __wbg_adapter_64(arg0, arg1) {
|
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
function __wbg_adapter_67(arg0, arg1, arg2) {
|
|
321
|
-
wasm.
|
|
321
|
+
wasm.closure1081_externref_shim(arg0, arg1, arg2);
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
function __wbg_adapter_285(arg0, arg1, arg2, arg3) {
|
|
325
|
-
wasm.
|
|
325
|
+
wasm.closure666_externref_shim(arg0, arg1, arg2, arg3);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
const __wbindgen_enum_ReadableStreamType = ["bytes"];
|
|
@@ -2405,13 +2405,13 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
2405
2405
|
return ret;
|
|
2406
2406
|
};
|
|
2407
2407
|
|
|
2408
|
-
module.exports.
|
|
2409
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2408
|
+
module.exports.__wbindgen_closure_wrapper11908 = function(arg0, arg1, arg2) {
|
|
2409
|
+
const ret = makeMutClosure(arg0, arg1, 844, __wbg_adapter_64);
|
|
2410
2410
|
return ret;
|
|
2411
2411
|
};
|
|
2412
2412
|
|
|
2413
|
-
module.exports.
|
|
2414
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2413
|
+
module.exports.__wbindgen_closure_wrapper13858 = function(arg0, arg1, arg2) {
|
|
2414
|
+
const ret = makeMutClosure(arg0, arg1, 1082, __wbg_adapter_67);
|
|
2415
2415
|
return ret;
|
|
2416
2416
|
};
|
|
2417
2417
|
|
|
Binary file
|
|
@@ -114,6 +114,6 @@ export const __externref_drop_slice: (a: number, b: number) => void;
|
|
|
114
114
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
115
115
|
export const __externref_table_dealloc: (a: number) => void;
|
|
116
116
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4867a1ac48fc7b64: (a: number, b: number) => void;
|
|
117
|
-
export const
|
|
118
|
-
export const
|
|
117
|
+
export const closure1081_externref_shim: (a: number, b: number, c: any) => void;
|
|
118
|
+
export const closure666_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
119
119
|
export const __wbindgen_start: () => void;
|
package/package.json
CHANGED
|
@@ -124,6 +124,14 @@ export interface Config {
|
|
|
124
124
|
privateEnabledDefault: boolean;
|
|
125
125
|
optimizationConfig: OptimizationConfig;
|
|
126
126
|
stableBalanceConfig?: StableBalanceConfig;
|
|
127
|
+
/**
|
|
128
|
+
* Maximum number of concurrent transfer claims.
|
|
129
|
+
*
|
|
130
|
+
* Controls how many pending Spark transfers can be claimed in parallel.
|
|
131
|
+
* Default is 4. Increase for server environments with high incoming
|
|
132
|
+
* payment volume to improve throughput.
|
|
133
|
+
*/
|
|
134
|
+
maxConcurrentClaims: number;
|
|
127
135
|
}
|
|
128
136
|
|
|
129
137
|
export interface SparkInvoicePaymentDetails {
|
|
@@ -1267,8 +1275,8 @@ export interface InitOutput {
|
|
|
1267
1275
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1268
1276
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1269
1277
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4867a1ac48fc7b64: (a: number, b: number) => void;
|
|
1270
|
-
readonly
|
|
1271
|
-
readonly
|
|
1278
|
+
readonly closure1081_externref_shim: (a: number, b: number, c: any) => void;
|
|
1279
|
+
readonly closure666_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1272
1280
|
readonly __wbindgen_start: () => void;
|
|
1273
1281
|
}
|
|
1274
1282
|
|
|
@@ -314,11 +314,11 @@ function __wbg_adapter_64(arg0, arg1) {
|
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
function __wbg_adapter_67(arg0, arg1, arg2) {
|
|
317
|
-
wasm.
|
|
317
|
+
wasm.closure1081_externref_shim(arg0, arg1, arg2);
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
function __wbg_adapter_285(arg0, arg1, arg2, arg3) {
|
|
321
|
-
wasm.
|
|
321
|
+
wasm.closure666_externref_shim(arg0, arg1, arg2, arg3);
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
const __wbindgen_enum_ReadableStreamType = ["bytes"];
|
|
@@ -2242,12 +2242,12 @@ function __wbg_get_imports() {
|
|
|
2242
2242
|
const ret = false;
|
|
2243
2243
|
return ret;
|
|
2244
2244
|
};
|
|
2245
|
-
imports.wbg.
|
|
2246
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2245
|
+
imports.wbg.__wbindgen_closure_wrapper11908 = function(arg0, arg1, arg2) {
|
|
2246
|
+
const ret = makeMutClosure(arg0, arg1, 844, __wbg_adapter_64);
|
|
2247
2247
|
return ret;
|
|
2248
2248
|
};
|
|
2249
|
-
imports.wbg.
|
|
2250
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2249
|
+
imports.wbg.__wbindgen_closure_wrapper13858 = function(arg0, arg1, arg2) {
|
|
2250
|
+
const ret = makeMutClosure(arg0, arg1, 1082, __wbg_adapter_67);
|
|
2251
2251
|
return ret;
|
|
2252
2252
|
};
|
|
2253
2253
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -114,6 +114,6 @@ export const __externref_drop_slice: (a: number, b: number) => void;
|
|
|
114
114
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
115
115
|
export const __externref_table_dealloc: (a: number) => void;
|
|
116
116
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4867a1ac48fc7b64: (a: number, b: number) => void;
|
|
117
|
-
export const
|
|
118
|
-
export const
|
|
117
|
+
export const closure1081_externref_shim: (a: number, b: number, c: any) => void;
|
|
118
|
+
export const closure666_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
119
119
|
export const __wbindgen_start: () => void;
|