@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_main.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* @ts-self-types="./reticle.d.ts" */
|
|
2
|
+
const { realFetch } = require(String.raw`./snippets/reticle-f25e928bd9723d28/src/fetchShim.js`);
|
|
2
3
|
|
|
3
4
|
class AttestHeaders {
|
|
4
5
|
static __wrap(ptr) {
|
|
5
|
-
ptr = ptr >>> 0;
|
|
6
6
|
const obj = Object.create(AttestHeaders.prototype);
|
|
7
7
|
obj.__wbg_ptr = ptr;
|
|
8
8
|
AttestHeadersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -38,7 +38,6 @@ exports.AttestHeaders = AttestHeaders;
|
|
|
38
38
|
|
|
39
39
|
class AttestResult {
|
|
40
40
|
static __wrap(ptr) {
|
|
41
|
-
ptr = ptr >>> 0;
|
|
42
41
|
const obj = Object.create(AttestResult.prototype);
|
|
43
42
|
obj.__wbg_ptr = ptr;
|
|
44
43
|
AttestResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -77,7 +76,6 @@ exports.AttestResult = AttestResult;
|
|
|
77
76
|
*/
|
|
78
77
|
class CRL {
|
|
79
78
|
static __wrap(ptr) {
|
|
80
|
-
ptr = ptr >>> 0;
|
|
81
79
|
const obj = Object.create(CRL.prototype);
|
|
82
80
|
obj.__wbg_ptr = ptr;
|
|
83
81
|
CRLFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -125,7 +123,6 @@ exports.CRL = CRL;
|
|
|
125
123
|
|
|
126
124
|
class Client {
|
|
127
125
|
static __wrap(ptr) {
|
|
128
|
-
ptr = ptr >>> 0;
|
|
129
126
|
const obj = Object.create(Client.prototype);
|
|
130
127
|
obj.__wbg_ptr = ptr;
|
|
131
128
|
ClientFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -243,7 +240,6 @@ exports.Client = Client;
|
|
|
243
240
|
|
|
244
241
|
class ClientBuilder {
|
|
245
242
|
static __wrap(ptr) {
|
|
246
|
-
ptr = ptr >>> 0;
|
|
247
243
|
const obj = Object.create(ClientBuilder.prototype);
|
|
248
244
|
obj.__wbg_ptr = ptr;
|
|
249
245
|
ClientBuilderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -274,7 +270,7 @@ class ClientBuilder {
|
|
|
274
270
|
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
275
271
|
const len0 = WASM_VECTOR_LEN;
|
|
276
272
|
const ret = wasm.clientbuilder_new(ptr0, len0);
|
|
277
|
-
this.__wbg_ptr = ret
|
|
273
|
+
this.__wbg_ptr = ret;
|
|
278
274
|
ClientBuilderFinalization.register(this, this.__wbg_ptr, this);
|
|
279
275
|
return this;
|
|
280
276
|
}
|
|
@@ -335,7 +331,6 @@ exports.ClientBuilder = ClientBuilder;
|
|
|
335
331
|
|
|
336
332
|
class Collateral {
|
|
337
333
|
static __wrap(ptr) {
|
|
338
|
-
ptr = ptr >>> 0;
|
|
339
334
|
const obj = Object.create(Collateral.prototype);
|
|
340
335
|
obj.__wbg_ptr = ptr;
|
|
341
336
|
CollateralFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -366,7 +361,6 @@ exports.CpuModule = CpuModule;
|
|
|
366
361
|
|
|
367
362
|
class DecodedClaims {
|
|
368
363
|
static __wrap(ptr) {
|
|
369
|
-
ptr = ptr >>> 0;
|
|
370
364
|
const obj = Object.create(DecodedClaims.prototype);
|
|
371
365
|
obj.__wbg_ptr = ptr;
|
|
372
366
|
DecodedClaimsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -388,7 +382,6 @@ exports.DecodedClaims = DecodedClaims;
|
|
|
388
382
|
|
|
389
383
|
class EATToken {
|
|
390
384
|
static __wrap(ptr) {
|
|
391
|
-
ptr = ptr >>> 0;
|
|
392
385
|
const obj = Object.create(EATToken.prototype);
|
|
393
386
|
obj.__wbg_ptr = ptr;
|
|
394
387
|
EATTokenFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -438,7 +431,6 @@ exports.EATToken = EATToken;
|
|
|
438
431
|
|
|
439
432
|
class ExportPem {
|
|
440
433
|
static __wrap(ptr) {
|
|
441
|
-
ptr = ptr >>> 0;
|
|
442
434
|
const obj = Object.create(ExportPem.prototype);
|
|
443
435
|
obj.__wbg_ptr = ptr;
|
|
444
436
|
ExportPemFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -511,7 +503,6 @@ exports.ExportPem = ExportPem;
|
|
|
511
503
|
|
|
512
504
|
class GatewayError {
|
|
513
505
|
static __wrap(ptr) {
|
|
514
|
-
ptr = ptr >>> 0;
|
|
515
506
|
const obj = Object.create(GatewayError.prototype);
|
|
516
507
|
obj.__wbg_ptr = ptr;
|
|
517
508
|
GatewayErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -602,7 +593,7 @@ class Kds {
|
|
|
602
593
|
if (ret[2]) {
|
|
603
594
|
throw takeFromExternrefTable0(ret[1]);
|
|
604
595
|
}
|
|
605
|
-
this.__wbg_ptr = ret[0]
|
|
596
|
+
this.__wbg_ptr = ret[0];
|
|
606
597
|
KdsFinalization.register(this, this.__wbg_ptr, this);
|
|
607
598
|
return this;
|
|
608
599
|
}
|
|
@@ -612,7 +603,6 @@ exports.Kds = Kds;
|
|
|
612
603
|
|
|
613
604
|
class KeyChain {
|
|
614
605
|
static __wrap(ptr) {
|
|
615
|
-
ptr = ptr >>> 0;
|
|
616
606
|
const obj = Object.create(KeyChain.prototype);
|
|
617
607
|
obj.__wbg_ptr = ptr;
|
|
618
608
|
KeyChainFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -634,7 +624,6 @@ exports.KeyChain = KeyChain;
|
|
|
634
624
|
|
|
635
625
|
class Modules {
|
|
636
626
|
static __wrap(ptr) {
|
|
637
|
-
ptr = ptr >>> 0;
|
|
638
627
|
const obj = Object.create(Modules.prototype);
|
|
639
628
|
obj.__wbg_ptr = ptr;
|
|
640
629
|
ModulesFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -677,7 +666,6 @@ exports.Modules = Modules;
|
|
|
677
666
|
|
|
678
667
|
class NvidiaAttestResult {
|
|
679
668
|
static __wrap(ptr) {
|
|
680
|
-
ptr = ptr >>> 0;
|
|
681
669
|
const obj = Object.create(NvidiaAttestResult.prototype);
|
|
682
670
|
obj.__wbg_ptr = ptr;
|
|
683
671
|
NvidiaAttestResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -699,7 +687,6 @@ exports.NvidiaAttestResult = NvidiaAttestResult;
|
|
|
699
687
|
|
|
700
688
|
class NvidiaNonce {
|
|
701
689
|
static __wrap(ptr) {
|
|
702
|
-
ptr = ptr >>> 0;
|
|
703
690
|
const obj = Object.create(NvidiaNonce.prototype);
|
|
704
691
|
obj.__wbg_ptr = ptr;
|
|
705
692
|
NvidiaNonceFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -747,7 +734,6 @@ exports.NvidiaNonce = NvidiaNonce;
|
|
|
747
734
|
*/
|
|
748
735
|
class ParsedAttestation {
|
|
749
736
|
static __wrap(ptr) {
|
|
750
|
-
ptr = ptr >>> 0;
|
|
751
737
|
const obj = Object.create(ParsedAttestation.prototype);
|
|
752
738
|
obj.__wbg_ptr = ptr;
|
|
753
739
|
ParsedAttestationFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -838,7 +824,7 @@ class Pcs {
|
|
|
838
824
|
if (ret[2]) {
|
|
839
825
|
throw takeFromExternrefTable0(ret[1]);
|
|
840
826
|
}
|
|
841
|
-
this.__wbg_ptr = ret[0]
|
|
827
|
+
this.__wbg_ptr = ret[0];
|
|
842
828
|
PcsFinalization.register(this, this.__wbg_ptr, this);
|
|
843
829
|
return this;
|
|
844
830
|
}
|
|
@@ -853,7 +839,6 @@ exports.Pcs = Pcs;
|
|
|
853
839
|
*/
|
|
854
840
|
class QueryParams {
|
|
855
841
|
static __wrap(ptr) {
|
|
856
|
-
ptr = ptr >>> 0;
|
|
857
842
|
const obj = Object.create(QueryParams.prototype);
|
|
858
843
|
obj.__wbg_ptr = ptr;
|
|
859
844
|
QueryParamsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -871,7 +856,7 @@ class QueryParams {
|
|
|
871
856
|
}
|
|
872
857
|
constructor() {
|
|
873
858
|
const ret = wasm.queryparams_new();
|
|
874
|
-
this.__wbg_ptr = ret
|
|
859
|
+
this.__wbg_ptr = ret;
|
|
875
860
|
QueryParamsFinalization.register(this, this.__wbg_ptr, this);
|
|
876
861
|
return this;
|
|
877
862
|
}
|
|
@@ -917,7 +902,7 @@ class QuoteVerifier {
|
|
|
917
902
|
_assertClass(quote, TdxQuote);
|
|
918
903
|
var ptr1 = quote.__destroy_into_raw();
|
|
919
904
|
const ret = wasm.quoteverifier_new(ptr0, ptr1);
|
|
920
|
-
this.__wbg_ptr = ret
|
|
905
|
+
this.__wbg_ptr = ret;
|
|
921
906
|
QuoteVerifierFinalization.register(this, this.__wbg_ptr, this);
|
|
922
907
|
return this;
|
|
923
908
|
}
|
|
@@ -937,7 +922,6 @@ exports.QuoteVerifier = QuoteVerifier;
|
|
|
937
922
|
|
|
938
923
|
class ResponseHeaders {
|
|
939
924
|
static __wrap(ptr) {
|
|
940
|
-
ptr = ptr >>> 0;
|
|
941
925
|
const obj = Object.create(ResponseHeaders.prototype);
|
|
942
926
|
obj.__wbg_ptr = ptr;
|
|
943
927
|
ResponseHeadersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -983,7 +967,6 @@ exports.ResponseHeaders = ResponseHeaders;
|
|
|
983
967
|
|
|
984
968
|
class SevNonce {
|
|
985
969
|
static __wrap(ptr) {
|
|
986
|
-
ptr = ptr >>> 0;
|
|
987
970
|
const obj = Object.create(SevNonce.prototype);
|
|
988
971
|
obj.__wbg_ptr = ptr;
|
|
989
972
|
SevNonceFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1053,7 +1036,7 @@ class TdxNonce {
|
|
|
1053
1036
|
}
|
|
1054
1037
|
constructor() {
|
|
1055
1038
|
const ret = wasm.tdxnonce_generate();
|
|
1056
|
-
this.__wbg_ptr = ret
|
|
1039
|
+
this.__wbg_ptr = ret;
|
|
1057
1040
|
TdxNonceFinalization.register(this, this.__wbg_ptr, this);
|
|
1058
1041
|
return this;
|
|
1059
1042
|
}
|
|
@@ -1078,7 +1061,6 @@ exports.TdxNonce = TdxNonce;
|
|
|
1078
1061
|
|
|
1079
1062
|
class TdxQuote {
|
|
1080
1063
|
static __wrap(ptr) {
|
|
1081
|
-
ptr = ptr >>> 0;
|
|
1082
1064
|
const obj = Object.create(TdxQuote.prototype);
|
|
1083
1065
|
obj.__wbg_ptr = ptr;
|
|
1084
1066
|
TdxQuoteFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1117,7 +1099,6 @@ exports.TdxQuote = TdxQuote;
|
|
|
1117
1099
|
*/
|
|
1118
1100
|
class VerifiedChain {
|
|
1119
1101
|
static __wrap(ptr) {
|
|
1120
|
-
ptr = ptr >>> 0;
|
|
1121
1102
|
const obj = Object.create(VerifiedChain.prototype);
|
|
1122
1103
|
obj.__wbg_ptr = ptr;
|
|
1123
1104
|
VerifiedChainFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1168,6 +1149,17 @@ class VerifiedChain {
|
|
|
1168
1149
|
if (Symbol.dispose) VerifiedChain.prototype[Symbol.dispose] = VerifiedChain.prototype.free;
|
|
1169
1150
|
exports.VerifiedChain = VerifiedChain;
|
|
1170
1151
|
|
|
1152
|
+
/**
|
|
1153
|
+
* @param {any} input
|
|
1154
|
+
* @param {any | null} [init]
|
|
1155
|
+
* @returns {Promise<any>}
|
|
1156
|
+
*/
|
|
1157
|
+
function fetch2(input, init) {
|
|
1158
|
+
const ret = wasm.fetch(input, isLikeNone(init) ? 0 : addToExternrefTable0(init));
|
|
1159
|
+
return ret;
|
|
1160
|
+
}
|
|
1161
|
+
exports.fetch = fetch2;
|
|
1162
|
+
|
|
1171
1163
|
/**
|
|
1172
1164
|
* Same as [`KeyChain:fetch_keychain`], put in for better wasm compatibility
|
|
1173
1165
|
* @returns {Promise<KeyChain>}
|
|
@@ -1177,35 +1169,34 @@ function fetch_keychain() {
|
|
|
1177
1169
|
return ret;
|
|
1178
1170
|
}
|
|
1179
1171
|
exports.fetch_keychain = fetch_keychain;
|
|
1180
|
-
|
|
1181
1172
|
function __wbg_get_imports() {
|
|
1182
1173
|
const import0 = {
|
|
1183
1174
|
__proto__: null,
|
|
1184
|
-
|
|
1175
|
+
__wbg___wbindgen_debug_string_edece8177ad01481: function(arg0, arg1) {
|
|
1185
1176
|
const ret = debugString(arg1);
|
|
1186
1177
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1187
1178
|
const len1 = WASM_VECTOR_LEN;
|
|
1188
1179
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1189
1180
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1190
1181
|
},
|
|
1191
|
-
|
|
1182
|
+
__wbg___wbindgen_is_function_5cd60d5cf78b4eef: function(arg0) {
|
|
1192
1183
|
const ret = typeof(arg0) === 'function';
|
|
1193
1184
|
return ret;
|
|
1194
1185
|
},
|
|
1195
|
-
|
|
1186
|
+
__wbg___wbindgen_is_object_b4593df85baada48: function(arg0) {
|
|
1196
1187
|
const val = arg0;
|
|
1197
1188
|
const ret = typeof(val) === 'object' && val !== null;
|
|
1198
1189
|
return ret;
|
|
1199
1190
|
},
|
|
1200
|
-
|
|
1191
|
+
__wbg___wbindgen_is_string_dde0fd9020db4434: function(arg0) {
|
|
1201
1192
|
const ret = typeof(arg0) === 'string';
|
|
1202
1193
|
return ret;
|
|
1203
1194
|
},
|
|
1204
|
-
|
|
1195
|
+
__wbg___wbindgen_is_undefined_35bb9f4c7fd651d5: function(arg0) {
|
|
1205
1196
|
const ret = arg0 === undefined;
|
|
1206
1197
|
return ret;
|
|
1207
1198
|
},
|
|
1208
|
-
|
|
1199
|
+
__wbg___wbindgen_string_get_d109740c0d18f4d7: function(arg0, arg1) {
|
|
1209
1200
|
const obj = arg1;
|
|
1210
1201
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1211
1202
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1213,22 +1204,22 @@ function __wbg_get_imports() {
|
|
|
1213
1204
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1214
1205
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1215
1206
|
},
|
|
1216
|
-
|
|
1207
|
+
__wbg___wbindgen_throw_9c31b086c2b26051: function(arg0, arg1) {
|
|
1217
1208
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1218
1209
|
},
|
|
1219
|
-
|
|
1210
|
+
__wbg__wbg_cb_unref_3fa391f3fcdb55f8: function(arg0) {
|
|
1220
1211
|
arg0._wbg_cb_unref();
|
|
1221
1212
|
},
|
|
1222
|
-
|
|
1223
|
-
arg0.abort();
|
|
1224
|
-
},
|
|
1225
|
-
__wbg_abort_7a67cb8f9383baa1: function(arg0, arg1) {
|
|
1213
|
+
__wbg_abort_89f7368e16055f5f: function(arg0, arg1) {
|
|
1226
1214
|
arg0.abort(arg1);
|
|
1227
1215
|
},
|
|
1228
|
-
|
|
1216
|
+
__wbg_abort_b363e6285472a358: function(arg0) {
|
|
1217
|
+
arg0.abort();
|
|
1218
|
+
},
|
|
1219
|
+
__wbg_append_263958599fd198c1: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1229
1220
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1230
1221
|
}, arguments); },
|
|
1231
|
-
|
|
1222
|
+
__wbg_arrayBuffer_cb5d4748b5f3cad5: function() { return handleError(function (arg0) {
|
|
1232
1223
|
const ret = arg0.arrayBuffer();
|
|
1233
1224
|
return ret;
|
|
1234
1225
|
}, arguments); },
|
|
@@ -1236,11 +1227,11 @@ function __wbg_get_imports() {
|
|
|
1236
1227
|
const ret = AttestResult.__wrap(arg0);
|
|
1237
1228
|
return ret;
|
|
1238
1229
|
},
|
|
1239
|
-
|
|
1230
|
+
__wbg_call_13665d9f14390edc: function() { return handleError(function (arg0, arg1) {
|
|
1240
1231
|
const ret = arg0.call(arg1);
|
|
1241
1232
|
return ret;
|
|
1242
1233
|
}, arguments); },
|
|
1243
|
-
|
|
1234
|
+
__wbg_call_dfde26266607c996: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1244
1235
|
const ret = arg0.call(arg1, arg2);
|
|
1245
1236
|
return ret;
|
|
1246
1237
|
}, arguments); },
|
|
@@ -1268,15 +1259,15 @@ function __wbg_get_imports() {
|
|
|
1268
1259
|
const ret = arg0.crypto;
|
|
1269
1260
|
return ret;
|
|
1270
1261
|
},
|
|
1271
|
-
|
|
1262
|
+
__wbg_done_54b8da57023b7ed2: function(arg0) {
|
|
1272
1263
|
const ret = arg0.done;
|
|
1273
1264
|
return ret;
|
|
1274
1265
|
},
|
|
1275
|
-
|
|
1266
|
+
__wbg_entries_8c373da97ea5ada5: function(arg0) {
|
|
1276
1267
|
const ret = arg0.entries();
|
|
1277
1268
|
return ret;
|
|
1278
1269
|
},
|
|
1279
|
-
|
|
1270
|
+
__wbg_fetch_2998af8c54e0997c: function(arg0, arg1) {
|
|
1280
1271
|
const ret = arg0.fetch(arg1);
|
|
1281
1272
|
return ret;
|
|
1282
1273
|
},
|
|
@@ -1298,27 +1289,37 @@ function __wbg_get_imports() {
|
|
|
1298
1289
|
__wbg_getRandomValues_76dfc69825c9c552: function() { return handleError(function (arg0, arg1) {
|
|
1299
1290
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1300
1291
|
}, arguments); },
|
|
1301
|
-
|
|
1292
|
+
__wbg_getTime_09f1dd40a44edb30: function(arg0) {
|
|
1302
1293
|
const ret = arg0.getTime();
|
|
1303
1294
|
return ret;
|
|
1304
1295
|
},
|
|
1305
|
-
|
|
1306
|
-
const ret = arg0[arg1 >>> 0];
|
|
1307
|
-
return ret;
|
|
1308
|
-
},
|
|
1309
|
-
__wbg_get_ed0642c4b9d31ddf: function() { return handleError(function (arg0, arg1) {
|
|
1296
|
+
__wbg_get_3e9a707ab7d352eb: function() { return handleError(function (arg0, arg1) {
|
|
1310
1297
|
const ret = Reflect.get(arg0, arg1);
|
|
1311
1298
|
return ret;
|
|
1312
1299
|
}, arguments); },
|
|
1313
|
-
|
|
1300
|
+
__wbg_get_98fdf51d029a75eb: function(arg0, arg1) {
|
|
1301
|
+
const ret = arg0[arg1 >>> 0];
|
|
1302
|
+
return ret;
|
|
1303
|
+
},
|
|
1304
|
+
__wbg_has_ef192b1f278770eb: function() { return handleError(function (arg0, arg1) {
|
|
1314
1305
|
const ret = Reflect.has(arg0, arg1);
|
|
1315
1306
|
return ret;
|
|
1316
1307
|
}, arguments); },
|
|
1317
|
-
|
|
1308
|
+
__wbg_headers_18f39f24d3837dc1: function(arg0) {
|
|
1318
1309
|
const ret = arg0.headers;
|
|
1319
1310
|
return ret;
|
|
1320
1311
|
},
|
|
1321
|
-
|
|
1312
|
+
__wbg_instanceof_Request_0b988f27c60a71ed: function(arg0) {
|
|
1313
|
+
let result;
|
|
1314
|
+
try {
|
|
1315
|
+
result = arg0 instanceof Request;
|
|
1316
|
+
} catch (_) {
|
|
1317
|
+
result = false;
|
|
1318
|
+
}
|
|
1319
|
+
const ret = result;
|
|
1320
|
+
return ret;
|
|
1321
|
+
},
|
|
1322
|
+
__wbg_instanceof_Response_ecfc823e8fb354e2: function(arg0) {
|
|
1322
1323
|
let result;
|
|
1323
1324
|
try {
|
|
1324
1325
|
result = arg0 instanceof Response;
|
|
@@ -1328,11 +1329,11 @@ function __wbg_get_imports() {
|
|
|
1328
1329
|
const ret = result;
|
|
1329
1330
|
return ret;
|
|
1330
1331
|
},
|
|
1331
|
-
|
|
1332
|
+
__wbg_isArray_94898ed3aad6947b: function(arg0) {
|
|
1332
1333
|
const ret = Array.isArray(arg0);
|
|
1333
1334
|
return ret;
|
|
1334
1335
|
},
|
|
1335
|
-
|
|
1336
|
+
__wbg_iterator_1441b47f341dc34f: function() {
|
|
1336
1337
|
const ret = Symbol.iterator;
|
|
1337
1338
|
return ret;
|
|
1338
1339
|
},
|
|
@@ -1340,7 +1341,7 @@ function __wbg_get_imports() {
|
|
|
1340
1341
|
const ret = KeyChain.__wrap(arg0);
|
|
1341
1342
|
return ret;
|
|
1342
1343
|
},
|
|
1343
|
-
|
|
1344
|
+
__wbg_length_56fcd3e2b7e0299d: function(arg0) {
|
|
1344
1345
|
const ret = arg0.length;
|
|
1345
1346
|
return ret;
|
|
1346
1347
|
},
|
|
@@ -1352,42 +1353,42 @@ function __wbg_get_imports() {
|
|
|
1352
1353
|
const ret = arg0.msCrypto;
|
|
1353
1354
|
return ret;
|
|
1354
1355
|
},
|
|
1355
|
-
|
|
1356
|
+
__wbg_new_02d162bc6cf02f60: function() {
|
|
1357
|
+
const ret = new Object();
|
|
1358
|
+
return ret;
|
|
1359
|
+
},
|
|
1360
|
+
__wbg_new_0_2722fcdb71a888a6: function() {
|
|
1356
1361
|
const ret = new Date();
|
|
1357
1362
|
return ret;
|
|
1358
1363
|
},
|
|
1359
|
-
|
|
1360
|
-
const ret = new
|
|
1364
|
+
__wbg_new_1f236d63ba0c4784: function(arg0, arg1) {
|
|
1365
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1361
1366
|
return ret;
|
|
1362
|
-
},
|
|
1363
|
-
|
|
1364
|
-
const ret = new
|
|
1367
|
+
},
|
|
1368
|
+
__wbg_new_7ddec6de44ff8f5d: function(arg0) {
|
|
1369
|
+
const ret = new Uint8Array(arg0);
|
|
1365
1370
|
return ret;
|
|
1366
1371
|
},
|
|
1367
|
-
|
|
1372
|
+
__wbg_new_af86d8f14640f1f3: function() { return handleError(function () {
|
|
1368
1373
|
const ret = new AbortController();
|
|
1369
1374
|
return ret;
|
|
1370
1375
|
}, arguments); },
|
|
1371
|
-
|
|
1372
|
-
const ret = new
|
|
1373
|
-
return ret;
|
|
1374
|
-
},
|
|
1375
|
-
__wbg_new_e3b04b4d53d1b593: function(arg0, arg1) {
|
|
1376
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1376
|
+
__wbg_new_ee0be486d8f01282: function() { return handleError(function () {
|
|
1377
|
+
const ret = new Headers();
|
|
1377
1378
|
return ret;
|
|
1378
|
-
},
|
|
1379
|
-
|
|
1379
|
+
}, arguments); },
|
|
1380
|
+
__wbg_new_from_slice_269e35316ed2d061: function(arg0, arg1) {
|
|
1380
1381
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1381
1382
|
return ret;
|
|
1382
1383
|
},
|
|
1383
|
-
|
|
1384
|
+
__wbg_new_typed_c072c4ce9a2a0cdf: function(arg0, arg1) {
|
|
1384
1385
|
try {
|
|
1385
1386
|
var state0 = {a: arg0, b: arg1};
|
|
1386
1387
|
var cb0 = (arg0, arg1) => {
|
|
1387
1388
|
const a = state0.a;
|
|
1388
1389
|
state0.a = 0;
|
|
1389
1390
|
try {
|
|
1390
|
-
return
|
|
1391
|
+
return wasm_bindgen__convert__closures_____invoke__h61e8cb59c1b109c6(a, state0.b, arg0, arg1);
|
|
1391
1392
|
} finally {
|
|
1392
1393
|
state0.a = a;
|
|
1393
1394
|
}
|
|
@@ -1398,19 +1399,19 @@ function __wbg_get_imports() {
|
|
|
1398
1399
|
state0.a = 0;
|
|
1399
1400
|
}
|
|
1400
1401
|
},
|
|
1401
|
-
|
|
1402
|
+
__wbg_new_with_length_99887c91eae4abab: function(arg0) {
|
|
1402
1403
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1403
1404
|
return ret;
|
|
1404
1405
|
},
|
|
1405
|
-
|
|
1406
|
+
__wbg_new_with_str_and_init_ffe9977c986ea039: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1406
1407
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1407
1408
|
return ret;
|
|
1408
1409
|
}, arguments); },
|
|
1409
|
-
|
|
1410
|
+
__wbg_next_2a4e19f4f5083b0f: function(arg0) {
|
|
1410
1411
|
const ret = arg0.next;
|
|
1411
1412
|
return ret;
|
|
1412
1413
|
},
|
|
1413
|
-
|
|
1414
|
+
__wbg_next_6429a146bf756f93: function() { return handleError(function (arg0) {
|
|
1414
1415
|
const ret = arg0.next();
|
|
1415
1416
|
return ret;
|
|
1416
1417
|
}, arguments); },
|
|
@@ -1430,24 +1431,28 @@ function __wbg_get_imports() {
|
|
|
1430
1431
|
const ret = arg0.process;
|
|
1431
1432
|
return ret;
|
|
1432
1433
|
},
|
|
1433
|
-
|
|
1434
|
+
__wbg_prototypesetcall_5f9bdc8d75e07276: function(arg0, arg1, arg2) {
|
|
1434
1435
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1435
1436
|
},
|
|
1436
|
-
|
|
1437
|
+
__wbg_queueMicrotask_78d584b53af520f5: function(arg0) {
|
|
1437
1438
|
const ret = arg0.queueMicrotask;
|
|
1438
1439
|
return ret;
|
|
1439
1440
|
},
|
|
1440
|
-
|
|
1441
|
+
__wbg_queueMicrotask_b39ea83c7f01971a: function(arg0) {
|
|
1441
1442
|
queueMicrotask(arg0);
|
|
1442
1443
|
},
|
|
1443
1444
|
__wbg_randomFillSync_ca9f178fb14c88cb: function() { return handleError(function (arg0, arg1) {
|
|
1444
1445
|
arg0.randomFillSync(arg1);
|
|
1445
1446
|
}, arguments); },
|
|
1447
|
+
__wbg_realFetch_65865cb56349aabc: function() { return handleError(function (arg0, arg1) {
|
|
1448
|
+
const ret = realFetch(arg0, arg1);
|
|
1449
|
+
return ret;
|
|
1450
|
+
}, arguments); },
|
|
1446
1451
|
__wbg_require_7a9419e39d796c95: function() { return handleError(function () {
|
|
1447
1452
|
const ret = module.require;
|
|
1448
1453
|
return ret;
|
|
1449
1454
|
}, arguments); },
|
|
1450
|
-
|
|
1455
|
+
__wbg_resolve_d17db9352f5a220e: function(arg0) {
|
|
1451
1456
|
const ret = Promise.resolve(arg0);
|
|
1452
1457
|
return ret;
|
|
1453
1458
|
},
|
|
@@ -1463,66 +1468,66 @@ function __wbg_get_imports() {
|
|
|
1463
1468
|
const ret = setTimeout(arg0, arg1);
|
|
1464
1469
|
return ret;
|
|
1465
1470
|
},
|
|
1466
|
-
|
|
1471
|
+
__wbg_set_a0e911be3da02782: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1467
1472
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1468
1473
|
return ret;
|
|
1469
1474
|
}, arguments); },
|
|
1470
|
-
|
|
1475
|
+
__wbg_set_body_7f56457720e81672: function(arg0, arg1) {
|
|
1471
1476
|
arg0.body = arg1;
|
|
1472
1477
|
},
|
|
1473
|
-
|
|
1478
|
+
__wbg_set_cache_9ed01a3813d96de2: function(arg0, arg1) {
|
|
1474
1479
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1475
1480
|
},
|
|
1476
|
-
|
|
1481
|
+
__wbg_set_cause_02f710d8cce70c01: function(arg0, arg1) {
|
|
1477
1482
|
arg0.cause = arg1;
|
|
1478
1483
|
},
|
|
1479
|
-
|
|
1484
|
+
__wbg_set_credentials_55b92faec8dcc6a4: function(arg0, arg1) {
|
|
1480
1485
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1481
1486
|
},
|
|
1482
|
-
|
|
1487
|
+
__wbg_set_headers_97ed66619adb1e3e: function(arg0, arg1) {
|
|
1483
1488
|
arg0.headers = arg1;
|
|
1484
1489
|
},
|
|
1485
|
-
|
|
1490
|
+
__wbg_set_method_4d69a1a7e34c0aca: function(arg0, arg1, arg2) {
|
|
1486
1491
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1487
1492
|
},
|
|
1488
|
-
|
|
1493
|
+
__wbg_set_mode_dfc59bbbe25b1d14: function(arg0, arg1) {
|
|
1489
1494
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1490
1495
|
},
|
|
1491
|
-
|
|
1496
|
+
__wbg_set_name_e500733c75ec36b0: function(arg0, arg1, arg2) {
|
|
1492
1497
|
arg0.name = getStringFromWasm0(arg1, arg2);
|
|
1493
1498
|
},
|
|
1494
|
-
|
|
1499
|
+
__wbg_set_signal_2a5bd3615938edbc: function(arg0, arg1) {
|
|
1495
1500
|
arg0.signal = arg1;
|
|
1496
1501
|
},
|
|
1497
|
-
|
|
1502
|
+
__wbg_signal_304beac95c8c5ea0: function(arg0) {
|
|
1498
1503
|
const ret = arg0.signal;
|
|
1499
1504
|
return ret;
|
|
1500
1505
|
},
|
|
1501
|
-
|
|
1506
|
+
__wbg_static_accessor_GLOBAL_THIS_02344c9b09eb08a9: function() {
|
|
1502
1507
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1503
1508
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1504
1509
|
},
|
|
1505
|
-
|
|
1510
|
+
__wbg_static_accessor_GLOBAL_ac6d4ac874d5cd54: function() {
|
|
1506
1511
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1507
1512
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1508
1513
|
},
|
|
1509
|
-
|
|
1514
|
+
__wbg_static_accessor_SELF_9b2406c23aeb2023: function() {
|
|
1510
1515
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1511
1516
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1512
1517
|
},
|
|
1513
|
-
|
|
1518
|
+
__wbg_static_accessor_WINDOW_b34d2126934e16ba: function() {
|
|
1514
1519
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1515
1520
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1516
1521
|
},
|
|
1517
|
-
|
|
1522
|
+
__wbg_status_0853c9f5752c7ee2: function(arg0) {
|
|
1518
1523
|
const ret = arg0.status;
|
|
1519
1524
|
return ret;
|
|
1520
1525
|
},
|
|
1521
|
-
|
|
1526
|
+
__wbg_stringify_ef0c105b1ccc3849: function() { return handleError(function (arg0) {
|
|
1522
1527
|
const ret = JSON.stringify(arg0);
|
|
1523
1528
|
return ret;
|
|
1524
1529
|
}, arguments); },
|
|
1525
|
-
|
|
1530
|
+
__wbg_subarray_7c6a0da8f3b4a1ba: function(arg0, arg1, arg2) {
|
|
1526
1531
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1527
1532
|
return ret;
|
|
1528
1533
|
},
|
|
@@ -1530,26 +1535,33 @@ function __wbg_get_imports() {
|
|
|
1530
1535
|
const ret = TdxQuote.__wrap(arg0);
|
|
1531
1536
|
return ret;
|
|
1532
1537
|
},
|
|
1533
|
-
|
|
1538
|
+
__wbg_text_99930d92d5f1b540: function() { return handleError(function (arg0) {
|
|
1534
1539
|
const ret = arg0.text();
|
|
1535
1540
|
return ret;
|
|
1536
1541
|
}, arguments); },
|
|
1537
|
-
|
|
1538
|
-
const ret = arg0.then(arg1
|
|
1542
|
+
__wbg_then_837494e384b37459: function(arg0, arg1) {
|
|
1543
|
+
const ret = arg0.then(arg1);
|
|
1539
1544
|
return ret;
|
|
1540
1545
|
},
|
|
1541
|
-
|
|
1542
|
-
const ret = arg0.then(arg1);
|
|
1546
|
+
__wbg_then_bd927500e8905df2: function(arg0, arg1, arg2) {
|
|
1547
|
+
const ret = arg0.then(arg1, arg2);
|
|
1543
1548
|
return ret;
|
|
1544
1549
|
},
|
|
1545
|
-
|
|
1550
|
+
__wbg_url_1a5ea6a8a7f22ff8: function(arg0, arg1) {
|
|
1546
1551
|
const ret = arg1.url;
|
|
1547
1552
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1548
1553
|
const len1 = WASM_VECTOR_LEN;
|
|
1549
1554
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1550
1555
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1551
1556
|
},
|
|
1552
|
-
|
|
1557
|
+
__wbg_url_f1cddff1f5b9519a: function(arg0, arg1) {
|
|
1558
|
+
const ret = arg1.url;
|
|
1559
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1560
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1561
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1562
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1563
|
+
},
|
|
1564
|
+
__wbg_value_9cc0518af87a489c: function(arg0) {
|
|
1553
1565
|
const ret = arg0.value;
|
|
1554
1566
|
return ret;
|
|
1555
1567
|
},
|
|
@@ -1562,18 +1574,18 @@ function __wbg_get_imports() {
|
|
|
1562
1574
|
return ret;
|
|
1563
1575
|
},
|
|
1564
1576
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1565
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1566
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1577
|
+
// 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`.
|
|
1578
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hae26513a56be1c77);
|
|
1567
1579
|
return ret;
|
|
1568
1580
|
},
|
|
1569
1581
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1570
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1571
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1582
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1787, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1583
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hba3e03ec0686df06);
|
|
1572
1584
|
return ret;
|
|
1573
1585
|
},
|
|
1574
1586
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1575
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1576
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1587
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 900, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1588
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb48ee18b811a2652);
|
|
1577
1589
|
return ret;
|
|
1578
1590
|
},
|
|
1579
1591
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
@@ -1609,23 +1621,23 @@ function __wbg_get_imports() {
|
|
|
1609
1621
|
};
|
|
1610
1622
|
}
|
|
1611
1623
|
|
|
1612
|
-
function
|
|
1613
|
-
wasm.
|
|
1624
|
+
function wasm_bindgen__convert__closures_____invoke__hba3e03ec0686df06(arg0, arg1) {
|
|
1625
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hba3e03ec0686df06(arg0, arg1);
|
|
1614
1626
|
}
|
|
1615
1627
|
|
|
1616
|
-
function
|
|
1617
|
-
wasm.
|
|
1628
|
+
function wasm_bindgen__convert__closures_____invoke__hb48ee18b811a2652(arg0, arg1) {
|
|
1629
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb48ee18b811a2652(arg0, arg1);
|
|
1618
1630
|
}
|
|
1619
1631
|
|
|
1620
|
-
function
|
|
1621
|
-
const ret = wasm.
|
|
1632
|
+
function wasm_bindgen__convert__closures_____invoke__hae26513a56be1c77(arg0, arg1, arg2) {
|
|
1633
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hae26513a56be1c77(arg0, arg1, arg2);
|
|
1622
1634
|
if (ret[1]) {
|
|
1623
1635
|
throw takeFromExternrefTable0(ret[0]);
|
|
1624
1636
|
}
|
|
1625
1637
|
}
|
|
1626
1638
|
|
|
1627
|
-
function
|
|
1628
|
-
wasm.
|
|
1639
|
+
function wasm_bindgen__convert__closures_____invoke__h61e8cb59c1b109c6(arg0, arg1, arg2, arg3) {
|
|
1640
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h61e8cb59c1b109c6(arg0, arg1, arg2, arg3);
|
|
1629
1641
|
}
|
|
1630
1642
|
|
|
1631
1643
|
|
|
@@ -1638,79 +1650,79 @@ const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
|
1638
1650
|
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
1639
1651
|
const AttestHeadersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1640
1652
|
? { register: () => {}, unregister: () => {} }
|
|
1641
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_attestheaders_free(ptr
|
|
1653
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_attestheaders_free(ptr, 1));
|
|
1642
1654
|
const AttestResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1643
1655
|
? { register: () => {}, unregister: () => {} }
|
|
1644
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_attestresult_free(ptr
|
|
1656
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_attestresult_free(ptr, 1));
|
|
1645
1657
|
const CRLFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1646
1658
|
? { register: () => {}, unregister: () => {} }
|
|
1647
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_crl_free(ptr
|
|
1659
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_crl_free(ptr, 1));
|
|
1648
1660
|
const ClientFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1649
1661
|
? { register: () => {}, unregister: () => {} }
|
|
1650
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_client_free(ptr
|
|
1662
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_client_free(ptr, 1));
|
|
1651
1663
|
const ClientBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1652
1664
|
? { register: () => {}, unregister: () => {} }
|
|
1653
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_clientbuilder_free(ptr
|
|
1665
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_clientbuilder_free(ptr, 1));
|
|
1654
1666
|
const CollateralFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1655
1667
|
? { register: () => {}, unregister: () => {} }
|
|
1656
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_collateral_free(ptr
|
|
1668
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_collateral_free(ptr, 1));
|
|
1657
1669
|
const DecodedClaimsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1658
1670
|
? { register: () => {}, unregister: () => {} }
|
|
1659
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_decodedclaims_free(ptr
|
|
1671
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_decodedclaims_free(ptr, 1));
|
|
1660
1672
|
const EATTokenFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1661
1673
|
? { register: () => {}, unregister: () => {} }
|
|
1662
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_eattoken_free(ptr
|
|
1674
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_eattoken_free(ptr, 1));
|
|
1663
1675
|
const ExportPemFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1664
1676
|
? { register: () => {}, unregister: () => {} }
|
|
1665
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_exportpem_free(ptr
|
|
1677
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_exportpem_free(ptr, 1));
|
|
1666
1678
|
const GatewayErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1667
1679
|
? { register: () => {}, unregister: () => {} }
|
|
1668
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_gatewayerror_free(ptr
|
|
1680
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_gatewayerror_free(ptr, 1));
|
|
1669
1681
|
const KdsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1670
1682
|
? { register: () => {}, unregister: () => {} }
|
|
1671
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_kds_free(ptr
|
|
1683
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_kds_free(ptr, 1));
|
|
1672
1684
|
const KeyChainFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1673
1685
|
? { register: () => {}, unregister: () => {} }
|
|
1674
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_keychain_free(ptr
|
|
1686
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_keychain_free(ptr, 1));
|
|
1675
1687
|
const ModulesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1676
1688
|
? { register: () => {}, unregister: () => {} }
|
|
1677
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modules_free(ptr
|
|
1689
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modules_free(ptr, 1));
|
|
1678
1690
|
const NvidiaAttestResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1679
1691
|
? { register: () => {}, unregister: () => {} }
|
|
1680
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_nvidiaattestresult_free(ptr
|
|
1692
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_nvidiaattestresult_free(ptr, 1));
|
|
1681
1693
|
const NvidiaNonceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1682
1694
|
? { register: () => {}, unregister: () => {} }
|
|
1683
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_nvidianonce_free(ptr
|
|
1695
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_nvidianonce_free(ptr, 1));
|
|
1684
1696
|
const ParsedAttestationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1685
1697
|
? { register: () => {}, unregister: () => {} }
|
|
1686
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_parsedattestation_free(ptr
|
|
1698
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_parsedattestation_free(ptr, 1));
|
|
1687
1699
|
const PcsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1688
1700
|
? { register: () => {}, unregister: () => {} }
|
|
1689
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_pcs_free(ptr
|
|
1701
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pcs_free(ptr, 1));
|
|
1690
1702
|
const QueryParamsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1691
1703
|
? { register: () => {}, unregister: () => {} }
|
|
1692
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_queryparams_free(ptr
|
|
1704
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_queryparams_free(ptr, 1));
|
|
1693
1705
|
const QuoteVerifierFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1694
1706
|
? { register: () => {}, unregister: () => {} }
|
|
1695
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_quoteverifier_free(ptr
|
|
1707
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_quoteverifier_free(ptr, 1));
|
|
1696
1708
|
const ResponseHeadersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1697
1709
|
? { register: () => {}, unregister: () => {} }
|
|
1698
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_responseheaders_free(ptr
|
|
1710
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_responseheaders_free(ptr, 1));
|
|
1699
1711
|
const SevNonceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1700
1712
|
? { register: () => {}, unregister: () => {} }
|
|
1701
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_sevnonce_free(ptr
|
|
1713
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sevnonce_free(ptr, 1));
|
|
1702
1714
|
const TcbLevelsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1703
1715
|
? { register: () => {}, unregister: () => {} }
|
|
1704
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tcblevels_free(ptr
|
|
1716
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tcblevels_free(ptr, 1));
|
|
1705
1717
|
const TdxNonceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1706
1718
|
? { register: () => {}, unregister: () => {} }
|
|
1707
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tdxnonce_free(ptr
|
|
1719
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tdxnonce_free(ptr, 1));
|
|
1708
1720
|
const TdxQuoteFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1709
1721
|
? { register: () => {}, unregister: () => {} }
|
|
1710
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tdxquote_free(ptr
|
|
1722
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tdxquote_free(ptr, 1));
|
|
1711
1723
|
const VerifiedChainFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1712
1724
|
? { register: () => {}, unregister: () => {} }
|
|
1713
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_verifiedchain_free(ptr
|
|
1725
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_verifiedchain_free(ptr, 1));
|
|
1714
1726
|
|
|
1715
1727
|
function addToExternrefTable0(obj) {
|
|
1716
1728
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -1818,8 +1830,7 @@ function getDataViewMemory0() {
|
|
|
1818
1830
|
}
|
|
1819
1831
|
|
|
1820
1832
|
function getStringFromWasm0(ptr, len) {
|
|
1821
|
-
|
|
1822
|
-
return decodeText(ptr, len);
|
|
1833
|
+
return decodeText(ptr >>> 0, len);
|
|
1823
1834
|
}
|
|
1824
1835
|
|
|
1825
1836
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -1945,5 +1956,6 @@ let WASM_VECTOR_LEN = 0;
|
|
|
1945
1956
|
const wasmPath = `${__dirname}/reticle_bg.wasm`;
|
|
1946
1957
|
const wasmBytes = require('fs').readFileSync(wasmPath);
|
|
1947
1958
|
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
1948
|
-
let
|
|
1959
|
+
let wasmInstance = new WebAssembly.Instance(wasmModule, __wbg_get_imports());
|
|
1960
|
+
let wasm = wasmInstance.exports;
|
|
1949
1961
|
wasm.__wbindgen_start();
|