@bitcredit/bcr-ebill-wasm 0.4.11 → 0.4.12
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 +18 -11
- package/index.js +41 -41
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -220,6 +220,7 @@ export interface BitcreditBillWeb {
|
|
|
220
220
|
data: BillDataWeb;
|
|
221
221
|
status: BillStatusWeb;
|
|
222
222
|
current_waiting_state: BillCurrentWaitingStateWeb | undefined;
|
|
223
|
+
actions: BillCallerActionsWeb;
|
|
223
224
|
}
|
|
224
225
|
|
|
225
226
|
export type BillCurrentWaitingStateWeb = { Sell: BillWaitingForSellStateWeb } | { Payment: BillWaitingForPaymentStateWeb } | { Recourse: BillWaitingForRecourseStateWeb };
|
|
@@ -330,6 +331,12 @@ export interface BillParticipantsWeb {
|
|
|
330
331
|
all_participant_node_ids: string[];
|
|
331
332
|
}
|
|
332
333
|
|
|
334
|
+
export interface BillCallerActionsWeb {
|
|
335
|
+
bill_actions: BillCallerBillActionWeb[];
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type BillCallerBillActionWeb = "RequestAcceptance" | "Accept" | "RequestToPay" | "OfferToSell" | "Sell" | "Endorse" | "RequestRecourseForAcceptance" | "RequestRecourseForPayment" | "Recourse" | "Mint" | "RejectAcceptance" | "RejectPayment" | "RejectBuying" | "RejectPaymentForRecourse";
|
|
339
|
+
|
|
333
340
|
export interface LightBitcreditBillWeb {
|
|
334
341
|
id: string;
|
|
335
342
|
drawee: LightBillIdentParticipantWeb;
|
|
@@ -350,7 +357,7 @@ export type BillParticipantWeb = { Anon: BillAnonParticipantWeb } | { Ident: Bil
|
|
|
350
357
|
export interface BillAnonParticipantWeb {
|
|
351
358
|
node_id: string;
|
|
352
359
|
email: string | undefined;
|
|
353
|
-
nostr_relays:
|
|
360
|
+
nostr_relays: string[];
|
|
354
361
|
}
|
|
355
362
|
|
|
356
363
|
export interface BillIdentParticipantWeb {
|
|
@@ -359,7 +366,7 @@ export interface BillIdentParticipantWeb {
|
|
|
359
366
|
name: string;
|
|
360
367
|
postal_address: PostalAddressWeb;
|
|
361
368
|
email: string | undefined;
|
|
362
|
-
nostr_relays:
|
|
369
|
+
nostr_relays: string[];
|
|
363
370
|
}
|
|
364
371
|
|
|
365
372
|
export interface LightBillIdentParticipantWithAddressWeb {
|
|
@@ -507,7 +514,7 @@ export interface ContactWeb {
|
|
|
507
514
|
identification_number: string | undefined;
|
|
508
515
|
avatar_file: FileWeb | undefined;
|
|
509
516
|
proof_document_file: FileWeb | undefined;
|
|
510
|
-
nostr_relays:
|
|
517
|
+
nostr_relays: string[];
|
|
511
518
|
is_logical: boolean;
|
|
512
519
|
}
|
|
513
520
|
|
|
@@ -555,7 +562,7 @@ export interface IdentityWeb {
|
|
|
555
562
|
identification_number: string | undefined;
|
|
556
563
|
profile_picture_file: FileWeb | undefined;
|
|
557
564
|
identity_document_file: FileWeb | undefined;
|
|
558
|
-
nostr_relays:
|
|
565
|
+
nostr_relays: string[];
|
|
559
566
|
}
|
|
560
567
|
|
|
561
568
|
/**
|
|
@@ -728,7 +735,7 @@ export interface UploadFileResponse {
|
|
|
728
735
|
file_upload_id: string;
|
|
729
736
|
}
|
|
730
737
|
|
|
731
|
-
export type JsErrorType = "FieldEmpty" | "FieldInvalid" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "IdentityCantBeAnon" | "InvalidContactType" | "InvalidIdentityType" | "InvalidDate" | "InvalidCountry" | "InvalidTimestamp" | "DeadlineBeforeMinimum" | "SelfDraftedBillCantBeBlank" | "RequestToMintForBillAndMintAlreadyActive" | "SignerCantBeAnon" | "ContactIsAnonymous" | "InvalidContact" | "InvalidMint" | "IssueDateAfterMaturityDate" | "MaturityDateInThePast" | "InvalidFileUploadId" | "InvalidNodeId" | "InvalidBillId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "CancelMintRequestNotPending" | "RejectMintRequestNotOffered" | "AcceptMintRequestNotOffered" | "AcceptMintOfferExpired" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Io" | "Crypto" | "Persistence" | "Blockchain" | "InvalidRelayUrl" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillWasRejectedToAccept" | "BillAcceptanceExpired" | "BillWasRejectedToPay" | "BillPaymentExpired" | "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" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "InvalidSecp256k1Key" | "FileIsTooBig" | "FileIsEmpty" | "TooManyFiles" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory" | "InvalidBase58" | "InvalidSignature" | "InvalidUrl" | "InvalidIdentityProofStatus" | "Json";
|
|
738
|
+
export type JsErrorType = "FieldEmpty" | "FieldInvalid" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "IdentityCantBeAnon" | "InvalidContactType" | "InvalidIdentityType" | "InvalidDate" | "InvalidCountry" | "InvalidTimestamp" | "DeadlineBeforeMinimum" | "SelfDraftedBillCantBeBlank" | "RequestToMintForBillAndMintAlreadyActive" | "SignerCantBeAnon" | "ContactIsAnonymous" | "InvalidContact" | "InvalidMint" | "IssueDateAfterMaturityDate" | "MaturityDateInThePast" | "InvalidFileUploadId" | "InvalidNodeId" | "InvalidBillId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "CancelMintRequestNotPending" | "RejectMintRequestNotOffered" | "AcceptMintRequestNotOffered" | "AcceptMintOfferExpired" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Io" | "Crypto" | "Persistence" | "Blockchain" | "InvalidRelayUrl" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillWasRejectedToAccept" | "BillAcceptanceExpired" | "BillWasRejectedToPay" | "BillPaymentExpired" | "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" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "InvalidSecp256k1Key" | "FileIsTooBig" | "FileIsEmpty" | "TooManyFiles" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory" | "InvalidBase58" | "InvalidSignature" | "InvalidUrl" | "InvalidIdentityProofStatus" | "Json" | "InvalidBillAction";
|
|
732
739
|
|
|
733
740
|
export interface JsErrorData {
|
|
734
741
|
error: JsErrorType;
|
|
@@ -1088,11 +1095,11 @@ export interface InitOutput {
|
|
|
1088
1095
|
readonly api_notification: () => number;
|
|
1089
1096
|
readonly api_contact: () => number;
|
|
1090
1097
|
readonly api_company: () => number;
|
|
1091
|
-
readonly __wbg_identity_free: (a: number, b: number) => void;
|
|
1092
1098
|
readonly __wbg_identityproof_free: (a: number, b: number) => void;
|
|
1093
|
-
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
1094
1099
|
readonly __wbg_general_free: (a: number, b: number) => void;
|
|
1095
1100
|
readonly __wbg_contact_free: (a: number, b: number) => void;
|
|
1101
|
+
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
1102
|
+
readonly __wbg_identity_free: (a: number, b: number) => void;
|
|
1096
1103
|
readonly __wbg_company_free: (a: number, b: number) => void;
|
|
1097
1104
|
readonly __wbg_bill_free: (a: number, b: number) => void;
|
|
1098
1105
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
@@ -1103,11 +1110,11 @@ export interface InitOutput {
|
|
|
1103
1110
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
1104
1111
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
1105
1112
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1106
|
-
readonly wasm_bindgen__convert__closures_____invoke__h73608bf8a2f16823: (a: number, b: number) => void;
|
|
1107
1113
|
readonly closure359_externref_shim: (a: number, b: number, c: any) => void;
|
|
1108
|
-
readonly
|
|
1109
|
-
readonly
|
|
1110
|
-
readonly
|
|
1114
|
+
readonly wasm_bindgen__convert__closures_____invoke__h1bddd7db3334f1b6: (a: number, b: number) => void;
|
|
1115
|
+
readonly closure890_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
1116
|
+
readonly wasm_bindgen__convert__closures_____invoke__h421384210ea5cc16: (a: number, b: number) => void;
|
|
1117
|
+
readonly closure677_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1111
1118
|
readonly __wbindgen_start: () => void;
|
|
1112
1119
|
}
|
|
1113
1120
|
|
package/index.js
CHANGED
|
@@ -190,7 +190,7 @@ state => {
|
|
|
190
190
|
}
|
|
191
191
|
);
|
|
192
192
|
|
|
193
|
-
function
|
|
193
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
194
194
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
195
195
|
const real = (...args) => {
|
|
196
196
|
|
|
@@ -198,12 +198,16 @@ function makeClosure(arg0, arg1, dtor, f) {
|
|
|
198
198
|
// count. This ensures that the Rust closure environment won't
|
|
199
199
|
// be deallocated while we're invoking it.
|
|
200
200
|
state.cnt++;
|
|
201
|
+
const a = state.a;
|
|
202
|
+
state.a = 0;
|
|
201
203
|
try {
|
|
202
|
-
return f(
|
|
204
|
+
return f(a, state.b, ...args);
|
|
203
205
|
} finally {
|
|
204
206
|
if (--state.cnt === 0) {
|
|
205
|
-
wasm.__wbindgen_export_6.get(state.dtor)(
|
|
207
|
+
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
206
208
|
CLOSURE_DTORS.unregister(state);
|
|
209
|
+
} else {
|
|
210
|
+
state.a = a;
|
|
207
211
|
}
|
|
208
212
|
}
|
|
209
213
|
};
|
|
@@ -212,7 +216,7 @@ function makeClosure(arg0, arg1, dtor, f) {
|
|
|
212
216
|
return real;
|
|
213
217
|
}
|
|
214
218
|
|
|
215
|
-
function
|
|
219
|
+
function makeClosure(arg0, arg1, dtor, f) {
|
|
216
220
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
217
221
|
const real = (...args) => {
|
|
218
222
|
|
|
@@ -220,16 +224,12 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
220
224
|
// count. This ensures that the Rust closure environment won't
|
|
221
225
|
// be deallocated while we're invoking it.
|
|
222
226
|
state.cnt++;
|
|
223
|
-
const a = state.a;
|
|
224
|
-
state.a = 0;
|
|
225
227
|
try {
|
|
226
|
-
return f(a, state.b, ...args);
|
|
228
|
+
return f(state.a, state.b, ...args);
|
|
227
229
|
} finally {
|
|
228
230
|
if (--state.cnt === 0) {
|
|
229
|
-
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
231
|
+
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b); state.a = 0;
|
|
230
232
|
CLOSURE_DTORS.unregister(state);
|
|
231
|
-
} else {
|
|
232
|
-
state.a = a;
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
};
|
|
@@ -262,27 +262,27 @@ export function task_worker_entry_point(ptr) {
|
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
function
|
|
266
|
-
wasm.
|
|
265
|
+
function __wbg_adapter_6(arg0, arg1, arg2) {
|
|
266
|
+
wasm.closure359_externref_shim(arg0, arg1, arg2);
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
function
|
|
270
|
-
wasm.
|
|
269
|
+
function __wbg_adapter_9(arg0, arg1) {
|
|
270
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1bddd7db3334f1b6(arg0, arg1);
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
function __wbg_adapter_16(arg0, arg1, arg2) {
|
|
274
|
-
const ret = wasm.
|
|
274
|
+
const ret = wasm.closure890_externref_shim_multivalue_shim(arg0, arg1, arg2);
|
|
275
275
|
if (ret[1]) {
|
|
276
276
|
throw takeFromExternrefTable0(ret[0]);
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
function
|
|
281
|
-
wasm.
|
|
280
|
+
function __wbg_adapter_29(arg0, arg1) {
|
|
281
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h421384210ea5cc16(arg0, arg1);
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
function __wbg_adapter_231(arg0, arg1, arg2, arg3) {
|
|
285
|
-
wasm.
|
|
285
|
+
wasm.closure677_externref_shim(arg0, arg1, arg2, arg3);
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
/**
|
|
@@ -2272,6 +2272,16 @@ function __wbg_get_imports() {
|
|
|
2272
2272
|
imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
|
|
2273
2273
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
2274
2274
|
};
|
|
2275
|
+
imports.wbg.__wbindgen_cast_1e3eda00059a3c9b = function(arg0, arg1) {
|
|
2276
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 668, function: Function { arguments: [Externref], shim_idx: 359, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2277
|
+
const ret = makeMutClosure(arg0, arg1, 668, __wbg_adapter_6);
|
|
2278
|
+
return ret;
|
|
2279
|
+
};
|
|
2280
|
+
imports.wbg.__wbindgen_cast_1f0be5a03e92758f = function(arg0, arg1) {
|
|
2281
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 889, function: Function { arguments: [NamedExternref("Event")], shim_idx: 890, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2282
|
+
const ret = makeMutClosure(arg0, arg1, 889, __wbg_adapter_16);
|
|
2283
|
+
return ret;
|
|
2284
|
+
};
|
|
2275
2285
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
2276
2286
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
2277
2287
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
@@ -2279,12 +2289,7 @@ function __wbg_get_imports() {
|
|
|
2279
2289
|
};
|
|
2280
2290
|
imports.wbg.__wbindgen_cast_2b95a68344a644f3 = function(arg0, arg1) {
|
|
2281
2291
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 273, function: Function { arguments: [], shim_idx: 274, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
2282
|
-
const ret = makeClosure(arg0, arg1, 273,
|
|
2283
|
-
return ret;
|
|
2284
|
-
};
|
|
2285
|
-
imports.wbg.__wbindgen_cast_40244a9e2f654bfd = function(arg0, arg1) {
|
|
2286
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 482, function: Function { arguments: [], shim_idx: 483, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2287
|
-
const ret = makeMutClosure(arg0, arg1, 482, __wbg_adapter_23);
|
|
2292
|
+
const ret = makeClosure(arg0, arg1, 273, __wbg_adapter_29);
|
|
2288
2293
|
return ret;
|
|
2289
2294
|
};
|
|
2290
2295
|
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
@@ -2292,24 +2297,14 @@ function __wbg_get_imports() {
|
|
|
2292
2297
|
const ret = BigInt.asUintN(64, arg0);
|
|
2293
2298
|
return ret;
|
|
2294
2299
|
};
|
|
2295
|
-
imports.wbg.__wbindgen_cast_95ac9040f2c9c09a = function(arg0, arg1) {
|
|
2296
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 482, function: Function { arguments: [Externref], shim_idx: 359, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2297
|
-
const ret = makeMutClosure(arg0, arg1, 482, __wbg_adapter_13);
|
|
2298
|
-
return ret;
|
|
2299
|
-
};
|
|
2300
2300
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
2301
2301
|
// Cast intrinsic for `I64 -> Externref`.
|
|
2302
2302
|
const ret = arg0;
|
|
2303
2303
|
return ret;
|
|
2304
2304
|
};
|
|
2305
|
-
imports.wbg.
|
|
2306
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
2307
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2308
|
-
return ret;
|
|
2309
|
-
};
|
|
2310
|
-
imports.wbg.__wbindgen_cast_ca64ae4bc910e254 = function(arg0, arg1) {
|
|
2311
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 887, function: Function { arguments: [], shim_idx: 483, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2312
|
-
const ret = makeMutClosure(arg0, arg1, 887, __wbg_adapter_23);
|
|
2305
|
+
imports.wbg.__wbindgen_cast_bba2bd5078b2a92e = function(arg0, arg1) {
|
|
2306
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 743, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 359, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2307
|
+
const ret = makeMutClosure(arg0, arg1, 743, __wbg_adapter_6);
|
|
2313
2308
|
return ret;
|
|
2314
2309
|
};
|
|
2315
2310
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
@@ -2322,14 +2317,19 @@ function __wbg_get_imports() {
|
|
|
2322
2317
|
const ret = arg0;
|
|
2323
2318
|
return ret;
|
|
2324
2319
|
};
|
|
2325
|
-
imports.wbg.
|
|
2326
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
2327
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2320
|
+
imports.wbg.__wbindgen_cast_d741fa484789fc2e = function(arg0, arg1) {
|
|
2321
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 668, function: Function { arguments: [], shim_idx: 485, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2322
|
+
const ret = makeMutClosure(arg0, arg1, 668, __wbg_adapter_9);
|
|
2323
|
+
return ret;
|
|
2324
|
+
};
|
|
2325
|
+
imports.wbg.__wbindgen_cast_e3d6704fc2f8f5a8 = function(arg0, arg1) {
|
|
2326
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 484, function: Function { arguments: [], shim_idx: 485, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2327
|
+
const ret = makeMutClosure(arg0, arg1, 484, __wbg_adapter_9);
|
|
2328
2328
|
return ret;
|
|
2329
2329
|
};
|
|
2330
2330
|
imports.wbg.__wbindgen_cast_ef1296fe0ce0c82f = function(arg0, arg1) {
|
|
2331
2331
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 273, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 359, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2332
|
-
const ret = makeMutClosure(arg0, arg1, 273,
|
|
2332
|
+
const ret = makeMutClosure(arg0, arg1, 273, __wbg_adapter_6);
|
|
2333
2333
|
return ret;
|
|
2334
2334
|
};
|
|
2335
2335
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
package/index_bg.wasm
CHANGED
|
Binary file
|