claim169 0.2.0-alpha → 0.3.0
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/dist/index.d.ts +40 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +157 -185
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +197 -5
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +98 -9
- package/dist/types.js.map +1 -1
- package/package.json +4 -3
- package/wasm/claim169_wasm.d.ts +19 -2
- package/wasm/claim169_wasm.js +1 -1
- package/wasm/claim169_wasm_bg.js +123 -95
- package/wasm/claim169_wasm_bg.wasm +0 -0
- package/wasm/claim169_wasm_bg.wasm.d.ts +4 -1
- package/wasm/package.json +1 -1
package/wasm/claim169_wasm_bg.js
CHANGED
|
@@ -125,6 +125,15 @@ export class WasmDecoder {
|
|
|
125
125
|
const ret = wasm.wasmdecoder_skipBiometrics(ptr);
|
|
126
126
|
return WasmDecoder.__wrap(ret);
|
|
127
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Require spec-compliant zlib compression; reject other formats
|
|
130
|
+
* @returns {WasmDecoder}
|
|
131
|
+
*/
|
|
132
|
+
strictCompression() {
|
|
133
|
+
const ptr = this.__destroy_into_raw();
|
|
134
|
+
const ret = wasm.wasmdecoder_strictCompression(ptr);
|
|
135
|
+
return WasmDecoder.__wrap(ret);
|
|
136
|
+
}
|
|
128
137
|
/**
|
|
129
138
|
* Verify with a custom verifier callback.
|
|
130
139
|
*
|
|
@@ -245,27 +254,32 @@ export class WasmEncoder {
|
|
|
245
254
|
return WasmEncoder.__wrap(ret);
|
|
246
255
|
}
|
|
247
256
|
/**
|
|
248
|
-
*
|
|
249
|
-
*
|
|
257
|
+
* Set compression mode: "zlib" (default), "none", "adaptive",
|
|
258
|
+
* "brotli:N" (0-11), or "adaptive-brotli:N" (requires compression-brotli feature)
|
|
259
|
+
* @param {string} mode
|
|
260
|
+
* @returns {WasmEncoder}
|
|
261
|
+
*/
|
|
262
|
+
compression(mode) {
|
|
263
|
+
const ptr = this.__destroy_into_raw();
|
|
264
|
+
const ptr0 = passStringToWasm0(mode, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
265
|
+
const len0 = WASM_VECTOR_LEN;
|
|
266
|
+
const ret = wasm.wasmencoder_compression(ptr, ptr0, len0);
|
|
267
|
+
if (ret[2]) {
|
|
268
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
269
|
+
}
|
|
270
|
+
return WasmEncoder.__wrap(ret[0]);
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Encode the credential to a QR-ready result object
|
|
274
|
+
* @returns {any}
|
|
250
275
|
*/
|
|
251
276
|
encode() {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
const ret = wasm.wasmencoder_encode(ptr);
|
|
257
|
-
var ptr1 = ret[0];
|
|
258
|
-
var len1 = ret[1];
|
|
259
|
-
if (ret[3]) {
|
|
260
|
-
ptr1 = 0; len1 = 0;
|
|
261
|
-
throw takeFromExternrefTable0(ret[2]);
|
|
262
|
-
}
|
|
263
|
-
deferred2_0 = ptr1;
|
|
264
|
-
deferred2_1 = len1;
|
|
265
|
-
return getStringFromWasm0(ptr1, len1);
|
|
266
|
-
} finally {
|
|
267
|
-
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
277
|
+
const ptr = this.__destroy_into_raw();
|
|
278
|
+
const ret = wasm.wasmencoder_encode(ptr);
|
|
279
|
+
if (ret[2]) {
|
|
280
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
268
281
|
}
|
|
282
|
+
return takeFromExternrefTable0(ret[0]);
|
|
269
283
|
}
|
|
270
284
|
/**
|
|
271
285
|
* Encrypt with a custom encryptor callback.
|
|
@@ -429,6 +443,24 @@ export function init_panic_hook() {
|
|
|
429
443
|
wasm.init_panic_hook();
|
|
430
444
|
}
|
|
431
445
|
|
|
446
|
+
/**
|
|
447
|
+
* Inspect credential metadata without full decoding or verification.
|
|
448
|
+
*
|
|
449
|
+
* Extracts metadata (issuer, key ID, algorithm, expiration) from a QR code
|
|
450
|
+
* without verifying the signature. Useful for multi-issuer key lookup.
|
|
451
|
+
* @param {string} qr_text
|
|
452
|
+
* @returns {any}
|
|
453
|
+
*/
|
|
454
|
+
export function inspect(qr_text) {
|
|
455
|
+
const ptr0 = passStringToWasm0(qr_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
456
|
+
const len0 = WASM_VECTOR_LEN;
|
|
457
|
+
const ret = wasm.inspect(ptr0, len0);
|
|
458
|
+
if (ret[2]) {
|
|
459
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
460
|
+
}
|
|
461
|
+
return takeFromExternrefTable0(ret[0]);
|
|
462
|
+
}
|
|
463
|
+
|
|
432
464
|
/**
|
|
433
465
|
* Check if the WASM module is loaded correctly
|
|
434
466
|
* @returns {boolean}
|
|
@@ -454,79 +486,79 @@ export function version() {
|
|
|
454
486
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
455
487
|
}
|
|
456
488
|
}
|
|
457
|
-
export function
|
|
489
|
+
export function __wbg_Error_83742b46f01ce22d(arg0, arg1) {
|
|
458
490
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
459
491
|
return ret;
|
|
460
492
|
}
|
|
461
|
-
export function
|
|
493
|
+
export function __wbg_Number_a5a435bd7bbec835(arg0) {
|
|
462
494
|
const ret = Number(arg0);
|
|
463
495
|
return ret;
|
|
464
496
|
}
|
|
465
|
-
export function
|
|
497
|
+
export function __wbg_String_8564e559799eccda(arg0, arg1) {
|
|
466
498
|
const ret = String(arg1);
|
|
467
499
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
468
500
|
const len1 = WASM_VECTOR_LEN;
|
|
469
501
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
470
502
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
471
503
|
}
|
|
472
|
-
export function
|
|
504
|
+
export function __wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda(arg0, arg1) {
|
|
473
505
|
const v = arg1;
|
|
474
506
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
475
507
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
476
508
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
477
509
|
}
|
|
478
|
-
export function
|
|
510
|
+
export function __wbg___wbindgen_boolean_get_c0f3f60bac5a78d1(arg0) {
|
|
479
511
|
const v = arg0;
|
|
480
512
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
481
513
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
482
514
|
}
|
|
483
|
-
export function
|
|
515
|
+
export function __wbg___wbindgen_debug_string_5398f5bb970e0daa(arg0, arg1) {
|
|
484
516
|
const ret = debugString(arg1);
|
|
485
517
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
486
518
|
const len1 = WASM_VECTOR_LEN;
|
|
487
519
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
488
520
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
489
521
|
}
|
|
490
|
-
export function
|
|
522
|
+
export function __wbg___wbindgen_in_41dbb8413020e076(arg0, arg1) {
|
|
491
523
|
const ret = arg0 in arg1;
|
|
492
524
|
return ret;
|
|
493
525
|
}
|
|
494
|
-
export function
|
|
526
|
+
export function __wbg___wbindgen_is_bigint_e2141d4f045b7eda(arg0) {
|
|
495
527
|
const ret = typeof(arg0) === 'bigint';
|
|
496
528
|
return ret;
|
|
497
529
|
}
|
|
498
|
-
export function
|
|
530
|
+
export function __wbg___wbindgen_is_function_3c846841762788c1(arg0) {
|
|
499
531
|
const ret = typeof(arg0) === 'function';
|
|
500
532
|
return ret;
|
|
501
533
|
}
|
|
502
|
-
export function
|
|
534
|
+
export function __wbg___wbindgen_is_object_781bc9f159099513(arg0) {
|
|
503
535
|
const val = arg0;
|
|
504
536
|
const ret = typeof(val) === 'object' && val !== null;
|
|
505
537
|
return ret;
|
|
506
538
|
}
|
|
507
|
-
export function
|
|
539
|
+
export function __wbg___wbindgen_is_string_7ef6b97b02428fae(arg0) {
|
|
508
540
|
const ret = typeof(arg0) === 'string';
|
|
509
541
|
return ret;
|
|
510
542
|
}
|
|
511
|
-
export function
|
|
543
|
+
export function __wbg___wbindgen_is_undefined_52709e72fb9f179c(arg0) {
|
|
512
544
|
const ret = arg0 === undefined;
|
|
513
545
|
return ret;
|
|
514
546
|
}
|
|
515
|
-
export function
|
|
547
|
+
export function __wbg___wbindgen_jsval_eq_ee31bfad3e536463(arg0, arg1) {
|
|
516
548
|
const ret = arg0 === arg1;
|
|
517
549
|
return ret;
|
|
518
550
|
}
|
|
519
|
-
export function
|
|
551
|
+
export function __wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b(arg0, arg1) {
|
|
520
552
|
const ret = arg0 == arg1;
|
|
521
553
|
return ret;
|
|
522
554
|
}
|
|
523
|
-
export function
|
|
555
|
+
export function __wbg___wbindgen_number_get_34bb9d9dcfa21373(arg0, arg1) {
|
|
524
556
|
const obj = arg1;
|
|
525
557
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
526
558
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
527
559
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
528
560
|
}
|
|
529
|
-
export function
|
|
561
|
+
export function __wbg___wbindgen_string_get_395e606bd0ee4427(arg0, arg1) {
|
|
530
562
|
const obj = arg1;
|
|
531
563
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
532
564
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -534,38 +566,38 @@ export function __wbg___wbindgen_string_get_72fb696202c56729(arg0, arg1) {
|
|
|
534
566
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
535
567
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
536
568
|
}
|
|
537
|
-
export function
|
|
569
|
+
export function __wbg___wbindgen_throw_6ddd609b62940d55(arg0, arg1) {
|
|
538
570
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
539
571
|
}
|
|
540
|
-
export function
|
|
541
|
-
const ret = arg0.call(arg1);
|
|
572
|
+
export function __wbg_call_2204be6d562e92a5() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
573
|
+
const ret = arg0.call(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
542
574
|
return ret;
|
|
543
575
|
}, arguments); }
|
|
544
|
-
export function
|
|
545
|
-
const ret = arg0.call(arg1, arg2
|
|
576
|
+
export function __wbg_call_2d781c1f4d5c0ef8() { return handleError(function (arg0, arg1, arg2) {
|
|
577
|
+
const ret = arg0.call(arg1, arg2);
|
|
546
578
|
return ret;
|
|
547
579
|
}, arguments); }
|
|
548
|
-
export function
|
|
549
|
-
const ret = arg0.call(arg1, arg2);
|
|
580
|
+
export function __wbg_call_89797ac1adb21543() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
581
|
+
const ret = arg0.call(arg1, arg2, arg3, arg4, arg5);
|
|
550
582
|
return ret;
|
|
551
583
|
}, arguments); }
|
|
552
|
-
export function
|
|
553
|
-
const ret = arg0.call(arg1
|
|
584
|
+
export function __wbg_call_e133b57c9155d22c() { return handleError(function (arg0, arg1) {
|
|
585
|
+
const ret = arg0.call(arg1);
|
|
554
586
|
return ret;
|
|
555
587
|
}, arguments); }
|
|
556
|
-
export function
|
|
588
|
+
export function __wbg_call_f858478a02f9600f() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
557
589
|
const ret = arg0.call(arg1, arg2, arg3, arg4);
|
|
558
590
|
return ret;
|
|
559
591
|
}, arguments); }
|
|
560
|
-
export function
|
|
592
|
+
export function __wbg_crypto_38df2bab126b63dc(arg0) {
|
|
561
593
|
const ret = arg0.crypto;
|
|
562
594
|
return ret;
|
|
563
595
|
}
|
|
564
|
-
export function
|
|
596
|
+
export function __wbg_done_08ce71ee07e3bd17(arg0) {
|
|
565
597
|
const ret = arg0.done;
|
|
566
598
|
return ret;
|
|
567
599
|
}
|
|
568
|
-
export function
|
|
600
|
+
export function __wbg_error_a6fa202b58aa1cd3(arg0, arg1) {
|
|
569
601
|
let deferred0_0;
|
|
570
602
|
let deferred0_1;
|
|
571
603
|
try {
|
|
@@ -576,22 +608,22 @@ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
|
|
|
576
608
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
577
609
|
}
|
|
578
610
|
}
|
|
579
|
-
export function
|
|
611
|
+
export function __wbg_getRandomValues_c44a50d8cfdaebeb() { return handleError(function (arg0, arg1) {
|
|
580
612
|
arg0.getRandomValues(arg1);
|
|
581
613
|
}, arguments); }
|
|
582
|
-
export function
|
|
583
|
-
const ret = arg0[arg1 >>> 0];
|
|
584
|
-
return ret;
|
|
585
|
-
}
|
|
586
|
-
export function __wbg_get_b3ed3ad4be2bc8ac() { return handleError(function (arg0, arg1) {
|
|
614
|
+
export function __wbg_get_326e41e095fb2575() { return handleError(function (arg0, arg1) {
|
|
587
615
|
const ret = Reflect.get(arg0, arg1);
|
|
588
616
|
return ret;
|
|
589
617
|
}, arguments); }
|
|
590
|
-
export function
|
|
618
|
+
export function __wbg_get_unchecked_329cfe50afab7352(arg0, arg1) {
|
|
619
|
+
const ret = arg0[arg1 >>> 0];
|
|
620
|
+
return ret;
|
|
621
|
+
}
|
|
622
|
+
export function __wbg_get_with_ref_key_6412cf3094599694(arg0, arg1) {
|
|
591
623
|
const ret = arg0[arg1];
|
|
592
624
|
return ret;
|
|
593
625
|
}
|
|
594
|
-
export function
|
|
626
|
+
export function __wbg_instanceof_ArrayBuffer_101e2bf31071a9f6(arg0) {
|
|
595
627
|
let result;
|
|
596
628
|
try {
|
|
597
629
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -601,7 +633,7 @@ export function __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04(arg0) {
|
|
|
601
633
|
const ret = result;
|
|
602
634
|
return ret;
|
|
603
635
|
}
|
|
604
|
-
export function
|
|
636
|
+
export function __wbg_instanceof_Uint8Array_740438561a5b956d(arg0) {
|
|
605
637
|
let result;
|
|
606
638
|
try {
|
|
607
639
|
result = arg0 instanceof Uint8Array;
|
|
@@ -611,122 +643,118 @@ export function __wbg_instanceof_Uint8Array_9b9075935c74707c(arg0) {
|
|
|
611
643
|
const ret = result;
|
|
612
644
|
return ret;
|
|
613
645
|
}
|
|
614
|
-
export function
|
|
646
|
+
export function __wbg_isArray_33b91feb269ff46e(arg0) {
|
|
615
647
|
const ret = Array.isArray(arg0);
|
|
616
648
|
return ret;
|
|
617
649
|
}
|
|
618
|
-
export function
|
|
650
|
+
export function __wbg_isSafeInteger_ecd6a7f9c3e053cd(arg0) {
|
|
619
651
|
const ret = Number.isSafeInteger(arg0);
|
|
620
652
|
return ret;
|
|
621
653
|
}
|
|
622
|
-
export function
|
|
654
|
+
export function __wbg_iterator_d8f549ec8fb061b1() {
|
|
623
655
|
const ret = Symbol.iterator;
|
|
624
656
|
return ret;
|
|
625
657
|
}
|
|
626
|
-
export function
|
|
658
|
+
export function __wbg_length_b3416cf66a5452c8(arg0) {
|
|
627
659
|
const ret = arg0.length;
|
|
628
660
|
return ret;
|
|
629
661
|
}
|
|
630
|
-
export function
|
|
662
|
+
export function __wbg_length_ea16607d7b61445b(arg0) {
|
|
631
663
|
const ret = arg0.length;
|
|
632
664
|
return ret;
|
|
633
665
|
}
|
|
634
|
-
export function
|
|
666
|
+
export function __wbg_msCrypto_bd5a034af96bcba6(arg0) {
|
|
635
667
|
const ret = arg0.msCrypto;
|
|
636
668
|
return ret;
|
|
637
669
|
}
|
|
638
|
-
export function
|
|
639
|
-
const ret = new
|
|
670
|
+
export function __wbg_new_227d7c05414eb861() {
|
|
671
|
+
const ret = new Error();
|
|
640
672
|
return ret;
|
|
641
673
|
}
|
|
642
|
-
export function
|
|
643
|
-
const ret = new
|
|
674
|
+
export function __wbg_new_5f486cdf45a04d78(arg0) {
|
|
675
|
+
const ret = new Uint8Array(arg0);
|
|
644
676
|
return ret;
|
|
645
677
|
}
|
|
646
|
-
export function
|
|
647
|
-
const ret = new
|
|
678
|
+
export function __wbg_new_a70fbab9066b301f() {
|
|
679
|
+
const ret = new Array();
|
|
648
680
|
return ret;
|
|
649
681
|
}
|
|
650
|
-
export function
|
|
651
|
-
const ret = new
|
|
682
|
+
export function __wbg_new_ab79df5bd7c26067() {
|
|
683
|
+
const ret = new Object();
|
|
652
684
|
return ret;
|
|
653
685
|
}
|
|
654
|
-
export function
|
|
686
|
+
export function __wbg_new_from_slice_22da9388ac046e50(arg0, arg1) {
|
|
655
687
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
656
688
|
return ret;
|
|
657
689
|
}
|
|
658
|
-
export function
|
|
659
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
660
|
-
return ret;
|
|
661
|
-
}
|
|
662
|
-
export function __wbg_new_with_length_a2c39cbe88fd8ff1(arg0) {
|
|
690
|
+
export function __wbg_new_with_length_825018a1616e9e55(arg0) {
|
|
663
691
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
664
692
|
return ret;
|
|
665
693
|
}
|
|
666
|
-
export function
|
|
694
|
+
export function __wbg_next_11b99ee6237339e3() { return handleError(function (arg0) {
|
|
667
695
|
const ret = arg0.next();
|
|
668
696
|
return ret;
|
|
669
697
|
}, arguments); }
|
|
670
|
-
export function
|
|
698
|
+
export function __wbg_next_e01a967809d1aa68(arg0) {
|
|
671
699
|
const ret = arg0.next;
|
|
672
700
|
return ret;
|
|
673
701
|
}
|
|
674
|
-
export function
|
|
702
|
+
export function __wbg_node_84ea875411254db1(arg0) {
|
|
675
703
|
const ret = arg0.node;
|
|
676
704
|
return ret;
|
|
677
705
|
}
|
|
678
|
-
export function
|
|
706
|
+
export function __wbg_process_44c7a14e11e9f69e(arg0) {
|
|
679
707
|
const ret = arg0.process;
|
|
680
708
|
return ret;
|
|
681
709
|
}
|
|
682
|
-
export function
|
|
710
|
+
export function __wbg_prototypesetcall_d62e5099504357e6(arg0, arg1, arg2) {
|
|
683
711
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
684
712
|
}
|
|
685
|
-
export function
|
|
713
|
+
export function __wbg_randomFillSync_6c25eac9869eb53c() { return handleError(function (arg0, arg1) {
|
|
686
714
|
arg0.randomFillSync(arg1);
|
|
687
715
|
}, arguments); }
|
|
688
|
-
export function
|
|
716
|
+
export function __wbg_require_b4edbdcf3e2a1ef0() { return handleError(function () {
|
|
689
717
|
const ret = module.require;
|
|
690
718
|
return ret;
|
|
691
719
|
}, arguments); }
|
|
692
|
-
export function
|
|
693
|
-
arg0[arg1] = arg2;
|
|
694
|
-
}
|
|
695
|
-
export function __wbg_set_f43e577aea94465b(arg0, arg1, arg2) {
|
|
720
|
+
export function __wbg_set_282384002438957f(arg0, arg1, arg2) {
|
|
696
721
|
arg0[arg1 >>> 0] = arg2;
|
|
697
722
|
}
|
|
698
|
-
export function
|
|
723
|
+
export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
|
|
724
|
+
arg0[arg1] = arg2;
|
|
725
|
+
}
|
|
726
|
+
export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
699
727
|
const ret = arg1.stack;
|
|
700
728
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
701
729
|
const len1 = WASM_VECTOR_LEN;
|
|
702
730
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
703
731
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
704
732
|
}
|
|
705
|
-
export function
|
|
733
|
+
export function __wbg_static_accessor_GLOBAL_8adb955bd33fac2f() {
|
|
706
734
|
const ret = typeof global === 'undefined' ? null : global;
|
|
707
735
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
708
736
|
}
|
|
709
|
-
export function
|
|
737
|
+
export function __wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913() {
|
|
710
738
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
711
739
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
712
740
|
}
|
|
713
|
-
export function
|
|
741
|
+
export function __wbg_static_accessor_SELF_f207c857566db248() {
|
|
714
742
|
const ret = typeof self === 'undefined' ? null : self;
|
|
715
743
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
716
744
|
}
|
|
717
|
-
export function
|
|
745
|
+
export function __wbg_static_accessor_WINDOW_bb9f1ba69d61b386() {
|
|
718
746
|
const ret = typeof window === 'undefined' ? null : window;
|
|
719
747
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
720
748
|
}
|
|
721
|
-
export function
|
|
749
|
+
export function __wbg_subarray_a068d24e39478a8a(arg0, arg1, arg2) {
|
|
722
750
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
723
751
|
return ret;
|
|
724
752
|
}
|
|
725
|
-
export function
|
|
753
|
+
export function __wbg_value_21fc78aab0322612(arg0) {
|
|
726
754
|
const ret = arg0.value;
|
|
727
755
|
return ret;
|
|
728
756
|
}
|
|
729
|
-
export function
|
|
757
|
+
export function __wbg_versions_276b2795b1c6a219(arg0) {
|
|
730
758
|
const ret = arg0.versions;
|
|
731
759
|
return ret;
|
|
732
760
|
}
|
|
Binary file
|
|
@@ -4,6 +4,7 @@ export const memory: WebAssembly.Memory;
|
|
|
4
4
|
export const __wbg_wasmdecoder_free: (a: number, b: number) => void;
|
|
5
5
|
export const __wbg_wasmencoder_free: (a: number, b: number) => void;
|
|
6
6
|
export const generateNonce: () => [number, number];
|
|
7
|
+
export const inspect: (a: number, b: number) => [number, number, number];
|
|
7
8
|
export const isLoaded: () => number;
|
|
8
9
|
export const version: () => [number, number];
|
|
9
10
|
export const wasmdecoder_allowUnverified: (a: number) => number;
|
|
@@ -15,6 +16,7 @@ export const wasmdecoder_decryptWithAes256: (a: number, b: number, c: number) =>
|
|
|
15
16
|
export const wasmdecoder_maxDecompressedBytes: (a: number, b: number) => number;
|
|
16
17
|
export const wasmdecoder_new: (a: number, b: number) => number;
|
|
17
18
|
export const wasmdecoder_skipBiometrics: (a: number) => number;
|
|
19
|
+
export const wasmdecoder_strictCompression: (a: number) => number;
|
|
18
20
|
export const wasmdecoder_verifyWith: (a: number, b: any) => number;
|
|
19
21
|
export const wasmdecoder_verifyWithEcdsaP256: (a: number, b: number, c: number) => [number, number, number];
|
|
20
22
|
export const wasmdecoder_verifyWithEcdsaP256Pem: (a: number, b: number, c: number) => [number, number, number];
|
|
@@ -22,7 +24,8 @@ export const wasmdecoder_verifyWithEd25519: (a: number, b: number, c: number) =>
|
|
|
22
24
|
export const wasmdecoder_verifyWithEd25519Pem: (a: number, b: number, c: number) => [number, number, number];
|
|
23
25
|
export const wasmdecoder_withTimestampValidation: (a: number) => number;
|
|
24
26
|
export const wasmencoder_allowUnsigned: (a: number) => number;
|
|
25
|
-
export const
|
|
27
|
+
export const wasmencoder_compression: (a: number, b: number, c: number) => [number, number, number];
|
|
28
|
+
export const wasmencoder_encode: (a: number) => [number, number, number];
|
|
26
29
|
export const wasmencoder_encryptWith: (a: number, b: any, c: number, d: number) => [number, number, number];
|
|
27
30
|
export const wasmencoder_encryptWithAes128: (a: number, b: number, c: number) => [number, number, number];
|
|
28
31
|
export const wasmencoder_encryptWithAes256: (a: number, b: number, c: number) => [number, number, number];
|