@bitcredit/bcr-ebill-wasm 0.3.12 → 0.3.14
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 +57 -25
- package/index.js +68 -38
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -48,13 +48,6 @@ export interface EndorseBitcreditBillPayload {
|
|
|
48
48
|
bill_id: string;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export interface MintBitcreditBillPayload {
|
|
52
|
-
mint_node: string;
|
|
53
|
-
bill_id: string;
|
|
54
|
-
sum: string;
|
|
55
|
-
currency: string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
51
|
export interface RequestToMintBitcreditBillPayload {
|
|
59
52
|
mint_node: string;
|
|
60
53
|
bill_id: string;
|
|
@@ -97,7 +90,7 @@ export interface RejectActionBillPayload {
|
|
|
97
90
|
}
|
|
98
91
|
|
|
99
92
|
export interface BillCombinedBitcoinKeyWeb {
|
|
100
|
-
|
|
93
|
+
private_descriptor: string;
|
|
101
94
|
}
|
|
102
95
|
|
|
103
96
|
export type BillsFilterRoleWeb = "All" | "Payer" | "Payee" | "Contingent";
|
|
@@ -169,7 +162,7 @@ export interface PastPaymentDataSellWeb {
|
|
|
169
162
|
sum: string;
|
|
170
163
|
link_to_pay: string;
|
|
171
164
|
address_to_pay: string;
|
|
172
|
-
|
|
165
|
+
private_descriptor_to_spend: string;
|
|
173
166
|
mempool_link_for_address_to_pay: string;
|
|
174
167
|
status: PastPaymentStatusWeb;
|
|
175
168
|
}
|
|
@@ -182,7 +175,7 @@ export interface PastPaymentDataPaymentWeb {
|
|
|
182
175
|
sum: string;
|
|
183
176
|
link_to_pay: string;
|
|
184
177
|
address_to_pay: string;
|
|
185
|
-
|
|
178
|
+
private_descriptor_to_spend: string;
|
|
186
179
|
mempool_link_for_address_to_pay: string;
|
|
187
180
|
status: PastPaymentStatusWeb;
|
|
188
181
|
}
|
|
@@ -195,7 +188,7 @@ export interface PastPaymentDataRecourseWeb {
|
|
|
195
188
|
sum: string;
|
|
196
189
|
link_to_pay: string;
|
|
197
190
|
address_to_pay: string;
|
|
198
|
-
|
|
191
|
+
private_descriptor_to_spend: string;
|
|
199
192
|
mempool_link_for_address_to_pay: string;
|
|
200
193
|
status: PastPaymentStatusWeb;
|
|
201
194
|
}
|
|
@@ -258,6 +251,7 @@ export interface BillStatusWeb {
|
|
|
258
251
|
payment: BillPaymentStatusWeb;
|
|
259
252
|
sell: BillSellStatusWeb;
|
|
260
253
|
recourse: BillRecourseStatusWeb;
|
|
254
|
+
mint: BillMintStatusWeb;
|
|
261
255
|
redeemed_funds_available: boolean;
|
|
262
256
|
has_requested_funds: boolean;
|
|
263
257
|
}
|
|
@@ -294,6 +288,10 @@ export interface BillRecourseStatusWeb {
|
|
|
294
288
|
rejected_request_to_recourse: boolean;
|
|
295
289
|
}
|
|
296
290
|
|
|
291
|
+
export interface BillMintStatusWeb {
|
|
292
|
+
has_mint_requests: boolean;
|
|
293
|
+
}
|
|
294
|
+
|
|
297
295
|
export interface BillDataWeb {
|
|
298
296
|
language: string;
|
|
299
297
|
time_of_drawing: number;
|
|
@@ -634,7 +632,7 @@ export interface UploadFileResponse {
|
|
|
634
632
|
file_upload_id: string;
|
|
635
633
|
}
|
|
636
634
|
|
|
637
|
-
export type JsErrorType = "FieldEmpty" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "IdentityCantBeAnon" | "IdentityIsNotBillIssuer" | "InvalidContactType" | "InvalidIdentityType" | "InvalidDate" | "SelfDraftedBillCantBeBlank" | "SignerCantBeAnon" | "ContactIsAnonymous" | "InvalidContact" | "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" | "DrawerIsNotBillIssuer" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "InvalidSecp256k1Key" | "FileIsTooBig" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory";
|
|
635
|
+
export type JsErrorType = "FieldEmpty" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "IdentityCantBeAnon" | "IdentityIsNotBillIssuer" | "InvalidContactType" | "InvalidIdentityType" | "InvalidDate" | "SelfDraftedBillCantBeBlank" | "RequestToMintForBillAndMintAlreadyActive" | "SignerCantBeAnon" | "ContactIsAnonymous" | "InvalidContact" | "InvalidMint" | "IssueDateAfterMaturityDate" | "MaturityDateInThePast" | "InvalidFileUploadId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "CancelMintRequestNotPending" | "RejectMintRequestNotOffered" | "AcceptMintRequestNotOffered" | "AcceptMintOfferExpired" | "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" | "DrawerIsNotBillIssuer" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "InvalidSecp256k1Key" | "FileIsTooBig" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory";
|
|
638
636
|
|
|
639
637
|
export interface JsErrorData {
|
|
640
638
|
error: JsErrorType;
|
|
@@ -650,6 +648,37 @@ export interface Config {
|
|
|
650
648
|
nostr_only_known_contacts: boolean | undefined;
|
|
651
649
|
job_runner_initial_delay_seconds: number;
|
|
652
650
|
job_runner_check_interval_seconds: number;
|
|
651
|
+
default_mint_url: string;
|
|
652
|
+
default_mint_node_id: string;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export interface MintRequestStateWeb {
|
|
656
|
+
request: MintRequestWeb;
|
|
657
|
+
offer: MintOfferWeb | undefined;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export interface MintRequestStateResponse {
|
|
661
|
+
request_states: MintRequestStateWeb[];
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export interface MintOfferWeb {
|
|
665
|
+
mint_request_id: string;
|
|
666
|
+
keyset_id: string;
|
|
667
|
+
expiration_timestamp: number;
|
|
668
|
+
discounted_sum: number;
|
|
669
|
+
proofs: string | undefined;
|
|
670
|
+
proofs_spent: boolean;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export type MintRequestStatusWeb = "Pending" | { Denied: { timestamp: number } } | "Offered" | "Accepted" | { Rejected: { timestamp: number } } | { Cancelled: { timestamp: number } } | { Expired: { timestamp: number } };
|
|
674
|
+
|
|
675
|
+
export interface MintRequestWeb {
|
|
676
|
+
requester_node_id: string;
|
|
677
|
+
bill_id: string;
|
|
678
|
+
mint_node_id: string;
|
|
679
|
+
mint_request_id: string;
|
|
680
|
+
timestamp: number;
|
|
681
|
+
status: MintRequestStatusWeb;
|
|
653
682
|
}
|
|
654
683
|
|
|
655
684
|
export class Api {
|
|
@@ -696,11 +725,11 @@ export class Bill {
|
|
|
696
725
|
request_to_accept(payload: RequestToAcceptBitcreditBillPayload): Promise<void>;
|
|
697
726
|
accept(payload: AcceptBitcreditBillPayload): Promise<void>;
|
|
698
727
|
request_to_mint(payload: RequestToMintBitcreditBillPayload): Promise<void>;
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
728
|
+
mint_state(id: string): Promise<MintRequestStateWeb>;
|
|
729
|
+
check_mint_state(id: string): Promise<void>;
|
|
730
|
+
cancel_request_to_mint(mint_request_id: string): Promise<void>;
|
|
731
|
+
accept_mint_offer(mint_request_id: string): Promise<void>;
|
|
732
|
+
reject_mint_offer(mint_request_id: string): Promise<void>;
|
|
704
733
|
reject_to_accept(payload: RejectActionBillPayload): Promise<void>;
|
|
705
734
|
reject_to_pay(payload: RejectActionBillPayload): Promise<void>;
|
|
706
735
|
reject_to_buy(payload: RejectActionBillPayload): Promise<void>;
|
|
@@ -805,8 +834,11 @@ export interface InitOutput {
|
|
|
805
834
|
readonly bill_request_to_accept: (a: number, b: any) => any;
|
|
806
835
|
readonly bill_accept: (a: number, b: any) => any;
|
|
807
836
|
readonly bill_request_to_mint: (a: number, b: any) => any;
|
|
808
|
-
readonly
|
|
809
|
-
readonly
|
|
837
|
+
readonly bill_mint_state: (a: number, b: number, c: number) => any;
|
|
838
|
+
readonly bill_check_mint_state: (a: number, b: number, c: number) => any;
|
|
839
|
+
readonly bill_cancel_request_to_mint: (a: number, b: number, c: number) => any;
|
|
840
|
+
readonly bill_accept_mint_offer: (a: number, b: number, c: number) => any;
|
|
841
|
+
readonly bill_reject_mint_offer: (a: number, b: number, c: number) => any;
|
|
810
842
|
readonly bill_reject_to_accept: (a: number, b: any) => any;
|
|
811
843
|
readonly bill_reject_to_pay: (a: number, b: any) => any;
|
|
812
844
|
readonly bill_reject_to_buy: (a: number, b: any) => any;
|
|
@@ -874,13 +906,13 @@ export interface InitOutput {
|
|
|
874
906
|
readonly api_contact: () => number;
|
|
875
907
|
readonly api_company: () => number;
|
|
876
908
|
readonly api_quote: () => number;
|
|
877
|
-
readonly __wbg_quote_free: (a: number, b: number) => void;
|
|
878
909
|
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
910
|
+
readonly __wbg_identity_free: (a: number, b: number) => void;
|
|
879
911
|
readonly __wbg_general_free: (a: number, b: number) => void;
|
|
880
912
|
readonly __wbg_contact_free: (a: number, b: number) => void;
|
|
881
|
-
readonly __wbg_identity_free: (a: number, b: number) => void;
|
|
882
913
|
readonly __wbg_company_free: (a: number, b: number) => void;
|
|
883
914
|
readonly __wbg_bill_free: (a: number, b: number) => void;
|
|
915
|
+
readonly __wbg_quote_free: (a: number, b: number) => void;
|
|
884
916
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
885
917
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
886
918
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -889,10 +921,10 @@ export interface InitOutput {
|
|
|
889
921
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
890
922
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
891
923
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
892
|
-
readonly
|
|
893
|
-
readonly
|
|
894
|
-
readonly
|
|
895
|
-
readonly
|
|
924
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h59ab8c65b0857936: (a: number, b: number) => void;
|
|
925
|
+
readonly closure326_externref_shim: (a: number, b: number, c: any) => void;
|
|
926
|
+
readonly closure817_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
927
|
+
readonly closure592_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
896
928
|
readonly __wbindgen_start: () => void;
|
|
897
929
|
}
|
|
898
930
|
|
package/index.js
CHANGED
|
@@ -228,22 +228,22 @@ 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__h59ab8c65b0857936(arg0, arg1);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
235
|
-
wasm.
|
|
235
|
+
wasm.closure326_externref_shim(arg0, arg1, arg2);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
function __wbg_adapter_64(arg0, arg1, arg2) {
|
|
239
|
-
const ret = wasm.
|
|
239
|
+
const ret = wasm.closure817_externref_shim_multivalue_shim(arg0, arg1, arg2);
|
|
240
240
|
if (ret[1]) {
|
|
241
241
|
throw takeFromExternrefTable0(ret[0]);
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
function
|
|
246
|
-
wasm.
|
|
245
|
+
function __wbg_adapter_251(arg0, arg1, arg2, arg3) {
|
|
246
|
+
wasm.closure592_externref_shim(arg0, arg1, arg2, arg3);
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
/**
|
|
@@ -582,20 +582,53 @@ export class Bill {
|
|
|
582
582
|
return ret;
|
|
583
583
|
}
|
|
584
584
|
/**
|
|
585
|
-
* @param {
|
|
585
|
+
* @param {string} id
|
|
586
|
+
* @returns {MintRequestStateWeb}
|
|
587
|
+
*/
|
|
588
|
+
mint_state(id) {
|
|
589
|
+
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
590
|
+
const len0 = WASM_VECTOR_LEN;
|
|
591
|
+
const ret = wasm.bill_mint_state(this.__wbg_ptr, ptr0, len0);
|
|
592
|
+
return ret;
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* @param {string} id
|
|
586
596
|
* @returns {Promise<void>}
|
|
587
597
|
*/
|
|
588
|
-
|
|
589
|
-
const
|
|
598
|
+
check_mint_state(id) {
|
|
599
|
+
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
600
|
+
const len0 = WASM_VECTOR_LEN;
|
|
601
|
+
const ret = wasm.bill_check_mint_state(this.__wbg_ptr, ptr0, len0);
|
|
602
|
+
return ret;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* @param {string} mint_request_id
|
|
606
|
+
* @returns {Promise<void>}
|
|
607
|
+
*/
|
|
608
|
+
cancel_request_to_mint(mint_request_id) {
|
|
609
|
+
const ptr0 = passStringToWasm0(mint_request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
610
|
+
const len0 = WASM_VECTOR_LEN;
|
|
611
|
+
const ret = wasm.bill_cancel_request_to_mint(this.__wbg_ptr, ptr0, len0);
|
|
590
612
|
return ret;
|
|
591
613
|
}
|
|
592
614
|
/**
|
|
593
|
-
*
|
|
594
|
-
* @param {MintBitcreditBillPayload} payload
|
|
615
|
+
* @param {string} mint_request_id
|
|
595
616
|
* @returns {Promise<void>}
|
|
596
617
|
*/
|
|
597
|
-
|
|
598
|
-
const
|
|
618
|
+
accept_mint_offer(mint_request_id) {
|
|
619
|
+
const ptr0 = passStringToWasm0(mint_request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
620
|
+
const len0 = WASM_VECTOR_LEN;
|
|
621
|
+
const ret = wasm.bill_accept_mint_offer(this.__wbg_ptr, ptr0, len0);
|
|
622
|
+
return ret;
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* @param {string} mint_request_id
|
|
626
|
+
* @returns {Promise<void>}
|
|
627
|
+
*/
|
|
628
|
+
reject_mint_offer(mint_request_id) {
|
|
629
|
+
const ptr0 = passStringToWasm0(mint_request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
630
|
+
const len0 = WASM_VECTOR_LEN;
|
|
631
|
+
const ret = wasm.bill_reject_mint_offer(this.__wbg_ptr, ptr0, len0);
|
|
599
632
|
return ret;
|
|
600
633
|
}
|
|
601
634
|
/**
|
|
@@ -1266,11 +1299,11 @@ function __wbg_get_imports() {
|
|
|
1266
1299
|
const ret = clearInterval(arg0);
|
|
1267
1300
|
return ret;
|
|
1268
1301
|
};
|
|
1269
|
-
imports.wbg.
|
|
1302
|
+
imports.wbg.__wbg_clearTimeout_59db5cacdf248b98 = function(arg0) {
|
|
1270
1303
|
const ret = clearTimeout(arg0);
|
|
1271
1304
|
return ret;
|
|
1272
1305
|
};
|
|
1273
|
-
imports.wbg.
|
|
1306
|
+
imports.wbg.__wbg_clearTimeout_5a54f8841c30079a = function(arg0) {
|
|
1274
1307
|
const ret = clearTimeout(arg0);
|
|
1275
1308
|
return ret;
|
|
1276
1309
|
};
|
|
@@ -1354,16 +1387,13 @@ function __wbg_get_imports() {
|
|
|
1354
1387
|
const ret = arg0.fetch(arg1);
|
|
1355
1388
|
return ret;
|
|
1356
1389
|
};
|
|
1357
|
-
imports.wbg.
|
|
1390
|
+
imports.wbg.__wbg_fetch_c5c80d27f943f3fc = function(arg0) {
|
|
1358
1391
|
const ret = fetch(arg0);
|
|
1359
1392
|
return ret;
|
|
1360
1393
|
};
|
|
1361
1394
|
imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = function() { return handleError(function (arg0, arg1) {
|
|
1362
1395
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1363
1396
|
}, arguments) };
|
|
1364
|
-
imports.wbg.__wbg_getRandomValues_3d90134a348e46b3 = function() { return handleError(function (arg0, arg1) {
|
|
1365
|
-
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1366
|
-
}, arguments) };
|
|
1367
1397
|
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
1368
1398
|
arg0.getRandomValues(arg1);
|
|
1369
1399
|
}, arguments) };
|
|
@@ -1533,7 +1563,7 @@ function __wbg_get_imports() {
|
|
|
1533
1563
|
const a = state0.a;
|
|
1534
1564
|
state0.a = 0;
|
|
1535
1565
|
try {
|
|
1536
|
-
return
|
|
1566
|
+
return __wbg_adapter_251(a, state0.b, arg0, arg1);
|
|
1537
1567
|
} finally {
|
|
1538
1568
|
state0.a = a;
|
|
1539
1569
|
}
|
|
@@ -1604,10 +1634,6 @@ function __wbg_get_imports() {
|
|
|
1604
1634
|
const ret = arg0.node;
|
|
1605
1635
|
return ret;
|
|
1606
1636
|
};
|
|
1607
|
-
imports.wbg.__wbg_now_698fd875f24e9a0f = function() { return handleError(function () {
|
|
1608
|
-
const ret = Date.now();
|
|
1609
|
-
return ret;
|
|
1610
|
-
}, arguments) };
|
|
1611
1637
|
imports.wbg.__wbg_now_71123b9940376874 = function(arg0) {
|
|
1612
1638
|
const ret = arg0.now();
|
|
1613
1639
|
return ret;
|
|
@@ -1616,6 +1642,10 @@ function __wbg_get_imports() {
|
|
|
1616
1642
|
const ret = Date.now();
|
|
1617
1643
|
return ret;
|
|
1618
1644
|
};
|
|
1645
|
+
imports.wbg.__wbg_now_af563e9b04dc2a0a = function() { return handleError(function () {
|
|
1646
|
+
const ret = Date.now();
|
|
1647
|
+
return ret;
|
|
1648
|
+
}, arguments) };
|
|
1619
1649
|
imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) {
|
|
1620
1650
|
const ret = arg0.now();
|
|
1621
1651
|
return ret;
|
|
@@ -1714,7 +1744,7 @@ function __wbg_get_imports() {
|
|
|
1714
1744
|
const ret = setInterval(arg0, arg1);
|
|
1715
1745
|
return ret;
|
|
1716
1746
|
}, arguments) };
|
|
1717
|
-
imports.wbg.
|
|
1747
|
+
imports.wbg.__wbg_setTimeout_d8ea9e3c1b1cb3b6 = function(arg0, arg1) {
|
|
1718
1748
|
const ret = setTimeout(arg0, arg1);
|
|
1719
1749
|
return ret;
|
|
1720
1750
|
};
|
|
@@ -1930,32 +1960,32 @@ function __wbg_get_imports() {
|
|
|
1930
1960
|
const ret = false;
|
|
1931
1961
|
return ret;
|
|
1932
1962
|
};
|
|
1933
|
-
imports.wbg.
|
|
1934
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1963
|
+
imports.wbg.__wbindgen_closure_wrapper10651 = function(arg0, arg1, arg2) {
|
|
1964
|
+
const ret = makeMutClosure(arg0, arg1, 818, __wbg_adapter_64);
|
|
1935
1965
|
return ret;
|
|
1936
1966
|
};
|
|
1937
|
-
imports.wbg.
|
|
1938
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1967
|
+
imports.wbg.__wbindgen_closure_wrapper19354 = function(arg0, arg1, arg2) {
|
|
1968
|
+
const ret = makeMutClosure(arg0, arg1, 582, __wbg_adapter_57);
|
|
1939
1969
|
return ret;
|
|
1940
1970
|
};
|
|
1941
|
-
imports.wbg.
|
|
1942
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1971
|
+
imports.wbg.__wbindgen_closure_wrapper19395 = function(arg0, arg1, arg2) {
|
|
1972
|
+
const ret = makeMutClosure(arg0, arg1, 582, __wbg_adapter_54);
|
|
1943
1973
|
return ret;
|
|
1944
1974
|
};
|
|
1945
|
-
imports.wbg.
|
|
1946
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1975
|
+
imports.wbg.__wbindgen_closure_wrapper2122 = function(arg0, arg1, arg2) {
|
|
1976
|
+
const ret = makeMutClosure(arg0, arg1, 582, __wbg_adapter_54);
|
|
1947
1977
|
return ret;
|
|
1948
1978
|
};
|
|
1949
|
-
imports.wbg.
|
|
1950
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1979
|
+
imports.wbg.__wbindgen_closure_wrapper2823 = function(arg0, arg1, arg2) {
|
|
1980
|
+
const ret = makeMutClosure(arg0, arg1, 327, __wbg_adapter_57);
|
|
1951
1981
|
return ret;
|
|
1952
1982
|
};
|
|
1953
|
-
imports.wbg.
|
|
1954
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1983
|
+
imports.wbg.__wbindgen_closure_wrapper2951 = function(arg0, arg1, arg2) {
|
|
1984
|
+
const ret = makeMutClosure(arg0, arg1, 815, __wbg_adapter_54);
|
|
1955
1985
|
return ret;
|
|
1956
1986
|
};
|
|
1957
|
-
imports.wbg.
|
|
1958
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1987
|
+
imports.wbg.__wbindgen_closure_wrapper9613 = function(arg0, arg1, arg2) {
|
|
1988
|
+
const ret = makeMutClosure(arg0, arg1, 668, __wbg_adapter_57);
|
|
1959
1989
|
return ret;
|
|
1960
1990
|
};
|
|
1961
1991
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/index_bg.wasm
CHANGED
|
Binary file
|