@janssenproject/cedarling_wasm 0.0.343-nodejs → 0.0.344-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/README.md +22 -0
- package/cedarling_wasm.d.ts +68 -0
- package/cedarling_wasm.js +279 -181
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -240,6 +240,15 @@ export class Cedarling {
|
|
|
240
240
|
* ```
|
|
241
241
|
*/
|
|
242
242
|
get_stats_ctx(): DataStoreStats;
|
|
243
|
+
/**
|
|
244
|
+
* Trusted issuer loading status helpers.
|
|
245
|
+
*/
|
|
246
|
+
is_trusted_issuer_loaded_by_name(issuer_id: string): boolean;
|
|
247
|
+
is_trusted_issuer_loaded_by_iss(iss_claim: string): boolean;
|
|
248
|
+
total_issuers(): number;
|
|
249
|
+
loaded_trusted_issuers_count(): number;
|
|
250
|
+
loaded_trusted_issuer_ids(): Array<string>;
|
|
251
|
+
failed_trusted_issuer_ids(): Array<string>;
|
|
243
252
|
}
|
|
244
253
|
|
|
245
254
|
/**
|
|
@@ -587,3 +596,16 @@ permit(
|
|
|
587
596
|
```
|
|
588
597
|
|
|
589
598
|
The data is injected into the evaluation context before policy evaluation, allowing policies to make decisions based on dynamically pushed data.
|
|
599
|
+
|
|
600
|
+
## Trusted Issuer Loading Info
|
|
601
|
+
|
|
602
|
+
When a policy store contains `trusted-issuers/` entries, you can inspect loading status:
|
|
603
|
+
|
|
604
|
+
```javascript
|
|
605
|
+
const loaded = cedarling.is_trusted_issuer_loaded_by_name("issuer_id");
|
|
606
|
+
const loadedByIss = cedarling.is_trusted_issuer_loaded_by_iss("https://issuer.example.org");
|
|
607
|
+
const total = cedarling.total_issuers();
|
|
608
|
+
const loadedCount = cedarling.loaded_trusted_issuers_count();
|
|
609
|
+
const loadedIds = cedarling.loaded_trusted_issuer_ids();
|
|
610
|
+
const failedIds = cedarling.failed_trusted_issuer_ids();
|
|
611
|
+
```
|
package/cedarling_wasm.d.ts
CHANGED
|
@@ -81,6 +81,16 @@ export class Cedarling {
|
|
|
81
81
|
* ```
|
|
82
82
|
*/
|
|
83
83
|
clear_data_ctx(): void;
|
|
84
|
+
/**
|
|
85
|
+
* Get trusted issuer identifiers that failed to load.
|
|
86
|
+
*
|
|
87
|
+
* # Example
|
|
88
|
+
*
|
|
89
|
+
* ```javascript
|
|
90
|
+
* const ids = cedarling.failed_trusted_issuer_ids();
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
failed_trusted_issuer_ids(): Array<any>;
|
|
84
94
|
/**
|
|
85
95
|
* Get a value from the data store by key.
|
|
86
96
|
* Returns null if the key doesn't exist or the entry has expired.
|
|
@@ -160,6 +170,34 @@ export class Cedarling {
|
|
|
160
170
|
* ```
|
|
161
171
|
*/
|
|
162
172
|
get_stats_ctx(): DataStoreStats;
|
|
173
|
+
/**
|
|
174
|
+
* Check whether a trusted issuer was loaded by `iss` claim.
|
|
175
|
+
*
|
|
176
|
+
* # Arguments
|
|
177
|
+
*
|
|
178
|
+
* * `iss_claim` - Issuer `iss` claim value to check.
|
|
179
|
+
*
|
|
180
|
+
* # Example
|
|
181
|
+
*
|
|
182
|
+
* ```javascript
|
|
183
|
+
* const ok = cedarling.is_trusted_issuer_loaded_by_iss("https://issuer.example.org");
|
|
184
|
+
* ```
|
|
185
|
+
*/
|
|
186
|
+
is_trusted_issuer_loaded_by_iss(iss_claim: string): boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Check whether a trusted issuer was loaded by issuer identifier.
|
|
189
|
+
*
|
|
190
|
+
* # Arguments
|
|
191
|
+
*
|
|
192
|
+
* * `issuer_id` - Trusted issuer identifier to check.
|
|
193
|
+
*
|
|
194
|
+
* # Example
|
|
195
|
+
*
|
|
196
|
+
* ```javascript
|
|
197
|
+
* const ok = cedarling.is_trusted_issuer_loaded_by_name("issuer_id");
|
|
198
|
+
* ```
|
|
199
|
+
*/
|
|
200
|
+
is_trusted_issuer_loaded_by_name(issuer_id: string): boolean;
|
|
163
201
|
/**
|
|
164
202
|
* List all entries with their metadata.
|
|
165
203
|
* Returns an array of DataEntry objects.
|
|
@@ -174,6 +212,26 @@ export class Cedarling {
|
|
|
174
212
|
* ```
|
|
175
213
|
*/
|
|
176
214
|
list_data_ctx(): Array<any>;
|
|
215
|
+
/**
|
|
216
|
+
* Get trusted issuer identifiers loaded successfully.
|
|
217
|
+
*
|
|
218
|
+
* # Example
|
|
219
|
+
*
|
|
220
|
+
* ```javascript
|
|
221
|
+
* const ids = cedarling.loaded_trusted_issuer_ids();
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
loaded_trusted_issuer_ids(): Array<any>;
|
|
225
|
+
/**
|
|
226
|
+
* Get the number of trusted issuers loaded successfully.
|
|
227
|
+
*
|
|
228
|
+
* # Example
|
|
229
|
+
*
|
|
230
|
+
* ```javascript
|
|
231
|
+
* const loadedCount = cedarling.loaded_trusted_issuers_count();
|
|
232
|
+
* ```
|
|
233
|
+
*/
|
|
234
|
+
loaded_trusted_issuers_count(): number;
|
|
177
235
|
/**
|
|
178
236
|
* Create a new instance of the Cedarling application.
|
|
179
237
|
* Assume that config is `Object`
|
|
@@ -230,6 +288,16 @@ export class Cedarling {
|
|
|
230
288
|
* Closes the connections to the Lock Server and pushes all available logs.
|
|
231
289
|
*/
|
|
232
290
|
shut_down(): Promise<void>;
|
|
291
|
+
/**
|
|
292
|
+
* Get the total number of trusted issuer entries discovered.
|
|
293
|
+
*
|
|
294
|
+
* # Example
|
|
295
|
+
*
|
|
296
|
+
* ```javascript
|
|
297
|
+
* const total = cedarling.total_issuers();
|
|
298
|
+
* ```
|
|
299
|
+
*/
|
|
300
|
+
total_issuers(): number;
|
|
233
301
|
}
|
|
234
302
|
|
|
235
303
|
/**
|
package/cedarling_wasm.js
CHANGED
|
@@ -199,6 +199,20 @@ class Cedarling {
|
|
|
199
199
|
throw takeFromExternrefTable0(ret[0]);
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Get trusted issuer identifiers that failed to load.
|
|
204
|
+
*
|
|
205
|
+
* # Example
|
|
206
|
+
*
|
|
207
|
+
* ```javascript
|
|
208
|
+
* const ids = cedarling.failed_trusted_issuer_ids();
|
|
209
|
+
* ```
|
|
210
|
+
* @returns {Array<any>}
|
|
211
|
+
*/
|
|
212
|
+
failed_trusted_issuer_ids() {
|
|
213
|
+
const ret = wasm.cedarling_failed_trusted_issuer_ids(this.__wbg_ptr);
|
|
214
|
+
return ret;
|
|
215
|
+
}
|
|
202
216
|
/**
|
|
203
217
|
* Get a value from the data store by key.
|
|
204
218
|
* Returns null if the key doesn't exist or the entry has expired.
|
|
@@ -358,6 +372,48 @@ class Cedarling {
|
|
|
358
372
|
}
|
|
359
373
|
return DataStoreStats.__wrap(ret[0]);
|
|
360
374
|
}
|
|
375
|
+
/**
|
|
376
|
+
* Check whether a trusted issuer was loaded by `iss` claim.
|
|
377
|
+
*
|
|
378
|
+
* # Arguments
|
|
379
|
+
*
|
|
380
|
+
* * `iss_claim` - Issuer `iss` claim value to check.
|
|
381
|
+
*
|
|
382
|
+
* # Example
|
|
383
|
+
*
|
|
384
|
+
* ```javascript
|
|
385
|
+
* const ok = cedarling.is_trusted_issuer_loaded_by_iss("https://issuer.example.org");
|
|
386
|
+
* ```
|
|
387
|
+
* @param {string} iss_claim
|
|
388
|
+
* @returns {boolean}
|
|
389
|
+
*/
|
|
390
|
+
is_trusted_issuer_loaded_by_iss(iss_claim) {
|
|
391
|
+
const ptr0 = passStringToWasm0(iss_claim, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
392
|
+
const len0 = WASM_VECTOR_LEN;
|
|
393
|
+
const ret = wasm.cedarling_is_trusted_issuer_loaded_by_iss(this.__wbg_ptr, ptr0, len0);
|
|
394
|
+
return ret !== 0;
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Check whether a trusted issuer was loaded by issuer identifier.
|
|
398
|
+
*
|
|
399
|
+
* # Arguments
|
|
400
|
+
*
|
|
401
|
+
* * `issuer_id` - Trusted issuer identifier to check.
|
|
402
|
+
*
|
|
403
|
+
* # Example
|
|
404
|
+
*
|
|
405
|
+
* ```javascript
|
|
406
|
+
* const ok = cedarling.is_trusted_issuer_loaded_by_name("issuer_id");
|
|
407
|
+
* ```
|
|
408
|
+
* @param {string} issuer_id
|
|
409
|
+
* @returns {boolean}
|
|
410
|
+
*/
|
|
411
|
+
is_trusted_issuer_loaded_by_name(issuer_id) {
|
|
412
|
+
const ptr0 = passStringToWasm0(issuer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
413
|
+
const len0 = WASM_VECTOR_LEN;
|
|
414
|
+
const ret = wasm.cedarling_is_trusted_issuer_loaded_by_name(this.__wbg_ptr, ptr0, len0);
|
|
415
|
+
return ret !== 0;
|
|
416
|
+
}
|
|
361
417
|
/**
|
|
362
418
|
* List all entries with their metadata.
|
|
363
419
|
* Returns an array of DataEntry objects.
|
|
@@ -379,6 +435,34 @@ class Cedarling {
|
|
|
379
435
|
}
|
|
380
436
|
return takeFromExternrefTable0(ret[0]);
|
|
381
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* Get trusted issuer identifiers loaded successfully.
|
|
440
|
+
*
|
|
441
|
+
* # Example
|
|
442
|
+
*
|
|
443
|
+
* ```javascript
|
|
444
|
+
* const ids = cedarling.loaded_trusted_issuer_ids();
|
|
445
|
+
* ```
|
|
446
|
+
* @returns {Array<any>}
|
|
447
|
+
*/
|
|
448
|
+
loaded_trusted_issuer_ids() {
|
|
449
|
+
const ret = wasm.cedarling_loaded_trusted_issuer_ids(this.__wbg_ptr);
|
|
450
|
+
return ret;
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Get the number of trusted issuers loaded successfully.
|
|
454
|
+
*
|
|
455
|
+
* # Example
|
|
456
|
+
*
|
|
457
|
+
* ```javascript
|
|
458
|
+
* const loadedCount = cedarling.loaded_trusted_issuers_count();
|
|
459
|
+
* ```
|
|
460
|
+
* @returns {number}
|
|
461
|
+
*/
|
|
462
|
+
loaded_trusted_issuers_count() {
|
|
463
|
+
const ret = wasm.cedarling_loaded_trusted_issuers_count(this.__wbg_ptr);
|
|
464
|
+
return ret >>> 0;
|
|
465
|
+
}
|
|
382
466
|
/**
|
|
383
467
|
* Create a new instance of the Cedarling application.
|
|
384
468
|
* Assume that config is `Object`
|
|
@@ -476,6 +560,20 @@ class Cedarling {
|
|
|
476
560
|
const ret = wasm.cedarling_shut_down(this.__wbg_ptr);
|
|
477
561
|
return ret;
|
|
478
562
|
}
|
|
563
|
+
/**
|
|
564
|
+
* Get the total number of trusted issuer entries discovered.
|
|
565
|
+
*
|
|
566
|
+
* # Example
|
|
567
|
+
*
|
|
568
|
+
* ```javascript
|
|
569
|
+
* const total = cedarling.total_issuers();
|
|
570
|
+
* ```
|
|
571
|
+
* @returns {number}
|
|
572
|
+
*/
|
|
573
|
+
total_issuers() {
|
|
574
|
+
const ret = wasm.cedarling_total_issuers(this.__wbg_ptr);
|
|
575
|
+
return ret >>> 0;
|
|
576
|
+
}
|
|
479
577
|
}
|
|
480
578
|
if (Symbol.dispose) Cedarling.prototype[Symbol.dispose] = Cedarling.prototype.free;
|
|
481
579
|
exports.Cedarling = Cedarling;
|
|
@@ -1192,72 +1290,72 @@ exports.init_from_archive_bytes = init_from_archive_bytes;
|
|
|
1192
1290
|
function __wbg_get_imports() {
|
|
1193
1291
|
const import0 = {
|
|
1194
1292
|
__proto__: null,
|
|
1195
|
-
|
|
1293
|
+
__wbg_Error_55538483de6e3abe: function(arg0, arg1) {
|
|
1196
1294
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1197
1295
|
return ret;
|
|
1198
1296
|
},
|
|
1199
|
-
|
|
1297
|
+
__wbg_Number_f257194b7002d6f9: function(arg0) {
|
|
1200
1298
|
const ret = Number(arg0);
|
|
1201
1299
|
return ret;
|
|
1202
1300
|
},
|
|
1203
|
-
|
|
1301
|
+
__wbg___wbindgen_bigint_get_as_i64_a738e80c0fe6f6a7: function(arg0, arg1) {
|
|
1204
1302
|
const v = arg1;
|
|
1205
1303
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1206
1304
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1207
1305
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1208
1306
|
},
|
|
1209
|
-
|
|
1307
|
+
__wbg___wbindgen_boolean_get_fe2a24fdfdb4064f: function(arg0) {
|
|
1210
1308
|
const v = arg0;
|
|
1211
1309
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
1212
1310
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1213
1311
|
},
|
|
1214
|
-
|
|
1312
|
+
__wbg___wbindgen_debug_string_d89627202d0155b7: function(arg0, arg1) {
|
|
1215
1313
|
const ret = debugString(arg1);
|
|
1216
1314
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1217
1315
|
const len1 = WASM_VECTOR_LEN;
|
|
1218
1316
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1219
1317
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1220
1318
|
},
|
|
1221
|
-
|
|
1319
|
+
__wbg___wbindgen_in_fe3eb6a509f75744: function(arg0, arg1) {
|
|
1222
1320
|
const ret = arg0 in arg1;
|
|
1223
1321
|
return ret;
|
|
1224
1322
|
},
|
|
1225
|
-
|
|
1323
|
+
__wbg___wbindgen_is_bigint_ca270ac12ef71091: function(arg0) {
|
|
1226
1324
|
const ret = typeof(arg0) === 'bigint';
|
|
1227
1325
|
return ret;
|
|
1228
1326
|
},
|
|
1229
|
-
|
|
1327
|
+
__wbg___wbindgen_is_function_2a95406423ea8626: function(arg0) {
|
|
1230
1328
|
const ret = typeof(arg0) === 'function';
|
|
1231
1329
|
return ret;
|
|
1232
1330
|
},
|
|
1233
|
-
|
|
1331
|
+
__wbg___wbindgen_is_object_59a002e76b059312: function(arg0) {
|
|
1234
1332
|
const val = arg0;
|
|
1235
1333
|
const ret = typeof(val) === 'object' && val !== null;
|
|
1236
1334
|
return ret;
|
|
1237
1335
|
},
|
|
1238
|
-
|
|
1336
|
+
__wbg___wbindgen_is_string_624d5244bb2bc87c: function(arg0) {
|
|
1239
1337
|
const ret = typeof(arg0) === 'string';
|
|
1240
1338
|
return ret;
|
|
1241
1339
|
},
|
|
1242
|
-
|
|
1340
|
+
__wbg___wbindgen_is_undefined_87a3a837f331fef5: function(arg0) {
|
|
1243
1341
|
const ret = arg0 === undefined;
|
|
1244
1342
|
return ret;
|
|
1245
1343
|
},
|
|
1246
|
-
|
|
1344
|
+
__wbg___wbindgen_jsval_eq_eedd705f9f2a4f35: function(arg0, arg1) {
|
|
1247
1345
|
const ret = arg0 === arg1;
|
|
1248
1346
|
return ret;
|
|
1249
1347
|
},
|
|
1250
|
-
|
|
1348
|
+
__wbg___wbindgen_jsval_loose_eq_cf851f110c48f9ba: function(arg0, arg1) {
|
|
1251
1349
|
const ret = arg0 == arg1;
|
|
1252
1350
|
return ret;
|
|
1253
1351
|
},
|
|
1254
|
-
|
|
1352
|
+
__wbg___wbindgen_number_get_769f3676dc20c1d7: function(arg0, arg1) {
|
|
1255
1353
|
const obj = arg1;
|
|
1256
1354
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1257
1355
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1258
1356
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1259
1357
|
},
|
|
1260
|
-
|
|
1358
|
+
__wbg___wbindgen_string_get_f1161390414f9b59: function(arg0, arg1) {
|
|
1261
1359
|
const obj = arg1;
|
|
1262
1360
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1263
1361
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1265,22 +1363,22 @@ function __wbg_get_imports() {
|
|
|
1265
1363
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1266
1364
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1267
1365
|
},
|
|
1268
|
-
|
|
1366
|
+
__wbg___wbindgen_throw_5549492daedad139: function(arg0, arg1) {
|
|
1269
1367
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1270
1368
|
},
|
|
1271
|
-
|
|
1369
|
+
__wbg__wbg_cb_unref_fbe69bb076c16bad: function(arg0) {
|
|
1272
1370
|
arg0._wbg_cb_unref();
|
|
1273
1371
|
},
|
|
1274
|
-
|
|
1275
|
-
arg0.abort();
|
|
1276
|
-
},
|
|
1277
|
-
__wbg_abort_6479c2d794ebf2ee: function(arg0, arg1) {
|
|
1372
|
+
__wbg_abort_b007790bcfd9fff2: function(arg0, arg1) {
|
|
1278
1373
|
arg0.abort(arg1);
|
|
1279
1374
|
},
|
|
1280
|
-
|
|
1375
|
+
__wbg_abort_bdf419e9dcbdaeb3: function(arg0) {
|
|
1376
|
+
arg0.abort();
|
|
1377
|
+
},
|
|
1378
|
+
__wbg_append_7c8e49986ab5288d: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1281
1379
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1282
1380
|
}, arguments); },
|
|
1283
|
-
|
|
1381
|
+
__wbg_arrayBuffer_9f258d017f7107c5: function() { return handleError(function (arg0) {
|
|
1284
1382
|
const ret = arg0.arrayBuffer();
|
|
1285
1383
|
return ret;
|
|
1286
1384
|
}, arguments); },
|
|
@@ -1288,39 +1386,39 @@ function __wbg_get_imports() {
|
|
|
1288
1386
|
const ret = AuthorizeResult.__wrap(arg0);
|
|
1289
1387
|
return ret;
|
|
1290
1388
|
},
|
|
1291
|
-
|
|
1389
|
+
__wbg_body_b8b0dbac0427b082: function(arg0) {
|
|
1292
1390
|
const ret = arg0.body;
|
|
1293
1391
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1294
1392
|
},
|
|
1295
|
-
|
|
1393
|
+
__wbg_buffer_0a57788cdfce21ba: function(arg0) {
|
|
1296
1394
|
const ret = arg0.buffer;
|
|
1297
1395
|
return ret;
|
|
1298
1396
|
},
|
|
1299
|
-
|
|
1397
|
+
__wbg_byobRequest_ab0e57f55bf774f2: function(arg0) {
|
|
1300
1398
|
const ret = arg0.byobRequest;
|
|
1301
1399
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1302
1400
|
},
|
|
1303
|
-
|
|
1401
|
+
__wbg_byteLength_9931db00e5861bf9: function(arg0) {
|
|
1304
1402
|
const ret = arg0.byteLength;
|
|
1305
1403
|
return ret;
|
|
1306
1404
|
},
|
|
1307
|
-
|
|
1405
|
+
__wbg_byteOffset_0a985a98f8ffb8d7: function(arg0) {
|
|
1308
1406
|
const ret = arg0.byteOffset;
|
|
1309
1407
|
return ret;
|
|
1310
1408
|
},
|
|
1311
|
-
|
|
1312
|
-
const ret = arg0.call(arg1
|
|
1409
|
+
__wbg_call_6ae20895a60069a2: function() { return handleError(function (arg0, arg1) {
|
|
1410
|
+
const ret = arg0.call(arg1);
|
|
1313
1411
|
return ret;
|
|
1314
1412
|
}, arguments); },
|
|
1315
|
-
|
|
1316
|
-
const ret = arg0.call(arg1);
|
|
1413
|
+
__wbg_call_8f5d7bb070283508: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1414
|
+
const ret = arg0.call(arg1, arg2);
|
|
1317
1415
|
return ret;
|
|
1318
1416
|
}, arguments); },
|
|
1319
|
-
|
|
1417
|
+
__wbg_cancel_17af7d30174e56fc: function(arg0) {
|
|
1320
1418
|
const ret = arg0.cancel();
|
|
1321
1419
|
return ret;
|
|
1322
1420
|
},
|
|
1323
|
-
|
|
1421
|
+
__wbg_catch_95f7e0f431da3bfc: function(arg0, arg1) {
|
|
1324
1422
|
const ret = arg0.catch(arg1);
|
|
1325
1423
|
return ret;
|
|
1326
1424
|
},
|
|
@@ -1336,10 +1434,10 @@ function __wbg_get_imports() {
|
|
|
1336
1434
|
const ret = clearTimeout(arg0);
|
|
1337
1435
|
return ret;
|
|
1338
1436
|
},
|
|
1339
|
-
|
|
1437
|
+
__wbg_close_62f6a4eadc94565f: function() { return handleError(function (arg0) {
|
|
1340
1438
|
arg0.close();
|
|
1341
1439
|
}, arguments); },
|
|
1342
|
-
|
|
1440
|
+
__wbg_close_f287058716088a50: function() { return handleError(function (arg0) {
|
|
1343
1441
|
arg0.close();
|
|
1344
1442
|
}, arguments); },
|
|
1345
1443
|
__wbg_crypto_38df2bab126b63dc: function(arg0) {
|
|
@@ -1350,48 +1448,48 @@ function __wbg_get_imports() {
|
|
|
1350
1448
|
const ret = DataEntry.__wrap(arg0);
|
|
1351
1449
|
return ret;
|
|
1352
1450
|
},
|
|
1353
|
-
|
|
1451
|
+
__wbg_debug_423712c4250f1682: function(arg0) {
|
|
1354
1452
|
console.debug(...arg0);
|
|
1355
1453
|
},
|
|
1356
|
-
|
|
1454
|
+
__wbg_done_19f92cb1f8738aba: function(arg0) {
|
|
1357
1455
|
const ret = arg0.done;
|
|
1358
1456
|
return ret;
|
|
1359
1457
|
},
|
|
1360
|
-
|
|
1458
|
+
__wbg_enqueue_ee0593cea9be93bd: function() { return handleError(function (arg0, arg1) {
|
|
1361
1459
|
arg0.enqueue(arg1);
|
|
1362
1460
|
}, arguments); },
|
|
1363
|
-
|
|
1364
|
-
const ret =
|
|
1461
|
+
__wbg_entries_28ed7cb892e12eff: function(arg0) {
|
|
1462
|
+
const ret = Object.entries(arg0);
|
|
1365
1463
|
return ret;
|
|
1366
1464
|
},
|
|
1367
|
-
|
|
1465
|
+
__wbg_entries_31ac11e93c1f2197: function(arg0) {
|
|
1368
1466
|
const ret = arg0.entries();
|
|
1369
1467
|
return ret;
|
|
1370
1468
|
},
|
|
1371
|
-
|
|
1372
|
-
const ret =
|
|
1469
|
+
__wbg_entries_dc69bbf25538adc3: function(arg0) {
|
|
1470
|
+
const ret = arg0.entries();
|
|
1373
1471
|
return ret;
|
|
1374
1472
|
},
|
|
1375
|
-
|
|
1473
|
+
__wbg_error_333d6f7cc81c136f: function(arg0) {
|
|
1376
1474
|
console.error(...arg0);
|
|
1377
1475
|
},
|
|
1378
1476
|
__wbg_fetch_010aa16f24b763bc: function(arg0, arg1) {
|
|
1379
1477
|
const ret = fetch(arg0, arg1);
|
|
1380
1478
|
return ret;
|
|
1381
1479
|
},
|
|
1382
|
-
|
|
1383
|
-
const ret = fetch(
|
|
1480
|
+
__wbg_fetch_2f3387796d5f6a84: function(arg0, arg1, arg2) {
|
|
1481
|
+
const ret = arg0.fetch(arg1, arg2);
|
|
1384
1482
|
return ret;
|
|
1385
1483
|
},
|
|
1386
|
-
|
|
1484
|
+
__wbg_fetch_3f39346b50886803: function(arg0, arg1) {
|
|
1387
1485
|
const ret = arg0.fetch(arg1);
|
|
1388
1486
|
return ret;
|
|
1389
1487
|
},
|
|
1390
|
-
|
|
1391
|
-
const ret =
|
|
1488
|
+
__wbg_fetch_43b2f110608a59ff: function(arg0) {
|
|
1489
|
+
const ret = fetch(arg0);
|
|
1392
1490
|
return ret;
|
|
1393
1491
|
},
|
|
1394
|
-
|
|
1492
|
+
__wbg_fromEntries_0f0bc9cda6b6487d: function() { return handleError(function (arg0) {
|
|
1395
1493
|
const ret = Object.fromEntries(arg0);
|
|
1396
1494
|
return ret;
|
|
1397
1495
|
}, arguments); },
|
|
@@ -1405,35 +1503,35 @@ function __wbg_get_imports() {
|
|
|
1405
1503
|
const ret = arg0.getReader();
|
|
1406
1504
|
return ret;
|
|
1407
1505
|
}, arguments); },
|
|
1408
|
-
|
|
1506
|
+
__wbg_getTime_c3af35594e283356: function(arg0) {
|
|
1409
1507
|
const ret = arg0.getTime();
|
|
1410
1508
|
return ret;
|
|
1411
1509
|
},
|
|
1412
|
-
|
|
1510
|
+
__wbg_getTimezoneOffset_c60f1a836e59b3db: function(arg0) {
|
|
1413
1511
|
const ret = arg0.getTimezoneOffset();
|
|
1414
1512
|
return ret;
|
|
1415
1513
|
},
|
|
1416
|
-
|
|
1417
|
-
const ret =
|
|
1514
|
+
__wbg_get_94f5fc088edd3138: function(arg0, arg1) {
|
|
1515
|
+
const ret = arg0[arg1 >>> 0];
|
|
1418
1516
|
return ret;
|
|
1419
|
-
},
|
|
1420
|
-
|
|
1517
|
+
},
|
|
1518
|
+
__wbg_get_a50328e7325d7f9b: function() { return handleError(function (arg0, arg1) {
|
|
1421
1519
|
const ret = Reflect.get(arg0, arg1);
|
|
1422
1520
|
return ret;
|
|
1423
1521
|
}, arguments); },
|
|
1424
|
-
|
|
1425
|
-
const ret = arg0[arg1 >>> 0];
|
|
1426
|
-
return ret;
|
|
1427
|
-
},
|
|
1428
|
-
__wbg_get_done_d0ab690f8df5501f: function(arg0) {
|
|
1522
|
+
__wbg_get_done_cedda7fa9770abba: function(arg0) {
|
|
1429
1523
|
const ret = arg0.done;
|
|
1430
1524
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1431
1525
|
},
|
|
1432
|
-
|
|
1526
|
+
__wbg_get_ff5f1fb220233477: function() { return handleError(function (arg0, arg1) {
|
|
1527
|
+
const ret = Reflect.get(arg0, arg1);
|
|
1528
|
+
return ret;
|
|
1529
|
+
}, arguments); },
|
|
1530
|
+
__wbg_get_unchecked_7c6bbabf5b0b1fbf: function(arg0, arg1) {
|
|
1433
1531
|
const ret = arg0[arg1 >>> 0];
|
|
1434
1532
|
return ret;
|
|
1435
1533
|
},
|
|
1436
|
-
|
|
1534
|
+
__wbg_get_value_69a0a45ef9f1a593: function(arg0) {
|
|
1437
1535
|
const ret = arg0.value;
|
|
1438
1536
|
return ret;
|
|
1439
1537
|
},
|
|
@@ -1441,18 +1539,18 @@ function __wbg_get_imports() {
|
|
|
1441
1539
|
const ret = arg0[arg1];
|
|
1442
1540
|
return ret;
|
|
1443
1541
|
},
|
|
1444
|
-
|
|
1542
|
+
__wbg_has_3f87d148146a0f4e: function() { return handleError(function (arg0, arg1) {
|
|
1445
1543
|
const ret = Reflect.has(arg0, arg1);
|
|
1446
1544
|
return ret;
|
|
1447
1545
|
}, arguments); },
|
|
1448
|
-
|
|
1546
|
+
__wbg_headers_6ccffabdaab0d021: function(arg0) {
|
|
1449
1547
|
const ret = arg0.headers;
|
|
1450
1548
|
return ret;
|
|
1451
1549
|
},
|
|
1452
|
-
|
|
1550
|
+
__wbg_info_62423f62777981a5: function(arg0) {
|
|
1453
1551
|
console.info(...arg0);
|
|
1454
1552
|
},
|
|
1455
|
-
|
|
1553
|
+
__wbg_instanceof_ArrayBuffer_8d855993947fc3a2: function(arg0) {
|
|
1456
1554
|
let result;
|
|
1457
1555
|
try {
|
|
1458
1556
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -1462,7 +1560,7 @@ function __wbg_get_imports() {
|
|
|
1462
1560
|
const ret = result;
|
|
1463
1561
|
return ret;
|
|
1464
1562
|
},
|
|
1465
|
-
|
|
1563
|
+
__wbg_instanceof_Array_79c1b15ef3abcc53: function(arg0) {
|
|
1466
1564
|
let result;
|
|
1467
1565
|
try {
|
|
1468
1566
|
result = arg0 instanceof Array;
|
|
@@ -1472,7 +1570,7 @@ function __wbg_get_imports() {
|
|
|
1472
1570
|
const ret = result;
|
|
1473
1571
|
return ret;
|
|
1474
1572
|
},
|
|
1475
|
-
|
|
1573
|
+
__wbg_instanceof_Map_238410f1463c05ed: function(arg0) {
|
|
1476
1574
|
let result;
|
|
1477
1575
|
try {
|
|
1478
1576
|
result = arg0 instanceof Map;
|
|
@@ -1482,7 +1580,7 @@ function __wbg_get_imports() {
|
|
|
1482
1580
|
const ret = result;
|
|
1483
1581
|
return ret;
|
|
1484
1582
|
},
|
|
1485
|
-
|
|
1583
|
+
__wbg_instanceof_Response_fece7eabbcaca4c3: function(arg0) {
|
|
1486
1584
|
let result;
|
|
1487
1585
|
try {
|
|
1488
1586
|
result = arg0 instanceof Response;
|
|
@@ -1492,7 +1590,7 @@ function __wbg_get_imports() {
|
|
|
1492
1590
|
const ret = result;
|
|
1493
1591
|
return ret;
|
|
1494
1592
|
},
|
|
1495
|
-
|
|
1593
|
+
__wbg_instanceof_Uint8Array_ce24d58a5f4bdcc3: function(arg0) {
|
|
1496
1594
|
let result;
|
|
1497
1595
|
try {
|
|
1498
1596
|
result = arg0 instanceof Uint8Array;
|
|
@@ -1502,31 +1600,31 @@ function __wbg_get_imports() {
|
|
|
1502
1600
|
const ret = result;
|
|
1503
1601
|
return ret;
|
|
1504
1602
|
},
|
|
1505
|
-
|
|
1603
|
+
__wbg_isArray_867202cf8f195ed8: function(arg0) {
|
|
1506
1604
|
const ret = Array.isArray(arg0);
|
|
1507
1605
|
return ret;
|
|
1508
1606
|
},
|
|
1509
|
-
|
|
1607
|
+
__wbg_isSafeInteger_1dfae065cbfe1915: function(arg0) {
|
|
1510
1608
|
const ret = Number.isSafeInteger(arg0);
|
|
1511
1609
|
return ret;
|
|
1512
1610
|
},
|
|
1513
|
-
|
|
1611
|
+
__wbg_iterator_54661826e186eb6a: function() {
|
|
1514
1612
|
const ret = Symbol.iterator;
|
|
1515
1613
|
return ret;
|
|
1516
1614
|
},
|
|
1517
|
-
|
|
1615
|
+
__wbg_keys_e84d806594765111: function(arg0) {
|
|
1518
1616
|
const ret = Object.keys(arg0);
|
|
1519
1617
|
return ret;
|
|
1520
1618
|
},
|
|
1521
|
-
|
|
1619
|
+
__wbg_length_e6e1633fbea6cfa9: function(arg0) {
|
|
1522
1620
|
const ret = arg0.length;
|
|
1523
1621
|
return ret;
|
|
1524
1622
|
},
|
|
1525
|
-
|
|
1623
|
+
__wbg_length_fae3e439140f48a4: function(arg0) {
|
|
1526
1624
|
const ret = arg0.length;
|
|
1527
1625
|
return ret;
|
|
1528
1626
|
},
|
|
1529
|
-
|
|
1627
|
+
__wbg_log_81714afdff806379: function(arg0) {
|
|
1530
1628
|
console.log(...arg0);
|
|
1531
1629
|
},
|
|
1532
1630
|
__wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
|
|
@@ -1537,54 +1635,54 @@ function __wbg_get_imports() {
|
|
|
1537
1635
|
const ret = MultiIssuerAuthorizeResult.__wrap(arg0);
|
|
1538
1636
|
return ret;
|
|
1539
1637
|
},
|
|
1540
|
-
|
|
1541
|
-
const ret = new
|
|
1542
|
-
return ret;
|
|
1543
|
-
}, arguments); },
|
|
1544
|
-
__wbg_new_0_1dcafdf5e786e876: function() {
|
|
1545
|
-
const ret = new Date();
|
|
1638
|
+
__wbg_new_0934b88171ef61b0: function() {
|
|
1639
|
+
const ret = new Map();
|
|
1546
1640
|
return ret;
|
|
1547
1641
|
},
|
|
1548
|
-
|
|
1549
|
-
const ret = new
|
|
1642
|
+
__wbg_new_0_e649c99e7382313f: function() {
|
|
1643
|
+
const ret = new Date();
|
|
1550
1644
|
return ret;
|
|
1551
1645
|
},
|
|
1552
|
-
|
|
1646
|
+
__wbg_new_1d96678aaacca32e: function(arg0) {
|
|
1553
1647
|
const ret = new Uint8Array(arg0);
|
|
1554
1648
|
return ret;
|
|
1555
1649
|
},
|
|
1556
|
-
|
|
1650
|
+
__wbg_new_210ef5849ab6cf48: function() { return handleError(function () {
|
|
1651
|
+
const ret = new Headers();
|
|
1652
|
+
return ret;
|
|
1653
|
+
}, arguments); },
|
|
1654
|
+
__wbg_new_4370be21fa2b2f80: function() {
|
|
1557
1655
|
const ret = new Array();
|
|
1558
1656
|
return ret;
|
|
1559
1657
|
},
|
|
1560
|
-
|
|
1658
|
+
__wbg_new_48e1d86cfd30c8e7: function() {
|
|
1561
1659
|
const ret = new Object();
|
|
1562
1660
|
return ret;
|
|
1563
1661
|
},
|
|
1564
|
-
|
|
1565
|
-
const ret = new AbortController();
|
|
1566
|
-
return ret;
|
|
1567
|
-
}, arguments); },
|
|
1568
|
-
__wbg_new_d15cb560a6a0e5f0: function(arg0, arg1) {
|
|
1662
|
+
__wbg_new_4a843fe2ee4082a9: function(arg0, arg1) {
|
|
1569
1663
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1570
1664
|
return ret;
|
|
1571
1665
|
},
|
|
1572
|
-
|
|
1666
|
+
__wbg_new_ce17f0bcfcc7b8ef: function() { return handleError(function () {
|
|
1667
|
+
const ret = new AbortController();
|
|
1668
|
+
return ret;
|
|
1669
|
+
}, arguments); },
|
|
1670
|
+
__wbg_new_d51bf22e953dcfd1: function(arg0) {
|
|
1573
1671
|
const ret = new Date(arg0);
|
|
1574
1672
|
return ret;
|
|
1575
1673
|
},
|
|
1576
|
-
|
|
1674
|
+
__wbg_new_from_slice_0bc58e36f82a1b50: function(arg0, arg1) {
|
|
1577
1675
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1578
1676
|
return ret;
|
|
1579
1677
|
},
|
|
1580
|
-
|
|
1678
|
+
__wbg_new_typed_25dda2388d7e5e9f: function(arg0, arg1) {
|
|
1581
1679
|
try {
|
|
1582
1680
|
var state0 = {a: arg0, b: arg1};
|
|
1583
1681
|
var cb0 = (arg0, arg1) => {
|
|
1584
1682
|
const a = state0.a;
|
|
1585
1683
|
state0.a = 0;
|
|
1586
1684
|
try {
|
|
1587
|
-
return
|
|
1685
|
+
return wasm_bindgen__convert__closures_____invoke__h7b228b9e08b1988a(a, state0.b, arg0, arg1);
|
|
1588
1686
|
} finally {
|
|
1589
1687
|
state0.a = a;
|
|
1590
1688
|
}
|
|
@@ -1592,29 +1690,29 @@ function __wbg_get_imports() {
|
|
|
1592
1690
|
const ret = new Promise(cb0);
|
|
1593
1691
|
return ret;
|
|
1594
1692
|
} finally {
|
|
1595
|
-
state0.a =
|
|
1693
|
+
state0.a = 0;
|
|
1596
1694
|
}
|
|
1597
1695
|
},
|
|
1598
|
-
|
|
1696
|
+
__wbg_new_with_byte_offset_and_length_ab1e1002d7a694e4: function(arg0, arg1, arg2) {
|
|
1599
1697
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1600
1698
|
return ret;
|
|
1601
1699
|
},
|
|
1602
|
-
|
|
1700
|
+
__wbg_new_with_length_0f3108b57e05ed7c: function(arg0) {
|
|
1603
1701
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1604
1702
|
return ret;
|
|
1605
1703
|
},
|
|
1606
|
-
|
|
1704
|
+
__wbg_new_with_str_and_init_cb3df438bf62964e: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1607
1705
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1608
1706
|
return ret;
|
|
1609
1707
|
}, arguments); },
|
|
1610
|
-
|
|
1611
|
-
const ret = arg0.next();
|
|
1612
|
-
return ret;
|
|
1613
|
-
}, arguments); },
|
|
1614
|
-
__wbg_next_e01a967809d1aa68: function(arg0) {
|
|
1708
|
+
__wbg_next_55d835fe0ab5b3e7: function(arg0) {
|
|
1615
1709
|
const ret = arg0.next;
|
|
1616
1710
|
return ret;
|
|
1617
1711
|
},
|
|
1712
|
+
__wbg_next_e34cfb9df1518d7c: function() { return handleError(function (arg0) {
|
|
1713
|
+
const ret = arg0.next();
|
|
1714
|
+
return ret;
|
|
1715
|
+
}, arguments); },
|
|
1618
1716
|
__wbg_node_84ea875411254db1: function(arg0) {
|
|
1619
1717
|
const ret = arg0.node;
|
|
1620
1718
|
return ret;
|
|
@@ -1627,39 +1725,39 @@ function __wbg_get_imports() {
|
|
|
1627
1725
|
const ret = arg0.process;
|
|
1628
1726
|
return ret;
|
|
1629
1727
|
},
|
|
1630
|
-
|
|
1728
|
+
__wbg_prototypesetcall_3875d54d12ef2eec: function(arg0, arg1, arg2) {
|
|
1631
1729
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1632
1730
|
},
|
|
1633
|
-
|
|
1731
|
+
__wbg_push_d0006a37f9fcda6d: function(arg0, arg1) {
|
|
1634
1732
|
const ret = arg0.push(arg1);
|
|
1635
1733
|
return ret;
|
|
1636
1734
|
},
|
|
1637
|
-
|
|
1735
|
+
__wbg_queueMicrotask_8868365114fe23b5: function(arg0) {
|
|
1736
|
+
queueMicrotask(arg0);
|
|
1737
|
+
},
|
|
1738
|
+
__wbg_queueMicrotask_cfc5a0e62f9ebdbe: function(arg0) {
|
|
1638
1739
|
const ret = arg0.queueMicrotask;
|
|
1639
1740
|
return ret;
|
|
1640
1741
|
},
|
|
1641
|
-
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
1642
|
-
queueMicrotask(arg0);
|
|
1643
|
-
},
|
|
1644
1742
|
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
1645
1743
|
arg0.randomFillSync(arg1);
|
|
1646
1744
|
}, arguments); },
|
|
1647
|
-
|
|
1745
|
+
__wbg_read_a9540f69bce63522: function(arg0) {
|
|
1648
1746
|
const ret = arg0.read();
|
|
1649
1747
|
return ret;
|
|
1650
1748
|
},
|
|
1651
|
-
|
|
1749
|
+
__wbg_releaseLock_58c436bedc52c5b4: function(arg0) {
|
|
1652
1750
|
arg0.releaseLock();
|
|
1653
1751
|
},
|
|
1654
1752
|
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
1655
1753
|
const ret = module.require;
|
|
1656
1754
|
return ret;
|
|
1657
1755
|
}, arguments); },
|
|
1658
|
-
|
|
1756
|
+
__wbg_resolve_d8059bc113e215bf: function(arg0) {
|
|
1659
1757
|
const ret = Promise.resolve(arg0);
|
|
1660
1758
|
return ret;
|
|
1661
1759
|
},
|
|
1662
|
-
|
|
1760
|
+
__wbg_respond_1ec29395edbe7fce: function() { return handleError(function (arg0, arg1) {
|
|
1663
1761
|
arg0.respond(arg1 >>> 0);
|
|
1664
1762
|
}, arguments); },
|
|
1665
1763
|
__wbg_setTimeout_a3127d9f29a851c3: function(arg0, arg1) {
|
|
@@ -1670,114 +1768,114 @@ function __wbg_get_imports() {
|
|
|
1670
1768
|
const ret = setTimeout(arg0, arg1);
|
|
1671
1769
|
return ret;
|
|
1672
1770
|
},
|
|
1673
|
-
|
|
1771
|
+
__wbg_set_0b4302959e9491f2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1772
|
+
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1773
|
+
}, arguments); },
|
|
1774
|
+
__wbg_set_295bad3b5ead4e99: function(arg0, arg1, arg2) {
|
|
1775
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1776
|
+
},
|
|
1777
|
+
__wbg_set_4702dfa37c77f492: function(arg0, arg1, arg2) {
|
|
1674
1778
|
arg0[arg1 >>> 0] = arg2;
|
|
1675
1779
|
},
|
|
1676
1780
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1677
1781
|
arg0[arg1] = arg2;
|
|
1678
1782
|
},
|
|
1679
|
-
|
|
1680
|
-
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1681
|
-
return ret;
|
|
1682
|
-
}, arguments); },
|
|
1683
|
-
__wbg_set_8c0b3ffcf05d61c2: function(arg0, arg1, arg2) {
|
|
1684
|
-
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1685
|
-
},
|
|
1686
|
-
__wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
|
|
1783
|
+
__wbg_set_8c6629931852a4a5: function(arg0, arg1, arg2) {
|
|
1687
1784
|
const ret = arg0.set(arg1, arg2);
|
|
1688
1785
|
return ret;
|
|
1689
1786
|
},
|
|
1690
|
-
|
|
1787
|
+
__wbg_set_991082a7a49971cf: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1788
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1789
|
+
return ret;
|
|
1790
|
+
}, arguments); },
|
|
1791
|
+
__wbg_set_body_e2cf9537a2f3e0be: function(arg0, arg1) {
|
|
1691
1792
|
arg0.body = arg1;
|
|
1692
1793
|
},
|
|
1693
|
-
|
|
1794
|
+
__wbg_set_cache_542e710bfd7aa57a: function(arg0, arg1) {
|
|
1694
1795
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1695
1796
|
},
|
|
1696
|
-
|
|
1797
|
+
__wbg_set_credentials_5838a4909b379d8e: function(arg0, arg1) {
|
|
1697
1798
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1698
1799
|
},
|
|
1699
|
-
|
|
1700
|
-
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1701
|
-
}, arguments); },
|
|
1702
|
-
__wbg_set_headers_3c8fecc693b75327: function(arg0, arg1) {
|
|
1800
|
+
__wbg_set_headers_22d4b01224273a83: function(arg0, arg1) {
|
|
1703
1801
|
arg0.headers = arg1;
|
|
1704
1802
|
},
|
|
1705
|
-
|
|
1803
|
+
__wbg_set_integrity_cddf7f2db42f804f: function(arg0, arg1, arg2) {
|
|
1706
1804
|
arg0.integrity = getStringFromWasm0(arg1, arg2);
|
|
1707
1805
|
},
|
|
1708
|
-
|
|
1806
|
+
__wbg_set_method_4a4ab3faba8a018c: function(arg0, arg1, arg2) {
|
|
1709
1807
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1710
1808
|
},
|
|
1711
|
-
|
|
1809
|
+
__wbg_set_mode_7b856ab49b64c0db: function(arg0, arg1) {
|
|
1712
1810
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1713
1811
|
},
|
|
1714
|
-
|
|
1812
|
+
__wbg_set_redirect_def7b707b961a056: function(arg0, arg1) {
|
|
1715
1813
|
arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
|
|
1716
1814
|
},
|
|
1717
|
-
|
|
1815
|
+
__wbg_set_referrer_137c75ffd4471b33: function(arg0, arg1, arg2) {
|
|
1718
1816
|
arg0.referrer = getStringFromWasm0(arg1, arg2);
|
|
1719
1817
|
},
|
|
1720
|
-
|
|
1818
|
+
__wbg_set_referrer_policy_cc894554d0688d32: function(arg0, arg1) {
|
|
1721
1819
|
arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
|
|
1722
1820
|
},
|
|
1723
|
-
|
|
1821
|
+
__wbg_set_signal_cd4528432ab8fe0b: function(arg0, arg1) {
|
|
1724
1822
|
arg0.signal = arg1;
|
|
1725
1823
|
},
|
|
1726
|
-
|
|
1824
|
+
__wbg_signal_6740ecf9bc372e29: function(arg0) {
|
|
1727
1825
|
const ret = arg0.signal;
|
|
1728
1826
|
return ret;
|
|
1729
1827
|
},
|
|
1730
|
-
|
|
1828
|
+
__wbg_static_accessor_GLOBAL_8dfb7f5e26ebe523: function() {
|
|
1731
1829
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1732
1830
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1733
1831
|
},
|
|
1734
|
-
|
|
1832
|
+
__wbg_static_accessor_GLOBAL_THIS_941154efc8395cdd: function() {
|
|
1735
1833
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1736
1834
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1737
1835
|
},
|
|
1738
|
-
|
|
1836
|
+
__wbg_static_accessor_SELF_58dac9af822f561f: function() {
|
|
1739
1837
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1740
1838
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1741
1839
|
},
|
|
1742
|
-
|
|
1840
|
+
__wbg_static_accessor_WINDOW_ee64f0b3d8354c0b: function() {
|
|
1743
1841
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1744
1842
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1745
1843
|
},
|
|
1746
|
-
|
|
1844
|
+
__wbg_status_1ae443dc56281de7: function(arg0) {
|
|
1747
1845
|
const ret = arg0.status;
|
|
1748
1846
|
return ret;
|
|
1749
1847
|
},
|
|
1750
|
-
|
|
1848
|
+
__wbg_subarray_035d32bb24a7d55d: function(arg0, arg1, arg2) {
|
|
1751
1849
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1752
1850
|
return ret;
|
|
1753
1851
|
},
|
|
1754
|
-
|
|
1852
|
+
__wbg_text_6d3a70da69d27961: function() { return handleError(function (arg0) {
|
|
1755
1853
|
const ret = arg0.text();
|
|
1756
1854
|
return ret;
|
|
1757
1855
|
}, arguments); },
|
|
1758
|
-
|
|
1759
|
-
const ret = arg0.then(arg1);
|
|
1856
|
+
__wbg_then_0150352e4ad20344: function(arg0, arg1, arg2) {
|
|
1857
|
+
const ret = arg0.then(arg1, arg2);
|
|
1760
1858
|
return ret;
|
|
1761
1859
|
},
|
|
1762
|
-
|
|
1763
|
-
const ret = arg0.then(arg1
|
|
1860
|
+
__wbg_then_5160486c67ddb98a: function(arg0, arg1) {
|
|
1861
|
+
const ret = arg0.then(arg1);
|
|
1764
1862
|
return ret;
|
|
1765
1863
|
},
|
|
1766
|
-
|
|
1864
|
+
__wbg_toString_9e7353a77cb415a2: function(arg0) {
|
|
1767
1865
|
const ret = arg0.toString();
|
|
1768
1866
|
return ret;
|
|
1769
1867
|
},
|
|
1770
|
-
|
|
1868
|
+
__wbg_trace_6bf63295328ed5f4: function(arg0) {
|
|
1771
1869
|
console.trace(...arg0);
|
|
1772
1870
|
},
|
|
1773
|
-
|
|
1871
|
+
__wbg_url_c6d54634d7005dd1: function(arg0, arg1) {
|
|
1774
1872
|
const ret = arg1.url;
|
|
1775
1873
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1776
1874
|
const len1 = WASM_VECTOR_LEN;
|
|
1777
1875
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1778
1876
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1779
1877
|
},
|
|
1780
|
-
|
|
1878
|
+
__wbg_value_d5b248ce8419bd1b: function(arg0) {
|
|
1781
1879
|
const ret = arg0.value;
|
|
1782
1880
|
return ret;
|
|
1783
1881
|
},
|
|
@@ -1785,31 +1883,31 @@ function __wbg_get_imports() {
|
|
|
1785
1883
|
const ret = arg0.versions;
|
|
1786
1884
|
return ret;
|
|
1787
1885
|
},
|
|
1788
|
-
|
|
1886
|
+
__wbg_view_38a930844c964103: function(arg0) {
|
|
1789
1887
|
const ret = arg0.view;
|
|
1790
1888
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1791
1889
|
},
|
|
1792
|
-
|
|
1890
|
+
__wbg_warn_eb29a0759e003ef2: function(arg0) {
|
|
1793
1891
|
console.warn(...arg0);
|
|
1794
1892
|
},
|
|
1795
1893
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1796
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1797
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1894
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2210, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1895
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__haed62cf3e2984162);
|
|
1798
1896
|
return ret;
|
|
1799
1897
|
},
|
|
1800
1898
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1801
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1802
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1899
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 639, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1900
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h7bfdbb08164f06ae);
|
|
1803
1901
|
return ret;
|
|
1804
1902
|
},
|
|
1805
1903
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1806
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1807
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1904
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 595, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1905
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h57b5907d3b936f99);
|
|
1808
1906
|
return ret;
|
|
1809
1907
|
},
|
|
1810
1908
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1811
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1812
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1909
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 753, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1910
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hc120bfaa77467242);
|
|
1813
1911
|
return ret;
|
|
1814
1912
|
},
|
|
1815
1913
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -1853,27 +1951,27 @@ function __wbg_get_imports() {
|
|
|
1853
1951
|
};
|
|
1854
1952
|
}
|
|
1855
1953
|
|
|
1856
|
-
function
|
|
1857
|
-
wasm.
|
|
1954
|
+
function wasm_bindgen__convert__closures_____invoke__h57b5907d3b936f99(arg0, arg1) {
|
|
1955
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h57b5907d3b936f99(arg0, arg1);
|
|
1858
1956
|
}
|
|
1859
1957
|
|
|
1860
|
-
function
|
|
1861
|
-
wasm.
|
|
1958
|
+
function wasm_bindgen__convert__closures_____invoke__hc120bfaa77467242(arg0, arg1) {
|
|
1959
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hc120bfaa77467242(arg0, arg1);
|
|
1862
1960
|
}
|
|
1863
1961
|
|
|
1864
|
-
function
|
|
1865
|
-
wasm.
|
|
1962
|
+
function wasm_bindgen__convert__closures_____invoke__h7bfdbb08164f06ae(arg0, arg1, arg2) {
|
|
1963
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7bfdbb08164f06ae(arg0, arg1, arg2);
|
|
1866
1964
|
}
|
|
1867
1965
|
|
|
1868
|
-
function
|
|
1869
|
-
const ret = wasm.
|
|
1966
|
+
function wasm_bindgen__convert__closures_____invoke__haed62cf3e2984162(arg0, arg1, arg2) {
|
|
1967
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__haed62cf3e2984162(arg0, arg1, arg2);
|
|
1870
1968
|
if (ret[1]) {
|
|
1871
1969
|
throw takeFromExternrefTable0(ret[0]);
|
|
1872
1970
|
}
|
|
1873
1971
|
}
|
|
1874
1972
|
|
|
1875
|
-
function
|
|
1876
|
-
wasm.
|
|
1973
|
+
function wasm_bindgen__convert__closures_____invoke__h7b228b9e08b1988a(arg0, arg1, arg2, arg3) {
|
|
1974
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7b228b9e08b1988a(arg0, arg1, arg2, arg3);
|
|
1877
1975
|
}
|
|
1878
1976
|
|
|
1879
1977
|
|
|
@@ -1941,7 +2039,7 @@ function _assertClass(instance, klass) {
|
|
|
1941
2039
|
|
|
1942
2040
|
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
1943
2041
|
? { register: () => {}, unregister: () => {} }
|
|
1944
|
-
: new FinalizationRegistry(state =>
|
|
2042
|
+
: new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure(state.a, state.b));
|
|
1945
2043
|
|
|
1946
2044
|
function debugString(val) {
|
|
1947
2045
|
// primitive types
|
|
@@ -2058,8 +2156,8 @@ function isLikeNone(x) {
|
|
|
2058
2156
|
return x === undefined || x === null;
|
|
2059
2157
|
}
|
|
2060
2158
|
|
|
2061
|
-
function makeMutClosure(arg0, arg1,
|
|
2062
|
-
const state = { a: arg0, b: arg1, cnt: 1
|
|
2159
|
+
function makeMutClosure(arg0, arg1, f) {
|
|
2160
|
+
const state = { a: arg0, b: arg1, cnt: 1 };
|
|
2063
2161
|
const real = (...args) => {
|
|
2064
2162
|
|
|
2065
2163
|
// First up with a closure we increment the internal reference
|
|
@@ -2077,7 +2175,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
2077
2175
|
};
|
|
2078
2176
|
real._wbg_cb_unref = () => {
|
|
2079
2177
|
if (--state.cnt === 0) {
|
|
2080
|
-
|
|
2178
|
+
wasm.__wbindgen_destroy_closure(state.a, state.b);
|
|
2081
2179
|
state.a = 0;
|
|
2082
2180
|
CLOSURE_DTORS.unregister(state);
|
|
2083
2181
|
}
|
package/cedarling_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@janssenproject/cedarling_wasm",
|
|
3
3
|
"description": "The Cedarling is a performant local authorization service that runs the Rust Cedar Engine",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.344-nodejs",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|