@premai/reticle 0.4.1 → 0.4.2
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/package.json +1 -1
- package/reticle.d.ts +3 -0
- package/reticle.js +2 -2
- package/reticle_bg.js +162 -148
- package/reticle_bg.wasm +0 -0
- package/reticle_main.js +162 -150
package/reticle_bg.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { realFetch } from './snippets/reticle-f25e928bd9723d28/src/fetchShim.js';
|
|
2
|
+
|
|
3
|
+
|
|
1
4
|
export class AttestHeaders {
|
|
2
5
|
static __wrap(ptr) {
|
|
3
|
-
ptr = ptr >>> 0;
|
|
4
6
|
const obj = Object.create(AttestHeaders.prototype);
|
|
5
7
|
obj.__wbg_ptr = ptr;
|
|
6
8
|
AttestHeadersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -35,7 +37,6 @@ if (Symbol.dispose) AttestHeaders.prototype[Symbol.dispose] = AttestHeaders.prot
|
|
|
35
37
|
|
|
36
38
|
export class AttestResult {
|
|
37
39
|
static __wrap(ptr) {
|
|
38
|
-
ptr = ptr >>> 0;
|
|
39
40
|
const obj = Object.create(AttestResult.prototype);
|
|
40
41
|
obj.__wbg_ptr = ptr;
|
|
41
42
|
AttestResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -73,7 +74,6 @@ if (Symbol.dispose) AttestResult.prototype[Symbol.dispose] = AttestResult.protot
|
|
|
73
74
|
*/
|
|
74
75
|
export class CRL {
|
|
75
76
|
static __wrap(ptr) {
|
|
76
|
-
ptr = ptr >>> 0;
|
|
77
77
|
const obj = Object.create(CRL.prototype);
|
|
78
78
|
obj.__wbg_ptr = ptr;
|
|
79
79
|
CRLFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -120,7 +120,6 @@ if (Symbol.dispose) CRL.prototype[Symbol.dispose] = CRL.prototype.free;
|
|
|
120
120
|
|
|
121
121
|
export class Client {
|
|
122
122
|
static __wrap(ptr) {
|
|
123
|
-
ptr = ptr >>> 0;
|
|
124
123
|
const obj = Object.create(Client.prototype);
|
|
125
124
|
obj.__wbg_ptr = ptr;
|
|
126
125
|
ClientFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -237,7 +236,6 @@ if (Symbol.dispose) Client.prototype[Symbol.dispose] = Client.prototype.free;
|
|
|
237
236
|
|
|
238
237
|
export class ClientBuilder {
|
|
239
238
|
static __wrap(ptr) {
|
|
240
|
-
ptr = ptr >>> 0;
|
|
241
239
|
const obj = Object.create(ClientBuilder.prototype);
|
|
242
240
|
obj.__wbg_ptr = ptr;
|
|
243
241
|
ClientBuilderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -268,7 +266,7 @@ export class ClientBuilder {
|
|
|
268
266
|
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
269
267
|
const len0 = WASM_VECTOR_LEN;
|
|
270
268
|
const ret = wasm.clientbuilder_new(ptr0, len0);
|
|
271
|
-
this.__wbg_ptr = ret
|
|
269
|
+
this.__wbg_ptr = ret;
|
|
272
270
|
ClientBuilderFinalization.register(this, this.__wbg_ptr, this);
|
|
273
271
|
return this;
|
|
274
272
|
}
|
|
@@ -328,7 +326,6 @@ if (Symbol.dispose) ClientBuilder.prototype[Symbol.dispose] = ClientBuilder.prot
|
|
|
328
326
|
|
|
329
327
|
export class Collateral {
|
|
330
328
|
static __wrap(ptr) {
|
|
331
|
-
ptr = ptr >>> 0;
|
|
332
329
|
const obj = Object.create(Collateral.prototype);
|
|
333
330
|
obj.__wbg_ptr = ptr;
|
|
334
331
|
CollateralFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -357,7 +354,6 @@ export const CpuModule = Object.freeze({
|
|
|
357
354
|
|
|
358
355
|
export class DecodedClaims {
|
|
359
356
|
static __wrap(ptr) {
|
|
360
|
-
ptr = ptr >>> 0;
|
|
361
357
|
const obj = Object.create(DecodedClaims.prototype);
|
|
362
358
|
obj.__wbg_ptr = ptr;
|
|
363
359
|
DecodedClaimsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -378,7 +374,6 @@ if (Symbol.dispose) DecodedClaims.prototype[Symbol.dispose] = DecodedClaims.prot
|
|
|
378
374
|
|
|
379
375
|
export class EATToken {
|
|
380
376
|
static __wrap(ptr) {
|
|
381
|
-
ptr = ptr >>> 0;
|
|
382
377
|
const obj = Object.create(EATToken.prototype);
|
|
383
378
|
obj.__wbg_ptr = ptr;
|
|
384
379
|
EATTokenFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -427,7 +422,6 @@ if (Symbol.dispose) EATToken.prototype[Symbol.dispose] = EATToken.prototype.free
|
|
|
427
422
|
|
|
428
423
|
export class ExportPem {
|
|
429
424
|
static __wrap(ptr) {
|
|
430
|
-
ptr = ptr >>> 0;
|
|
431
425
|
const obj = Object.create(ExportPem.prototype);
|
|
432
426
|
obj.__wbg_ptr = ptr;
|
|
433
427
|
ExportPemFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -499,7 +493,6 @@ if (Symbol.dispose) ExportPem.prototype[Symbol.dispose] = ExportPem.prototype.fr
|
|
|
499
493
|
|
|
500
494
|
export class GatewayError {
|
|
501
495
|
static __wrap(ptr) {
|
|
502
|
-
ptr = ptr >>> 0;
|
|
503
496
|
const obj = Object.create(GatewayError.prototype);
|
|
504
497
|
obj.__wbg_ptr = ptr;
|
|
505
498
|
GatewayErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -588,7 +581,7 @@ export class Kds {
|
|
|
588
581
|
if (ret[2]) {
|
|
589
582
|
throw takeFromExternrefTable0(ret[1]);
|
|
590
583
|
}
|
|
591
|
-
this.__wbg_ptr = ret[0]
|
|
584
|
+
this.__wbg_ptr = ret[0];
|
|
592
585
|
KdsFinalization.register(this, this.__wbg_ptr, this);
|
|
593
586
|
return this;
|
|
594
587
|
}
|
|
@@ -597,7 +590,6 @@ if (Symbol.dispose) Kds.prototype[Symbol.dispose] = Kds.prototype.free;
|
|
|
597
590
|
|
|
598
591
|
export class KeyChain {
|
|
599
592
|
static __wrap(ptr) {
|
|
600
|
-
ptr = ptr >>> 0;
|
|
601
593
|
const obj = Object.create(KeyChain.prototype);
|
|
602
594
|
obj.__wbg_ptr = ptr;
|
|
603
595
|
KeyChainFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -618,7 +610,6 @@ if (Symbol.dispose) KeyChain.prototype[Symbol.dispose] = KeyChain.prototype.free
|
|
|
618
610
|
|
|
619
611
|
export class Modules {
|
|
620
612
|
static __wrap(ptr) {
|
|
621
|
-
ptr = ptr >>> 0;
|
|
622
613
|
const obj = Object.create(Modules.prototype);
|
|
623
614
|
obj.__wbg_ptr = ptr;
|
|
624
615
|
ModulesFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -660,7 +651,6 @@ if (Symbol.dispose) Modules.prototype[Symbol.dispose] = Modules.prototype.free;
|
|
|
660
651
|
|
|
661
652
|
export class NvidiaAttestResult {
|
|
662
653
|
static __wrap(ptr) {
|
|
663
|
-
ptr = ptr >>> 0;
|
|
664
654
|
const obj = Object.create(NvidiaAttestResult.prototype);
|
|
665
655
|
obj.__wbg_ptr = ptr;
|
|
666
656
|
NvidiaAttestResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -681,7 +671,6 @@ if (Symbol.dispose) NvidiaAttestResult.prototype[Symbol.dispose] = NvidiaAttestR
|
|
|
681
671
|
|
|
682
672
|
export class NvidiaNonce {
|
|
683
673
|
static __wrap(ptr) {
|
|
684
|
-
ptr = ptr >>> 0;
|
|
685
674
|
const obj = Object.create(NvidiaNonce.prototype);
|
|
686
675
|
obj.__wbg_ptr = ptr;
|
|
687
676
|
NvidiaNonceFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -728,7 +717,6 @@ if (Symbol.dispose) NvidiaNonce.prototype[Symbol.dispose] = NvidiaNonce.prototyp
|
|
|
728
717
|
*/
|
|
729
718
|
export class ParsedAttestation {
|
|
730
719
|
static __wrap(ptr) {
|
|
731
|
-
ptr = ptr >>> 0;
|
|
732
720
|
const obj = Object.create(ParsedAttestation.prototype);
|
|
733
721
|
obj.__wbg_ptr = ptr;
|
|
734
722
|
ParsedAttestationFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -818,7 +806,7 @@ export class Pcs {
|
|
|
818
806
|
if (ret[2]) {
|
|
819
807
|
throw takeFromExternrefTable0(ret[1]);
|
|
820
808
|
}
|
|
821
|
-
this.__wbg_ptr = ret[0]
|
|
809
|
+
this.__wbg_ptr = ret[0];
|
|
822
810
|
PcsFinalization.register(this, this.__wbg_ptr, this);
|
|
823
811
|
return this;
|
|
824
812
|
}
|
|
@@ -832,7 +820,6 @@ if (Symbol.dispose) Pcs.prototype[Symbol.dispose] = Pcs.prototype.free;
|
|
|
832
820
|
*/
|
|
833
821
|
export class QueryParams {
|
|
834
822
|
static __wrap(ptr) {
|
|
835
|
-
ptr = ptr >>> 0;
|
|
836
823
|
const obj = Object.create(QueryParams.prototype);
|
|
837
824
|
obj.__wbg_ptr = ptr;
|
|
838
825
|
QueryParamsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -850,7 +837,7 @@ export class QueryParams {
|
|
|
850
837
|
}
|
|
851
838
|
constructor() {
|
|
852
839
|
const ret = wasm.queryparams_new();
|
|
853
|
-
this.__wbg_ptr = ret
|
|
840
|
+
this.__wbg_ptr = ret;
|
|
854
841
|
QueryParamsFinalization.register(this, this.__wbg_ptr, this);
|
|
855
842
|
return this;
|
|
856
843
|
}
|
|
@@ -895,7 +882,7 @@ export class QuoteVerifier {
|
|
|
895
882
|
_assertClass(quote, TdxQuote);
|
|
896
883
|
var ptr1 = quote.__destroy_into_raw();
|
|
897
884
|
const ret = wasm.quoteverifier_new(ptr0, ptr1);
|
|
898
|
-
this.__wbg_ptr = ret
|
|
885
|
+
this.__wbg_ptr = ret;
|
|
899
886
|
QuoteVerifierFinalization.register(this, this.__wbg_ptr, this);
|
|
900
887
|
return this;
|
|
901
888
|
}
|
|
@@ -914,7 +901,6 @@ if (Symbol.dispose) QuoteVerifier.prototype[Symbol.dispose] = QuoteVerifier.prot
|
|
|
914
901
|
|
|
915
902
|
export class ResponseHeaders {
|
|
916
903
|
static __wrap(ptr) {
|
|
917
|
-
ptr = ptr >>> 0;
|
|
918
904
|
const obj = Object.create(ResponseHeaders.prototype);
|
|
919
905
|
obj.__wbg_ptr = ptr;
|
|
920
906
|
ResponseHeadersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -959,7 +945,6 @@ if (Symbol.dispose) ResponseHeaders.prototype[Symbol.dispose] = ResponseHeaders.
|
|
|
959
945
|
|
|
960
946
|
export class SevNonce {
|
|
961
947
|
static __wrap(ptr) {
|
|
962
|
-
ptr = ptr >>> 0;
|
|
963
948
|
const obj = Object.create(SevNonce.prototype);
|
|
964
949
|
obj.__wbg_ptr = ptr;
|
|
965
950
|
SevNonceFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1027,7 +1012,7 @@ export class TdxNonce {
|
|
|
1027
1012
|
}
|
|
1028
1013
|
constructor() {
|
|
1029
1014
|
const ret = wasm.tdxnonce_generate();
|
|
1030
|
-
this.__wbg_ptr = ret
|
|
1015
|
+
this.__wbg_ptr = ret;
|
|
1031
1016
|
TdxNonceFinalization.register(this, this.__wbg_ptr, this);
|
|
1032
1017
|
return this;
|
|
1033
1018
|
}
|
|
@@ -1051,7 +1036,6 @@ if (Symbol.dispose) TdxNonce.prototype[Symbol.dispose] = TdxNonce.prototype.free
|
|
|
1051
1036
|
|
|
1052
1037
|
export class TdxQuote {
|
|
1053
1038
|
static __wrap(ptr) {
|
|
1054
|
-
ptr = ptr >>> 0;
|
|
1055
1039
|
const obj = Object.create(TdxQuote.prototype);
|
|
1056
1040
|
obj.__wbg_ptr = ptr;
|
|
1057
1041
|
TdxQuoteFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1089,7 +1073,6 @@ if (Symbol.dispose) TdxQuote.prototype[Symbol.dispose] = TdxQuote.prototype.free
|
|
|
1089
1073
|
*/
|
|
1090
1074
|
export class VerifiedChain {
|
|
1091
1075
|
static __wrap(ptr) {
|
|
1092
|
-
ptr = ptr >>> 0;
|
|
1093
1076
|
const obj = Object.create(VerifiedChain.prototype);
|
|
1094
1077
|
obj.__wbg_ptr = ptr;
|
|
1095
1078
|
VerifiedChainFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1139,6 +1122,17 @@ export class VerifiedChain {
|
|
|
1139
1122
|
}
|
|
1140
1123
|
if (Symbol.dispose) VerifiedChain.prototype[Symbol.dispose] = VerifiedChain.prototype.free;
|
|
1141
1124
|
|
|
1125
|
+
/**
|
|
1126
|
+
* @param {any} input
|
|
1127
|
+
* @param {any | null} [init]
|
|
1128
|
+
* @returns {Promise<any>}
|
|
1129
|
+
*/
|
|
1130
|
+
function fetch2(input, init) {
|
|
1131
|
+
const ret = wasm.fetch(input, isLikeNone(init) ? 0 : addToExternrefTable0(init));
|
|
1132
|
+
return ret;
|
|
1133
|
+
}
|
|
1134
|
+
export { fetch2 as fetch }
|
|
1135
|
+
|
|
1142
1136
|
/**
|
|
1143
1137
|
* Same as [`KeyChain:fetch_keychain`], put in for better wasm compatibility
|
|
1144
1138
|
* @returns {Promise<KeyChain>}
|
|
@@ -1147,31 +1141,31 @@ export function fetch_keychain() {
|
|
|
1147
1141
|
const ret = wasm.fetch_keychain();
|
|
1148
1142
|
return ret;
|
|
1149
1143
|
}
|
|
1150
|
-
export function
|
|
1144
|
+
export function __wbg___wbindgen_debug_string_edece8177ad01481(arg0, arg1) {
|
|
1151
1145
|
const ret = debugString(arg1);
|
|
1152
1146
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1153
1147
|
const len1 = WASM_VECTOR_LEN;
|
|
1154
1148
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1155
1149
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1156
1150
|
}
|
|
1157
|
-
export function
|
|
1151
|
+
export function __wbg___wbindgen_is_function_5cd60d5cf78b4eef(arg0) {
|
|
1158
1152
|
const ret = typeof(arg0) === 'function';
|
|
1159
1153
|
return ret;
|
|
1160
1154
|
}
|
|
1161
|
-
export function
|
|
1155
|
+
export function __wbg___wbindgen_is_object_b4593df85baada48(arg0) {
|
|
1162
1156
|
const val = arg0;
|
|
1163
1157
|
const ret = typeof(val) === 'object' && val !== null;
|
|
1164
1158
|
return ret;
|
|
1165
1159
|
}
|
|
1166
|
-
export function
|
|
1160
|
+
export function __wbg___wbindgen_is_string_dde0fd9020db4434(arg0) {
|
|
1167
1161
|
const ret = typeof(arg0) === 'string';
|
|
1168
1162
|
return ret;
|
|
1169
1163
|
}
|
|
1170
|
-
export function
|
|
1164
|
+
export function __wbg___wbindgen_is_undefined_35bb9f4c7fd651d5(arg0) {
|
|
1171
1165
|
const ret = arg0 === undefined;
|
|
1172
1166
|
return ret;
|
|
1173
1167
|
}
|
|
1174
|
-
export function
|
|
1168
|
+
export function __wbg___wbindgen_string_get_d109740c0d18f4d7(arg0, arg1) {
|
|
1175
1169
|
const obj = arg1;
|
|
1176
1170
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1177
1171
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1179,22 +1173,22 @@ export function __wbg___wbindgen_string_get_914df97fcfa788f2(arg0, arg1) {
|
|
|
1179
1173
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1180
1174
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1181
1175
|
}
|
|
1182
|
-
export function
|
|
1176
|
+
export function __wbg___wbindgen_throw_9c31b086c2b26051(arg0, arg1) {
|
|
1183
1177
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1184
1178
|
}
|
|
1185
|
-
export function
|
|
1179
|
+
export function __wbg__wbg_cb_unref_3fa391f3fcdb55f8(arg0) {
|
|
1186
1180
|
arg0._wbg_cb_unref();
|
|
1187
1181
|
}
|
|
1188
|
-
export function
|
|
1189
|
-
arg0.abort();
|
|
1190
|
-
}
|
|
1191
|
-
export function __wbg_abort_7a67cb8f9383baa1(arg0, arg1) {
|
|
1182
|
+
export function __wbg_abort_89f7368e16055f5f(arg0, arg1) {
|
|
1192
1183
|
arg0.abort(arg1);
|
|
1193
1184
|
}
|
|
1194
|
-
export function
|
|
1185
|
+
export function __wbg_abort_b363e6285472a358(arg0) {
|
|
1186
|
+
arg0.abort();
|
|
1187
|
+
}
|
|
1188
|
+
export function __wbg_append_263958599fd198c1() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1195
1189
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1196
1190
|
}, arguments); }
|
|
1197
|
-
export function
|
|
1191
|
+
export function __wbg_arrayBuffer_cb5d4748b5f3cad5() { return handleError(function (arg0) {
|
|
1198
1192
|
const ret = arg0.arrayBuffer();
|
|
1199
1193
|
return ret;
|
|
1200
1194
|
}, arguments); }
|
|
@@ -1202,11 +1196,11 @@ export function __wbg_attestresult_new(arg0) {
|
|
|
1202
1196
|
const ret = AttestResult.__wrap(arg0);
|
|
1203
1197
|
return ret;
|
|
1204
1198
|
}
|
|
1205
|
-
export function
|
|
1199
|
+
export function __wbg_call_13665d9f14390edc() { return handleError(function (arg0, arg1) {
|
|
1206
1200
|
const ret = arg0.call(arg1);
|
|
1207
1201
|
return ret;
|
|
1208
1202
|
}, arguments); }
|
|
1209
|
-
export function
|
|
1203
|
+
export function __wbg_call_dfde26266607c996() { return handleError(function (arg0, arg1, arg2) {
|
|
1210
1204
|
const ret = arg0.call(arg1, arg2);
|
|
1211
1205
|
return ret;
|
|
1212
1206
|
}, arguments); }
|
|
@@ -1234,15 +1228,15 @@ export function __wbg_crypto_48300657fced39f9(arg0) {
|
|
|
1234
1228
|
const ret = arg0.crypto;
|
|
1235
1229
|
return ret;
|
|
1236
1230
|
}
|
|
1237
|
-
export function
|
|
1231
|
+
export function __wbg_done_54b8da57023b7ed2(arg0) {
|
|
1238
1232
|
const ret = arg0.done;
|
|
1239
1233
|
return ret;
|
|
1240
1234
|
}
|
|
1241
|
-
export function
|
|
1235
|
+
export function __wbg_entries_8c373da97ea5ada5(arg0) {
|
|
1242
1236
|
const ret = arg0.entries();
|
|
1243
1237
|
return ret;
|
|
1244
1238
|
}
|
|
1245
|
-
export function
|
|
1239
|
+
export function __wbg_fetch_2998af8c54e0997c(arg0, arg1) {
|
|
1246
1240
|
const ret = arg0.fetch(arg1);
|
|
1247
1241
|
return ret;
|
|
1248
1242
|
}
|
|
@@ -1264,27 +1258,37 @@ export function __wbg_getRandomValues_263d0aa5464054ee() { return handleError(fu
|
|
|
1264
1258
|
export function __wbg_getRandomValues_76dfc69825c9c552() { return handleError(function (arg0, arg1) {
|
|
1265
1259
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1266
1260
|
}, arguments); }
|
|
1267
|
-
export function
|
|
1261
|
+
export function __wbg_getTime_09f1dd40a44edb30(arg0) {
|
|
1268
1262
|
const ret = arg0.getTime();
|
|
1269
1263
|
return ret;
|
|
1270
1264
|
}
|
|
1271
|
-
export function
|
|
1272
|
-
const ret = arg0[arg1 >>> 0];
|
|
1273
|
-
return ret;
|
|
1274
|
-
}
|
|
1275
|
-
export function __wbg_get_ed0642c4b9d31ddf() { return handleError(function (arg0, arg1) {
|
|
1265
|
+
export function __wbg_get_3e9a707ab7d352eb() { return handleError(function (arg0, arg1) {
|
|
1276
1266
|
const ret = Reflect.get(arg0, arg1);
|
|
1277
1267
|
return ret;
|
|
1278
1268
|
}, arguments); }
|
|
1279
|
-
export function
|
|
1269
|
+
export function __wbg_get_98fdf51d029a75eb(arg0, arg1) {
|
|
1270
|
+
const ret = arg0[arg1 >>> 0];
|
|
1271
|
+
return ret;
|
|
1272
|
+
}
|
|
1273
|
+
export function __wbg_has_ef192b1f278770eb() { return handleError(function (arg0, arg1) {
|
|
1280
1274
|
const ret = Reflect.has(arg0, arg1);
|
|
1281
1275
|
return ret;
|
|
1282
1276
|
}, arguments); }
|
|
1283
|
-
export function
|
|
1277
|
+
export function __wbg_headers_18f39f24d3837dc1(arg0) {
|
|
1284
1278
|
const ret = arg0.headers;
|
|
1285
1279
|
return ret;
|
|
1286
1280
|
}
|
|
1287
|
-
export function
|
|
1281
|
+
export function __wbg_instanceof_Request_0b988f27c60a71ed(arg0) {
|
|
1282
|
+
let result;
|
|
1283
|
+
try {
|
|
1284
|
+
result = arg0 instanceof Request;
|
|
1285
|
+
} catch (_) {
|
|
1286
|
+
result = false;
|
|
1287
|
+
}
|
|
1288
|
+
const ret = result;
|
|
1289
|
+
return ret;
|
|
1290
|
+
}
|
|
1291
|
+
export function __wbg_instanceof_Response_ecfc823e8fb354e2(arg0) {
|
|
1288
1292
|
let result;
|
|
1289
1293
|
try {
|
|
1290
1294
|
result = arg0 instanceof Response;
|
|
@@ -1294,11 +1298,11 @@ export function __wbg_instanceof_Response_06795eab66cc4036(arg0) {
|
|
|
1294
1298
|
const ret = result;
|
|
1295
1299
|
return ret;
|
|
1296
1300
|
}
|
|
1297
|
-
export function
|
|
1301
|
+
export function __wbg_isArray_94898ed3aad6947b(arg0) {
|
|
1298
1302
|
const ret = Array.isArray(arg0);
|
|
1299
1303
|
return ret;
|
|
1300
1304
|
}
|
|
1301
|
-
export function
|
|
1305
|
+
export function __wbg_iterator_1441b47f341dc34f() {
|
|
1302
1306
|
const ret = Symbol.iterator;
|
|
1303
1307
|
return ret;
|
|
1304
1308
|
}
|
|
@@ -1306,7 +1310,7 @@ export function __wbg_keychain_new(arg0) {
|
|
|
1306
1310
|
const ret = KeyChain.__wrap(arg0);
|
|
1307
1311
|
return ret;
|
|
1308
1312
|
}
|
|
1309
|
-
export function
|
|
1313
|
+
export function __wbg_length_56fcd3e2b7e0299d(arg0) {
|
|
1310
1314
|
const ret = arg0.length;
|
|
1311
1315
|
return ret;
|
|
1312
1316
|
}
|
|
@@ -1318,42 +1322,42 @@ export function __wbg_msCrypto_8c6d45a75ef1d3da(arg0) {
|
|
|
1318
1322
|
const ret = arg0.msCrypto;
|
|
1319
1323
|
return ret;
|
|
1320
1324
|
}
|
|
1321
|
-
export function
|
|
1325
|
+
export function __wbg_new_02d162bc6cf02f60() {
|
|
1326
|
+
const ret = new Object();
|
|
1327
|
+
return ret;
|
|
1328
|
+
}
|
|
1329
|
+
export function __wbg_new_0_2722fcdb71a888a6() {
|
|
1322
1330
|
const ret = new Date();
|
|
1323
1331
|
return ret;
|
|
1324
1332
|
}
|
|
1325
|
-
export function
|
|
1326
|
-
const ret = new
|
|
1333
|
+
export function __wbg_new_1f236d63ba0c4784(arg0, arg1) {
|
|
1334
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1327
1335
|
return ret;
|
|
1328
|
-
}
|
|
1329
|
-
export function
|
|
1330
|
-
const ret = new
|
|
1336
|
+
}
|
|
1337
|
+
export function __wbg_new_7ddec6de44ff8f5d(arg0) {
|
|
1338
|
+
const ret = new Uint8Array(arg0);
|
|
1331
1339
|
return ret;
|
|
1332
1340
|
}
|
|
1333
|
-
export function
|
|
1341
|
+
export function __wbg_new_af86d8f14640f1f3() { return handleError(function () {
|
|
1334
1342
|
const ret = new AbortController();
|
|
1335
1343
|
return ret;
|
|
1336
1344
|
}, arguments); }
|
|
1337
|
-
export function
|
|
1338
|
-
const ret = new
|
|
1339
|
-
return ret;
|
|
1340
|
-
}
|
|
1341
|
-
export function __wbg_new_e3b04b4d53d1b593(arg0, arg1) {
|
|
1342
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1345
|
+
export function __wbg_new_ee0be486d8f01282() { return handleError(function () {
|
|
1346
|
+
const ret = new Headers();
|
|
1343
1347
|
return ret;
|
|
1344
|
-
}
|
|
1345
|
-
export function
|
|
1348
|
+
}, arguments); }
|
|
1349
|
+
export function __wbg_new_from_slice_269e35316ed2d061(arg0, arg1) {
|
|
1346
1350
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1347
1351
|
return ret;
|
|
1348
1352
|
}
|
|
1349
|
-
export function
|
|
1353
|
+
export function __wbg_new_typed_c072c4ce9a2a0cdf(arg0, arg1) {
|
|
1350
1354
|
try {
|
|
1351
1355
|
var state0 = {a: arg0, b: arg1};
|
|
1352
1356
|
var cb0 = (arg0, arg1) => {
|
|
1353
1357
|
const a = state0.a;
|
|
1354
1358
|
state0.a = 0;
|
|
1355
1359
|
try {
|
|
1356
|
-
return
|
|
1360
|
+
return wasm_bindgen__convert__closures_____invoke__h61e8cb59c1b109c6(a, state0.b, arg0, arg1);
|
|
1357
1361
|
} finally {
|
|
1358
1362
|
state0.a = a;
|
|
1359
1363
|
}
|
|
@@ -1364,19 +1368,19 @@ export function __wbg_new_typed_14d7cc391ce53d2c(arg0, arg1) {
|
|
|
1364
1368
|
state0.a = 0;
|
|
1365
1369
|
}
|
|
1366
1370
|
}
|
|
1367
|
-
export function
|
|
1371
|
+
export function __wbg_new_with_length_99887c91eae4abab(arg0) {
|
|
1368
1372
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1369
1373
|
return ret;
|
|
1370
1374
|
}
|
|
1371
|
-
export function
|
|
1375
|
+
export function __wbg_new_with_str_and_init_ffe9977c986ea039() { return handleError(function (arg0, arg1, arg2) {
|
|
1372
1376
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1373
1377
|
return ret;
|
|
1374
1378
|
}, arguments); }
|
|
1375
|
-
export function
|
|
1379
|
+
export function __wbg_next_2a4e19f4f5083b0f(arg0) {
|
|
1376
1380
|
const ret = arg0.next;
|
|
1377
1381
|
return ret;
|
|
1378
1382
|
}
|
|
1379
|
-
export function
|
|
1383
|
+
export function __wbg_next_6429a146bf756f93() { return handleError(function (arg0) {
|
|
1380
1384
|
const ret = arg0.next();
|
|
1381
1385
|
return ret;
|
|
1382
1386
|
}, arguments); }
|
|
@@ -1396,24 +1400,28 @@ export function __wbg_process_b2fea42461d03994(arg0) {
|
|
|
1396
1400
|
const ret = arg0.process;
|
|
1397
1401
|
return ret;
|
|
1398
1402
|
}
|
|
1399
|
-
export function
|
|
1403
|
+
export function __wbg_prototypesetcall_5f9bdc8d75e07276(arg0, arg1, arg2) {
|
|
1400
1404
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1401
1405
|
}
|
|
1402
|
-
export function
|
|
1406
|
+
export function __wbg_queueMicrotask_78d584b53af520f5(arg0) {
|
|
1403
1407
|
const ret = arg0.queueMicrotask;
|
|
1404
1408
|
return ret;
|
|
1405
1409
|
}
|
|
1406
|
-
export function
|
|
1410
|
+
export function __wbg_queueMicrotask_b39ea83c7f01971a(arg0) {
|
|
1407
1411
|
queueMicrotask(arg0);
|
|
1408
1412
|
}
|
|
1409
1413
|
export function __wbg_randomFillSync_ca9f178fb14c88cb() { return handleError(function (arg0, arg1) {
|
|
1410
1414
|
arg0.randomFillSync(arg1);
|
|
1411
1415
|
}, arguments); }
|
|
1416
|
+
export function __wbg_realFetch_65865cb56349aabc() { return handleError(function (arg0, arg1) {
|
|
1417
|
+
const ret = realFetch(arg0, arg1);
|
|
1418
|
+
return ret;
|
|
1419
|
+
}, arguments); }
|
|
1412
1420
|
export function __wbg_require_7a9419e39d796c95() { return handleError(function () {
|
|
1413
1421
|
const ret = module.require;
|
|
1414
1422
|
return ret;
|
|
1415
1423
|
}, arguments); }
|
|
1416
|
-
export function
|
|
1424
|
+
export function __wbg_resolve_d17db9352f5a220e(arg0) {
|
|
1417
1425
|
const ret = Promise.resolve(arg0);
|
|
1418
1426
|
return ret;
|
|
1419
1427
|
}
|
|
@@ -1429,66 +1437,66 @@ export function __wbg_setTimeout_f757f00851f76c42(arg0, arg1) {
|
|
|
1429
1437
|
const ret = setTimeout(arg0, arg1);
|
|
1430
1438
|
return ret;
|
|
1431
1439
|
}
|
|
1432
|
-
export function
|
|
1440
|
+
export function __wbg_set_a0e911be3da02782() { return handleError(function (arg0, arg1, arg2) {
|
|
1433
1441
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1434
1442
|
return ret;
|
|
1435
1443
|
}, arguments); }
|
|
1436
|
-
export function
|
|
1444
|
+
export function __wbg_set_body_7f56457720e81672(arg0, arg1) {
|
|
1437
1445
|
arg0.body = arg1;
|
|
1438
1446
|
}
|
|
1439
|
-
export function
|
|
1447
|
+
export function __wbg_set_cache_9ed01a3813d96de2(arg0, arg1) {
|
|
1440
1448
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1441
1449
|
}
|
|
1442
|
-
export function
|
|
1450
|
+
export function __wbg_set_cause_02f710d8cce70c01(arg0, arg1) {
|
|
1443
1451
|
arg0.cause = arg1;
|
|
1444
1452
|
}
|
|
1445
|
-
export function
|
|
1453
|
+
export function __wbg_set_credentials_55b92faec8dcc6a4(arg0, arg1) {
|
|
1446
1454
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1447
1455
|
}
|
|
1448
|
-
export function
|
|
1456
|
+
export function __wbg_set_headers_97ed66619adb1e3e(arg0, arg1) {
|
|
1449
1457
|
arg0.headers = arg1;
|
|
1450
1458
|
}
|
|
1451
|
-
export function
|
|
1459
|
+
export function __wbg_set_method_4d69a1a7e34c0aca(arg0, arg1, arg2) {
|
|
1452
1460
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1453
1461
|
}
|
|
1454
|
-
export function
|
|
1462
|
+
export function __wbg_set_mode_dfc59bbbe25b1d14(arg0, arg1) {
|
|
1455
1463
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1456
1464
|
}
|
|
1457
|
-
export function
|
|
1465
|
+
export function __wbg_set_name_e500733c75ec36b0(arg0, arg1, arg2) {
|
|
1458
1466
|
arg0.name = getStringFromWasm0(arg1, arg2);
|
|
1459
1467
|
}
|
|
1460
|
-
export function
|
|
1468
|
+
export function __wbg_set_signal_2a5bd3615938edbc(arg0, arg1) {
|
|
1461
1469
|
arg0.signal = arg1;
|
|
1462
1470
|
}
|
|
1463
|
-
export function
|
|
1471
|
+
export function __wbg_signal_304beac95c8c5ea0(arg0) {
|
|
1464
1472
|
const ret = arg0.signal;
|
|
1465
1473
|
return ret;
|
|
1466
1474
|
}
|
|
1467
|
-
export function
|
|
1475
|
+
export function __wbg_static_accessor_GLOBAL_THIS_02344c9b09eb08a9() {
|
|
1468
1476
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1469
1477
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1470
1478
|
}
|
|
1471
|
-
export function
|
|
1479
|
+
export function __wbg_static_accessor_GLOBAL_ac6d4ac874d5cd54() {
|
|
1472
1480
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1473
1481
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1474
1482
|
}
|
|
1475
|
-
export function
|
|
1483
|
+
export function __wbg_static_accessor_SELF_9b2406c23aeb2023() {
|
|
1476
1484
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1477
1485
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1478
1486
|
}
|
|
1479
|
-
export function
|
|
1487
|
+
export function __wbg_static_accessor_WINDOW_b34d2126934e16ba() {
|
|
1480
1488
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1481
1489
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1482
1490
|
}
|
|
1483
|
-
export function
|
|
1491
|
+
export function __wbg_status_0853c9f5752c7ee2(arg0) {
|
|
1484
1492
|
const ret = arg0.status;
|
|
1485
1493
|
return ret;
|
|
1486
1494
|
}
|
|
1487
|
-
export function
|
|
1495
|
+
export function __wbg_stringify_ef0c105b1ccc3849() { return handleError(function (arg0) {
|
|
1488
1496
|
const ret = JSON.stringify(arg0);
|
|
1489
1497
|
return ret;
|
|
1490
1498
|
}, arguments); }
|
|
1491
|
-
export function
|
|
1499
|
+
export function __wbg_subarray_7c6a0da8f3b4a1ba(arg0, arg1, arg2) {
|
|
1492
1500
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1493
1501
|
return ret;
|
|
1494
1502
|
}
|
|
@@ -1496,26 +1504,33 @@ export function __wbg_tdxquote_new(arg0) {
|
|
|
1496
1504
|
const ret = TdxQuote.__wrap(arg0);
|
|
1497
1505
|
return ret;
|
|
1498
1506
|
}
|
|
1499
|
-
export function
|
|
1507
|
+
export function __wbg_text_99930d92d5f1b540() { return handleError(function (arg0) {
|
|
1500
1508
|
const ret = arg0.text();
|
|
1501
1509
|
return ret;
|
|
1502
1510
|
}, arguments); }
|
|
1503
|
-
export function
|
|
1504
|
-
const ret = arg0.then(arg1
|
|
1511
|
+
export function __wbg_then_837494e384b37459(arg0, arg1) {
|
|
1512
|
+
const ret = arg0.then(arg1);
|
|
1505
1513
|
return ret;
|
|
1506
1514
|
}
|
|
1507
|
-
export function
|
|
1508
|
-
const ret = arg0.then(arg1);
|
|
1515
|
+
export function __wbg_then_bd927500e8905df2(arg0, arg1, arg2) {
|
|
1516
|
+
const ret = arg0.then(arg1, arg2);
|
|
1509
1517
|
return ret;
|
|
1510
1518
|
}
|
|
1511
|
-
export function
|
|
1519
|
+
export function __wbg_url_1a5ea6a8a7f22ff8(arg0, arg1) {
|
|
1512
1520
|
const ret = arg1.url;
|
|
1513
1521
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1514
1522
|
const len1 = WASM_VECTOR_LEN;
|
|
1515
1523
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1516
1524
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1517
1525
|
}
|
|
1518
|
-
export function
|
|
1526
|
+
export function __wbg_url_f1cddff1f5b9519a(arg0, arg1) {
|
|
1527
|
+
const ret = arg1.url;
|
|
1528
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1529
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1530
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1531
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1532
|
+
}
|
|
1533
|
+
export function __wbg_value_9cc0518af87a489c(arg0) {
|
|
1519
1534
|
const ret = arg0.value;
|
|
1520
1535
|
return ret;
|
|
1521
1536
|
}
|
|
@@ -1528,18 +1543,18 @@ export function __wbg_versions_215a3ab1c9d5745a(arg0) {
|
|
|
1528
1543
|
return ret;
|
|
1529
1544
|
}
|
|
1530
1545
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
1531
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1532
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1546
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1962, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1547
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hae26513a56be1c77);
|
|
1533
1548
|
return ret;
|
|
1534
1549
|
}
|
|
1535
1550
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
1536
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1537
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1551
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1787, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1552
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hba3e03ec0686df06);
|
|
1538
1553
|
return ret;
|
|
1539
1554
|
}
|
|
1540
1555
|
export function __wbindgen_cast_0000000000000003(arg0, arg1) {
|
|
1541
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1542
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1556
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 900, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1557
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb48ee18b811a2652);
|
|
1543
1558
|
return ret;
|
|
1544
1559
|
}
|
|
1545
1560
|
export function __wbindgen_cast_0000000000000004(arg0, arg1) {
|
|
@@ -1568,23 +1583,23 @@ export function __wbindgen_init_externref_table() {
|
|
|
1568
1583
|
table.set(offset + 2, true);
|
|
1569
1584
|
table.set(offset + 3, false);
|
|
1570
1585
|
}
|
|
1571
|
-
function
|
|
1572
|
-
wasm.
|
|
1586
|
+
function wasm_bindgen__convert__closures_____invoke__hba3e03ec0686df06(arg0, arg1) {
|
|
1587
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hba3e03ec0686df06(arg0, arg1);
|
|
1573
1588
|
}
|
|
1574
1589
|
|
|
1575
|
-
function
|
|
1576
|
-
wasm.
|
|
1590
|
+
function wasm_bindgen__convert__closures_____invoke__hb48ee18b811a2652(arg0, arg1) {
|
|
1591
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb48ee18b811a2652(arg0, arg1);
|
|
1577
1592
|
}
|
|
1578
1593
|
|
|
1579
|
-
function
|
|
1580
|
-
const ret = wasm.
|
|
1594
|
+
function wasm_bindgen__convert__closures_____invoke__hae26513a56be1c77(arg0, arg1, arg2) {
|
|
1595
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hae26513a56be1c77(arg0, arg1, arg2);
|
|
1581
1596
|
if (ret[1]) {
|
|
1582
1597
|
throw takeFromExternrefTable0(ret[0]);
|
|
1583
1598
|
}
|
|
1584
1599
|
}
|
|
1585
1600
|
|
|
1586
|
-
function
|
|
1587
|
-
wasm.
|
|
1601
|
+
function wasm_bindgen__convert__closures_____invoke__h61e8cb59c1b109c6(arg0, arg1, arg2, arg3) {
|
|
1602
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h61e8cb59c1b109c6(arg0, arg1, arg2, arg3);
|
|
1588
1603
|
}
|
|
1589
1604
|
|
|
1590
1605
|
|
|
@@ -1597,79 +1612,79 @@ const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
|
1597
1612
|
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
1598
1613
|
const AttestHeadersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1599
1614
|
? { register: () => {}, unregister: () => {} }
|
|
1600
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_attestheaders_free(ptr
|
|
1615
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_attestheaders_free(ptr, 1));
|
|
1601
1616
|
const AttestResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1602
1617
|
? { register: () => {}, unregister: () => {} }
|
|
1603
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_attestresult_free(ptr
|
|
1618
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_attestresult_free(ptr, 1));
|
|
1604
1619
|
const CRLFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1605
1620
|
? { register: () => {}, unregister: () => {} }
|
|
1606
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_crl_free(ptr
|
|
1621
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_crl_free(ptr, 1));
|
|
1607
1622
|
const ClientFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1608
1623
|
? { register: () => {}, unregister: () => {} }
|
|
1609
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_client_free(ptr
|
|
1624
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_client_free(ptr, 1));
|
|
1610
1625
|
const ClientBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1611
1626
|
? { register: () => {}, unregister: () => {} }
|
|
1612
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_clientbuilder_free(ptr
|
|
1627
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_clientbuilder_free(ptr, 1));
|
|
1613
1628
|
const CollateralFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1614
1629
|
? { register: () => {}, unregister: () => {} }
|
|
1615
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_collateral_free(ptr
|
|
1630
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_collateral_free(ptr, 1));
|
|
1616
1631
|
const DecodedClaimsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1617
1632
|
? { register: () => {}, unregister: () => {} }
|
|
1618
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_decodedclaims_free(ptr
|
|
1633
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_decodedclaims_free(ptr, 1));
|
|
1619
1634
|
const EATTokenFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1620
1635
|
? { register: () => {}, unregister: () => {} }
|
|
1621
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_eattoken_free(ptr
|
|
1636
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_eattoken_free(ptr, 1));
|
|
1622
1637
|
const ExportPemFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1623
1638
|
? { register: () => {}, unregister: () => {} }
|
|
1624
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_exportpem_free(ptr
|
|
1639
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_exportpem_free(ptr, 1));
|
|
1625
1640
|
const GatewayErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1626
1641
|
? { register: () => {}, unregister: () => {} }
|
|
1627
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_gatewayerror_free(ptr
|
|
1642
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_gatewayerror_free(ptr, 1));
|
|
1628
1643
|
const KdsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1629
1644
|
? { register: () => {}, unregister: () => {} }
|
|
1630
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_kds_free(ptr
|
|
1645
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_kds_free(ptr, 1));
|
|
1631
1646
|
const KeyChainFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1632
1647
|
? { register: () => {}, unregister: () => {} }
|
|
1633
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_keychain_free(ptr
|
|
1648
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_keychain_free(ptr, 1));
|
|
1634
1649
|
const ModulesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1635
1650
|
? { register: () => {}, unregister: () => {} }
|
|
1636
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modules_free(ptr
|
|
1651
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modules_free(ptr, 1));
|
|
1637
1652
|
const NvidiaAttestResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1638
1653
|
? { register: () => {}, unregister: () => {} }
|
|
1639
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_nvidiaattestresult_free(ptr
|
|
1654
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_nvidiaattestresult_free(ptr, 1));
|
|
1640
1655
|
const NvidiaNonceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1641
1656
|
? { register: () => {}, unregister: () => {} }
|
|
1642
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_nvidianonce_free(ptr
|
|
1657
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_nvidianonce_free(ptr, 1));
|
|
1643
1658
|
const ParsedAttestationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1644
1659
|
? { register: () => {}, unregister: () => {} }
|
|
1645
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_parsedattestation_free(ptr
|
|
1660
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_parsedattestation_free(ptr, 1));
|
|
1646
1661
|
const PcsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1647
1662
|
? { register: () => {}, unregister: () => {} }
|
|
1648
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_pcs_free(ptr
|
|
1663
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pcs_free(ptr, 1));
|
|
1649
1664
|
const QueryParamsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1650
1665
|
? { register: () => {}, unregister: () => {} }
|
|
1651
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_queryparams_free(ptr
|
|
1666
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_queryparams_free(ptr, 1));
|
|
1652
1667
|
const QuoteVerifierFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1653
1668
|
? { register: () => {}, unregister: () => {} }
|
|
1654
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_quoteverifier_free(ptr
|
|
1669
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_quoteverifier_free(ptr, 1));
|
|
1655
1670
|
const ResponseHeadersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1656
1671
|
? { register: () => {}, unregister: () => {} }
|
|
1657
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_responseheaders_free(ptr
|
|
1672
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_responseheaders_free(ptr, 1));
|
|
1658
1673
|
const SevNonceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1659
1674
|
? { register: () => {}, unregister: () => {} }
|
|
1660
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_sevnonce_free(ptr
|
|
1675
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sevnonce_free(ptr, 1));
|
|
1661
1676
|
const TcbLevelsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1662
1677
|
? { register: () => {}, unregister: () => {} }
|
|
1663
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tcblevels_free(ptr
|
|
1678
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tcblevels_free(ptr, 1));
|
|
1664
1679
|
const TdxNonceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1665
1680
|
? { register: () => {}, unregister: () => {} }
|
|
1666
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tdxnonce_free(ptr
|
|
1681
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tdxnonce_free(ptr, 1));
|
|
1667
1682
|
const TdxQuoteFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1668
1683
|
? { register: () => {}, unregister: () => {} }
|
|
1669
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tdxquote_free(ptr
|
|
1684
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tdxquote_free(ptr, 1));
|
|
1670
1685
|
const VerifiedChainFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1671
1686
|
? { register: () => {}, unregister: () => {} }
|
|
1672
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_verifiedchain_free(ptr
|
|
1687
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_verifiedchain_free(ptr, 1));
|
|
1673
1688
|
|
|
1674
1689
|
function addToExternrefTable0(obj) {
|
|
1675
1690
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -1777,8 +1792,7 @@ function getDataViewMemory0() {
|
|
|
1777
1792
|
}
|
|
1778
1793
|
|
|
1779
1794
|
function getStringFromWasm0(ptr, len) {
|
|
1780
|
-
|
|
1781
|
-
return decodeText(ptr, len);
|
|
1795
|
+
return decodeText(ptr >>> 0, len);
|
|
1782
1796
|
}
|
|
1783
1797
|
|
|
1784
1798
|
let cachedUint8ArrayMemory0 = null;
|