@bitcredit/bcr-ebill-wasm 0.3.5 → 0.3.6
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 +100 -98
- package/index.js +34 -27
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -444,7 +444,7 @@ export interface UploadFileResponse {
|
|
|
444
444
|
file_upload_id: string;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
export type JsErrorType = "FieldEmpty" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "InvalidContactType" | "InvalidDate" | "InvalidFileUploadId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Io" | "Crypto" | "Persistence" | "Blockchain" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillWasRejectedToAccept" | "BillAcceptanceExpired" | "BillWasRejectedToPay" | "BillPaymentExpired" | "BillWasRejectedToRecourse" | "BillRequestToRecourseExpired" | "BillWasRecoursedToTheEnd" | "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";
|
|
447
|
+
export type JsErrorType = "FieldEmpty" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "InvalidContactType" | "InvalidDate" | "IssueDateAfterMaturityDate" | "MaturityDateInThePast" | "InvalidFileUploadId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Io" | "Crypto" | "Persistence" | "Blockchain" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillWasRejectedToAccept" | "BillAcceptanceExpired" | "BillWasRejectedToPay" | "BillPaymentExpired" | "BillWasRejectedToRecourse" | "BillRequestToRecourseExpired" | "BillWasRecoursedToTheEnd" | "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";
|
|
448
448
|
|
|
449
449
|
export interface JsErrorData {
|
|
450
450
|
error: JsErrorType;
|
|
@@ -452,63 +452,6 @@ export interface JsErrorData {
|
|
|
452
452
|
code: number;
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
-
export interface Config {
|
|
456
|
-
log_level: string | undefined;
|
|
457
|
-
bitcoin_network: string;
|
|
458
|
-
nostr_relay: string;
|
|
459
|
-
job_runner_initial_delay_seconds: number;
|
|
460
|
-
job_runner_check_interval_seconds: number;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
export interface SwitchIdentity {
|
|
464
|
-
t: IdentityTypeWeb | undefined;
|
|
465
|
-
node_id: string;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
export interface NewIdentityPayload {
|
|
469
|
-
name: string;
|
|
470
|
-
email: string;
|
|
471
|
-
postal_address: OptionalPostalAddressWeb;
|
|
472
|
-
date_of_birth: string | undefined;
|
|
473
|
-
country_of_birth: string | undefined;
|
|
474
|
-
city_of_birth: string | undefined;
|
|
475
|
-
identification_number: string | undefined;
|
|
476
|
-
profile_picture_file_upload_id: string | undefined;
|
|
477
|
-
identity_document_file_upload_id: string | undefined;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
export interface ChangeIdentityPayload {
|
|
481
|
-
name: string | undefined;
|
|
482
|
-
email: string | undefined;
|
|
483
|
-
postal_address: OptionalPostalAddressWeb;
|
|
484
|
-
date_of_birth: string | undefined;
|
|
485
|
-
country_of_birth: string | undefined;
|
|
486
|
-
city_of_birth: string | undefined;
|
|
487
|
-
identification_number: string | undefined;
|
|
488
|
-
profile_picture_file_upload_id: string | undefined;
|
|
489
|
-
identity_document_file_upload_id: string | undefined;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
export interface IdentityWeb {
|
|
493
|
-
node_id: string;
|
|
494
|
-
name: string;
|
|
495
|
-
email: string;
|
|
496
|
-
bitcoin_public_key: string;
|
|
497
|
-
npub: string;
|
|
498
|
-
postal_address: OptionalPostalAddressWeb;
|
|
499
|
-
date_of_birth: string | undefined;
|
|
500
|
-
country_of_birth: string | undefined;
|
|
501
|
-
city_of_birth: string | undefined;
|
|
502
|
-
identification_number: string | undefined;
|
|
503
|
-
profile_picture_file: FileWeb | undefined;
|
|
504
|
-
identity_document_file: FileWeb | undefined;
|
|
505
|
-
nostr_relay: string | undefined;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
export interface SeedPhrase {
|
|
509
|
-
seed_phrase: string;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
455
|
export interface CompaniesResponse {
|
|
513
456
|
companies: CompanyWeb[];
|
|
514
457
|
}
|
|
@@ -620,6 +563,63 @@ export interface ContactWeb {
|
|
|
620
563
|
nostr_relays: string[];
|
|
621
564
|
}
|
|
622
565
|
|
|
566
|
+
export interface SwitchIdentity {
|
|
567
|
+
t: IdentityTypeWeb | undefined;
|
|
568
|
+
node_id: string;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export interface NewIdentityPayload {
|
|
572
|
+
name: string;
|
|
573
|
+
email: string;
|
|
574
|
+
postal_address: OptionalPostalAddressWeb;
|
|
575
|
+
date_of_birth: string | undefined;
|
|
576
|
+
country_of_birth: string | undefined;
|
|
577
|
+
city_of_birth: string | undefined;
|
|
578
|
+
identification_number: string | undefined;
|
|
579
|
+
profile_picture_file_upload_id: string | undefined;
|
|
580
|
+
identity_document_file_upload_id: string | undefined;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
export interface ChangeIdentityPayload {
|
|
584
|
+
name: string | undefined;
|
|
585
|
+
email: string | undefined;
|
|
586
|
+
postal_address: OptionalPostalAddressWeb;
|
|
587
|
+
date_of_birth: string | undefined;
|
|
588
|
+
country_of_birth: string | undefined;
|
|
589
|
+
city_of_birth: string | undefined;
|
|
590
|
+
identification_number: string | undefined;
|
|
591
|
+
profile_picture_file_upload_id: string | undefined;
|
|
592
|
+
identity_document_file_upload_id: string | undefined;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export interface IdentityWeb {
|
|
596
|
+
node_id: string;
|
|
597
|
+
name: string;
|
|
598
|
+
email: string;
|
|
599
|
+
bitcoin_public_key: string;
|
|
600
|
+
npub: string;
|
|
601
|
+
postal_address: OptionalPostalAddressWeb;
|
|
602
|
+
date_of_birth: string | undefined;
|
|
603
|
+
country_of_birth: string | undefined;
|
|
604
|
+
city_of_birth: string | undefined;
|
|
605
|
+
identification_number: string | undefined;
|
|
606
|
+
profile_picture_file: FileWeb | undefined;
|
|
607
|
+
identity_document_file: FileWeb | undefined;
|
|
608
|
+
nostr_relay: string | undefined;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export interface SeedPhrase {
|
|
612
|
+
seed_phrase: string;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export interface Config {
|
|
616
|
+
log_level: string | undefined;
|
|
617
|
+
bitcoin_network: string;
|
|
618
|
+
nostr_relay: string;
|
|
619
|
+
job_runner_initial_delay_seconds: number;
|
|
620
|
+
job_runner_check_interval_seconds: number;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
623
|
export class Api {
|
|
624
624
|
private constructor();
|
|
625
625
|
free(): void;
|
|
@@ -661,6 +661,7 @@ export class Bill {
|
|
|
661
661
|
reject_to_pay_recourse(payload: RejectActionBillPayload): Promise<void>;
|
|
662
662
|
request_to_recourse_bill_payment(payload: RequestRecourseForPaymentPayload): Promise<void>;
|
|
663
663
|
request_to_recourse_bill_acceptance(payload: RequestRecourseForPaymentPayload): Promise<void>;
|
|
664
|
+
clear_bill_cache(): Promise<void>;
|
|
664
665
|
}
|
|
665
666
|
export class Company {
|
|
666
667
|
private constructor();
|
|
@@ -761,22 +762,23 @@ export interface InitOutput {
|
|
|
761
762
|
readonly bill_reject_to_pay_recourse: (a: number, b: any) => any;
|
|
762
763
|
readonly bill_request_to_recourse_bill_payment: (a: number, b: any) => any;
|
|
763
764
|
readonly bill_request_to_recourse_bill_acceptance: (a: number, b: any) => any;
|
|
764
|
-
readonly
|
|
765
|
-
readonly
|
|
766
|
-
readonly
|
|
767
|
-
readonly
|
|
768
|
-
readonly
|
|
769
|
-
readonly
|
|
770
|
-
readonly
|
|
771
|
-
readonly
|
|
772
|
-
readonly
|
|
773
|
-
readonly
|
|
765
|
+
readonly bill_clear_bill_cache: (a: number) => any;
|
|
766
|
+
readonly __wbg_identity_free: (a: number, b: number) => void;
|
|
767
|
+
readonly identity_file: (a: number, b: number, c: number) => any;
|
|
768
|
+
readonly identity_upload: (a: number, b: any) => any;
|
|
769
|
+
readonly identity_detail: (a: number) => any;
|
|
770
|
+
readonly identity_create: (a: number, b: any) => any;
|
|
771
|
+
readonly identity_change: (a: number, b: any) => any;
|
|
772
|
+
readonly identity_active: (a: number) => any;
|
|
773
|
+
readonly identity_switch: (a: number, b: any) => any;
|
|
774
|
+
readonly identity_seed_backup: (a: number) => any;
|
|
775
|
+
readonly identity_seed_recover: (a: number, b: any) => any;
|
|
774
776
|
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
775
777
|
readonly notification_subscribe: (a: number, b: any) => any;
|
|
776
778
|
readonly notification_list: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: bigint, i: number, j: bigint) => any;
|
|
777
779
|
readonly notification_mark_as_done: (a: number, b: number, c: number) => any;
|
|
778
780
|
readonly notification_trigger_test_msg: (a: number, b: any) => any;
|
|
779
|
-
readonly
|
|
781
|
+
readonly identity_new: () => number;
|
|
780
782
|
readonly notification_new: () => number;
|
|
781
783
|
readonly __wbg_contact_free: (a: number, b: number) => void;
|
|
782
784
|
readonly contact_new: () => number;
|
|
@@ -787,37 +789,37 @@ export interface InitOutput {
|
|
|
787
789
|
readonly contact_remove: (a: number, b: number, c: number) => any;
|
|
788
790
|
readonly contact_create: (a: number, b: any) => any;
|
|
789
791
|
readonly contact_edit: (a: number, b: any) => any;
|
|
790
|
-
readonly
|
|
792
|
+
readonly __wbg_api_free: (a: number, b: number) => void;
|
|
793
|
+
readonly api_bill: () => number;
|
|
794
|
+
readonly api_general: () => number;
|
|
795
|
+
readonly api_identity: () => number;
|
|
796
|
+
readonly api_notification: () => number;
|
|
797
|
+
readonly api_contact: () => number;
|
|
798
|
+
readonly api_company: () => number;
|
|
799
|
+
readonly api_quote: () => number;
|
|
800
|
+
readonly __wbg_company_free: (a: number, b: number) => void;
|
|
801
|
+
readonly company_new: () => number;
|
|
802
|
+
readonly company_file: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
803
|
+
readonly company_upload: (a: number, b: any) => any;
|
|
804
|
+
readonly company_list: (a: number) => any;
|
|
805
|
+
readonly company_list_signatories: (a: number, b: number, c: number) => any;
|
|
806
|
+
readonly company_detail: (a: number, b: number, c: number) => any;
|
|
807
|
+
readonly company_create: (a: number, b: any) => any;
|
|
808
|
+
readonly company_edit: (a: number, b: any) => any;
|
|
809
|
+
readonly company_add_signatory: (a: number, b: any) => any;
|
|
810
|
+
readonly company_remove_signatory: (a: number, b: any) => any;
|
|
791
811
|
readonly __wbg_general_free: (a: number, b: number) => void;
|
|
792
|
-
readonly general_new: () => number;
|
|
793
812
|
readonly general_status: (a: number) => any;
|
|
794
813
|
readonly general_currencies: (a: number) => any;
|
|
795
814
|
readonly general_temp_file: (a: number, b: number, c: number) => any;
|
|
796
815
|
readonly general_overview: (a: number, b: number, c: number) => any;
|
|
797
816
|
readonly general_search: (a: number, b: any) => any;
|
|
798
|
-
readonly
|
|
799
|
-
readonly identity_file: (a: number, b: number, c: number) => any;
|
|
800
|
-
readonly identity_upload: (a: number, b: any) => any;
|
|
801
|
-
readonly identity_detail: (a: number) => any;
|
|
802
|
-
readonly identity_create: (a: number, b: any) => any;
|
|
803
|
-
readonly identity_change: (a: number, b: any) => any;
|
|
804
|
-
readonly identity_active: (a: number) => any;
|
|
805
|
-
readonly identity_switch: (a: number, b: any) => any;
|
|
806
|
-
readonly identity_seed_backup: (a: number) => any;
|
|
807
|
-
readonly identity_seed_recover: (a: number, b: any) => any;
|
|
808
|
-
readonly identity_new: () => number;
|
|
817
|
+
readonly general_new: () => number;
|
|
809
818
|
readonly __wbg_quote_free: (a: number, b: number) => void;
|
|
810
819
|
readonly quote_new: () => number;
|
|
811
820
|
readonly quote_get: (a: number, b: number, c: number) => any;
|
|
812
821
|
readonly quote_accept: (a: number, b: number, c: number) => any;
|
|
813
|
-
readonly
|
|
814
|
-
readonly api_bill: () => number;
|
|
815
|
-
readonly api_general: () => number;
|
|
816
|
-
readonly api_identity: () => number;
|
|
817
|
-
readonly api_notification: () => number;
|
|
818
|
-
readonly api_contact: () => number;
|
|
819
|
-
readonly api_company: () => number;
|
|
820
|
-
readonly api_quote: () => number;
|
|
822
|
+
readonly initialize_api: (a: any) => any;
|
|
821
823
|
readonly task_worker_entry_point: (a: number) => [number, number];
|
|
822
824
|
readonly ring_core_0_17_14__bn_mul_mont: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
823
825
|
readonly rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
@@ -832,14 +834,14 @@ export interface InitOutput {
|
|
|
832
834
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
833
835
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
834
836
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
835
|
-
readonly
|
|
836
|
-
readonly
|
|
837
|
-
readonly
|
|
838
|
-
readonly
|
|
839
|
-
readonly
|
|
840
|
-
readonly
|
|
841
|
-
readonly
|
|
842
|
-
readonly
|
|
837
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haac0262e037c701e: (a: number, b: number) => void;
|
|
838
|
+
readonly closure4191_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
839
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h199fd957ff3fa4e6: (a: number, b: number) => void;
|
|
840
|
+
readonly closure5777_externref_shim: (a: number, b: number, c: any) => void;
|
|
841
|
+
readonly closure5969_externref_shim: (a: number, b: number, c: any) => void;
|
|
842
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heddc2b70a452d7e9: (a: number, b: number) => void;
|
|
843
|
+
readonly closure6171_externref_shim: (a: number, b: number, c: any) => void;
|
|
844
|
+
readonly closure6308_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
843
845
|
readonly __wbindgen_start: () => void;
|
|
844
846
|
}
|
|
845
847
|
|
package/index.js
CHANGED
|
@@ -228,38 +228,38 @@ 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__haac0262e037c701e(arg0, arg1);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
235
|
-
const ret = wasm.
|
|
235
|
+
const ret = wasm.closure4191_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__h199fd957ff3fa4e6(arg0, arg1);
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
function __wbg_adapter_63(arg0, arg1, arg2) {
|
|
246
|
-
wasm.
|
|
246
|
+
wasm.closure5777_externref_shim(arg0, arg1, arg2);
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
250
|
-
wasm.
|
|
250
|
+
wasm.closure5969_externref_shim(arg0, arg1, arg2);
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
function __wbg_adapter_69(arg0, arg1) {
|
|
254
|
-
wasm.
|
|
254
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heddc2b70a452d7e9(arg0, arg1);
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
function __wbg_adapter_72(arg0, arg1, arg2) {
|
|
258
|
-
wasm.
|
|
258
|
+
wasm.closure6171_externref_shim(arg0, arg1, arg2);
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
function
|
|
262
|
-
wasm.
|
|
261
|
+
function __wbg_adapter_432(arg0, arg1, arg2, arg3) {
|
|
262
|
+
wasm.closure6308_externref_shim(arg0, arg1, arg2, arg3);
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
/**
|
|
@@ -609,6 +609,13 @@ export class Bill {
|
|
|
609
609
|
const ret = wasm.bill_request_to_recourse_bill_acceptance(this.__wbg_ptr, payload);
|
|
610
610
|
return ret;
|
|
611
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
* @returns {Promise<void>}
|
|
614
|
+
*/
|
|
615
|
+
clear_bill_cache() {
|
|
616
|
+
const ret = wasm.bill_clear_bill_cache(this.__wbg_ptr);
|
|
617
|
+
return ret;
|
|
618
|
+
}
|
|
612
619
|
}
|
|
613
620
|
|
|
614
621
|
const CompanyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -640,7 +647,7 @@ export class Company {
|
|
|
640
647
|
* @returns {Company}
|
|
641
648
|
*/
|
|
642
649
|
static new() {
|
|
643
|
-
const ret = wasm.
|
|
650
|
+
const ret = wasm.company_new();
|
|
644
651
|
return Company.__wrap(ret);
|
|
645
652
|
}
|
|
646
653
|
/**
|
|
@@ -852,7 +859,7 @@ export class General {
|
|
|
852
859
|
* @returns {General}
|
|
853
860
|
*/
|
|
854
861
|
static new() {
|
|
855
|
-
const ret = wasm.
|
|
862
|
+
const ret = wasm.company_new();
|
|
856
863
|
return General.__wrap(ret);
|
|
857
864
|
}
|
|
858
865
|
/**
|
|
@@ -928,7 +935,7 @@ export class Identity {
|
|
|
928
935
|
* @returns {Identity}
|
|
929
936
|
*/
|
|
930
937
|
static new() {
|
|
931
|
-
const ret = wasm.
|
|
938
|
+
const ret = wasm.bill_new();
|
|
932
939
|
return Identity.__wrap(ret);
|
|
933
940
|
}
|
|
934
941
|
/**
|
|
@@ -1468,7 +1475,7 @@ function __wbg_get_imports() {
|
|
|
1468
1475
|
const a = state0.a;
|
|
1469
1476
|
state0.a = 0;
|
|
1470
1477
|
try {
|
|
1471
|
-
return
|
|
1478
|
+
return __wbg_adapter_432(a, state0.b, arg0, arg1);
|
|
1472
1479
|
} finally {
|
|
1473
1480
|
state0.a = a;
|
|
1474
1481
|
}
|
|
@@ -1865,32 +1872,32 @@ function __wbg_get_imports() {
|
|
|
1865
1872
|
const ret = false;
|
|
1866
1873
|
return ret;
|
|
1867
1874
|
};
|
|
1868
|
-
imports.wbg.
|
|
1869
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1875
|
+
imports.wbg.__wbindgen_closure_wrapper21605 = function(arg0, arg1, arg2) {
|
|
1876
|
+
const ret = makeMutClosure(arg0, arg1, 4192, __wbg_adapter_57);
|
|
1870
1877
|
return ret;
|
|
1871
1878
|
};
|
|
1872
|
-
imports.wbg.
|
|
1873
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1879
|
+
imports.wbg.__wbindgen_closure_wrapper22122 = function(arg0, arg1, arg2) {
|
|
1880
|
+
const ret = makeMutClosure(arg0, arg1, 4344, __wbg_adapter_60);
|
|
1874
1881
|
return ret;
|
|
1875
1882
|
};
|
|
1876
|
-
imports.wbg.
|
|
1877
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1883
|
+
imports.wbg.__wbindgen_closure_wrapper27382 = function(arg0, arg1, arg2) {
|
|
1884
|
+
const ret = makeMutClosure(arg0, arg1, 5778, __wbg_adapter_63);
|
|
1878
1885
|
return ret;
|
|
1879
1886
|
};
|
|
1880
|
-
imports.wbg.
|
|
1881
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1887
|
+
imports.wbg.__wbindgen_closure_wrapper28042 = function(arg0, arg1, arg2) {
|
|
1888
|
+
const ret = makeMutClosure(arg0, arg1, 5970, __wbg_adapter_66);
|
|
1882
1889
|
return ret;
|
|
1883
1890
|
};
|
|
1884
|
-
imports.wbg.
|
|
1885
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1891
|
+
imports.wbg.__wbindgen_closure_wrapper29362 = function(arg0, arg1, arg2) {
|
|
1892
|
+
const ret = makeMutClosure(arg0, arg1, 6162, __wbg_adapter_69);
|
|
1886
1893
|
return ret;
|
|
1887
1894
|
};
|
|
1888
|
-
imports.wbg.
|
|
1889
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1895
|
+
imports.wbg.__wbindgen_closure_wrapper29387 = function(arg0, arg1, arg2) {
|
|
1896
|
+
const ret = makeMutClosure(arg0, arg1, 6172, __wbg_adapter_72);
|
|
1890
1897
|
return ret;
|
|
1891
1898
|
};
|
|
1892
|
-
imports.wbg.
|
|
1893
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1899
|
+
imports.wbg.__wbindgen_closure_wrapper3261 = function(arg0, arg1, arg2) {
|
|
1900
|
+
const ret = makeMutClosure(arg0, arg1, 1346, __wbg_adapter_54);
|
|
1894
1901
|
return ret;
|
|
1895
1902
|
};
|
|
1896
1903
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/index_bg.wasm
CHANGED
|
Binary file
|