@janssenproject/cedarling_wasm 0.0.385 → 0.0.386-nodejs
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/cedarling_wasm.d.ts +0 -150
- package/cedarling_wasm.js +221 -311
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +2 -6
package/cedarling_wasm.js
CHANGED
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* A WASM wrapper for the Rust `cedarling::AuthorizeResult` struct.
|
|
5
5
|
* Represents the result of an authorization request.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
class AuthorizeResult {
|
|
8
8
|
static __wrap(ptr) {
|
|
9
|
-
ptr = ptr >>> 0;
|
|
10
9
|
const obj = Object.create(AuthorizeResult.prototype);
|
|
11
10
|
obj.__wbg_ptr = ptr;
|
|
12
11
|
AuthorizeResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -105,14 +104,14 @@ export class AuthorizeResult {
|
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
106
|
if (Symbol.dispose) AuthorizeResult.prototype[Symbol.dispose] = AuthorizeResult.prototype.free;
|
|
107
|
+
exports.AuthorizeResult = AuthorizeResult;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* A WASM wrapper for the Rust `cedar_policy::Response` struct.
|
|
111
111
|
* Represents the result of an authorization request.
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
class AuthorizeResultResponse {
|
|
114
114
|
static __wrap(ptr) {
|
|
115
|
-
ptr = ptr >>> 0;
|
|
116
115
|
const obj = Object.create(AuthorizeResultResponse.prototype);
|
|
117
116
|
obj.__wbg_ptr = ptr;
|
|
118
117
|
AuthorizeResultResponseFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -146,13 +145,13 @@ export class AuthorizeResultResponse {
|
|
|
146
145
|
}
|
|
147
146
|
}
|
|
148
147
|
if (Symbol.dispose) AuthorizeResultResponse.prototype[Symbol.dispose] = AuthorizeResultResponse.prototype.free;
|
|
148
|
+
exports.AuthorizeResultResponse = AuthorizeResultResponse;
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* The instance of the Cedarling application.
|
|
152
152
|
*/
|
|
153
|
-
|
|
153
|
+
class Cedarling {
|
|
154
154
|
static __wrap(ptr) {
|
|
155
|
-
ptr = ptr >>> 0;
|
|
156
155
|
const obj = Object.create(Cedarling.prototype);
|
|
157
156
|
obj.__wbg_ptr = ptr;
|
|
158
157
|
CedarlingFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -586,14 +585,14 @@ export class Cedarling {
|
|
|
586
585
|
}
|
|
587
586
|
}
|
|
588
587
|
if (Symbol.dispose) Cedarling.prototype[Symbol.dispose] = Cedarling.prototype.free;
|
|
588
|
+
exports.Cedarling = Cedarling;
|
|
589
589
|
|
|
590
590
|
/**
|
|
591
591
|
* A WASM wrapper for the Rust `cedarling::DataEntry` struct.
|
|
592
592
|
* Represents a data entry in the DataStore with value and metadata.
|
|
593
593
|
*/
|
|
594
|
-
|
|
594
|
+
class DataEntry {
|
|
595
595
|
static __wrap(ptr) {
|
|
596
|
-
ptr = ptr >>> 0;
|
|
597
596
|
const obj = Object.create(DataEntry.prototype);
|
|
598
597
|
obj.__wbg_ptr = ptr;
|
|
599
598
|
DataEntryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -750,14 +749,14 @@ export class DataEntry {
|
|
|
750
749
|
}
|
|
751
750
|
}
|
|
752
751
|
if (Symbol.dispose) DataEntry.prototype[Symbol.dispose] = DataEntry.prototype.free;
|
|
752
|
+
exports.DataEntry = DataEntry;
|
|
753
753
|
|
|
754
754
|
/**
|
|
755
755
|
* A WASM wrapper for the Rust `cedarling::DataStoreStats` struct.
|
|
756
756
|
* Statistics about the DataStore.
|
|
757
757
|
*/
|
|
758
|
-
|
|
758
|
+
class DataStoreStats {
|
|
759
759
|
static __wrap(ptr) {
|
|
760
|
-
ptr = ptr >>> 0;
|
|
761
760
|
const obj = Object.create(DataStoreStats.prototype);
|
|
762
761
|
obj.__wbg_ptr = ptr;
|
|
763
762
|
DataStoreStatsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -926,6 +925,7 @@ export class DataStoreStats {
|
|
|
926
925
|
}
|
|
927
926
|
}
|
|
928
927
|
if (Symbol.dispose) DataStoreStats.prototype[Symbol.dispose] = DataStoreStats.prototype.free;
|
|
928
|
+
exports.DataStoreStats = DataStoreStats;
|
|
929
929
|
|
|
930
930
|
/**
|
|
931
931
|
* Diagnostics
|
|
@@ -933,9 +933,8 @@ if (Symbol.dispose) DataStoreStats.prototype[Symbol.dispose] = DataStoreStats.pr
|
|
|
933
933
|
*
|
|
934
934
|
* Provides detailed information about how a policy decision was made, including policies that contributed to the decision and any errors encountered during evaluation.
|
|
935
935
|
*/
|
|
936
|
-
|
|
936
|
+
class Diagnostics {
|
|
937
937
|
static __wrap(ptr) {
|
|
938
|
-
ptr = ptr >>> 0;
|
|
939
938
|
const obj = Object.create(Diagnostics.prototype);
|
|
940
939
|
obj.__wbg_ptr = ptr;
|
|
941
940
|
DiagnosticsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -977,8 +976,9 @@ export class Diagnostics {
|
|
|
977
976
|
}
|
|
978
977
|
}
|
|
979
978
|
if (Symbol.dispose) Diagnostics.prototype[Symbol.dispose] = Diagnostics.prototype.free;
|
|
979
|
+
exports.Diagnostics = Diagnostics;
|
|
980
980
|
|
|
981
|
-
|
|
981
|
+
class IntoUnderlyingByteSource {
|
|
982
982
|
__destroy_into_raw() {
|
|
983
983
|
const ptr = this.__wbg_ptr;
|
|
984
984
|
this.__wbg_ptr = 0;
|
|
@@ -1023,8 +1023,9 @@ export class IntoUnderlyingByteSource {
|
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
1025
|
if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free;
|
|
1026
|
+
exports.IntoUnderlyingByteSource = IntoUnderlyingByteSource;
|
|
1026
1027
|
|
|
1027
|
-
|
|
1028
|
+
class IntoUnderlyingSink {
|
|
1028
1029
|
__destroy_into_raw() {
|
|
1029
1030
|
const ptr = this.__wbg_ptr;
|
|
1030
1031
|
this.__wbg_ptr = 0;
|
|
@@ -1062,8 +1063,9 @@ export class IntoUnderlyingSink {
|
|
|
1062
1063
|
}
|
|
1063
1064
|
}
|
|
1064
1065
|
if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free;
|
|
1066
|
+
exports.IntoUnderlyingSink = IntoUnderlyingSink;
|
|
1065
1067
|
|
|
1066
|
-
|
|
1068
|
+
class IntoUnderlyingSource {
|
|
1067
1069
|
__destroy_into_raw() {
|
|
1068
1070
|
const ptr = this.__wbg_ptr;
|
|
1069
1071
|
this.__wbg_ptr = 0;
|
|
@@ -1088,14 +1090,14 @@ export class IntoUnderlyingSource {
|
|
|
1088
1090
|
}
|
|
1089
1091
|
}
|
|
1090
1092
|
if (Symbol.dispose) IntoUnderlyingSource.prototype[Symbol.dispose] = IntoUnderlyingSource.prototype.free;
|
|
1093
|
+
exports.IntoUnderlyingSource = IntoUnderlyingSource;
|
|
1091
1094
|
|
|
1092
1095
|
/**
|
|
1093
1096
|
* A WASM wrapper for the Rust `cedarling::MultiIssuerAuthorizeResult` struct.
|
|
1094
1097
|
* Represents the result of a multi-issuer authorization request.
|
|
1095
1098
|
*/
|
|
1096
|
-
|
|
1099
|
+
class MultiIssuerAuthorizeResult {
|
|
1097
1100
|
static __wrap(ptr) {
|
|
1098
|
-
ptr = ptr >>> 0;
|
|
1099
1101
|
const obj = Object.create(MultiIssuerAuthorizeResult.prototype);
|
|
1100
1102
|
obj.__wbg_ptr = ptr;
|
|
1101
1103
|
MultiIssuerAuthorizeResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1190,6 +1192,7 @@ export class MultiIssuerAuthorizeResult {
|
|
|
1190
1192
|
}
|
|
1191
1193
|
}
|
|
1192
1194
|
if (Symbol.dispose) MultiIssuerAuthorizeResult.prototype[Symbol.dispose] = MultiIssuerAuthorizeResult.prototype.free;
|
|
1195
|
+
exports.MultiIssuerAuthorizeResult = MultiIssuerAuthorizeResult;
|
|
1193
1196
|
|
|
1194
1197
|
/**
|
|
1195
1198
|
* PolicyEvaluationError
|
|
@@ -1197,9 +1200,8 @@ if (Symbol.dispose) MultiIssuerAuthorizeResult.prototype[Symbol.dispose] = Multi
|
|
|
1197
1200
|
*
|
|
1198
1201
|
* Represents an error that occurred when evaluating a Cedar policy.
|
|
1199
1202
|
*/
|
|
1200
|
-
|
|
1203
|
+
class PolicyEvaluationError {
|
|
1201
1204
|
static __wrap(ptr) {
|
|
1202
|
-
ptr = ptr >>> 0;
|
|
1203
1205
|
const obj = Object.create(PolicyEvaluationError.prototype);
|
|
1204
1206
|
obj.__wbg_ptr = ptr;
|
|
1205
1207
|
PolicyEvaluationErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1249,6 +1251,7 @@ export class PolicyEvaluationError {
|
|
|
1249
1251
|
}
|
|
1250
1252
|
}
|
|
1251
1253
|
if (Symbol.dispose) PolicyEvaluationError.prototype[Symbol.dispose] = PolicyEvaluationError.prototype.free;
|
|
1254
|
+
exports.PolicyEvaluationError = PolicyEvaluationError;
|
|
1252
1255
|
|
|
1253
1256
|
/**
|
|
1254
1257
|
* Create a new instance of the Cedarling application.
|
|
@@ -1256,10 +1259,11 @@ if (Symbol.dispose) PolicyEvaluationError.prototype[Symbol.dispose] = PolicyEval
|
|
|
1256
1259
|
* @param {any} config
|
|
1257
1260
|
* @returns {Promise<Cedarling>}
|
|
1258
1261
|
*/
|
|
1259
|
-
|
|
1262
|
+
function init(config) {
|
|
1260
1263
|
const ret = wasm.init(config);
|
|
1261
1264
|
return ret;
|
|
1262
1265
|
}
|
|
1266
|
+
exports.init = init;
|
|
1263
1267
|
|
|
1264
1268
|
/**
|
|
1265
1269
|
* Create a new instance of the Cedarling application from archive bytes.
|
|
@@ -1281,79 +1285,80 @@ export function init(config) {
|
|
|
1281
1285
|
* @param {Uint8Array} archive_bytes
|
|
1282
1286
|
* @returns {Promise<Cedarling>}
|
|
1283
1287
|
*/
|
|
1284
|
-
|
|
1288
|
+
function init_from_archive_bytes(config, archive_bytes) {
|
|
1285
1289
|
const ret = wasm.init_from_archive_bytes(config, archive_bytes);
|
|
1286
1290
|
return ret;
|
|
1287
1291
|
}
|
|
1292
|
+
exports.init_from_archive_bytes = init_from_archive_bytes;
|
|
1288
1293
|
function __wbg_get_imports() {
|
|
1289
1294
|
const import0 = {
|
|
1290
1295
|
__proto__: null,
|
|
1291
|
-
|
|
1296
|
+
__wbg_Error_3639a60ed15f87e7: function(arg0, arg1) {
|
|
1292
1297
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1293
1298
|
return ret;
|
|
1294
1299
|
},
|
|
1295
|
-
|
|
1300
|
+
__wbg_Number_a3d737fd183f7dca: function(arg0) {
|
|
1296
1301
|
const ret = Number(arg0);
|
|
1297
1302
|
return ret;
|
|
1298
1303
|
},
|
|
1299
|
-
|
|
1304
|
+
__wbg___wbindgen_bigint_get_as_i64_3af6d4ca77193a4b: function(arg0, arg1) {
|
|
1300
1305
|
const v = arg1;
|
|
1301
1306
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1302
1307
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1303
1308
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1304
1309
|
},
|
|
1305
|
-
|
|
1310
|
+
__wbg___wbindgen_boolean_get_c3dd5c39f1b5a12b: function(arg0) {
|
|
1306
1311
|
const v = arg0;
|
|
1307
1312
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
1308
1313
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1309
1314
|
},
|
|
1310
|
-
|
|
1315
|
+
__wbg___wbindgen_debug_string_07cb72cfcc952e2b: function(arg0, arg1) {
|
|
1311
1316
|
const ret = debugString(arg1);
|
|
1312
1317
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1313
1318
|
const len1 = WASM_VECTOR_LEN;
|
|
1314
1319
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1315
1320
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1316
1321
|
},
|
|
1317
|
-
|
|
1322
|
+
__wbg___wbindgen_in_2617fa76397620d3: function(arg0, arg1) {
|
|
1318
1323
|
const ret = arg0 in arg1;
|
|
1319
1324
|
return ret;
|
|
1320
1325
|
},
|
|
1321
|
-
|
|
1326
|
+
__wbg___wbindgen_is_bigint_d6a8167cac401b95: function(arg0) {
|
|
1322
1327
|
const ret = typeof(arg0) === 'bigint';
|
|
1323
1328
|
return ret;
|
|
1324
1329
|
},
|
|
1325
|
-
|
|
1330
|
+
__wbg___wbindgen_is_function_2f0fd7ceb86e64c5: function(arg0) {
|
|
1326
1331
|
const ret = typeof(arg0) === 'function';
|
|
1327
1332
|
return ret;
|
|
1328
1333
|
},
|
|
1329
|
-
|
|
1334
|
+
__wbg___wbindgen_is_object_5b22ff2418063a9c: function(arg0) {
|
|
1330
1335
|
const val = arg0;
|
|
1331
1336
|
const ret = typeof(val) === 'object' && val !== null;
|
|
1332
1337
|
return ret;
|
|
1333
1338
|
},
|
|
1334
|
-
|
|
1339
|
+
__wbg___wbindgen_is_string_eddc07a3efad52e6: function(arg0) {
|
|
1335
1340
|
const ret = typeof(arg0) === 'string';
|
|
1336
1341
|
return ret;
|
|
1337
1342
|
},
|
|
1338
|
-
|
|
1343
|
+
__wbg___wbindgen_is_undefined_244a92c34d3b6ec0: function(arg0) {
|
|
1339
1344
|
const ret = arg0 === undefined;
|
|
1340
1345
|
return ret;
|
|
1341
1346
|
},
|
|
1342
|
-
|
|
1347
|
+
__wbg___wbindgen_jsval_eq_403eaa3610500a25: function(arg0, arg1) {
|
|
1343
1348
|
const ret = arg0 === arg1;
|
|
1344
1349
|
return ret;
|
|
1345
1350
|
},
|
|
1346
|
-
|
|
1351
|
+
__wbg___wbindgen_jsval_loose_eq_1978f1e77b4bce62: function(arg0, arg1) {
|
|
1347
1352
|
const ret = arg0 == arg1;
|
|
1348
1353
|
return ret;
|
|
1349
1354
|
},
|
|
1350
|
-
|
|
1355
|
+
__wbg___wbindgen_number_get_dd6d69a6079f26f1: function(arg0, arg1) {
|
|
1351
1356
|
const obj = arg1;
|
|
1352
1357
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1353
1358
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1354
1359
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1355
1360
|
},
|
|
1356
|
-
|
|
1361
|
+
__wbg___wbindgen_string_get_965592073e5d848c: function(arg0, arg1) {
|
|
1357
1362
|
const obj = arg1;
|
|
1358
1363
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1359
1364
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1361,22 +1366,22 @@ function __wbg_get_imports() {
|
|
|
1361
1366
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1362
1367
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1363
1368
|
},
|
|
1364
|
-
|
|
1369
|
+
__wbg___wbindgen_throw_9c75d47bf9e7731e: function(arg0, arg1) {
|
|
1365
1370
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1366
1371
|
},
|
|
1367
|
-
|
|
1372
|
+
__wbg__wbg_cb_unref_158e43e869788cdc: function(arg0) {
|
|
1368
1373
|
arg0._wbg_cb_unref();
|
|
1369
1374
|
},
|
|
1370
|
-
|
|
1371
|
-
arg0.abort();
|
|
1372
|
-
},
|
|
1373
|
-
__wbg_abort_d53712380a54cc81: function(arg0, arg1) {
|
|
1375
|
+
__wbg_abort_43913e33ecb83d0d: function(arg0, arg1) {
|
|
1374
1376
|
arg0.abort(arg1);
|
|
1375
1377
|
},
|
|
1376
|
-
|
|
1378
|
+
__wbg_abort_87eb7f23cf4b73d1: function(arg0) {
|
|
1379
|
+
arg0.abort();
|
|
1380
|
+
},
|
|
1381
|
+
__wbg_append_8df396311184f750: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1377
1382
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1378
1383
|
}, arguments); },
|
|
1379
|
-
|
|
1384
|
+
__wbg_arrayBuffer_87e3ac06d961f7a0: function() { return handleError(function (arg0) {
|
|
1380
1385
|
const ret = arg0.arrayBuffer();
|
|
1381
1386
|
return ret;
|
|
1382
1387
|
}, arguments); },
|
|
@@ -1384,39 +1389,39 @@ function __wbg_get_imports() {
|
|
|
1384
1389
|
const ret = AuthorizeResult.__wrap(arg0);
|
|
1385
1390
|
return ret;
|
|
1386
1391
|
},
|
|
1387
|
-
|
|
1392
|
+
__wbg_body_6929614c20dfa7b0: function(arg0) {
|
|
1388
1393
|
const ret = arg0.body;
|
|
1389
1394
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1390
1395
|
},
|
|
1391
|
-
|
|
1396
|
+
__wbg_buffer_9ee17426fe5a5d65: function(arg0) {
|
|
1392
1397
|
const ret = arg0.buffer;
|
|
1393
1398
|
return ret;
|
|
1394
1399
|
},
|
|
1395
|
-
|
|
1400
|
+
__wbg_byobRequest_178b64c09a0bee03: function(arg0) {
|
|
1396
1401
|
const ret = arg0.byobRequest;
|
|
1397
1402
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1398
1403
|
},
|
|
1399
|
-
|
|
1404
|
+
__wbg_byteLength_1f57c71e64ee0180: function(arg0) {
|
|
1400
1405
|
const ret = arg0.byteLength;
|
|
1401
1406
|
return ret;
|
|
1402
1407
|
},
|
|
1403
|
-
|
|
1408
|
+
__wbg_byteOffset_648d0af273024f3d: function(arg0) {
|
|
1404
1409
|
const ret = arg0.byteOffset;
|
|
1405
1410
|
return ret;
|
|
1406
1411
|
},
|
|
1407
|
-
|
|
1408
|
-
const ret = arg0.call(arg1);
|
|
1412
|
+
__wbg_call_a41d6421b30a32c5: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1413
|
+
const ret = arg0.call(arg1, arg2);
|
|
1409
1414
|
return ret;
|
|
1410
1415
|
}, arguments); },
|
|
1411
|
-
|
|
1412
|
-
const ret = arg0.call(arg1
|
|
1416
|
+
__wbg_call_add9e5a76382e668: function() { return handleError(function (arg0, arg1) {
|
|
1417
|
+
const ret = arg0.call(arg1);
|
|
1413
1418
|
return ret;
|
|
1414
1419
|
}, arguments); },
|
|
1415
|
-
|
|
1420
|
+
__wbg_cancel_f97a3ee5a8b30eef: function(arg0) {
|
|
1416
1421
|
const ret = arg0.cancel();
|
|
1417
1422
|
return ret;
|
|
1418
1423
|
},
|
|
1419
|
-
|
|
1424
|
+
__wbg_catch_f939343cb181958c: function(arg0, arg1) {
|
|
1420
1425
|
const ret = arg0.catch(arg1);
|
|
1421
1426
|
return ret;
|
|
1422
1427
|
},
|
|
@@ -1436,10 +1441,10 @@ function __wbg_get_imports() {
|
|
|
1436
1441
|
const ret = clearTimeout(arg0);
|
|
1437
1442
|
return ret;
|
|
1438
1443
|
},
|
|
1439
|
-
|
|
1444
|
+
__wbg_close_63e009c5a75f5597: function() { return handleError(function (arg0) {
|
|
1440
1445
|
arg0.close();
|
|
1441
1446
|
}, arguments); },
|
|
1442
|
-
|
|
1447
|
+
__wbg_close_de471367367aa5cb: function() { return handleError(function (arg0) {
|
|
1443
1448
|
arg0.close();
|
|
1444
1449
|
}, arguments); },
|
|
1445
1450
|
__wbg_crypto_38df2bab126b63dc: function(arg0) {
|
|
@@ -1450,48 +1455,48 @@ function __wbg_get_imports() {
|
|
|
1450
1455
|
const ret = DataEntry.__wrap(arg0);
|
|
1451
1456
|
return ret;
|
|
1452
1457
|
},
|
|
1453
|
-
|
|
1458
|
+
__wbg_debug_91f8b6a4b6140f7f: function(arg0) {
|
|
1454
1459
|
console.debug(...arg0);
|
|
1455
1460
|
},
|
|
1456
|
-
|
|
1461
|
+
__wbg_done_b1afd6201ac045e0: function(arg0) {
|
|
1457
1462
|
const ret = arg0.done;
|
|
1458
1463
|
return ret;
|
|
1459
1464
|
},
|
|
1460
|
-
|
|
1465
|
+
__wbg_enqueue_6c7cd543c0f3828e: function() { return handleError(function (arg0, arg1) {
|
|
1461
1466
|
arg0.enqueue(arg1);
|
|
1462
1467
|
}, arguments); },
|
|
1463
|
-
|
|
1468
|
+
__wbg_entries_755901ed0f6525df: function(arg0) {
|
|
1464
1469
|
const ret = arg0.entries();
|
|
1465
1470
|
return ret;
|
|
1466
1471
|
},
|
|
1467
|
-
|
|
1472
|
+
__wbg_entries_83f42485034accab: function(arg0) {
|
|
1468
1473
|
const ret = arg0.entries();
|
|
1469
1474
|
return ret;
|
|
1470
1475
|
},
|
|
1471
|
-
|
|
1476
|
+
__wbg_entries_bb9843ba73dc70d6: function(arg0) {
|
|
1472
1477
|
const ret = Object.entries(arg0);
|
|
1473
1478
|
return ret;
|
|
1474
1479
|
},
|
|
1475
|
-
|
|
1480
|
+
__wbg_error_8465153f675136ab: function(arg0) {
|
|
1476
1481
|
console.error(...arg0);
|
|
1477
1482
|
},
|
|
1478
|
-
|
|
1483
|
+
__wbg_fetch_1a030943aa8e0c38: function(arg0, arg1) {
|
|
1479
1484
|
const ret = arg0.fetch(arg1);
|
|
1480
1485
|
return ret;
|
|
1481
1486
|
},
|
|
1482
|
-
__wbg_fetch_28a97b69c20078bb: function(arg0, arg1, arg2) {
|
|
1483
|
-
const ret = arg0.fetch(arg1, arg2);
|
|
1484
|
-
return ret;
|
|
1485
|
-
},
|
|
1486
1487
|
__wbg_fetch_5e2e4a3d60c8d1d3: function(arg0, arg1) {
|
|
1487
1488
|
const ret = fetch(arg0, arg1);
|
|
1488
1489
|
return ret;
|
|
1489
1490
|
},
|
|
1491
|
+
__wbg_fetch_a851d393d6b4492c: function(arg0, arg1, arg2) {
|
|
1492
|
+
const ret = arg0.fetch(arg1, arg2);
|
|
1493
|
+
return ret;
|
|
1494
|
+
},
|
|
1490
1495
|
__wbg_fetch_c6486a0142348bc8: function(arg0) {
|
|
1491
1496
|
const ret = fetch(arg0);
|
|
1492
1497
|
return ret;
|
|
1493
1498
|
},
|
|
1494
|
-
|
|
1499
|
+
__wbg_fromEntries_e9b52c3928464f81: function() { return handleError(function (arg0) {
|
|
1495
1500
|
const ret = Object.fromEntries(arg0);
|
|
1496
1501
|
return ret;
|
|
1497
1502
|
}, arguments); },
|
|
@@ -1505,35 +1510,35 @@ function __wbg_get_imports() {
|
|
|
1505
1510
|
const ret = arg0.getReader();
|
|
1506
1511
|
return ret;
|
|
1507
1512
|
}, arguments); },
|
|
1508
|
-
|
|
1513
|
+
__wbg_getTime_e599bee315e19eba: function(arg0) {
|
|
1509
1514
|
const ret = arg0.getTime();
|
|
1510
1515
|
return ret;
|
|
1511
1516
|
},
|
|
1512
|
-
|
|
1517
|
+
__wbg_getTimezoneOffset_d843b3968046e734: function(arg0) {
|
|
1513
1518
|
const ret = arg0.getTimezoneOffset();
|
|
1514
1519
|
return ret;
|
|
1515
1520
|
},
|
|
1516
|
-
|
|
1521
|
+
__wbg_get_41476db20fef99a8: function() { return handleError(function (arg0, arg1) {
|
|
1517
1522
|
const ret = Reflect.get(arg0, arg1);
|
|
1518
1523
|
return ret;
|
|
1519
1524
|
}, arguments); },
|
|
1520
|
-
|
|
1521
|
-
const ret = Reflect.get(arg0, arg1);
|
|
1522
|
-
return ret;
|
|
1523
|
-
}, arguments); },
|
|
1524
|
-
__wbg_get_8360291721e2339f: function(arg0, arg1) {
|
|
1525
|
+
__wbg_get_652f640b3b0b6e3e: function(arg0, arg1) {
|
|
1525
1526
|
const ret = arg0[arg1 >>> 0];
|
|
1526
1527
|
return ret;
|
|
1527
1528
|
},
|
|
1528
|
-
|
|
1529
|
+
__wbg_get_9cfea9b7bbf12a15: function() { return handleError(function (arg0, arg1) {
|
|
1530
|
+
const ret = Reflect.get(arg0, arg1);
|
|
1531
|
+
return ret;
|
|
1532
|
+
}, arguments); },
|
|
1533
|
+
__wbg_get_done_2088079830fb242e: function(arg0) {
|
|
1529
1534
|
const ret = arg0.done;
|
|
1530
1535
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1531
1536
|
},
|
|
1532
|
-
|
|
1537
|
+
__wbg_get_unchecked_be562b1421656321: function(arg0, arg1) {
|
|
1533
1538
|
const ret = arg0[arg1 >>> 0];
|
|
1534
1539
|
return ret;
|
|
1535
1540
|
},
|
|
1536
|
-
|
|
1541
|
+
__wbg_get_value_52f4b39f58a812ed: function(arg0) {
|
|
1537
1542
|
const ret = arg0.value;
|
|
1538
1543
|
return ret;
|
|
1539
1544
|
},
|
|
@@ -1541,18 +1546,18 @@ function __wbg_get_imports() {
|
|
|
1541
1546
|
const ret = arg0[arg1];
|
|
1542
1547
|
return ret;
|
|
1543
1548
|
},
|
|
1544
|
-
|
|
1549
|
+
__wbg_has_3a6f31f647e0ba22: function() { return handleError(function (arg0, arg1) {
|
|
1545
1550
|
const ret = Reflect.has(arg0, arg1);
|
|
1546
1551
|
return ret;
|
|
1547
1552
|
}, arguments); },
|
|
1548
|
-
|
|
1553
|
+
__wbg_headers_de17f740bce997ae: function(arg0) {
|
|
1549
1554
|
const ret = arg0.headers;
|
|
1550
1555
|
return ret;
|
|
1551
1556
|
},
|
|
1552
|
-
|
|
1557
|
+
__wbg_info_b2079a08fe52c7ff: function(arg0) {
|
|
1553
1558
|
console.info(...arg0);
|
|
1554
1559
|
},
|
|
1555
|
-
|
|
1560
|
+
__wbg_instanceof_ArrayBuffer_eab9f28fbec23477: function(arg0) {
|
|
1556
1561
|
let result;
|
|
1557
1562
|
try {
|
|
1558
1563
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -1562,7 +1567,7 @@ function __wbg_get_imports() {
|
|
|
1562
1567
|
const ret = result;
|
|
1563
1568
|
return ret;
|
|
1564
1569
|
},
|
|
1565
|
-
|
|
1570
|
+
__wbg_instanceof_Array_383d7c7d1e205030: function(arg0) {
|
|
1566
1571
|
let result;
|
|
1567
1572
|
try {
|
|
1568
1573
|
result = arg0 instanceof Array;
|
|
@@ -1572,7 +1577,7 @@ function __wbg_get_imports() {
|
|
|
1572
1577
|
const ret = result;
|
|
1573
1578
|
return ret;
|
|
1574
1579
|
},
|
|
1575
|
-
|
|
1580
|
+
__wbg_instanceof_Map_10d4edf60fcf9327: function(arg0) {
|
|
1576
1581
|
let result;
|
|
1577
1582
|
try {
|
|
1578
1583
|
result = arg0 instanceof Map;
|
|
@@ -1582,7 +1587,7 @@ function __wbg_get_imports() {
|
|
|
1582
1587
|
const ret = result;
|
|
1583
1588
|
return ret;
|
|
1584
1589
|
},
|
|
1585
|
-
|
|
1590
|
+
__wbg_instanceof_Response_370b83aa6c17e88a: function(arg0) {
|
|
1586
1591
|
let result;
|
|
1587
1592
|
try {
|
|
1588
1593
|
result = arg0 instanceof Response;
|
|
@@ -1592,7 +1597,7 @@ function __wbg_get_imports() {
|
|
|
1592
1597
|
const ret = result;
|
|
1593
1598
|
return ret;
|
|
1594
1599
|
},
|
|
1595
|
-
|
|
1600
|
+
__wbg_instanceof_Uint8Array_57d77acd50e4c44d: function(arg0) {
|
|
1596
1601
|
let result;
|
|
1597
1602
|
try {
|
|
1598
1603
|
result = arg0 instanceof Uint8Array;
|
|
@@ -1602,31 +1607,31 @@ function __wbg_get_imports() {
|
|
|
1602
1607
|
const ret = result;
|
|
1603
1608
|
return ret;
|
|
1604
1609
|
},
|
|
1605
|
-
|
|
1610
|
+
__wbg_isArray_c6c6ef8308995bcf: function(arg0) {
|
|
1606
1611
|
const ret = Array.isArray(arg0);
|
|
1607
1612
|
return ret;
|
|
1608
1613
|
},
|
|
1609
|
-
|
|
1614
|
+
__wbg_isSafeInteger_3c56c421a5b4cce4: function(arg0) {
|
|
1610
1615
|
const ret = Number.isSafeInteger(arg0);
|
|
1611
1616
|
return ret;
|
|
1612
1617
|
},
|
|
1613
|
-
|
|
1618
|
+
__wbg_iterator_9d68985a1d096fc2: function() {
|
|
1614
1619
|
const ret = Symbol.iterator;
|
|
1615
1620
|
return ret;
|
|
1616
1621
|
},
|
|
1617
|
-
|
|
1622
|
+
__wbg_keys_ee6179c15466c3ed: function(arg0) {
|
|
1618
1623
|
const ret = Object.keys(arg0);
|
|
1619
1624
|
return ret;
|
|
1620
1625
|
},
|
|
1621
|
-
|
|
1626
|
+
__wbg_length_0a6ce016dc1460b0: function(arg0) {
|
|
1622
1627
|
const ret = arg0.length;
|
|
1623
1628
|
return ret;
|
|
1624
1629
|
},
|
|
1625
|
-
|
|
1630
|
+
__wbg_length_ba3c032602efe310: function(arg0) {
|
|
1626
1631
|
const ret = arg0.length;
|
|
1627
1632
|
return ret;
|
|
1628
1633
|
},
|
|
1629
|
-
|
|
1634
|
+
__wbg_log_c764d214ec8dcf7f: function(arg0) {
|
|
1630
1635
|
console.log(...arg0);
|
|
1631
1636
|
},
|
|
1632
1637
|
__wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
|
|
@@ -1637,54 +1642,54 @@ function __wbg_get_imports() {
|
|
|
1637
1642
|
const ret = MultiIssuerAuthorizeResult.__wrap(arg0);
|
|
1638
1643
|
return ret;
|
|
1639
1644
|
},
|
|
1640
|
-
|
|
1645
|
+
__wbg_new_0_e486ec9936f7edbf: function() {
|
|
1641
1646
|
const ret = new Date();
|
|
1642
1647
|
return ret;
|
|
1643
1648
|
},
|
|
1644
|
-
|
|
1645
|
-
const ret = new Uint8Array(arg0);
|
|
1646
|
-
return ret;
|
|
1647
|
-
},
|
|
1648
|
-
__wbg_new_15a4889b4b90734d: function() { return handleError(function () {
|
|
1649
|
+
__wbg_new_18865c63fa645c6f: function() { return handleError(function () {
|
|
1649
1650
|
const ret = new Headers();
|
|
1650
1651
|
return ret;
|
|
1651
1652
|
}, arguments); },
|
|
1652
|
-
|
|
1653
|
-
const ret = new
|
|
1654
|
-
return ret;
|
|
1655
|
-
},
|
|
1656
|
-
__wbg_new_5e360d2ff7b9e1c3: function(arg0, arg1) {
|
|
1657
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1653
|
+
__wbg_new_2fad8ca02fd00684: function() {
|
|
1654
|
+
const ret = new Object();
|
|
1658
1655
|
return ret;
|
|
1659
1656
|
},
|
|
1660
|
-
|
|
1657
|
+
__wbg_new_3baa8d9866155c79: function() {
|
|
1661
1658
|
const ret = new Array();
|
|
1662
1659
|
return ret;
|
|
1663
1660
|
},
|
|
1664
|
-
|
|
1665
|
-
const ret = new
|
|
1661
|
+
__wbg_new_46ae4e4ff2a07a64: function() {
|
|
1662
|
+
const ret = new Map();
|
|
1666
1663
|
return ret;
|
|
1667
1664
|
},
|
|
1668
|
-
|
|
1665
|
+
__wbg_new_51ff470dc2f61e27: function() { return handleError(function () {
|
|
1669
1666
|
const ret = new AbortController();
|
|
1670
1667
|
return ret;
|
|
1671
1668
|
}, arguments); },
|
|
1672
|
-
|
|
1673
|
-
const ret = new
|
|
1669
|
+
__wbg_new_8454eee672b2ba6e: function(arg0) {
|
|
1670
|
+
const ret = new Uint8Array(arg0);
|
|
1671
|
+
return ret;
|
|
1672
|
+
},
|
|
1673
|
+
__wbg_new_b47e026ba742fe65: function(arg0) {
|
|
1674
|
+
const ret = new Date(arg0);
|
|
1675
|
+
return ret;
|
|
1676
|
+
},
|
|
1677
|
+
__wbg_new_c9ea13ea803a692e: function(arg0, arg1) {
|
|
1678
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1674
1679
|
return ret;
|
|
1675
1680
|
},
|
|
1676
|
-
|
|
1681
|
+
__wbg_new_from_slice_5a173c243af2e823: function(arg0, arg1) {
|
|
1677
1682
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1678
1683
|
return ret;
|
|
1679
1684
|
},
|
|
1680
|
-
|
|
1685
|
+
__wbg_new_typed_1137602701dc87d4: function(arg0, arg1) {
|
|
1681
1686
|
try {
|
|
1682
1687
|
var state0 = {a: arg0, b: arg1};
|
|
1683
1688
|
var cb0 = (arg0, arg1) => {
|
|
1684
1689
|
const a = state0.a;
|
|
1685
1690
|
state0.a = 0;
|
|
1686
1691
|
try {
|
|
1687
|
-
return
|
|
1692
|
+
return wasm_bindgen__convert__closures_____invoke__h1aa6bfccca23b638(a, state0.b, arg0, arg1);
|
|
1688
1693
|
} finally {
|
|
1689
1694
|
state0.a = a;
|
|
1690
1695
|
}
|
|
@@ -1695,26 +1700,26 @@ function __wbg_get_imports() {
|
|
|
1695
1700
|
state0.a = 0;
|
|
1696
1701
|
}
|
|
1697
1702
|
},
|
|
1698
|
-
|
|
1703
|
+
__wbg_new_with_byte_offset_and_length_643e5e9e2fb6b1ad: function(arg0, arg1, arg2) {
|
|
1699
1704
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1700
1705
|
return ret;
|
|
1701
1706
|
},
|
|
1702
|
-
|
|
1707
|
+
__wbg_new_with_length_9011f5da794bf5d9: function(arg0) {
|
|
1703
1708
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1704
1709
|
return ret;
|
|
1705
1710
|
},
|
|
1706
|
-
|
|
1711
|
+
__wbg_new_with_str_and_init_da311e12114f4d1e: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1707
1712
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1708
1713
|
return ret;
|
|
1709
1714
|
}, arguments); },
|
|
1710
|
-
|
|
1711
|
-
const ret = arg0.next();
|
|
1712
|
-
return ret;
|
|
1713
|
-
}, arguments); },
|
|
1714
|
-
__wbg_next_7646edaa39458ef7: function(arg0) {
|
|
1715
|
+
__wbg_next_261c3c48c6e309a5: function(arg0) {
|
|
1715
1716
|
const ret = arg0.next;
|
|
1716
1717
|
return ret;
|
|
1717
1718
|
},
|
|
1719
|
+
__wbg_next_aacee310bcfe6461: function() { return handleError(function (arg0) {
|
|
1720
|
+
const ret = arg0.next();
|
|
1721
|
+
return ret;
|
|
1722
|
+
}, arguments); },
|
|
1718
1723
|
__wbg_node_84ea875411254db1: function(arg0) {
|
|
1719
1724
|
const ret = arg0.node;
|
|
1720
1725
|
return ret;
|
|
@@ -1727,39 +1732,39 @@ function __wbg_get_imports() {
|
|
|
1727
1732
|
const ret = arg0.process;
|
|
1728
1733
|
return ret;
|
|
1729
1734
|
},
|
|
1730
|
-
|
|
1735
|
+
__wbg_prototypesetcall_fd4050e806e1d519: function(arg0, arg1, arg2) {
|
|
1731
1736
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1732
1737
|
},
|
|
1733
|
-
|
|
1738
|
+
__wbg_push_60a5366c0bb22a7d: function(arg0, arg1) {
|
|
1734
1739
|
const ret = arg0.push(arg1);
|
|
1735
1740
|
return ret;
|
|
1736
1741
|
},
|
|
1737
|
-
|
|
1742
|
+
__wbg_queueMicrotask_40ac6ffc2848ba77: function(arg0) {
|
|
1738
1743
|
queueMicrotask(arg0);
|
|
1739
1744
|
},
|
|
1740
|
-
|
|
1745
|
+
__wbg_queueMicrotask_74d092439f6494c1: function(arg0) {
|
|
1741
1746
|
const ret = arg0.queueMicrotask;
|
|
1742
1747
|
return ret;
|
|
1743
1748
|
},
|
|
1744
1749
|
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
1745
1750
|
arg0.randomFillSync(arg1);
|
|
1746
1751
|
}, arguments); },
|
|
1747
|
-
|
|
1752
|
+
__wbg_read_ac2e4325f1799cbe: function(arg0) {
|
|
1748
1753
|
const ret = arg0.read();
|
|
1749
1754
|
return ret;
|
|
1750
1755
|
},
|
|
1751
|
-
|
|
1756
|
+
__wbg_releaseLock_9e0ebc0b5270a358: function(arg0) {
|
|
1752
1757
|
arg0.releaseLock();
|
|
1753
1758
|
},
|
|
1754
1759
|
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
1755
1760
|
const ret = module.require;
|
|
1756
1761
|
return ret;
|
|
1757
1762
|
}, arguments); },
|
|
1758
|
-
|
|
1763
|
+
__wbg_resolve_9feb5d906ca62419: function(arg0) {
|
|
1759
1764
|
const ret = Promise.resolve(arg0);
|
|
1760
1765
|
return ret;
|
|
1761
1766
|
},
|
|
1762
|
-
|
|
1767
|
+
__wbg_respond_e7e53102735b2ae2: function() { return handleError(function (arg0, arg1) {
|
|
1763
1768
|
arg0.respond(arg1 >>> 0);
|
|
1764
1769
|
}, arguments); },
|
|
1765
1770
|
__wbg_setTimeout_30be5552e4410378: function(arg0, arg1) {
|
|
@@ -1774,114 +1779,114 @@ function __wbg_get_imports() {
|
|
|
1774
1779
|
const ret = setTimeout(arg0, arg1);
|
|
1775
1780
|
return ret;
|
|
1776
1781
|
},
|
|
1777
|
-
|
|
1782
|
+
__wbg_set_5337f8ac82364a3f: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1778
1783
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1779
1784
|
return ret;
|
|
1780
1785
|
}, arguments); },
|
|
1781
|
-
|
|
1786
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1787
|
+
arg0[arg1] = arg2;
|
|
1788
|
+
},
|
|
1789
|
+
__wbg_set_82f7a370f604db70: function(arg0, arg1, arg2) {
|
|
1790
|
+
const ret = arg0.set(arg1, arg2);
|
|
1791
|
+
return ret;
|
|
1792
|
+
},
|
|
1793
|
+
__wbg_set_959f043b9152efeb: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1782
1794
|
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1783
1795
|
}, arguments); },
|
|
1784
|
-
|
|
1785
|
-
arg0[arg1 >>> 0] = arg2;
|
|
1786
|
-
},
|
|
1787
|
-
__wbg_set_3d484eb794afec82: function(arg0, arg1, arg2) {
|
|
1796
|
+
__wbg_set_b0d9dc239ecdb765: function(arg0, arg1, arg2) {
|
|
1788
1797
|
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1789
1798
|
},
|
|
1790
|
-
|
|
1791
|
-
arg0[arg1] = arg2;
|
|
1792
|
-
},
|
|
1793
|
-
__wbg_set_body_be11680f34217f75: function(arg0, arg1) {
|
|
1799
|
+
__wbg_set_body_aaff4f5f9991f342: function(arg0, arg1) {
|
|
1794
1800
|
arg0.body = arg1;
|
|
1795
1801
|
},
|
|
1796
|
-
|
|
1802
|
+
__wbg_set_cache_d1f2b7b4dfa39317: function(arg0, arg1) {
|
|
1797
1803
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1798
1804
|
},
|
|
1799
|
-
|
|
1805
|
+
__wbg_set_credentials_f31e4d30b974ce14: function(arg0, arg1) {
|
|
1800
1806
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1801
1807
|
},
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
return ret;
|
|
1808
|
+
__wbg_set_f614f6a0608d1d1d: function(arg0, arg1, arg2) {
|
|
1809
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1805
1810
|
},
|
|
1806
|
-
|
|
1811
|
+
__wbg_set_headers_ae96049ea40e9eef: function(arg0, arg1) {
|
|
1807
1812
|
arg0.headers = arg1;
|
|
1808
1813
|
},
|
|
1809
|
-
|
|
1814
|
+
__wbg_set_integrity_e20206ae8869d3fd: function(arg0, arg1, arg2) {
|
|
1810
1815
|
arg0.integrity = getStringFromWasm0(arg1, arg2);
|
|
1811
1816
|
},
|
|
1812
|
-
|
|
1817
|
+
__wbg_set_method_0eea8a5597775fa1: function(arg0, arg1, arg2) {
|
|
1813
1818
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1814
1819
|
},
|
|
1815
|
-
|
|
1820
|
+
__wbg_set_mode_9fe47bff60a1580d: function(arg0, arg1) {
|
|
1816
1821
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1817
1822
|
},
|
|
1818
|
-
|
|
1823
|
+
__wbg_set_redirect_d59447760eb3129d: function(arg0, arg1) {
|
|
1819
1824
|
arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
|
|
1820
1825
|
},
|
|
1821
|
-
|
|
1826
|
+
__wbg_set_referrer_d0e5dc091bbc9f75: function(arg0, arg1, arg2) {
|
|
1822
1827
|
arg0.referrer = getStringFromWasm0(arg1, arg2);
|
|
1823
1828
|
},
|
|
1824
|
-
|
|
1829
|
+
__wbg_set_referrer_policy_5afdd37afd73c769: function(arg0, arg1) {
|
|
1825
1830
|
arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
|
|
1826
1831
|
},
|
|
1827
|
-
|
|
1832
|
+
__wbg_set_signal_8c5cf4c3b27bd8a8: function(arg0, arg1) {
|
|
1828
1833
|
arg0.signal = arg1;
|
|
1829
1834
|
},
|
|
1830
|
-
|
|
1835
|
+
__wbg_signal_4643ce883b92b553: function(arg0) {
|
|
1831
1836
|
const ret = arg0.signal;
|
|
1832
1837
|
return ret;
|
|
1833
1838
|
},
|
|
1834
|
-
|
|
1835
|
-
const ret = typeof
|
|
1839
|
+
__wbg_static_accessor_GLOBAL_THIS_1c7f1bd6c6941fdb: function() {
|
|
1840
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1836
1841
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1837
1842
|
},
|
|
1838
|
-
|
|
1839
|
-
const ret = typeof
|
|
1843
|
+
__wbg_static_accessor_GLOBAL_e039bc914f83e74e: function() {
|
|
1844
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
1840
1845
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1841
1846
|
},
|
|
1842
|
-
|
|
1847
|
+
__wbg_static_accessor_SELF_8bf8c48c28420ad5: function() {
|
|
1843
1848
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1844
1849
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1845
1850
|
},
|
|
1846
|
-
|
|
1851
|
+
__wbg_static_accessor_WINDOW_6aeee9b51652ee0f: function() {
|
|
1847
1852
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1848
1853
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1849
1854
|
},
|
|
1850
|
-
|
|
1855
|
+
__wbg_status_157e67ab07d01f8a: function(arg0) {
|
|
1851
1856
|
const ret = arg0.status;
|
|
1852
1857
|
return ret;
|
|
1853
1858
|
},
|
|
1854
|
-
|
|
1859
|
+
__wbg_subarray_fbe3cef290e1fa43: function(arg0, arg1, arg2) {
|
|
1855
1860
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1856
1861
|
return ret;
|
|
1857
1862
|
},
|
|
1858
|
-
|
|
1863
|
+
__wbg_text_de416916b5c06490: function() { return handleError(function (arg0) {
|
|
1859
1864
|
const ret = arg0.text();
|
|
1860
1865
|
return ret;
|
|
1861
1866
|
}, arguments); },
|
|
1862
|
-
|
|
1863
|
-
const ret = arg0.then(arg1
|
|
1867
|
+
__wbg_then_20a157d939b514f5: function(arg0, arg1) {
|
|
1868
|
+
const ret = arg0.then(arg1);
|
|
1864
1869
|
return ret;
|
|
1865
1870
|
},
|
|
1866
|
-
|
|
1867
|
-
const ret = arg0.then(arg1);
|
|
1871
|
+
__wbg_then_5ef9b762bc91555c: function(arg0, arg1, arg2) {
|
|
1872
|
+
const ret = arg0.then(arg1, arg2);
|
|
1868
1873
|
return ret;
|
|
1869
1874
|
},
|
|
1870
|
-
|
|
1875
|
+
__wbg_toString_9ae74d2321992740: function(arg0) {
|
|
1871
1876
|
const ret = arg0.toString();
|
|
1872
1877
|
return ret;
|
|
1873
1878
|
},
|
|
1874
|
-
|
|
1879
|
+
__wbg_trace_0f27806f6c520c74: function(arg0) {
|
|
1875
1880
|
console.trace(...arg0);
|
|
1876
1881
|
},
|
|
1877
|
-
|
|
1882
|
+
__wbg_url_a0e994e7d0317efc: function(arg0, arg1) {
|
|
1878
1883
|
const ret = arg1.url;
|
|
1879
1884
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1880
1885
|
const len1 = WASM_VECTOR_LEN;
|
|
1881
1886
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1882
1887
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1883
1888
|
},
|
|
1884
|
-
|
|
1889
|
+
__wbg_value_f852716acdeb3e82: function(arg0) {
|
|
1885
1890
|
const ret = arg0.value;
|
|
1886
1891
|
return ret;
|
|
1887
1892
|
},
|
|
@@ -1889,36 +1894,36 @@ function __wbg_get_imports() {
|
|
|
1889
1894
|
const ret = arg0.versions;
|
|
1890
1895
|
return ret;
|
|
1891
1896
|
},
|
|
1892
|
-
|
|
1897
|
+
__wbg_view_16bd97d49793e1a9: function(arg0) {
|
|
1893
1898
|
const ret = arg0.view;
|
|
1894
1899
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1895
1900
|
},
|
|
1896
|
-
|
|
1901
|
+
__wbg_warn_eb956ecd3c97a450: function(arg0) {
|
|
1897
1902
|
console.warn(...arg0);
|
|
1898
1903
|
},
|
|
1899
1904
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1900
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1901
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1905
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2195, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1906
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h122aa852e025a273);
|
|
1902
1907
|
return ret;
|
|
1903
1908
|
},
|
|
1904
1909
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1905
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1906
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1910
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 630, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1911
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hd100e35fa7d3225c);
|
|
1907
1912
|
return ret;
|
|
1908
1913
|
},
|
|
1909
1914
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1910
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1911
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1915
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1916
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h461784cf6dfc2afa);
|
|
1912
1917
|
return ret;
|
|
1913
1918
|
},
|
|
1914
1919
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1915
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1916
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1920
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 586, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1921
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h057874c537728a90);
|
|
1917
1922
|
return ret;
|
|
1918
1923
|
},
|
|
1919
1924
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1920
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1921
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1925
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 744, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1926
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hc5f2b2e319a50b97);
|
|
1922
1927
|
return ret;
|
|
1923
1928
|
},
|
|
1924
1929
|
__wbindgen_cast_0000000000000006: function(arg0) {
|
|
@@ -1962,31 +1967,31 @@ function __wbg_get_imports() {
|
|
|
1962
1967
|
};
|
|
1963
1968
|
}
|
|
1964
1969
|
|
|
1965
|
-
function
|
|
1966
|
-
wasm.
|
|
1970
|
+
function wasm_bindgen__convert__closures_____invoke__h461784cf6dfc2afa(arg0, arg1) {
|
|
1971
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h461784cf6dfc2afa(arg0, arg1);
|
|
1967
1972
|
}
|
|
1968
1973
|
|
|
1969
|
-
function
|
|
1970
|
-
wasm.
|
|
1974
|
+
function wasm_bindgen__convert__closures_____invoke__h057874c537728a90(arg0, arg1) {
|
|
1975
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h057874c537728a90(arg0, arg1);
|
|
1971
1976
|
}
|
|
1972
1977
|
|
|
1973
|
-
function
|
|
1974
|
-
wasm.
|
|
1978
|
+
function wasm_bindgen__convert__closures_____invoke__hc5f2b2e319a50b97(arg0, arg1) {
|
|
1979
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hc5f2b2e319a50b97(arg0, arg1);
|
|
1975
1980
|
}
|
|
1976
1981
|
|
|
1977
|
-
function
|
|
1978
|
-
wasm.
|
|
1982
|
+
function wasm_bindgen__convert__closures_____invoke__hd100e35fa7d3225c(arg0, arg1, arg2) {
|
|
1983
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hd100e35fa7d3225c(arg0, arg1, arg2);
|
|
1979
1984
|
}
|
|
1980
1985
|
|
|
1981
|
-
function
|
|
1982
|
-
const ret = wasm.
|
|
1986
|
+
function wasm_bindgen__convert__closures_____invoke__h122aa852e025a273(arg0, arg1, arg2) {
|
|
1987
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h122aa852e025a273(arg0, arg1, arg2);
|
|
1983
1988
|
if (ret[1]) {
|
|
1984
1989
|
throw takeFromExternrefTable0(ret[0]);
|
|
1985
1990
|
}
|
|
1986
1991
|
}
|
|
1987
1992
|
|
|
1988
|
-
function
|
|
1989
|
-
wasm.
|
|
1993
|
+
function wasm_bindgen__convert__closures_____invoke__h1aa6bfccca23b638(arg0, arg1, arg2, arg3) {
|
|
1994
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1aa6bfccca23b638(arg0, arg1, arg2, arg3);
|
|
1990
1995
|
}
|
|
1991
1996
|
|
|
1992
1997
|
|
|
@@ -2008,37 +2013,37 @@ const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate
|
|
|
2008
2013
|
const __wbindgen_enum_RequestRedirect = ["follow", "error", "manual"];
|
|
2009
2014
|
const AuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2010
2015
|
? { register: () => {}, unregister: () => {} }
|
|
2011
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_authorizeresult_free(ptr
|
|
2016
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_authorizeresult_free(ptr, 1));
|
|
2012
2017
|
const AuthorizeResultResponseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2013
2018
|
? { register: () => {}, unregister: () => {} }
|
|
2014
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_authorizeresultresponse_free(ptr
|
|
2019
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_authorizeresultresponse_free(ptr, 1));
|
|
2015
2020
|
const CedarlingFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2016
2021
|
? { register: () => {}, unregister: () => {} }
|
|
2017
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cedarling_free(ptr
|
|
2022
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cedarling_free(ptr, 1));
|
|
2018
2023
|
const DataEntryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2019
2024
|
? { register: () => {}, unregister: () => {} }
|
|
2020
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_dataentry_free(ptr
|
|
2025
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_dataentry_free(ptr, 1));
|
|
2021
2026
|
const DataStoreStatsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2022
2027
|
? { register: () => {}, unregister: () => {} }
|
|
2023
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_datastorestats_free(ptr
|
|
2028
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_datastorestats_free(ptr, 1));
|
|
2024
2029
|
const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2025
2030
|
? { register: () => {}, unregister: () => {} }
|
|
2026
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_diagnostics_free(ptr
|
|
2031
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_diagnostics_free(ptr, 1));
|
|
2027
2032
|
const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2028
2033
|
? { register: () => {}, unregister: () => {} }
|
|
2029
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr
|
|
2034
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr, 1));
|
|
2030
2035
|
const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2031
2036
|
? { register: () => {}, unregister: () => {} }
|
|
2032
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr
|
|
2037
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr, 1));
|
|
2033
2038
|
const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2034
2039
|
? { register: () => {}, unregister: () => {} }
|
|
2035
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr
|
|
2040
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr, 1));
|
|
2036
2041
|
const MultiIssuerAuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2037
2042
|
? { register: () => {}, unregister: () => {} }
|
|
2038
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_multiissuerauthorizeresult_free(ptr
|
|
2043
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_multiissuerauthorizeresult_free(ptr, 1));
|
|
2039
2044
|
const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2040
2045
|
? { register: () => {}, unregister: () => {} }
|
|
2041
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_policyevaluationerror_free(ptr
|
|
2046
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_policyevaluationerror_free(ptr, 1));
|
|
2042
2047
|
|
|
2043
2048
|
function addToExternrefTable0(obj) {
|
|
2044
2049
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -2146,8 +2151,7 @@ function getDataViewMemory0() {
|
|
|
2146
2151
|
}
|
|
2147
2152
|
|
|
2148
2153
|
function getStringFromWasm0(ptr, len) {
|
|
2149
|
-
|
|
2150
|
-
return decodeText(ptr, len);
|
|
2154
|
+
return decodeText(ptr >>> 0, len);
|
|
2151
2155
|
}
|
|
2152
2156
|
|
|
2153
2157
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -2244,15 +2248,7 @@ function takeFromExternrefTable0(idx) {
|
|
|
2244
2248
|
|
|
2245
2249
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
2246
2250
|
cachedTextDecoder.decode();
|
|
2247
|
-
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
2248
|
-
let numBytesDecoded = 0;
|
|
2249
2251
|
function decodeText(ptr, len) {
|
|
2250
|
-
numBytesDecoded += len;
|
|
2251
|
-
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
2252
|
-
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
2253
|
-
cachedTextDecoder.decode();
|
|
2254
|
-
numBytesDecoded = len;
|
|
2255
|
-
}
|
|
2256
2252
|
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
2257
2253
|
}
|
|
2258
2254
|
|
|
@@ -2271,95 +2267,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
2271
2267
|
|
|
2272
2268
|
let WASM_VECTOR_LEN = 0;
|
|
2273
2269
|
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
wasm.__wbindgen_start();
|
|
2281
|
-
return wasm;
|
|
2282
|
-
}
|
|
2283
|
-
|
|
2284
|
-
async function __wbg_load(module, imports) {
|
|
2285
|
-
if (typeof Response === 'function' && module instanceof Response) {
|
|
2286
|
-
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
2287
|
-
try {
|
|
2288
|
-
return await WebAssembly.instantiateStreaming(module, imports);
|
|
2289
|
-
} catch (e) {
|
|
2290
|
-
const validResponse = module.ok && expectedResponseType(module.type);
|
|
2291
|
-
|
|
2292
|
-
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
2293
|
-
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
2294
|
-
|
|
2295
|
-
} else { throw e; }
|
|
2296
|
-
}
|
|
2297
|
-
}
|
|
2298
|
-
|
|
2299
|
-
const bytes = await module.arrayBuffer();
|
|
2300
|
-
return await WebAssembly.instantiate(bytes, imports);
|
|
2301
|
-
} else {
|
|
2302
|
-
const instance = await WebAssembly.instantiate(module, imports);
|
|
2303
|
-
|
|
2304
|
-
if (instance instanceof WebAssembly.Instance) {
|
|
2305
|
-
return { instance, module };
|
|
2306
|
-
} else {
|
|
2307
|
-
return instance;
|
|
2308
|
-
}
|
|
2309
|
-
}
|
|
2310
|
-
|
|
2311
|
-
function expectedResponseType(type) {
|
|
2312
|
-
switch (type) {
|
|
2313
|
-
case 'basic': case 'cors': case 'default': return true;
|
|
2314
|
-
}
|
|
2315
|
-
return false;
|
|
2316
|
-
}
|
|
2317
|
-
}
|
|
2318
|
-
|
|
2319
|
-
function initSync(module) {
|
|
2320
|
-
if (wasm !== undefined) return wasm;
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
if (module !== undefined) {
|
|
2324
|
-
if (Object.getPrototypeOf(module) === Object.prototype) {
|
|
2325
|
-
({module} = module)
|
|
2326
|
-
} else {
|
|
2327
|
-
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
2328
|
-
}
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
const imports = __wbg_get_imports();
|
|
2332
|
-
if (!(module instanceof WebAssembly.Module)) {
|
|
2333
|
-
module = new WebAssembly.Module(module);
|
|
2334
|
-
}
|
|
2335
|
-
const instance = new WebAssembly.Instance(module, imports);
|
|
2336
|
-
return __wbg_finalize_init(instance, module);
|
|
2337
|
-
}
|
|
2338
|
-
|
|
2339
|
-
async function __wbg_init(module_or_path) {
|
|
2340
|
-
if (wasm !== undefined) return wasm;
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
if (module_or_path !== undefined) {
|
|
2344
|
-
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
2345
|
-
({module_or_path} = module_or_path)
|
|
2346
|
-
} else {
|
|
2347
|
-
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
|
|
2348
|
-
}
|
|
2349
|
-
}
|
|
2350
|
-
|
|
2351
|
-
if (module_or_path === undefined) {
|
|
2352
|
-
module_or_path = new URL('cedarling_wasm_bg.wasm', import.meta.url);
|
|
2353
|
-
}
|
|
2354
|
-
const imports = __wbg_get_imports();
|
|
2355
|
-
|
|
2356
|
-
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
|
|
2357
|
-
module_or_path = fetch(module_or_path);
|
|
2358
|
-
}
|
|
2359
|
-
|
|
2360
|
-
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
2361
|
-
|
|
2362
|
-
return __wbg_finalize_init(instance, module);
|
|
2363
|
-
}
|
|
2364
|
-
|
|
2365
|
-
export { initSync, __wbg_init as default };
|
|
2270
|
+
const wasmPath = `${__dirname}/cedarling_wasm_bg.wasm`;
|
|
2271
|
+
const wasmBytes = require('fs').readFileSync(wasmPath);
|
|
2272
|
+
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
2273
|
+
let wasmInstance = new WebAssembly.Instance(wasmModule, __wbg_get_imports());
|
|
2274
|
+
let wasm = wasmInstance.exports;
|
|
2275
|
+
wasm.__wbindgen_start();
|