@breeztech/breez-sdk-spark 0.1.0-rc8 → 0.1.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.
Binary file
@@ -14,6 +14,10 @@ export function task_worker_entry_point(ptr: number): void;
14
14
  * *This API requires the following crate features to be activated: `ReadableStreamType`*
15
15
  */
16
16
  type ReadableStreamType = "bytes";
17
+ export interface EventListener {
18
+ onEvent: (e: SdkEvent) => void;
19
+ }
20
+
17
21
  export type UpdateDepositPayload = { type: "claimError"; error: DepositClaimError } | { type: "refund"; refundTxid: string; refundTx: string };
18
22
 
19
23
  export interface PaymentMetadata {
@@ -353,14 +357,6 @@ export interface ConnectRequest {
353
357
 
354
358
  export type SdkEvent = { type: "synced" } | { type: "claimDepositsFailed"; unclaimedDeposits: DepositInfo[] } | { type: "claimDepositsSucceeded"; claimedDeposits: DepositInfo[] } | { type: "paymentSucceeded"; payment: Payment };
355
359
 
356
- export interface EventListener {
357
- onEvent: (e: SdkEvent) => void;
358
- }
359
-
360
- export interface Logger {
361
- log: (l: LogEntry) => void;
362
- }
363
-
364
360
  export interface Storage {
365
361
  getCachedItem: (key: string) => Promise<string | null>;
366
362
  setCachedItem: (key: string, value: string) => Promise<void>;
@@ -374,6 +370,10 @@ export interface Storage {
374
370
  updateDeposit: (txid: string, vout: number, payload: UpdateDepositPayload) => Promise<void>;
375
371
  }
376
372
 
373
+ export interface Logger {
374
+ log: (l: LogEntry) => void;
375
+ }
376
+
377
377
  export class BreezSdk {
378
378
  private constructor();
379
379
  free(): void;
@@ -210,12 +210,6 @@ function debugString(val) {
210
210
  // TODO we could test for more things here, like `Set`s and `Map`s.
211
211
  return className;
212
212
  }
213
-
214
- function takeFromExternrefTable0(idx) {
215
- const value = wasm.__wbindgen_export_5.get(idx);
216
- wasm.__externref_table_dealloc(idx);
217
- return value;
218
- }
219
213
  /**
220
214
  * @param {Logger} logger
221
215
  * @param {string | null} [filter]
@@ -259,6 +253,11 @@ export function parse(input) {
259
253
  return ret;
260
254
  }
261
255
 
256
+ function takeFromExternrefTable0(idx) {
257
+ const value = wasm.__wbindgen_export_5.get(idx);
258
+ wasm.__externref_table_dealloc(idx);
259
+ return value;
260
+ }
262
261
  /**
263
262
  * Entry point invoked by JavaScript in a worker.
264
263
  * @param {number} ptr
@@ -275,11 +274,11 @@ function __wbg_adapter_52(arg0, arg1) {
275
274
  }
276
275
 
277
276
  function __wbg_adapter_55(arg0, arg1, arg2) {
278
- wasm.closure3208_externref_shim(arg0, arg1, arg2);
277
+ wasm.closure3196_externref_shim(arg0, arg1, arg2);
279
278
  }
280
279
 
281
280
  function __wbg_adapter_277(arg0, arg1, arg2, arg3) {
282
- wasm.closure3491_externref_shim(arg0, arg1, arg2, arg3);
281
+ wasm.closure3479_externref_shim(arg0, arg1, arg2, arg3);
283
282
  }
284
283
 
285
284
  const __wbindgen_enum_ReadableStreamType = ["bytes"];
@@ -1333,13 +1332,13 @@ export function __wbindgen_cb_drop(arg0) {
1333
1332
  return ret;
1334
1333
  };
1335
1334
 
1336
- export function __wbindgen_closure_wrapper10205(arg0, arg1, arg2) {
1337
- const ret = makeMutClosure(arg0, arg1, 3191, __wbg_adapter_52);
1335
+ export function __wbindgen_closure_wrapper10204(arg0, arg1, arg2) {
1336
+ const ret = makeMutClosure(arg0, arg1, 3179, __wbg_adapter_52);
1338
1337
  return ret;
1339
1338
  };
1340
1339
 
1341
- export function __wbindgen_closure_wrapper10238(arg0, arg1, arg2) {
1342
- const ret = makeMutClosure(arg0, arg1, 3209, __wbg_adapter_55);
1340
+ export function __wbindgen_closure_wrapper10237(arg0, arg1, arg2) {
1341
+ const ret = makeMutClosure(arg0, arg1, 3197, __wbg_adapter_55);
1343
1342
  return ret;
1344
1343
  };
1345
1344
 
@@ -1,10 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_sdkbuilder_free: (a: number, b: number) => void;
5
- export const sdkbuilder_new: (a: any, b: number, c: number, d: any) => [number, number, number];
6
- export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: number) => number;
7
- export const sdkbuilder_build: (a: number) => any;
8
4
  export const __wbg_breezsdk_free: (a: number, b: number) => void;
9
5
  export const initLogging: (a: any, b: number, c: number) => any;
10
6
  export const defaultConfig: (a: any) => any;
@@ -23,6 +19,10 @@ export const breezsdk_sendPayment: (a: number, b: any) => any;
23
19
  export const breezsdk_syncWallet: (a: number, b: any) => [number, number, number];
24
20
  export const breezsdk_listPayments: (a: number, b: any) => any;
25
21
  export const breezsdk_getPayment: (a: number, b: any) => any;
22
+ export const __wbg_sdkbuilder_free: (a: number, b: number) => void;
23
+ export const sdkbuilder_new: (a: any, b: number, c: number, d: any) => [number, number, number];
24
+ export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: number) => number;
25
+ export const sdkbuilder_build: (a: number) => any;
26
26
  export const task_worker_entry_point: (a: number) => [number, number];
27
27
  export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
28
28
  export const intounderlyingsource_pull: (a: number, b: any) => any;
@@ -50,6 +50,6 @@ export const __wbindgen_export_5: WebAssembly.Table;
50
50
  export const __wbindgen_export_6: WebAssembly.Table;
51
51
  export const __externref_table_dealloc: (a: number) => void;
52
52
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h227664b52ef93e91: (a: number, b: number) => void;
53
- export const closure3208_externref_shim: (a: number, b: number, c: any) => void;
54
- export const closure3491_externref_shim: (a: number, b: number, c: any, d: any) => void;
53
+ export const closure3196_externref_shim: (a: number, b: number, c: any) => void;
54
+ export const closure3479_externref_shim: (a: number, b: number, c: any, d: any) => void;
55
55
  export const __wbindgen_start: () => void;
@@ -14,6 +14,10 @@ export function task_worker_entry_point(ptr: number): void;
14
14
  * *This API requires the following crate features to be activated: `ReadableStreamType`*
15
15
  */
16
16
  type ReadableStreamType = "bytes";
17
+ export interface EventListener {
18
+ onEvent: (e: SdkEvent) => void;
19
+ }
20
+
17
21
  export type UpdateDepositPayload = { type: "claimError"; error: DepositClaimError } | { type: "refund"; refundTxid: string; refundTx: string };
18
22
 
19
23
  export interface PaymentMetadata {
@@ -353,14 +357,6 @@ export interface ConnectRequest {
353
357
 
354
358
  export type SdkEvent = { type: "synced" } | { type: "claimDepositsFailed"; unclaimedDeposits: DepositInfo[] } | { type: "claimDepositsSucceeded"; claimedDeposits: DepositInfo[] } | { type: "paymentSucceeded"; payment: Payment };
355
359
 
356
- export interface EventListener {
357
- onEvent: (e: SdkEvent) => void;
358
- }
359
-
360
- export interface Logger {
361
- log: (l: LogEntry) => void;
362
- }
363
-
364
360
  export interface Storage {
365
361
  getCachedItem: (key: string) => Promise<string | null>;
366
362
  setCachedItem: (key: string, value: string) => Promise<void>;
@@ -374,6 +370,10 @@ export interface Storage {
374
370
  updateDeposit: (txid: string, vout: number, payload: UpdateDepositPayload) => Promise<void>;
375
371
  }
376
372
 
373
+ export interface Logger {
374
+ log: (l: LogEntry) => void;
375
+ }
376
+
377
377
  export class BreezSdk {
378
378
  private constructor();
379
379
  free(): void;
@@ -193,12 +193,6 @@ function debugString(val) {
193
193
  // TODO we could test for more things here, like `Set`s and `Map`s.
194
194
  return className;
195
195
  }
196
-
197
- function takeFromExternrefTable0(idx) {
198
- const value = wasm.__wbindgen_export_5.get(idx);
199
- wasm.__externref_table_dealloc(idx);
200
- return value;
201
- }
202
196
  /**
203
197
  * @param {Logger} logger
204
198
  * @param {string | null} [filter]
@@ -242,6 +236,11 @@ export function parse(input) {
242
236
  return ret;
243
237
  }
244
238
 
239
+ function takeFromExternrefTable0(idx) {
240
+ const value = wasm.__wbindgen_export_5.get(idx);
241
+ wasm.__externref_table_dealloc(idx);
242
+ return value;
243
+ }
245
244
  /**
246
245
  * Entry point invoked by JavaScript in a worker.
247
246
  * @param {number} ptr
@@ -258,11 +257,11 @@ function __wbg_adapter_52(arg0, arg1) {
258
257
  }
259
258
 
260
259
  function __wbg_adapter_55(arg0, arg1, arg2) {
261
- wasm.closure3208_externref_shim(arg0, arg1, arg2);
260
+ wasm.closure3196_externref_shim(arg0, arg1, arg2);
262
261
  }
263
262
 
264
263
  function __wbg_adapter_277(arg0, arg1, arg2, arg3) {
265
- wasm.closure3491_externref_shim(arg0, arg1, arg2, arg3);
264
+ wasm.closure3479_externref_shim(arg0, arg1, arg2, arg3);
266
265
  }
267
266
 
268
267
  const __wbindgen_enum_ReadableStreamType = ["bytes"];
@@ -1193,12 +1192,12 @@ const imports = {
1193
1192
  const ret = false;
1194
1193
  return ret;
1195
1194
  },
1196
- __wbindgen_closure_wrapper10205: function(arg0, arg1, arg2) {
1197
- const ret = makeMutClosure(arg0, arg1, 3191, __wbg_adapter_52);
1195
+ __wbindgen_closure_wrapper10204: function(arg0, arg1, arg2) {
1196
+ const ret = makeMutClosure(arg0, arg1, 3179, __wbg_adapter_52);
1198
1197
  return ret;
1199
1198
  },
1200
- __wbindgen_closure_wrapper10238: function(arg0, arg1, arg2) {
1201
- const ret = makeMutClosure(arg0, arg1, 3209, __wbg_adapter_55);
1199
+ __wbindgen_closure_wrapper10237: function(arg0, arg1, arg2) {
1200
+ const ret = makeMutClosure(arg0, arg1, 3197, __wbg_adapter_55);
1202
1201
  return ret;
1203
1202
  },
1204
1203
  __wbindgen_debug_string: function(arg0, arg1) {
Binary file
@@ -1,10 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_sdkbuilder_free: (a: number, b: number) => void;
5
- export const sdkbuilder_new: (a: any, b: number, c: number, d: any) => [number, number, number];
6
- export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: number) => number;
7
- export const sdkbuilder_build: (a: number) => any;
8
4
  export const __wbg_breezsdk_free: (a: number, b: number) => void;
9
5
  export const initLogging: (a: any, b: number, c: number) => any;
10
6
  export const defaultConfig: (a: any) => any;
@@ -23,6 +19,10 @@ export const breezsdk_sendPayment: (a: number, b: any) => any;
23
19
  export const breezsdk_syncWallet: (a: number, b: any) => [number, number, number];
24
20
  export const breezsdk_listPayments: (a: number, b: any) => any;
25
21
  export const breezsdk_getPayment: (a: number, b: any) => any;
22
+ export const __wbg_sdkbuilder_free: (a: number, b: number) => void;
23
+ export const sdkbuilder_new: (a: any, b: number, c: number, d: any) => [number, number, number];
24
+ export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: number) => number;
25
+ export const sdkbuilder_build: (a: number) => any;
26
26
  export const task_worker_entry_point: (a: number) => [number, number];
27
27
  export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
28
28
  export const intounderlyingsource_pull: (a: number, b: any) => any;
@@ -50,6 +50,6 @@ export const __wbindgen_export_5: WebAssembly.Table;
50
50
  export const __wbindgen_export_6: WebAssembly.Table;
51
51
  export const __externref_table_dealloc: (a: number) => void;
52
52
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h227664b52ef93e91: (a: number, b: number) => void;
53
- export const closure3208_externref_shim: (a: number, b: number, c: any) => void;
54
- export const closure3491_externref_shim: (a: number, b: number, c: any, d: any) => void;
53
+ export const closure3196_externref_shim: (a: number, b: number, c: any) => void;
54
+ export const closure3479_externref_shim: (a: number, b: number, c: any, d: any) => void;
55
55
  export const __wbindgen_start: () => void;
@@ -14,6 +14,10 @@ export function task_worker_entry_point(ptr: number): void;
14
14
  * *This API requires the following crate features to be activated: `ReadableStreamType`*
15
15
  */
16
16
  type ReadableStreamType = "bytes";
17
+ export interface EventListener {
18
+ onEvent: (e: SdkEvent) => void;
19
+ }
20
+
17
21
  export type UpdateDepositPayload = { type: "claimError"; error: DepositClaimError } | { type: "refund"; refundTxid: string; refundTx: string };
18
22
 
19
23
  export interface PaymentMetadata {
@@ -353,14 +357,6 @@ export interface ConnectRequest {
353
357
 
354
358
  export type SdkEvent = { type: "synced" } | { type: "claimDepositsFailed"; unclaimedDeposits: DepositInfo[] } | { type: "claimDepositsSucceeded"; claimedDeposits: DepositInfo[] } | { type: "paymentSucceeded"; payment: Payment };
355
359
 
356
- export interface EventListener {
357
- onEvent: (e: SdkEvent) => void;
358
- }
359
-
360
- export interface Logger {
361
- log: (l: LogEntry) => void;
362
- }
363
-
364
360
  export interface Storage {
365
361
  getCachedItem: (key: string) => Promise<string | null>;
366
362
  setCachedItem: (key: string, value: string) => Promise<void>;
@@ -374,6 +370,10 @@ export interface Storage {
374
370
  updateDeposit: (txid: string, vout: number, payload: UpdateDepositPayload) => Promise<void>;
375
371
  }
376
372
 
373
+ export interface Logger {
374
+ log: (l: LogEntry) => void;
375
+ }
376
+
377
377
  export class BreezSdk {
378
378
  private constructor();
379
379
  free(): void;
@@ -206,12 +206,6 @@ function debugString(val) {
206
206
  // TODO we could test for more things here, like `Set`s and `Map`s.
207
207
  return className;
208
208
  }
209
-
210
- function takeFromExternrefTable0(idx) {
211
- const value = wasm.__wbindgen_export_5.get(idx);
212
- wasm.__externref_table_dealloc(idx);
213
- return value;
214
- }
215
209
  /**
216
210
  * @param {Logger} logger
217
211
  * @param {string | null} [filter]
@@ -255,6 +249,11 @@ module.exports.parse = function(input) {
255
249
  return ret;
256
250
  };
257
251
 
252
+ function takeFromExternrefTable0(idx) {
253
+ const value = wasm.__wbindgen_export_5.get(idx);
254
+ wasm.__externref_table_dealloc(idx);
255
+ return value;
256
+ }
258
257
  /**
259
258
  * Entry point invoked by JavaScript in a worker.
260
259
  * @param {number} ptr
@@ -271,11 +270,11 @@ function __wbg_adapter_52(arg0, arg1) {
271
270
  }
272
271
 
273
272
  function __wbg_adapter_55(arg0, arg1, arg2) {
274
- wasm.closure3208_externref_shim(arg0, arg1, arg2);
273
+ wasm.closure3196_externref_shim(arg0, arg1, arg2);
275
274
  }
276
275
 
277
276
  function __wbg_adapter_277(arg0, arg1, arg2, arg3) {
278
- wasm.closure3491_externref_shim(arg0, arg1, arg2, arg3);
277
+ wasm.closure3479_externref_shim(arg0, arg1, arg2, arg3);
279
278
  }
280
279
 
281
280
  const __wbindgen_enum_ReadableStreamType = ["bytes"];
@@ -1334,13 +1333,13 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
1334
1333
  return ret;
1335
1334
  };
1336
1335
 
1337
- module.exports.__wbindgen_closure_wrapper10205 = function(arg0, arg1, arg2) {
1338
- const ret = makeMutClosure(arg0, arg1, 3191, __wbg_adapter_52);
1336
+ module.exports.__wbindgen_closure_wrapper10204 = function(arg0, arg1, arg2) {
1337
+ const ret = makeMutClosure(arg0, arg1, 3179, __wbg_adapter_52);
1339
1338
  return ret;
1340
1339
  };
1341
1340
 
1342
- module.exports.__wbindgen_closure_wrapper10238 = function(arg0, arg1, arg2) {
1343
- const ret = makeMutClosure(arg0, arg1, 3209, __wbg_adapter_55);
1341
+ module.exports.__wbindgen_closure_wrapper10237 = function(arg0, arg1, arg2) {
1342
+ const ret = makeMutClosure(arg0, arg1, 3197, __wbg_adapter_55);
1344
1343
  return ret;
1345
1344
  };
1346
1345
 
Binary file
@@ -1,10 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_sdkbuilder_free: (a: number, b: number) => void;
5
- export const sdkbuilder_new: (a: any, b: number, c: number, d: any) => [number, number, number];
6
- export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: number) => number;
7
- export const sdkbuilder_build: (a: number) => any;
8
4
  export const __wbg_breezsdk_free: (a: number, b: number) => void;
9
5
  export const initLogging: (a: any, b: number, c: number) => any;
10
6
  export const defaultConfig: (a: any) => any;
@@ -23,6 +19,10 @@ export const breezsdk_sendPayment: (a: number, b: any) => any;
23
19
  export const breezsdk_syncWallet: (a: number, b: any) => [number, number, number];
24
20
  export const breezsdk_listPayments: (a: number, b: any) => any;
25
21
  export const breezsdk_getPayment: (a: number, b: any) => any;
22
+ export const __wbg_sdkbuilder_free: (a: number, b: number) => void;
23
+ export const sdkbuilder_new: (a: any, b: number, c: number, d: any) => [number, number, number];
24
+ export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: number) => number;
25
+ export const sdkbuilder_build: (a: number) => any;
26
26
  export const task_worker_entry_point: (a: number) => [number, number];
27
27
  export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
28
28
  export const intounderlyingsource_pull: (a: number, b: any) => any;
@@ -50,6 +50,6 @@ export const __wbindgen_export_5: WebAssembly.Table;
50
50
  export const __wbindgen_export_6: WebAssembly.Table;
51
51
  export const __externref_table_dealloc: (a: number) => void;
52
52
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h227664b52ef93e91: (a: number, b: number) => void;
53
- export const closure3208_externref_shim: (a: number, b: number, c: any) => void;
54
- export const closure3491_externref_shim: (a: number, b: number, c: any, d: any) => void;
53
+ export const closure3196_externref_shim: (a: number, b: number, c: any) => void;
54
+ export const closure3479_externref_shim: (a: number, b: number, c: any, d: any) => void;
55
55
  export const __wbindgen_start: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breeztech/breez-sdk-spark",
3
- "version": "0.1.0-rc8",
3
+ "version": "0.1.1",
4
4
  "description": "Breez Spark SDK",
5
5
  "repository": "https://github.com/breez/spark-sdk",
6
6
  "author": "Breez <contact@breez.technology> (https://github.com/breez)",
@@ -14,6 +14,10 @@ export function task_worker_entry_point(ptr: number): void;
14
14
  * *This API requires the following crate features to be activated: `ReadableStreamType`*
15
15
  */
16
16
  type ReadableStreamType = "bytes";
17
+ export interface EventListener {
18
+ onEvent: (e: SdkEvent) => void;
19
+ }
20
+
17
21
  export type UpdateDepositPayload = { type: "claimError"; error: DepositClaimError } | { type: "refund"; refundTxid: string; refundTx: string };
18
22
 
19
23
  export interface PaymentMetadata {
@@ -353,14 +357,6 @@ export interface ConnectRequest {
353
357
 
354
358
  export type SdkEvent = { type: "synced" } | { type: "claimDepositsFailed"; unclaimedDeposits: DepositInfo[] } | { type: "claimDepositsSucceeded"; claimedDeposits: DepositInfo[] } | { type: "paymentSucceeded"; payment: Payment };
355
359
 
356
- export interface EventListener {
357
- onEvent: (e: SdkEvent) => void;
358
- }
359
-
360
- export interface Logger {
361
- log: (l: LogEntry) => void;
362
- }
363
-
364
360
  export interface Storage {
365
361
  getCachedItem: (key: string) => Promise<string | null>;
366
362
  setCachedItem: (key: string, value: string) => Promise<void>;
@@ -374,6 +370,10 @@ export interface Storage {
374
370
  updateDeposit: (txid: string, vout: number, payload: UpdateDepositPayload) => Promise<void>;
375
371
  }
376
372
 
373
+ export interface Logger {
374
+ log: (l: LogEntry) => void;
375
+ }
376
+
377
377
  export class BreezSdk {
378
378
  private constructor();
379
379
  free(): void;
@@ -425,10 +425,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
425
425
 
426
426
  export interface InitOutput {
427
427
  readonly memory: WebAssembly.Memory;
428
- readonly __wbg_sdkbuilder_free: (a: number, b: number) => void;
429
- readonly sdkbuilder_new: (a: any, b: number, c: number, d: any) => [number, number, number];
430
- readonly sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: number) => number;
431
- readonly sdkbuilder_build: (a: number) => any;
432
428
  readonly __wbg_breezsdk_free: (a: number, b: number) => void;
433
429
  readonly initLogging: (a: any, b: number, c: number) => any;
434
430
  readonly defaultConfig: (a: any) => any;
@@ -447,6 +443,10 @@ export interface InitOutput {
447
443
  readonly breezsdk_syncWallet: (a: number, b: any) => [number, number, number];
448
444
  readonly breezsdk_listPayments: (a: number, b: any) => any;
449
445
  readonly breezsdk_getPayment: (a: number, b: any) => any;
446
+ readonly __wbg_sdkbuilder_free: (a: number, b: number) => void;
447
+ readonly sdkbuilder_new: (a: any, b: number, c: number, d: any) => [number, number, number];
448
+ readonly sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: number) => number;
449
+ readonly sdkbuilder_build: (a: number) => any;
450
450
  readonly task_worker_entry_point: (a: number) => [number, number];
451
451
  readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
452
452
  readonly intounderlyingsource_pull: (a: number, b: any) => any;
@@ -474,8 +474,8 @@ export interface InitOutput {
474
474
  readonly __wbindgen_export_6: WebAssembly.Table;
475
475
  readonly __externref_table_dealloc: (a: number) => void;
476
476
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h227664b52ef93e91: (a: number, b: number) => void;
477
- readonly closure3208_externref_shim: (a: number, b: number, c: any) => void;
478
- readonly closure3491_externref_shim: (a: number, b: number, c: any, d: any) => void;
477
+ readonly closure3196_externref_shim: (a: number, b: number, c: any) => void;
478
+ readonly closure3479_externref_shim: (a: number, b: number, c: any, d: any) => void;
479
479
  readonly __wbindgen_start: () => void;
480
480
  }
481
481
 
@@ -202,12 +202,6 @@ function debugString(val) {
202
202
  // TODO we could test for more things here, like `Set`s and `Map`s.
203
203
  return className;
204
204
  }
205
-
206
- function takeFromExternrefTable0(idx) {
207
- const value = wasm.__wbindgen_export_5.get(idx);
208
- wasm.__externref_table_dealloc(idx);
209
- return value;
210
- }
211
205
  /**
212
206
  * @param {Logger} logger
213
207
  * @param {string | null} [filter]
@@ -251,6 +245,11 @@ export function parse(input) {
251
245
  return ret;
252
246
  }
253
247
 
248
+ function takeFromExternrefTable0(idx) {
249
+ const value = wasm.__wbindgen_export_5.get(idx);
250
+ wasm.__externref_table_dealloc(idx);
251
+ return value;
252
+ }
254
253
  /**
255
254
  * Entry point invoked by JavaScript in a worker.
256
255
  * @param {number} ptr
@@ -267,11 +266,11 @@ function __wbg_adapter_52(arg0, arg1) {
267
266
  }
268
267
 
269
268
  function __wbg_adapter_55(arg0, arg1, arg2) {
270
- wasm.closure3208_externref_shim(arg0, arg1, arg2);
269
+ wasm.closure3196_externref_shim(arg0, arg1, arg2);
271
270
  }
272
271
 
273
272
  function __wbg_adapter_277(arg0, arg1, arg2, arg3) {
274
- wasm.closure3491_externref_shim(arg0, arg1, arg2, arg3);
273
+ wasm.closure3479_externref_shim(arg0, arg1, arg2, arg3);
275
274
  }
276
275
 
277
276
  const __wbindgen_enum_ReadableStreamType = ["bytes"];
@@ -1234,12 +1233,12 @@ function __wbg_get_imports() {
1234
1233
  const ret = false;
1235
1234
  return ret;
1236
1235
  };
1237
- imports.wbg.__wbindgen_closure_wrapper10205 = function(arg0, arg1, arg2) {
1238
- const ret = makeMutClosure(arg0, arg1, 3191, __wbg_adapter_52);
1236
+ imports.wbg.__wbindgen_closure_wrapper10204 = function(arg0, arg1, arg2) {
1237
+ const ret = makeMutClosure(arg0, arg1, 3179, __wbg_adapter_52);
1239
1238
  return ret;
1240
1239
  };
1241
- imports.wbg.__wbindgen_closure_wrapper10238 = function(arg0, arg1, arg2) {
1242
- const ret = makeMutClosure(arg0, arg1, 3209, __wbg_adapter_55);
1240
+ imports.wbg.__wbindgen_closure_wrapper10237 = function(arg0, arg1, arg2) {
1241
+ const ret = makeMutClosure(arg0, arg1, 3197, __wbg_adapter_55);
1243
1242
  return ret;
1244
1243
  };
1245
1244
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -1,10 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_sdkbuilder_free: (a: number, b: number) => void;
5
- export const sdkbuilder_new: (a: any, b: number, c: number, d: any) => [number, number, number];
6
- export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: number) => number;
7
- export const sdkbuilder_build: (a: number) => any;
8
4
  export const __wbg_breezsdk_free: (a: number, b: number) => void;
9
5
  export const initLogging: (a: any, b: number, c: number) => any;
10
6
  export const defaultConfig: (a: any) => any;
@@ -23,6 +19,10 @@ export const breezsdk_sendPayment: (a: number, b: any) => any;
23
19
  export const breezsdk_syncWallet: (a: number, b: any) => [number, number, number];
24
20
  export const breezsdk_listPayments: (a: number, b: any) => any;
25
21
  export const breezsdk_getPayment: (a: number, b: any) => any;
22
+ export const __wbg_sdkbuilder_free: (a: number, b: number) => void;
23
+ export const sdkbuilder_new: (a: any, b: number, c: number, d: any) => [number, number, number];
24
+ export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: number) => number;
25
+ export const sdkbuilder_build: (a: number) => any;
26
26
  export const task_worker_entry_point: (a: number) => [number, number];
27
27
  export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
28
28
  export const intounderlyingsource_pull: (a: number, b: any) => any;
@@ -50,6 +50,6 @@ export const __wbindgen_export_5: WebAssembly.Table;
50
50
  export const __wbindgen_export_6: WebAssembly.Table;
51
51
  export const __externref_table_dealloc: (a: number) => void;
52
52
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h227664b52ef93e91: (a: number, b: number) => void;
53
- export const closure3208_externref_shim: (a: number, b: number, c: any) => void;
54
- export const closure3491_externref_shim: (a: number, b: number, c: any, d: any) => void;
53
+ export const closure3196_externref_shim: (a: number, b: number, c: any) => void;
54
+ export const closure3479_externref_shim: (a: number, b: number, c: any, d: any) => void;
55
55
  export const __wbindgen_start: () => void;