@janssenproject/cedarling_wasm 0.0.343 → 0.0.344
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 +80 -9
- 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
|
/**
|
|
@@ -482,6 +550,12 @@ export interface InitOutput {
|
|
|
482
550
|
readonly cedarling_clear_data_ctx: (a: number) => [number, number];
|
|
483
551
|
readonly cedarling_list_data_ctx: (a: number) => [number, number, number];
|
|
484
552
|
readonly cedarling_get_stats_ctx: (a: number) => [number, number, number];
|
|
553
|
+
readonly cedarling_is_trusted_issuer_loaded_by_name: (a: number, b: number, c: number) => number;
|
|
554
|
+
readonly cedarling_is_trusted_issuer_loaded_by_iss: (a: number, b: number, c: number) => number;
|
|
555
|
+
readonly cedarling_total_issuers: (a: number) => number;
|
|
556
|
+
readonly cedarling_loaded_trusted_issuers_count: (a: number) => number;
|
|
557
|
+
readonly cedarling_loaded_trusted_issuer_ids: (a: number) => any;
|
|
558
|
+
readonly cedarling_failed_trusted_issuer_ids: (a: number) => any;
|
|
485
559
|
readonly __wbg_authorizeresult_free: (a: number, b: number) => void;
|
|
486
560
|
readonly __wbg_get_authorizeresult_decision: (a: number) => number;
|
|
487
561
|
readonly __wbg_set_authorizeresult_decision: (a: number, b: number) => void;
|
|
@@ -552,20 +626,17 @@ export interface InitOutput {
|
|
|
552
626
|
readonly rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
|
|
553
627
|
readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
554
628
|
readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
555
|
-
readonly
|
|
556
|
-
readonly
|
|
557
|
-
readonly
|
|
558
|
-
readonly
|
|
559
|
-
readonly
|
|
560
|
-
readonly wasm_bindgen__convert__closures_____invoke__h17a92308e79e69c0: (a: number, b: number, c: any, d: any) => void;
|
|
561
|
-
readonly wasm_bindgen__convert__closures_____invoke__hdb4e3955a815023f: (a: number, b: number, c: any) => void;
|
|
562
|
-
readonly wasm_bindgen__convert__closures_____invoke__h09da5be58b802521: (a: number, b: number) => void;
|
|
563
|
-
readonly wasm_bindgen__convert__closures_____invoke__h5ac545e984d2dde4: (a: number, b: number) => void;
|
|
629
|
+
readonly wasm_bindgen__convert__closures_____invoke__haed62cf3e2984162: (a: number, b: number, c: any) => [number, number];
|
|
630
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7b228b9e08b1988a: (a: number, b: number, c: any, d: any) => void;
|
|
631
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7bfdbb08164f06ae: (a: number, b: number, c: any) => void;
|
|
632
|
+
readonly wasm_bindgen__convert__closures_____invoke__h57b5907d3b936f99: (a: number, b: number) => void;
|
|
633
|
+
readonly wasm_bindgen__convert__closures_____invoke__hc120bfaa77467242: (a: number, b: number) => void;
|
|
564
634
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
565
635
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
566
636
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
567
637
|
readonly __externref_table_alloc: () => number;
|
|
568
638
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
639
|
+
readonly __wbindgen_destroy_closure: (a: number, b: number) => void;
|
|
569
640
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
570
641
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
571
642
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
package/cedarling_wasm.js
CHANGED
|
@@ -197,6 +197,20 @@ export class Cedarling {
|
|
|
197
197
|
throw takeFromExternrefTable0(ret[0]);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* Get trusted issuer identifiers that failed to load.
|
|
202
|
+
*
|
|
203
|
+
* # Example
|
|
204
|
+
*
|
|
205
|
+
* ```javascript
|
|
206
|
+
* const ids = cedarling.failed_trusted_issuer_ids();
|
|
207
|
+
* ```
|
|
208
|
+
* @returns {Array<any>}
|
|
209
|
+
*/
|
|
210
|
+
failed_trusted_issuer_ids() {
|
|
211
|
+
const ret = wasm.cedarling_failed_trusted_issuer_ids(this.__wbg_ptr);
|
|
212
|
+
return ret;
|
|
213
|
+
}
|
|
200
214
|
/**
|
|
201
215
|
* Get a value from the data store by key.
|
|
202
216
|
* Returns null if the key doesn't exist or the entry has expired.
|
|
@@ -356,6 +370,48 @@ export class Cedarling {
|
|
|
356
370
|
}
|
|
357
371
|
return DataStoreStats.__wrap(ret[0]);
|
|
358
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
* Check whether a trusted issuer was loaded by `iss` claim.
|
|
375
|
+
*
|
|
376
|
+
* # Arguments
|
|
377
|
+
*
|
|
378
|
+
* * `iss_claim` - Issuer `iss` claim value to check.
|
|
379
|
+
*
|
|
380
|
+
* # Example
|
|
381
|
+
*
|
|
382
|
+
* ```javascript
|
|
383
|
+
* const ok = cedarling.is_trusted_issuer_loaded_by_iss("https://issuer.example.org");
|
|
384
|
+
* ```
|
|
385
|
+
* @param {string} iss_claim
|
|
386
|
+
* @returns {boolean}
|
|
387
|
+
*/
|
|
388
|
+
is_trusted_issuer_loaded_by_iss(iss_claim) {
|
|
389
|
+
const ptr0 = passStringToWasm0(iss_claim, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
390
|
+
const len0 = WASM_VECTOR_LEN;
|
|
391
|
+
const ret = wasm.cedarling_is_trusted_issuer_loaded_by_iss(this.__wbg_ptr, ptr0, len0);
|
|
392
|
+
return ret !== 0;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Check whether a trusted issuer was loaded by issuer identifier.
|
|
396
|
+
*
|
|
397
|
+
* # Arguments
|
|
398
|
+
*
|
|
399
|
+
* * `issuer_id` - Trusted issuer identifier to check.
|
|
400
|
+
*
|
|
401
|
+
* # Example
|
|
402
|
+
*
|
|
403
|
+
* ```javascript
|
|
404
|
+
* const ok = cedarling.is_trusted_issuer_loaded_by_name("issuer_id");
|
|
405
|
+
* ```
|
|
406
|
+
* @param {string} issuer_id
|
|
407
|
+
* @returns {boolean}
|
|
408
|
+
*/
|
|
409
|
+
is_trusted_issuer_loaded_by_name(issuer_id) {
|
|
410
|
+
const ptr0 = passStringToWasm0(issuer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
411
|
+
const len0 = WASM_VECTOR_LEN;
|
|
412
|
+
const ret = wasm.cedarling_is_trusted_issuer_loaded_by_name(this.__wbg_ptr, ptr0, len0);
|
|
413
|
+
return ret !== 0;
|
|
414
|
+
}
|
|
359
415
|
/**
|
|
360
416
|
* List all entries with their metadata.
|
|
361
417
|
* Returns an array of DataEntry objects.
|
|
@@ -377,6 +433,34 @@ export class Cedarling {
|
|
|
377
433
|
}
|
|
378
434
|
return takeFromExternrefTable0(ret[0]);
|
|
379
435
|
}
|
|
436
|
+
/**
|
|
437
|
+
* Get trusted issuer identifiers loaded successfully.
|
|
438
|
+
*
|
|
439
|
+
* # Example
|
|
440
|
+
*
|
|
441
|
+
* ```javascript
|
|
442
|
+
* const ids = cedarling.loaded_trusted_issuer_ids();
|
|
443
|
+
* ```
|
|
444
|
+
* @returns {Array<any>}
|
|
445
|
+
*/
|
|
446
|
+
loaded_trusted_issuer_ids() {
|
|
447
|
+
const ret = wasm.cedarling_loaded_trusted_issuer_ids(this.__wbg_ptr);
|
|
448
|
+
return ret;
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* Get the number of trusted issuers loaded successfully.
|
|
452
|
+
*
|
|
453
|
+
* # Example
|
|
454
|
+
*
|
|
455
|
+
* ```javascript
|
|
456
|
+
* const loadedCount = cedarling.loaded_trusted_issuers_count();
|
|
457
|
+
* ```
|
|
458
|
+
* @returns {number}
|
|
459
|
+
*/
|
|
460
|
+
loaded_trusted_issuers_count() {
|
|
461
|
+
const ret = wasm.cedarling_loaded_trusted_issuers_count(this.__wbg_ptr);
|
|
462
|
+
return ret >>> 0;
|
|
463
|
+
}
|
|
380
464
|
/**
|
|
381
465
|
* Create a new instance of the Cedarling application.
|
|
382
466
|
* Assume that config is `Object`
|
|
@@ -474,6 +558,20 @@ export class Cedarling {
|
|
|
474
558
|
const ret = wasm.cedarling_shut_down(this.__wbg_ptr);
|
|
475
559
|
return ret;
|
|
476
560
|
}
|
|
561
|
+
/**
|
|
562
|
+
* Get the total number of trusted issuer entries discovered.
|
|
563
|
+
*
|
|
564
|
+
* # Example
|
|
565
|
+
*
|
|
566
|
+
* ```javascript
|
|
567
|
+
* const total = cedarling.total_issuers();
|
|
568
|
+
* ```
|
|
569
|
+
* @returns {number}
|
|
570
|
+
*/
|
|
571
|
+
total_issuers() {
|
|
572
|
+
const ret = wasm.cedarling_total_issuers(this.__wbg_ptr);
|
|
573
|
+
return ret >>> 0;
|
|
574
|
+
}
|
|
477
575
|
}
|
|
478
576
|
if (Symbol.dispose) Cedarling.prototype[Symbol.dispose] = Cedarling.prototype.free;
|
|
479
577
|
|
|
@@ -1179,72 +1277,72 @@ export function init_from_archive_bytes(config, archive_bytes) {
|
|
|
1179
1277
|
function __wbg_get_imports() {
|
|
1180
1278
|
const import0 = {
|
|
1181
1279
|
__proto__: null,
|
|
1182
|
-
|
|
1280
|
+
__wbg_Error_55538483de6e3abe: function(arg0, arg1) {
|
|
1183
1281
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1184
1282
|
return ret;
|
|
1185
1283
|
},
|
|
1186
|
-
|
|
1284
|
+
__wbg_Number_f257194b7002d6f9: function(arg0) {
|
|
1187
1285
|
const ret = Number(arg0);
|
|
1188
1286
|
return ret;
|
|
1189
1287
|
},
|
|
1190
|
-
|
|
1288
|
+
__wbg___wbindgen_bigint_get_as_i64_a738e80c0fe6f6a7: function(arg0, arg1) {
|
|
1191
1289
|
const v = arg1;
|
|
1192
1290
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1193
1291
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1194
1292
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1195
1293
|
},
|
|
1196
|
-
|
|
1294
|
+
__wbg___wbindgen_boolean_get_fe2a24fdfdb4064f: function(arg0) {
|
|
1197
1295
|
const v = arg0;
|
|
1198
1296
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
1199
1297
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1200
1298
|
},
|
|
1201
|
-
|
|
1299
|
+
__wbg___wbindgen_debug_string_d89627202d0155b7: function(arg0, arg1) {
|
|
1202
1300
|
const ret = debugString(arg1);
|
|
1203
1301
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1204
1302
|
const len1 = WASM_VECTOR_LEN;
|
|
1205
1303
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1206
1304
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1207
1305
|
},
|
|
1208
|
-
|
|
1306
|
+
__wbg___wbindgen_in_fe3eb6a509f75744: function(arg0, arg1) {
|
|
1209
1307
|
const ret = arg0 in arg1;
|
|
1210
1308
|
return ret;
|
|
1211
1309
|
},
|
|
1212
|
-
|
|
1310
|
+
__wbg___wbindgen_is_bigint_ca270ac12ef71091: function(arg0) {
|
|
1213
1311
|
const ret = typeof(arg0) === 'bigint';
|
|
1214
1312
|
return ret;
|
|
1215
1313
|
},
|
|
1216
|
-
|
|
1314
|
+
__wbg___wbindgen_is_function_2a95406423ea8626: function(arg0) {
|
|
1217
1315
|
const ret = typeof(arg0) === 'function';
|
|
1218
1316
|
return ret;
|
|
1219
1317
|
},
|
|
1220
|
-
|
|
1318
|
+
__wbg___wbindgen_is_object_59a002e76b059312: function(arg0) {
|
|
1221
1319
|
const val = arg0;
|
|
1222
1320
|
const ret = typeof(val) === 'object' && val !== null;
|
|
1223
1321
|
return ret;
|
|
1224
1322
|
},
|
|
1225
|
-
|
|
1323
|
+
__wbg___wbindgen_is_string_624d5244bb2bc87c: function(arg0) {
|
|
1226
1324
|
const ret = typeof(arg0) === 'string';
|
|
1227
1325
|
return ret;
|
|
1228
1326
|
},
|
|
1229
|
-
|
|
1327
|
+
__wbg___wbindgen_is_undefined_87a3a837f331fef5: function(arg0) {
|
|
1230
1328
|
const ret = arg0 === undefined;
|
|
1231
1329
|
return ret;
|
|
1232
1330
|
},
|
|
1233
|
-
|
|
1331
|
+
__wbg___wbindgen_jsval_eq_eedd705f9f2a4f35: function(arg0, arg1) {
|
|
1234
1332
|
const ret = arg0 === arg1;
|
|
1235
1333
|
return ret;
|
|
1236
1334
|
},
|
|
1237
|
-
|
|
1335
|
+
__wbg___wbindgen_jsval_loose_eq_cf851f110c48f9ba: function(arg0, arg1) {
|
|
1238
1336
|
const ret = arg0 == arg1;
|
|
1239
1337
|
return ret;
|
|
1240
1338
|
},
|
|
1241
|
-
|
|
1339
|
+
__wbg___wbindgen_number_get_769f3676dc20c1d7: function(arg0, arg1) {
|
|
1242
1340
|
const obj = arg1;
|
|
1243
1341
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1244
1342
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1245
1343
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1246
1344
|
},
|
|
1247
|
-
|
|
1345
|
+
__wbg___wbindgen_string_get_f1161390414f9b59: function(arg0, arg1) {
|
|
1248
1346
|
const obj = arg1;
|
|
1249
1347
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1250
1348
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1252,22 +1350,22 @@ function __wbg_get_imports() {
|
|
|
1252
1350
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1253
1351
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1254
1352
|
},
|
|
1255
|
-
|
|
1353
|
+
__wbg___wbindgen_throw_5549492daedad139: function(arg0, arg1) {
|
|
1256
1354
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1257
1355
|
},
|
|
1258
|
-
|
|
1356
|
+
__wbg__wbg_cb_unref_fbe69bb076c16bad: function(arg0) {
|
|
1259
1357
|
arg0._wbg_cb_unref();
|
|
1260
1358
|
},
|
|
1261
|
-
|
|
1262
|
-
arg0.abort();
|
|
1263
|
-
},
|
|
1264
|
-
__wbg_abort_6479c2d794ebf2ee: function(arg0, arg1) {
|
|
1359
|
+
__wbg_abort_b007790bcfd9fff2: function(arg0, arg1) {
|
|
1265
1360
|
arg0.abort(arg1);
|
|
1266
1361
|
},
|
|
1267
|
-
|
|
1362
|
+
__wbg_abort_bdf419e9dcbdaeb3: function(arg0) {
|
|
1363
|
+
arg0.abort();
|
|
1364
|
+
},
|
|
1365
|
+
__wbg_append_7c8e49986ab5288d: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1268
1366
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1269
1367
|
}, arguments); },
|
|
1270
|
-
|
|
1368
|
+
__wbg_arrayBuffer_9f258d017f7107c5: function() { return handleError(function (arg0) {
|
|
1271
1369
|
const ret = arg0.arrayBuffer();
|
|
1272
1370
|
return ret;
|
|
1273
1371
|
}, arguments); },
|
|
@@ -1275,39 +1373,39 @@ function __wbg_get_imports() {
|
|
|
1275
1373
|
const ret = AuthorizeResult.__wrap(arg0);
|
|
1276
1374
|
return ret;
|
|
1277
1375
|
},
|
|
1278
|
-
|
|
1376
|
+
__wbg_body_b8b0dbac0427b082: function(arg0) {
|
|
1279
1377
|
const ret = arg0.body;
|
|
1280
1378
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1281
1379
|
},
|
|
1282
|
-
|
|
1380
|
+
__wbg_buffer_0a57788cdfce21ba: function(arg0) {
|
|
1283
1381
|
const ret = arg0.buffer;
|
|
1284
1382
|
return ret;
|
|
1285
1383
|
},
|
|
1286
|
-
|
|
1384
|
+
__wbg_byobRequest_ab0e57f55bf774f2: function(arg0) {
|
|
1287
1385
|
const ret = arg0.byobRequest;
|
|
1288
1386
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1289
1387
|
},
|
|
1290
|
-
|
|
1388
|
+
__wbg_byteLength_9931db00e5861bf9: function(arg0) {
|
|
1291
1389
|
const ret = arg0.byteLength;
|
|
1292
1390
|
return ret;
|
|
1293
1391
|
},
|
|
1294
|
-
|
|
1392
|
+
__wbg_byteOffset_0a985a98f8ffb8d7: function(arg0) {
|
|
1295
1393
|
const ret = arg0.byteOffset;
|
|
1296
1394
|
return ret;
|
|
1297
1395
|
},
|
|
1298
|
-
|
|
1299
|
-
const ret = arg0.call(arg1
|
|
1396
|
+
__wbg_call_6ae20895a60069a2: function() { return handleError(function (arg0, arg1) {
|
|
1397
|
+
const ret = arg0.call(arg1);
|
|
1300
1398
|
return ret;
|
|
1301
1399
|
}, arguments); },
|
|
1302
|
-
|
|
1303
|
-
const ret = arg0.call(arg1);
|
|
1400
|
+
__wbg_call_8f5d7bb070283508: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1401
|
+
const ret = arg0.call(arg1, arg2);
|
|
1304
1402
|
return ret;
|
|
1305
1403
|
}, arguments); },
|
|
1306
|
-
|
|
1404
|
+
__wbg_cancel_17af7d30174e56fc: function(arg0) {
|
|
1307
1405
|
const ret = arg0.cancel();
|
|
1308
1406
|
return ret;
|
|
1309
1407
|
},
|
|
1310
|
-
|
|
1408
|
+
__wbg_catch_95f7e0f431da3bfc: function(arg0, arg1) {
|
|
1311
1409
|
const ret = arg0.catch(arg1);
|
|
1312
1410
|
return ret;
|
|
1313
1411
|
},
|
|
@@ -1323,10 +1421,10 @@ function __wbg_get_imports() {
|
|
|
1323
1421
|
const ret = clearTimeout(arg0);
|
|
1324
1422
|
return ret;
|
|
1325
1423
|
},
|
|
1326
|
-
|
|
1424
|
+
__wbg_close_62f6a4eadc94565f: function() { return handleError(function (arg0) {
|
|
1327
1425
|
arg0.close();
|
|
1328
1426
|
}, arguments); },
|
|
1329
|
-
|
|
1427
|
+
__wbg_close_f287058716088a50: function() { return handleError(function (arg0) {
|
|
1330
1428
|
arg0.close();
|
|
1331
1429
|
}, arguments); },
|
|
1332
1430
|
__wbg_crypto_38df2bab126b63dc: function(arg0) {
|
|
@@ -1337,48 +1435,48 @@ function __wbg_get_imports() {
|
|
|
1337
1435
|
const ret = DataEntry.__wrap(arg0);
|
|
1338
1436
|
return ret;
|
|
1339
1437
|
},
|
|
1340
|
-
|
|
1438
|
+
__wbg_debug_423712c4250f1682: function(arg0) {
|
|
1341
1439
|
console.debug(...arg0);
|
|
1342
1440
|
},
|
|
1343
|
-
|
|
1441
|
+
__wbg_done_19f92cb1f8738aba: function(arg0) {
|
|
1344
1442
|
const ret = arg0.done;
|
|
1345
1443
|
return ret;
|
|
1346
1444
|
},
|
|
1347
|
-
|
|
1445
|
+
__wbg_enqueue_ee0593cea9be93bd: function() { return handleError(function (arg0, arg1) {
|
|
1348
1446
|
arg0.enqueue(arg1);
|
|
1349
1447
|
}, arguments); },
|
|
1350
|
-
|
|
1351
|
-
const ret =
|
|
1448
|
+
__wbg_entries_28ed7cb892e12eff: function(arg0) {
|
|
1449
|
+
const ret = Object.entries(arg0);
|
|
1352
1450
|
return ret;
|
|
1353
1451
|
},
|
|
1354
|
-
|
|
1452
|
+
__wbg_entries_31ac11e93c1f2197: function(arg0) {
|
|
1355
1453
|
const ret = arg0.entries();
|
|
1356
1454
|
return ret;
|
|
1357
1455
|
},
|
|
1358
|
-
|
|
1359
|
-
const ret =
|
|
1456
|
+
__wbg_entries_dc69bbf25538adc3: function(arg0) {
|
|
1457
|
+
const ret = arg0.entries();
|
|
1360
1458
|
return ret;
|
|
1361
1459
|
},
|
|
1362
|
-
|
|
1460
|
+
__wbg_error_333d6f7cc81c136f: function(arg0) {
|
|
1363
1461
|
console.error(...arg0);
|
|
1364
1462
|
},
|
|
1365
1463
|
__wbg_fetch_010aa16f24b763bc: function(arg0, arg1) {
|
|
1366
1464
|
const ret = fetch(arg0, arg1);
|
|
1367
1465
|
return ret;
|
|
1368
1466
|
},
|
|
1369
|
-
|
|
1370
|
-
const ret = fetch(
|
|
1467
|
+
__wbg_fetch_2f3387796d5f6a84: function(arg0, arg1, arg2) {
|
|
1468
|
+
const ret = arg0.fetch(arg1, arg2);
|
|
1371
1469
|
return ret;
|
|
1372
1470
|
},
|
|
1373
|
-
|
|
1471
|
+
__wbg_fetch_3f39346b50886803: function(arg0, arg1) {
|
|
1374
1472
|
const ret = arg0.fetch(arg1);
|
|
1375
1473
|
return ret;
|
|
1376
1474
|
},
|
|
1377
|
-
|
|
1378
|
-
const ret =
|
|
1475
|
+
__wbg_fetch_43b2f110608a59ff: function(arg0) {
|
|
1476
|
+
const ret = fetch(arg0);
|
|
1379
1477
|
return ret;
|
|
1380
1478
|
},
|
|
1381
|
-
|
|
1479
|
+
__wbg_fromEntries_0f0bc9cda6b6487d: function() { return handleError(function (arg0) {
|
|
1382
1480
|
const ret = Object.fromEntries(arg0);
|
|
1383
1481
|
return ret;
|
|
1384
1482
|
}, arguments); },
|
|
@@ -1392,35 +1490,35 @@ function __wbg_get_imports() {
|
|
|
1392
1490
|
const ret = arg0.getReader();
|
|
1393
1491
|
return ret;
|
|
1394
1492
|
}, arguments); },
|
|
1395
|
-
|
|
1493
|
+
__wbg_getTime_c3af35594e283356: function(arg0) {
|
|
1396
1494
|
const ret = arg0.getTime();
|
|
1397
1495
|
return ret;
|
|
1398
1496
|
},
|
|
1399
|
-
|
|
1497
|
+
__wbg_getTimezoneOffset_c60f1a836e59b3db: function(arg0) {
|
|
1400
1498
|
const ret = arg0.getTimezoneOffset();
|
|
1401
1499
|
return ret;
|
|
1402
1500
|
},
|
|
1403
|
-
|
|
1404
|
-
const ret =
|
|
1501
|
+
__wbg_get_94f5fc088edd3138: function(arg0, arg1) {
|
|
1502
|
+
const ret = arg0[arg1 >>> 0];
|
|
1405
1503
|
return ret;
|
|
1406
|
-
},
|
|
1407
|
-
|
|
1504
|
+
},
|
|
1505
|
+
__wbg_get_a50328e7325d7f9b: function() { return handleError(function (arg0, arg1) {
|
|
1408
1506
|
const ret = Reflect.get(arg0, arg1);
|
|
1409
1507
|
return ret;
|
|
1410
1508
|
}, arguments); },
|
|
1411
|
-
|
|
1412
|
-
const ret = arg0[arg1 >>> 0];
|
|
1413
|
-
return ret;
|
|
1414
|
-
},
|
|
1415
|
-
__wbg_get_done_d0ab690f8df5501f: function(arg0) {
|
|
1509
|
+
__wbg_get_done_cedda7fa9770abba: function(arg0) {
|
|
1416
1510
|
const ret = arg0.done;
|
|
1417
1511
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1418
1512
|
},
|
|
1419
|
-
|
|
1513
|
+
__wbg_get_ff5f1fb220233477: function() { return handleError(function (arg0, arg1) {
|
|
1514
|
+
const ret = Reflect.get(arg0, arg1);
|
|
1515
|
+
return ret;
|
|
1516
|
+
}, arguments); },
|
|
1517
|
+
__wbg_get_unchecked_7c6bbabf5b0b1fbf: function(arg0, arg1) {
|
|
1420
1518
|
const ret = arg0[arg1 >>> 0];
|
|
1421
1519
|
return ret;
|
|
1422
1520
|
},
|
|
1423
|
-
|
|
1521
|
+
__wbg_get_value_69a0a45ef9f1a593: function(arg0) {
|
|
1424
1522
|
const ret = arg0.value;
|
|
1425
1523
|
return ret;
|
|
1426
1524
|
},
|
|
@@ -1428,18 +1526,18 @@ function __wbg_get_imports() {
|
|
|
1428
1526
|
const ret = arg0[arg1];
|
|
1429
1527
|
return ret;
|
|
1430
1528
|
},
|
|
1431
|
-
|
|
1529
|
+
__wbg_has_3f87d148146a0f4e: function() { return handleError(function (arg0, arg1) {
|
|
1432
1530
|
const ret = Reflect.has(arg0, arg1);
|
|
1433
1531
|
return ret;
|
|
1434
1532
|
}, arguments); },
|
|
1435
|
-
|
|
1533
|
+
__wbg_headers_6ccffabdaab0d021: function(arg0) {
|
|
1436
1534
|
const ret = arg0.headers;
|
|
1437
1535
|
return ret;
|
|
1438
1536
|
},
|
|
1439
|
-
|
|
1537
|
+
__wbg_info_62423f62777981a5: function(arg0) {
|
|
1440
1538
|
console.info(...arg0);
|
|
1441
1539
|
},
|
|
1442
|
-
|
|
1540
|
+
__wbg_instanceof_ArrayBuffer_8d855993947fc3a2: function(arg0) {
|
|
1443
1541
|
let result;
|
|
1444
1542
|
try {
|
|
1445
1543
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -1449,7 +1547,7 @@ function __wbg_get_imports() {
|
|
|
1449
1547
|
const ret = result;
|
|
1450
1548
|
return ret;
|
|
1451
1549
|
},
|
|
1452
|
-
|
|
1550
|
+
__wbg_instanceof_Array_79c1b15ef3abcc53: function(arg0) {
|
|
1453
1551
|
let result;
|
|
1454
1552
|
try {
|
|
1455
1553
|
result = arg0 instanceof Array;
|
|
@@ -1459,7 +1557,7 @@ function __wbg_get_imports() {
|
|
|
1459
1557
|
const ret = result;
|
|
1460
1558
|
return ret;
|
|
1461
1559
|
},
|
|
1462
|
-
|
|
1560
|
+
__wbg_instanceof_Map_238410f1463c05ed: function(arg0) {
|
|
1463
1561
|
let result;
|
|
1464
1562
|
try {
|
|
1465
1563
|
result = arg0 instanceof Map;
|
|
@@ -1469,7 +1567,7 @@ function __wbg_get_imports() {
|
|
|
1469
1567
|
const ret = result;
|
|
1470
1568
|
return ret;
|
|
1471
1569
|
},
|
|
1472
|
-
|
|
1570
|
+
__wbg_instanceof_Response_fece7eabbcaca4c3: function(arg0) {
|
|
1473
1571
|
let result;
|
|
1474
1572
|
try {
|
|
1475
1573
|
result = arg0 instanceof Response;
|
|
@@ -1479,7 +1577,7 @@ function __wbg_get_imports() {
|
|
|
1479
1577
|
const ret = result;
|
|
1480
1578
|
return ret;
|
|
1481
1579
|
},
|
|
1482
|
-
|
|
1580
|
+
__wbg_instanceof_Uint8Array_ce24d58a5f4bdcc3: function(arg0) {
|
|
1483
1581
|
let result;
|
|
1484
1582
|
try {
|
|
1485
1583
|
result = arg0 instanceof Uint8Array;
|
|
@@ -1489,31 +1587,31 @@ function __wbg_get_imports() {
|
|
|
1489
1587
|
const ret = result;
|
|
1490
1588
|
return ret;
|
|
1491
1589
|
},
|
|
1492
|
-
|
|
1590
|
+
__wbg_isArray_867202cf8f195ed8: function(arg0) {
|
|
1493
1591
|
const ret = Array.isArray(arg0);
|
|
1494
1592
|
return ret;
|
|
1495
1593
|
},
|
|
1496
|
-
|
|
1594
|
+
__wbg_isSafeInteger_1dfae065cbfe1915: function(arg0) {
|
|
1497
1595
|
const ret = Number.isSafeInteger(arg0);
|
|
1498
1596
|
return ret;
|
|
1499
1597
|
},
|
|
1500
|
-
|
|
1598
|
+
__wbg_iterator_54661826e186eb6a: function() {
|
|
1501
1599
|
const ret = Symbol.iterator;
|
|
1502
1600
|
return ret;
|
|
1503
1601
|
},
|
|
1504
|
-
|
|
1602
|
+
__wbg_keys_e84d806594765111: function(arg0) {
|
|
1505
1603
|
const ret = Object.keys(arg0);
|
|
1506
1604
|
return ret;
|
|
1507
1605
|
},
|
|
1508
|
-
|
|
1606
|
+
__wbg_length_e6e1633fbea6cfa9: function(arg0) {
|
|
1509
1607
|
const ret = arg0.length;
|
|
1510
1608
|
return ret;
|
|
1511
1609
|
},
|
|
1512
|
-
|
|
1610
|
+
__wbg_length_fae3e439140f48a4: function(arg0) {
|
|
1513
1611
|
const ret = arg0.length;
|
|
1514
1612
|
return ret;
|
|
1515
1613
|
},
|
|
1516
|
-
|
|
1614
|
+
__wbg_log_81714afdff806379: function(arg0) {
|
|
1517
1615
|
console.log(...arg0);
|
|
1518
1616
|
},
|
|
1519
1617
|
__wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
|
|
@@ -1524,54 +1622,54 @@ function __wbg_get_imports() {
|
|
|
1524
1622
|
const ret = MultiIssuerAuthorizeResult.__wrap(arg0);
|
|
1525
1623
|
return ret;
|
|
1526
1624
|
},
|
|
1527
|
-
|
|
1528
|
-
const ret = new
|
|
1529
|
-
return ret;
|
|
1530
|
-
}, arguments); },
|
|
1531
|
-
__wbg_new_0_1dcafdf5e786e876: function() {
|
|
1532
|
-
const ret = new Date();
|
|
1625
|
+
__wbg_new_0934b88171ef61b0: function() {
|
|
1626
|
+
const ret = new Map();
|
|
1533
1627
|
return ret;
|
|
1534
1628
|
},
|
|
1535
|
-
|
|
1536
|
-
const ret = new
|
|
1629
|
+
__wbg_new_0_e649c99e7382313f: function() {
|
|
1630
|
+
const ret = new Date();
|
|
1537
1631
|
return ret;
|
|
1538
1632
|
},
|
|
1539
|
-
|
|
1633
|
+
__wbg_new_1d96678aaacca32e: function(arg0) {
|
|
1540
1634
|
const ret = new Uint8Array(arg0);
|
|
1541
1635
|
return ret;
|
|
1542
1636
|
},
|
|
1543
|
-
|
|
1637
|
+
__wbg_new_210ef5849ab6cf48: function() { return handleError(function () {
|
|
1638
|
+
const ret = new Headers();
|
|
1639
|
+
return ret;
|
|
1640
|
+
}, arguments); },
|
|
1641
|
+
__wbg_new_4370be21fa2b2f80: function() {
|
|
1544
1642
|
const ret = new Array();
|
|
1545
1643
|
return ret;
|
|
1546
1644
|
},
|
|
1547
|
-
|
|
1645
|
+
__wbg_new_48e1d86cfd30c8e7: function() {
|
|
1548
1646
|
const ret = new Object();
|
|
1549
1647
|
return ret;
|
|
1550
1648
|
},
|
|
1551
|
-
|
|
1552
|
-
const ret = new AbortController();
|
|
1553
|
-
return ret;
|
|
1554
|
-
}, arguments); },
|
|
1555
|
-
__wbg_new_d15cb560a6a0e5f0: function(arg0, arg1) {
|
|
1649
|
+
__wbg_new_4a843fe2ee4082a9: function(arg0, arg1) {
|
|
1556
1650
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1557
1651
|
return ret;
|
|
1558
1652
|
},
|
|
1559
|
-
|
|
1653
|
+
__wbg_new_ce17f0bcfcc7b8ef: function() { return handleError(function () {
|
|
1654
|
+
const ret = new AbortController();
|
|
1655
|
+
return ret;
|
|
1656
|
+
}, arguments); },
|
|
1657
|
+
__wbg_new_d51bf22e953dcfd1: function(arg0) {
|
|
1560
1658
|
const ret = new Date(arg0);
|
|
1561
1659
|
return ret;
|
|
1562
1660
|
},
|
|
1563
|
-
|
|
1661
|
+
__wbg_new_from_slice_0bc58e36f82a1b50: function(arg0, arg1) {
|
|
1564
1662
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1565
1663
|
return ret;
|
|
1566
1664
|
},
|
|
1567
|
-
|
|
1665
|
+
__wbg_new_typed_25dda2388d7e5e9f: function(arg0, arg1) {
|
|
1568
1666
|
try {
|
|
1569
1667
|
var state0 = {a: arg0, b: arg1};
|
|
1570
1668
|
var cb0 = (arg0, arg1) => {
|
|
1571
1669
|
const a = state0.a;
|
|
1572
1670
|
state0.a = 0;
|
|
1573
1671
|
try {
|
|
1574
|
-
return
|
|
1672
|
+
return wasm_bindgen__convert__closures_____invoke__h7b228b9e08b1988a(a, state0.b, arg0, arg1);
|
|
1575
1673
|
} finally {
|
|
1576
1674
|
state0.a = a;
|
|
1577
1675
|
}
|
|
@@ -1579,29 +1677,29 @@ function __wbg_get_imports() {
|
|
|
1579
1677
|
const ret = new Promise(cb0);
|
|
1580
1678
|
return ret;
|
|
1581
1679
|
} finally {
|
|
1582
|
-
state0.a =
|
|
1680
|
+
state0.a = 0;
|
|
1583
1681
|
}
|
|
1584
1682
|
},
|
|
1585
|
-
|
|
1683
|
+
__wbg_new_with_byte_offset_and_length_ab1e1002d7a694e4: function(arg0, arg1, arg2) {
|
|
1586
1684
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1587
1685
|
return ret;
|
|
1588
1686
|
},
|
|
1589
|
-
|
|
1687
|
+
__wbg_new_with_length_0f3108b57e05ed7c: function(arg0) {
|
|
1590
1688
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1591
1689
|
return ret;
|
|
1592
1690
|
},
|
|
1593
|
-
|
|
1691
|
+
__wbg_new_with_str_and_init_cb3df438bf62964e: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1594
1692
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1595
1693
|
return ret;
|
|
1596
1694
|
}, arguments); },
|
|
1597
|
-
|
|
1598
|
-
const ret = arg0.next();
|
|
1599
|
-
return ret;
|
|
1600
|
-
}, arguments); },
|
|
1601
|
-
__wbg_next_e01a967809d1aa68: function(arg0) {
|
|
1695
|
+
__wbg_next_55d835fe0ab5b3e7: function(arg0) {
|
|
1602
1696
|
const ret = arg0.next;
|
|
1603
1697
|
return ret;
|
|
1604
1698
|
},
|
|
1699
|
+
__wbg_next_e34cfb9df1518d7c: function() { return handleError(function (arg0) {
|
|
1700
|
+
const ret = arg0.next();
|
|
1701
|
+
return ret;
|
|
1702
|
+
}, arguments); },
|
|
1605
1703
|
__wbg_node_84ea875411254db1: function(arg0) {
|
|
1606
1704
|
const ret = arg0.node;
|
|
1607
1705
|
return ret;
|
|
@@ -1614,39 +1712,39 @@ function __wbg_get_imports() {
|
|
|
1614
1712
|
const ret = arg0.process;
|
|
1615
1713
|
return ret;
|
|
1616
1714
|
},
|
|
1617
|
-
|
|
1715
|
+
__wbg_prototypesetcall_3875d54d12ef2eec: function(arg0, arg1, arg2) {
|
|
1618
1716
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1619
1717
|
},
|
|
1620
|
-
|
|
1718
|
+
__wbg_push_d0006a37f9fcda6d: function(arg0, arg1) {
|
|
1621
1719
|
const ret = arg0.push(arg1);
|
|
1622
1720
|
return ret;
|
|
1623
1721
|
},
|
|
1624
|
-
|
|
1722
|
+
__wbg_queueMicrotask_8868365114fe23b5: function(arg0) {
|
|
1723
|
+
queueMicrotask(arg0);
|
|
1724
|
+
},
|
|
1725
|
+
__wbg_queueMicrotask_cfc5a0e62f9ebdbe: function(arg0) {
|
|
1625
1726
|
const ret = arg0.queueMicrotask;
|
|
1626
1727
|
return ret;
|
|
1627
1728
|
},
|
|
1628
|
-
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
1629
|
-
queueMicrotask(arg0);
|
|
1630
|
-
},
|
|
1631
1729
|
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
1632
1730
|
arg0.randomFillSync(arg1);
|
|
1633
1731
|
}, arguments); },
|
|
1634
|
-
|
|
1732
|
+
__wbg_read_a9540f69bce63522: function(arg0) {
|
|
1635
1733
|
const ret = arg0.read();
|
|
1636
1734
|
return ret;
|
|
1637
1735
|
},
|
|
1638
|
-
|
|
1736
|
+
__wbg_releaseLock_58c436bedc52c5b4: function(arg0) {
|
|
1639
1737
|
arg0.releaseLock();
|
|
1640
1738
|
},
|
|
1641
1739
|
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
1642
1740
|
const ret = module.require;
|
|
1643
1741
|
return ret;
|
|
1644
1742
|
}, arguments); },
|
|
1645
|
-
|
|
1743
|
+
__wbg_resolve_d8059bc113e215bf: function(arg0) {
|
|
1646
1744
|
const ret = Promise.resolve(arg0);
|
|
1647
1745
|
return ret;
|
|
1648
1746
|
},
|
|
1649
|
-
|
|
1747
|
+
__wbg_respond_1ec29395edbe7fce: function() { return handleError(function (arg0, arg1) {
|
|
1650
1748
|
arg0.respond(arg1 >>> 0);
|
|
1651
1749
|
}, arguments); },
|
|
1652
1750
|
__wbg_setTimeout_a3127d9f29a851c3: function(arg0, arg1) {
|
|
@@ -1657,114 +1755,114 @@ function __wbg_get_imports() {
|
|
|
1657
1755
|
const ret = setTimeout(arg0, arg1);
|
|
1658
1756
|
return ret;
|
|
1659
1757
|
},
|
|
1660
|
-
|
|
1758
|
+
__wbg_set_0b4302959e9491f2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1759
|
+
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1760
|
+
}, arguments); },
|
|
1761
|
+
__wbg_set_295bad3b5ead4e99: function(arg0, arg1, arg2) {
|
|
1762
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1763
|
+
},
|
|
1764
|
+
__wbg_set_4702dfa37c77f492: function(arg0, arg1, arg2) {
|
|
1661
1765
|
arg0[arg1 >>> 0] = arg2;
|
|
1662
1766
|
},
|
|
1663
1767
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1664
1768
|
arg0[arg1] = arg2;
|
|
1665
1769
|
},
|
|
1666
|
-
|
|
1667
|
-
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1668
|
-
return ret;
|
|
1669
|
-
}, arguments); },
|
|
1670
|
-
__wbg_set_8c0b3ffcf05d61c2: function(arg0, arg1, arg2) {
|
|
1671
|
-
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1672
|
-
},
|
|
1673
|
-
__wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
|
|
1770
|
+
__wbg_set_8c6629931852a4a5: function(arg0, arg1, arg2) {
|
|
1674
1771
|
const ret = arg0.set(arg1, arg2);
|
|
1675
1772
|
return ret;
|
|
1676
1773
|
},
|
|
1677
|
-
|
|
1774
|
+
__wbg_set_991082a7a49971cf: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1775
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1776
|
+
return ret;
|
|
1777
|
+
}, arguments); },
|
|
1778
|
+
__wbg_set_body_e2cf9537a2f3e0be: function(arg0, arg1) {
|
|
1678
1779
|
arg0.body = arg1;
|
|
1679
1780
|
},
|
|
1680
|
-
|
|
1781
|
+
__wbg_set_cache_542e710bfd7aa57a: function(arg0, arg1) {
|
|
1681
1782
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1682
1783
|
},
|
|
1683
|
-
|
|
1784
|
+
__wbg_set_credentials_5838a4909b379d8e: function(arg0, arg1) {
|
|
1684
1785
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1685
1786
|
},
|
|
1686
|
-
|
|
1687
|
-
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1688
|
-
}, arguments); },
|
|
1689
|
-
__wbg_set_headers_3c8fecc693b75327: function(arg0, arg1) {
|
|
1787
|
+
__wbg_set_headers_22d4b01224273a83: function(arg0, arg1) {
|
|
1690
1788
|
arg0.headers = arg1;
|
|
1691
1789
|
},
|
|
1692
|
-
|
|
1790
|
+
__wbg_set_integrity_cddf7f2db42f804f: function(arg0, arg1, arg2) {
|
|
1693
1791
|
arg0.integrity = getStringFromWasm0(arg1, arg2);
|
|
1694
1792
|
},
|
|
1695
|
-
|
|
1793
|
+
__wbg_set_method_4a4ab3faba8a018c: function(arg0, arg1, arg2) {
|
|
1696
1794
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1697
1795
|
},
|
|
1698
|
-
|
|
1796
|
+
__wbg_set_mode_7b856ab49b64c0db: function(arg0, arg1) {
|
|
1699
1797
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1700
1798
|
},
|
|
1701
|
-
|
|
1799
|
+
__wbg_set_redirect_def7b707b961a056: function(arg0, arg1) {
|
|
1702
1800
|
arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
|
|
1703
1801
|
},
|
|
1704
|
-
|
|
1802
|
+
__wbg_set_referrer_137c75ffd4471b33: function(arg0, arg1, arg2) {
|
|
1705
1803
|
arg0.referrer = getStringFromWasm0(arg1, arg2);
|
|
1706
1804
|
},
|
|
1707
|
-
|
|
1805
|
+
__wbg_set_referrer_policy_cc894554d0688d32: function(arg0, arg1) {
|
|
1708
1806
|
arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
|
|
1709
1807
|
},
|
|
1710
|
-
|
|
1808
|
+
__wbg_set_signal_cd4528432ab8fe0b: function(arg0, arg1) {
|
|
1711
1809
|
arg0.signal = arg1;
|
|
1712
1810
|
},
|
|
1713
|
-
|
|
1811
|
+
__wbg_signal_6740ecf9bc372e29: function(arg0) {
|
|
1714
1812
|
const ret = arg0.signal;
|
|
1715
1813
|
return ret;
|
|
1716
1814
|
},
|
|
1717
|
-
|
|
1815
|
+
__wbg_static_accessor_GLOBAL_8dfb7f5e26ebe523: function() {
|
|
1718
1816
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1719
1817
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1720
1818
|
},
|
|
1721
|
-
|
|
1819
|
+
__wbg_static_accessor_GLOBAL_THIS_941154efc8395cdd: function() {
|
|
1722
1820
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1723
1821
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1724
1822
|
},
|
|
1725
|
-
|
|
1823
|
+
__wbg_static_accessor_SELF_58dac9af822f561f: function() {
|
|
1726
1824
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1727
1825
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1728
1826
|
},
|
|
1729
|
-
|
|
1827
|
+
__wbg_static_accessor_WINDOW_ee64f0b3d8354c0b: function() {
|
|
1730
1828
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1731
1829
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1732
1830
|
},
|
|
1733
|
-
|
|
1831
|
+
__wbg_status_1ae443dc56281de7: function(arg0) {
|
|
1734
1832
|
const ret = arg0.status;
|
|
1735
1833
|
return ret;
|
|
1736
1834
|
},
|
|
1737
|
-
|
|
1835
|
+
__wbg_subarray_035d32bb24a7d55d: function(arg0, arg1, arg2) {
|
|
1738
1836
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1739
1837
|
return ret;
|
|
1740
1838
|
},
|
|
1741
|
-
|
|
1839
|
+
__wbg_text_6d3a70da69d27961: function() { return handleError(function (arg0) {
|
|
1742
1840
|
const ret = arg0.text();
|
|
1743
1841
|
return ret;
|
|
1744
1842
|
}, arguments); },
|
|
1745
|
-
|
|
1746
|
-
const ret = arg0.then(arg1);
|
|
1843
|
+
__wbg_then_0150352e4ad20344: function(arg0, arg1, arg2) {
|
|
1844
|
+
const ret = arg0.then(arg1, arg2);
|
|
1747
1845
|
return ret;
|
|
1748
1846
|
},
|
|
1749
|
-
|
|
1750
|
-
const ret = arg0.then(arg1
|
|
1847
|
+
__wbg_then_5160486c67ddb98a: function(arg0, arg1) {
|
|
1848
|
+
const ret = arg0.then(arg1);
|
|
1751
1849
|
return ret;
|
|
1752
1850
|
},
|
|
1753
|
-
|
|
1851
|
+
__wbg_toString_9e7353a77cb415a2: function(arg0) {
|
|
1754
1852
|
const ret = arg0.toString();
|
|
1755
1853
|
return ret;
|
|
1756
1854
|
},
|
|
1757
|
-
|
|
1855
|
+
__wbg_trace_6bf63295328ed5f4: function(arg0) {
|
|
1758
1856
|
console.trace(...arg0);
|
|
1759
1857
|
},
|
|
1760
|
-
|
|
1858
|
+
__wbg_url_c6d54634d7005dd1: function(arg0, arg1) {
|
|
1761
1859
|
const ret = arg1.url;
|
|
1762
1860
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1763
1861
|
const len1 = WASM_VECTOR_LEN;
|
|
1764
1862
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1765
1863
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1766
1864
|
},
|
|
1767
|
-
|
|
1865
|
+
__wbg_value_d5b248ce8419bd1b: function(arg0) {
|
|
1768
1866
|
const ret = arg0.value;
|
|
1769
1867
|
return ret;
|
|
1770
1868
|
},
|
|
@@ -1772,31 +1870,31 @@ function __wbg_get_imports() {
|
|
|
1772
1870
|
const ret = arg0.versions;
|
|
1773
1871
|
return ret;
|
|
1774
1872
|
},
|
|
1775
|
-
|
|
1873
|
+
__wbg_view_38a930844c964103: function(arg0) {
|
|
1776
1874
|
const ret = arg0.view;
|
|
1777
1875
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1778
1876
|
},
|
|
1779
|
-
|
|
1877
|
+
__wbg_warn_eb29a0759e003ef2: function(arg0) {
|
|
1780
1878
|
console.warn(...arg0);
|
|
1781
1879
|
},
|
|
1782
1880
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1783
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1784
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1881
|
+
// 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`.
|
|
1882
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__haed62cf3e2984162);
|
|
1785
1883
|
return ret;
|
|
1786
1884
|
},
|
|
1787
1885
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1788
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1789
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1886
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 639, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1887
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h7bfdbb08164f06ae);
|
|
1790
1888
|
return ret;
|
|
1791
1889
|
},
|
|
1792
1890
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1793
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1794
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1891
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 595, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1892
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h57b5907d3b936f99);
|
|
1795
1893
|
return ret;
|
|
1796
1894
|
},
|
|
1797
1895
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1798
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1799
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1896
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 753, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1897
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hc120bfaa77467242);
|
|
1800
1898
|
return ret;
|
|
1801
1899
|
},
|
|
1802
1900
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -1840,27 +1938,27 @@ function __wbg_get_imports() {
|
|
|
1840
1938
|
};
|
|
1841
1939
|
}
|
|
1842
1940
|
|
|
1843
|
-
function
|
|
1844
|
-
wasm.
|
|
1941
|
+
function wasm_bindgen__convert__closures_____invoke__h57b5907d3b936f99(arg0, arg1) {
|
|
1942
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h57b5907d3b936f99(arg0, arg1);
|
|
1845
1943
|
}
|
|
1846
1944
|
|
|
1847
|
-
function
|
|
1848
|
-
wasm.
|
|
1945
|
+
function wasm_bindgen__convert__closures_____invoke__hc120bfaa77467242(arg0, arg1) {
|
|
1946
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hc120bfaa77467242(arg0, arg1);
|
|
1849
1947
|
}
|
|
1850
1948
|
|
|
1851
|
-
function
|
|
1852
|
-
wasm.
|
|
1949
|
+
function wasm_bindgen__convert__closures_____invoke__h7bfdbb08164f06ae(arg0, arg1, arg2) {
|
|
1950
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7bfdbb08164f06ae(arg0, arg1, arg2);
|
|
1853
1951
|
}
|
|
1854
1952
|
|
|
1855
|
-
function
|
|
1856
|
-
const ret = wasm.
|
|
1953
|
+
function wasm_bindgen__convert__closures_____invoke__haed62cf3e2984162(arg0, arg1, arg2) {
|
|
1954
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__haed62cf3e2984162(arg0, arg1, arg2);
|
|
1857
1955
|
if (ret[1]) {
|
|
1858
1956
|
throw takeFromExternrefTable0(ret[0]);
|
|
1859
1957
|
}
|
|
1860
1958
|
}
|
|
1861
1959
|
|
|
1862
|
-
function
|
|
1863
|
-
wasm.
|
|
1960
|
+
function wasm_bindgen__convert__closures_____invoke__h7b228b9e08b1988a(arg0, arg1, arg2, arg3) {
|
|
1961
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7b228b9e08b1988a(arg0, arg1, arg2, arg3);
|
|
1864
1962
|
}
|
|
1865
1963
|
|
|
1866
1964
|
|
|
@@ -1928,7 +2026,7 @@ function _assertClass(instance, klass) {
|
|
|
1928
2026
|
|
|
1929
2027
|
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
1930
2028
|
? { register: () => {}, unregister: () => {} }
|
|
1931
|
-
: new FinalizationRegistry(state =>
|
|
2029
|
+
: new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure(state.a, state.b));
|
|
1932
2030
|
|
|
1933
2031
|
function debugString(val) {
|
|
1934
2032
|
// primitive types
|
|
@@ -2045,8 +2143,8 @@ function isLikeNone(x) {
|
|
|
2045
2143
|
return x === undefined || x === null;
|
|
2046
2144
|
}
|
|
2047
2145
|
|
|
2048
|
-
function makeMutClosure(arg0, arg1,
|
|
2049
|
-
const state = { a: arg0, b: arg1, cnt: 1
|
|
2146
|
+
function makeMutClosure(arg0, arg1, f) {
|
|
2147
|
+
const state = { a: arg0, b: arg1, cnt: 1 };
|
|
2050
2148
|
const real = (...args) => {
|
|
2051
2149
|
|
|
2052
2150
|
// First up with a closure we increment the internal reference
|
|
@@ -2064,7 +2162,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
2064
2162
|
};
|
|
2065
2163
|
real._wbg_cb_unref = () => {
|
|
2066
2164
|
if (--state.cnt === 0) {
|
|
2067
|
-
|
|
2165
|
+
wasm.__wbindgen_destroy_closure(state.a, state.b);
|
|
2068
2166
|
state.a = 0;
|
|
2069
2167
|
CLOSURE_DTORS.unregister(state);
|
|
2070
2168
|
}
|
package/cedarling_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@janssenproject/cedarling_wasm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "The Cedarling is a performant local authorization service that runs the Rust Cedar Engine",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.344",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|