@bitcredit/bcr-ebill-wasm 0.3.2 → 0.3.3
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 +151 -151
- package/index.js +25 -25
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -302,85 +302,58 @@ export interface LightIdentityPublicDataWeb {
|
|
|
302
302
|
node_id: string;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
export
|
|
306
|
-
bitcoin_network: string;
|
|
307
|
-
app_version: string;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
export interface GeneralSearchResponse {
|
|
311
|
-
bills: LightBitcreditBillWeb[];
|
|
312
|
-
contacts: ContactWeb[];
|
|
313
|
-
companies: CompanyWeb[];
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
export interface GeneralSearchFilterPayload {
|
|
317
|
-
filter: GeneralSearchFilter;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
export type GeneralSearchFilterItemTypeWeb = "Company" | "Bill" | "Contact";
|
|
321
|
-
|
|
322
|
-
export interface GeneralSearchFilter {
|
|
323
|
-
search_term: string;
|
|
324
|
-
currency: string;
|
|
325
|
-
item_types: GeneralSearchFilterItemTypeWeb[];
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
export interface OverviewResponse {
|
|
329
|
-
currency: string;
|
|
330
|
-
balances: OverviewBalanceResponse;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
export interface OverviewBalanceResponse {
|
|
334
|
-
payee: BalanceResponse;
|
|
335
|
-
payer: BalanceResponse;
|
|
336
|
-
contingent: BalanceResponse;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
export interface BalanceResponse {
|
|
340
|
-
sum: string;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
export interface CurrenciesResponse {
|
|
344
|
-
currencies: CurrencyResponse[];
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
export interface CurrencyResponse {
|
|
348
|
-
code: string;
|
|
349
|
-
}
|
|
305
|
+
export type JsErrorType = "FieldEmpty" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "InvalidContactType" | "InvalidDate" | "InvalidFileUploadId" | "InvalidBillType" | "DraweeCantBePayee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Io" | "Crypto" | "Persistence" | "Blockchain" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillAlreadyRequestedToAccept" | "BillNotAccepted" | "CallerIsNotDrawee" | "CallerIsNotHolder" | "CallerIsNotRecoursee" | "CallerIsNotBuyer" | "RequestAlreadyExpired" | "RequestAlreadyRejected" | "BillAlreadyPaid" | "BillWasNotRequestedToAccept" | "BillWasNotRequestedToPay" | "BillWasNotOfferedToSell" | "BillRequestToAcceptDidNotExpireAndWasNotRejected" | "BillRequestToPayDidNotExpireAndWasNotRejected" | "RecourseeNotPastHolder" | "BillWasNotRequestedToRecourse" | "BillIsNotRequestedToRecourseAndWaitingForPayment" | "BillIsNotOfferToSellWaitingForPayment" | "BillSellDataInvalid" | "BillRecourseDataInvalid" | "BillIsRequestedToPayAndWaitingForPayment" | "BillIsOfferedToSellAndWaitingForPayment" | "BillIsInRecourseAndWaitingForPayment" | "BillWasRequestedToPay" | "BillRequestedToPayBeforeMaturityDate" | "DrawerIsNotBillIssuer" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "InvalidSecp256k1Key" | "FileIsTooBig" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory";
|
|
350
306
|
|
|
351
|
-
export interface
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
address: string | undefined;
|
|
307
|
+
export interface JsErrorData {
|
|
308
|
+
error: JsErrorType;
|
|
309
|
+
message: string;
|
|
310
|
+
code: number;
|
|
356
311
|
}
|
|
357
312
|
|
|
358
|
-
export interface
|
|
359
|
-
|
|
360
|
-
city: string;
|
|
361
|
-
zip: string | undefined;
|
|
362
|
-
address: string;
|
|
313
|
+
export interface ContactsResponse {
|
|
314
|
+
contacts: ContactWeb[];
|
|
363
315
|
}
|
|
364
316
|
|
|
365
|
-
export interface
|
|
317
|
+
export interface NewContactPayload {
|
|
318
|
+
t: number;
|
|
319
|
+
node_id: string;
|
|
366
320
|
name: string;
|
|
367
|
-
|
|
321
|
+
email: string;
|
|
322
|
+
postal_address: PostalAddressWeb;
|
|
323
|
+
date_of_birth_or_registration: string | undefined;
|
|
324
|
+
country_of_birth_or_registration: string | undefined;
|
|
325
|
+
city_of_birth_or_registration: string | undefined;
|
|
326
|
+
identification_number: string | undefined;
|
|
327
|
+
avatar_file_upload_id: string | undefined;
|
|
328
|
+
proof_document_file_upload_id: string | undefined;
|
|
368
329
|
}
|
|
369
330
|
|
|
370
|
-
export interface
|
|
371
|
-
|
|
372
|
-
name: string;
|
|
373
|
-
|
|
331
|
+
export interface EditContactPayload {
|
|
332
|
+
node_id: string;
|
|
333
|
+
name: string | undefined;
|
|
334
|
+
email: string | undefined;
|
|
335
|
+
postal_address: OptionalPostalAddressWeb;
|
|
336
|
+
date_of_birth_or_registration: string | undefined;
|
|
337
|
+
country_of_birth_or_registration: string | undefined;
|
|
338
|
+
city_of_birth_or_registration: string | undefined;
|
|
339
|
+
identification_number: string | undefined;
|
|
340
|
+
avatar_file_upload_id: string | undefined;
|
|
341
|
+
proof_document_file_upload_id: string | undefined;
|
|
374
342
|
}
|
|
375
343
|
|
|
376
|
-
export interface
|
|
377
|
-
|
|
378
|
-
|
|
344
|
+
export interface ContactWeb {
|
|
345
|
+
t: ContactTypeWeb;
|
|
346
|
+
node_id: string;
|
|
379
347
|
name: string;
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
348
|
+
email: string;
|
|
349
|
+
postal_address: PostalAddressWeb;
|
|
350
|
+
date_of_birth_or_registration: string | undefined;
|
|
351
|
+
country_of_birth_or_registration: string | undefined;
|
|
352
|
+
city_of_birth_or_registration: string | undefined;
|
|
353
|
+
identification_number: string | undefined;
|
|
354
|
+
avatar_file: FileWeb | undefined;
|
|
355
|
+
proof_document_file: FileWeb | undefined;
|
|
356
|
+
nostr_relays: string[];
|
|
384
357
|
}
|
|
385
358
|
|
|
386
359
|
export interface SwitchIdentity {
|
|
@@ -432,6 +405,14 @@ export interface SeedPhrase {
|
|
|
432
405
|
seed_phrase: string;
|
|
433
406
|
}
|
|
434
407
|
|
|
408
|
+
export interface Config {
|
|
409
|
+
log_level: string | undefined;
|
|
410
|
+
bitcoin_network: string;
|
|
411
|
+
nostr_relay: string;
|
|
412
|
+
job_runner_initial_delay_seconds: number;
|
|
413
|
+
job_runner_check_interval_seconds: number;
|
|
414
|
+
}
|
|
415
|
+
|
|
435
416
|
export interface CompaniesResponse {
|
|
436
417
|
companies: CompanyWeb[];
|
|
437
418
|
}
|
|
@@ -497,52 +478,6 @@ export interface SignatoryResponse {
|
|
|
497
478
|
avatar_file: FileWeb | undefined;
|
|
498
479
|
}
|
|
499
480
|
|
|
500
|
-
export interface ContactsResponse {
|
|
501
|
-
contacts: ContactWeb[];
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
export interface NewContactPayload {
|
|
505
|
-
t: number;
|
|
506
|
-
node_id: string;
|
|
507
|
-
name: string;
|
|
508
|
-
email: string;
|
|
509
|
-
postal_address: PostalAddressWeb;
|
|
510
|
-
date_of_birth_or_registration: string | undefined;
|
|
511
|
-
country_of_birth_or_registration: string | undefined;
|
|
512
|
-
city_of_birth_or_registration: string | undefined;
|
|
513
|
-
identification_number: string | undefined;
|
|
514
|
-
avatar_file_upload_id: string | undefined;
|
|
515
|
-
proof_document_file_upload_id: string | undefined;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
export interface EditContactPayload {
|
|
519
|
-
node_id: string;
|
|
520
|
-
name: string | undefined;
|
|
521
|
-
email: string | undefined;
|
|
522
|
-
postal_address: OptionalPostalAddressWeb;
|
|
523
|
-
date_of_birth_or_registration: string | undefined;
|
|
524
|
-
country_of_birth_or_registration: string | undefined;
|
|
525
|
-
city_of_birth_or_registration: string | undefined;
|
|
526
|
-
identification_number: string | undefined;
|
|
527
|
-
avatar_file_upload_id: string | undefined;
|
|
528
|
-
proof_document_file_upload_id: string | undefined;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
export interface ContactWeb {
|
|
532
|
-
t: ContactTypeWeb;
|
|
533
|
-
node_id: string;
|
|
534
|
-
name: string;
|
|
535
|
-
email: string;
|
|
536
|
-
postal_address: PostalAddressWeb;
|
|
537
|
-
date_of_birth_or_registration: string | undefined;
|
|
538
|
-
country_of_birth_or_registration: string | undefined;
|
|
539
|
-
city_of_birth_or_registration: string | undefined;
|
|
540
|
-
identification_number: string | undefined;
|
|
541
|
-
avatar_file: FileWeb | undefined;
|
|
542
|
-
proof_document_file: FileWeb | undefined;
|
|
543
|
-
nostr_relays: string[];
|
|
544
|
-
}
|
|
545
|
-
|
|
546
481
|
export interface NotificationWeb {
|
|
547
482
|
id: string;
|
|
548
483
|
node_id: string | undefined;
|
|
@@ -556,20 +491,85 @@ export interface NotificationWeb {
|
|
|
556
491
|
|
|
557
492
|
export type NotificationTypeWeb = "General" | "Bill";
|
|
558
493
|
|
|
559
|
-
export
|
|
494
|
+
export interface StatusResponse {
|
|
495
|
+
bitcoin_network: string;
|
|
496
|
+
app_version: string;
|
|
497
|
+
}
|
|
560
498
|
|
|
561
|
-
export interface
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
499
|
+
export interface GeneralSearchResponse {
|
|
500
|
+
bills: LightBitcreditBillWeb[];
|
|
501
|
+
contacts: ContactWeb[];
|
|
502
|
+
companies: CompanyWeb[];
|
|
565
503
|
}
|
|
566
504
|
|
|
567
|
-
export interface
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
505
|
+
export interface GeneralSearchFilterPayload {
|
|
506
|
+
filter: GeneralSearchFilter;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export type GeneralSearchFilterItemTypeWeb = "Company" | "Bill" | "Contact";
|
|
510
|
+
|
|
511
|
+
export interface GeneralSearchFilter {
|
|
512
|
+
search_term: string;
|
|
513
|
+
currency: string;
|
|
514
|
+
item_types: GeneralSearchFilterItemTypeWeb[];
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
export interface OverviewResponse {
|
|
518
|
+
currency: string;
|
|
519
|
+
balances: OverviewBalanceResponse;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export interface OverviewBalanceResponse {
|
|
523
|
+
payee: BalanceResponse;
|
|
524
|
+
payer: BalanceResponse;
|
|
525
|
+
contingent: BalanceResponse;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export interface BalanceResponse {
|
|
529
|
+
sum: string;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export interface CurrenciesResponse {
|
|
533
|
+
currencies: CurrencyResponse[];
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export interface CurrencyResponse {
|
|
537
|
+
code: string;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export interface OptionalPostalAddressWeb {
|
|
541
|
+
country: string | undefined;
|
|
542
|
+
city: string | undefined;
|
|
543
|
+
zip: string | undefined;
|
|
544
|
+
address: string | undefined;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export interface PostalAddressWeb {
|
|
548
|
+
country: string;
|
|
549
|
+
city: string;
|
|
550
|
+
zip: string | undefined;
|
|
551
|
+
address: string;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export interface FileWeb {
|
|
555
|
+
name: string;
|
|
556
|
+
hash: string;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export interface BinaryFileResponse {
|
|
560
|
+
data: number[];
|
|
561
|
+
name: string;
|
|
562
|
+
content_type: string;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export interface UploadFile {
|
|
566
|
+
data: number[];
|
|
567
|
+
extension: string | undefined;
|
|
568
|
+
name: string;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export interface UploadFileResponse {
|
|
572
|
+
file_upload_id: string;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
export class Api {
|
|
@@ -684,6 +684,10 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
684
684
|
|
|
685
685
|
export interface InitOutput {
|
|
686
686
|
readonly memory: WebAssembly.Memory;
|
|
687
|
+
readonly __wbg_quote_free: (a: number, b: number) => void;
|
|
688
|
+
readonly quote_new: () => number;
|
|
689
|
+
readonly quote_get: (a: number, b: number, c: number) => any;
|
|
690
|
+
readonly quote_accept: (a: number, b: number, c: number) => any;
|
|
687
691
|
readonly __wbg_identity_free: (a: number, b: number) => void;
|
|
688
692
|
readonly identity_new: () => number;
|
|
689
693
|
readonly identity_file: (a: number, b: number, c: number) => any;
|
|
@@ -695,10 +699,7 @@ export interface InitOutput {
|
|
|
695
699
|
readonly identity_switch: (a: number, b: any) => any;
|
|
696
700
|
readonly identity_seed_backup: (a: number) => any;
|
|
697
701
|
readonly identity_seed_recover: (a: number, b: any) => any;
|
|
698
|
-
readonly
|
|
699
|
-
readonly quote_get: (a: number, b: number, c: number) => any;
|
|
700
|
-
readonly quote_accept: (a: number, b: number, c: number) => any;
|
|
701
|
-
readonly quote_new: () => number;
|
|
702
|
+
readonly initialize_api: (a: any) => any;
|
|
702
703
|
readonly __wbg_bill_free: (a: number, b: number) => void;
|
|
703
704
|
readonly bill_new: () => number;
|
|
704
705
|
readonly bill_endorsements: (a: number, b: number, c: number) => any;
|
|
@@ -736,22 +737,28 @@ export interface InitOutput {
|
|
|
736
737
|
readonly company_edit: (a: number, b: any) => any;
|
|
737
738
|
readonly company_add_signatory: (a: number, b: any) => any;
|
|
738
739
|
readonly company_remove_signatory: (a: number, b: any) => any;
|
|
739
|
-
readonly
|
|
740
|
-
readonly
|
|
741
|
-
readonly
|
|
742
|
-
readonly
|
|
743
|
-
readonly
|
|
744
|
-
readonly general_search: (a: number, b: any) => any;
|
|
745
|
-
readonly company_new: () => number;
|
|
746
|
-
readonly general_new: () => number;
|
|
740
|
+
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
741
|
+
readonly notification_subscribe: (a: number, b: any) => any;
|
|
742
|
+
readonly notification_list: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: bigint, i: number, j: bigint) => any;
|
|
743
|
+
readonly notification_mark_as_done: (a: number, b: number, c: number) => any;
|
|
744
|
+
readonly notification_trigger_test_msg: (a: number, b: any) => any;
|
|
747
745
|
readonly __wbg_api_free: (a: number, b: number) => void;
|
|
748
746
|
readonly api_bill: () => number;
|
|
747
|
+
readonly notification_new: () => number;
|
|
748
|
+
readonly company_new: () => number;
|
|
749
749
|
readonly api_general: () => number;
|
|
750
750
|
readonly api_identity: () => number;
|
|
751
751
|
readonly api_notification: () => number;
|
|
752
752
|
readonly api_contact: () => number;
|
|
753
753
|
readonly api_company: () => number;
|
|
754
754
|
readonly api_quote: () => number;
|
|
755
|
+
readonly __wbg_general_free: (a: number, b: number) => void;
|
|
756
|
+
readonly general_new: () => number;
|
|
757
|
+
readonly general_status: (a: number) => any;
|
|
758
|
+
readonly general_currencies: (a: number) => any;
|
|
759
|
+
readonly general_temp_file: (a: number, b: number, c: number) => any;
|
|
760
|
+
readonly general_overview: (a: number, b: number, c: number) => any;
|
|
761
|
+
readonly general_search: (a: number, b: any) => any;
|
|
755
762
|
readonly __wbg_contact_free: (a: number, b: number) => void;
|
|
756
763
|
readonly contact_new: () => number;
|
|
757
764
|
readonly contact_file: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
@@ -761,13 +768,6 @@ export interface InitOutput {
|
|
|
761
768
|
readonly contact_remove: (a: number, b: number, c: number) => any;
|
|
762
769
|
readonly contact_create: (a: number, b: any) => any;
|
|
763
770
|
readonly contact_edit: (a: number, b: any) => any;
|
|
764
|
-
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
765
|
-
readonly notification_new: () => number;
|
|
766
|
-
readonly notification_subscribe: (a: number, b: any) => any;
|
|
767
|
-
readonly notification_list: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: bigint, i: number, j: bigint) => any;
|
|
768
|
-
readonly notification_mark_as_done: (a: number, b: number, c: number) => any;
|
|
769
|
-
readonly notification_trigger_test_msg: (a: number, b: any) => any;
|
|
770
|
-
readonly initialize_api: (a: any) => any;
|
|
771
771
|
readonly task_worker_entry_point: (a: number) => [number, number];
|
|
772
772
|
readonly ring_core_0_17_14__bn_mul_mont: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
773
773
|
readonly rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
@@ -782,14 +782,14 @@ export interface InitOutput {
|
|
|
782
782
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
783
783
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
784
784
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
785
|
-
readonly
|
|
786
|
-
readonly
|
|
787
|
-
readonly
|
|
788
|
-
readonly
|
|
789
|
-
readonly
|
|
785
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hea7ae37f53e31771: (a: number, b: number) => void;
|
|
786
|
+
readonly closure4157_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
787
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hda04f07252086208: (a: number, b: number) => void;
|
|
788
|
+
readonly closure5738_externref_shim: (a: number, b: number, c: any) => void;
|
|
789
|
+
readonly closure5930_externref_shim: (a: number, b: number, c: any) => void;
|
|
790
790
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1098717e74983065: (a: number, b: number) => void;
|
|
791
|
-
readonly
|
|
792
|
-
readonly
|
|
791
|
+
readonly closure6132_externref_shim: (a: number, b: number, c: any) => void;
|
|
792
|
+
readonly closure6269_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
793
793
|
readonly __wbindgen_start: () => void;
|
|
794
794
|
}
|
|
795
795
|
|
package/index.js
CHANGED
|
@@ -228,26 +228,26 @@ export function task_worker_entry_point(ptr) {
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
function __wbg_adapter_54(arg0, arg1) {
|
|
231
|
-
wasm.
|
|
231
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hea7ae37f53e31771(arg0, arg1);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
235
|
-
const ret = wasm.
|
|
235
|
+
const ret = wasm.closure4157_externref_shim_multivalue_shim(arg0, arg1, arg2);
|
|
236
236
|
if (ret[1]) {
|
|
237
237
|
throw takeFromExternrefTable0(ret[0]);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
function __wbg_adapter_60(arg0, arg1) {
|
|
242
|
-
wasm.
|
|
242
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hda04f07252086208(arg0, arg1);
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
function __wbg_adapter_63(arg0, arg1, arg2) {
|
|
246
|
-
wasm.
|
|
246
|
+
wasm.closure5738_externref_shim(arg0, arg1, arg2);
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
250
|
-
wasm.
|
|
250
|
+
wasm.closure5930_externref_shim(arg0, arg1, arg2);
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
function __wbg_adapter_69(arg0, arg1) {
|
|
@@ -255,11 +255,11 @@ function __wbg_adapter_69(arg0, arg1) {
|
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
function __wbg_adapter_72(arg0, arg1, arg2) {
|
|
258
|
-
wasm.
|
|
258
|
+
wasm.closure6132_externref_shim(arg0, arg1, arg2);
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
function __wbg_adapter_430(arg0, arg1, arg2, arg3) {
|
|
262
|
-
wasm.
|
|
262
|
+
wasm.closure6269_externref_shim(arg0, arg1, arg2, arg3);
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
/**
|
|
@@ -630,7 +630,7 @@ export class Company {
|
|
|
630
630
|
* @returns {Company}
|
|
631
631
|
*/
|
|
632
632
|
static new() {
|
|
633
|
-
const ret = wasm.
|
|
633
|
+
const ret = wasm.api_bill();
|
|
634
634
|
return Company.__wrap(ret);
|
|
635
635
|
}
|
|
636
636
|
/**
|
|
@@ -842,7 +842,7 @@ export class General {
|
|
|
842
842
|
* @returns {General}
|
|
843
843
|
*/
|
|
844
844
|
static new() {
|
|
845
|
-
const ret = wasm.
|
|
845
|
+
const ret = wasm.general_new();
|
|
846
846
|
return General.__wrap(ret);
|
|
847
847
|
}
|
|
848
848
|
/**
|
|
@@ -1023,7 +1023,7 @@ export class Notification {
|
|
|
1023
1023
|
* @returns {Notification}
|
|
1024
1024
|
*/
|
|
1025
1025
|
static new() {
|
|
1026
|
-
const ret = wasm.
|
|
1026
|
+
const ret = wasm.api_bill();
|
|
1027
1027
|
return Notification.__wrap(ret);
|
|
1028
1028
|
}
|
|
1029
1029
|
/**
|
|
@@ -1099,7 +1099,7 @@ export class Quote {
|
|
|
1099
1099
|
* @returns {Quote}
|
|
1100
1100
|
*/
|
|
1101
1101
|
static new() {
|
|
1102
|
-
const ret = wasm.
|
|
1102
|
+
const ret = wasm.quote_new();
|
|
1103
1103
|
return Quote.__wrap(ret);
|
|
1104
1104
|
}
|
|
1105
1105
|
/**
|
|
@@ -1855,32 +1855,32 @@ function __wbg_get_imports() {
|
|
|
1855
1855
|
const ret = false;
|
|
1856
1856
|
return ret;
|
|
1857
1857
|
};
|
|
1858
|
-
imports.wbg.
|
|
1859
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1858
|
+
imports.wbg.__wbindgen_closure_wrapper21938 = function(arg0, arg1, arg2) {
|
|
1859
|
+
const ret = makeMutClosure(arg0, arg1, 4158, __wbg_adapter_57);
|
|
1860
1860
|
return ret;
|
|
1861
1861
|
};
|
|
1862
|
-
imports.wbg.
|
|
1863
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1862
|
+
imports.wbg.__wbindgen_closure_wrapper22450 = function(arg0, arg1, arg2) {
|
|
1863
|
+
const ret = makeMutClosure(arg0, arg1, 4306, __wbg_adapter_60);
|
|
1864
1864
|
return ret;
|
|
1865
1865
|
};
|
|
1866
|
-
imports.wbg.
|
|
1867
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1866
|
+
imports.wbg.__wbindgen_closure_wrapper27689 = function(arg0, arg1, arg2) {
|
|
1867
|
+
const ret = makeMutClosure(arg0, arg1, 5739, __wbg_adapter_63);
|
|
1868
1868
|
return ret;
|
|
1869
1869
|
};
|
|
1870
|
-
imports.wbg.
|
|
1871
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1870
|
+
imports.wbg.__wbindgen_closure_wrapper28348 = function(arg0, arg1, arg2) {
|
|
1871
|
+
const ret = makeMutClosure(arg0, arg1, 5931, __wbg_adapter_66);
|
|
1872
1872
|
return ret;
|
|
1873
1873
|
};
|
|
1874
|
-
imports.wbg.
|
|
1875
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1874
|
+
imports.wbg.__wbindgen_closure_wrapper29669 = function(arg0, arg1, arg2) {
|
|
1875
|
+
const ret = makeMutClosure(arg0, arg1, 6123, __wbg_adapter_69);
|
|
1876
1876
|
return ret;
|
|
1877
1877
|
};
|
|
1878
|
-
imports.wbg.
|
|
1879
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1878
|
+
imports.wbg.__wbindgen_closure_wrapper29694 = function(arg0, arg1, arg2) {
|
|
1879
|
+
const ret = makeMutClosure(arg0, arg1, 6133, __wbg_adapter_72);
|
|
1880
1880
|
return ret;
|
|
1881
1881
|
};
|
|
1882
|
-
imports.wbg.
|
|
1883
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1882
|
+
imports.wbg.__wbindgen_closure_wrapper3228 = function(arg0, arg1, arg2) {
|
|
1883
|
+
const ret = makeMutClosure(arg0, arg1, 1327, __wbg_adapter_54);
|
|
1884
1884
|
return ret;
|
|
1885
1885
|
};
|
|
1886
1886
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/index_bg.wasm
CHANGED
|
Binary file
|