@wireapp/core-crypto 1.0.0-rc.51 → 1.0.0-rc.52
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
CHANGED
|
Binary file
|
|
@@ -269,25 +269,9 @@ var __wbg_get_imports = function() {
|
|
|
269
269
|
const ret = arg0;
|
|
270
270
|
return addHeapObject(ret);
|
|
271
271
|
};
|
|
272
|
-
imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
|
|
273
|
-
const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
|
|
274
|
-
return addHeapObject(ret);
|
|
275
|
-
};
|
|
276
|
-
imports.wbg.__wbg_proposalbundle_new = function(arg0) {
|
|
277
|
-
const ret = ProposalBundle.__wrap(arg0);
|
|
278
|
-
return addHeapObject(ret);
|
|
279
|
-
};
|
|
280
|
-
imports.wbg.__wbg_commitbundle_new = function(arg0) {
|
|
281
|
-
const ret = CommitBundle.__wrap(arg0);
|
|
282
|
-
return addHeapObject(ret);
|
|
283
|
-
};
|
|
284
272
|
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
285
273
|
takeObject(arg0);
|
|
286
274
|
};
|
|
287
|
-
imports.wbg.__wbg_corecrypto_new = function(arg0) {
|
|
288
|
-
const ret = CoreCrypto.__wrap(arg0);
|
|
289
|
-
return addHeapObject(ret);
|
|
290
|
-
};
|
|
291
275
|
imports.wbg.__wbg_newacmeorder_new = function(arg0) {
|
|
292
276
|
const ret = NewAcmeOrder.__wrap(arg0);
|
|
293
277
|
return addHeapObject(ret);
|
|
@@ -296,8 +280,12 @@ var __wbg_get_imports = function() {
|
|
|
296
280
|
const ret = BufferedDecryptedMessage.__wrap(arg0);
|
|
297
281
|
return addHeapObject(ret);
|
|
298
282
|
};
|
|
299
|
-
imports.wbg.
|
|
300
|
-
const ret =
|
|
283
|
+
imports.wbg.__wbg_proposalbundle_new = function(arg0) {
|
|
284
|
+
const ret = ProposalBundle.__wrap(arg0);
|
|
285
|
+
return addHeapObject(ret);
|
|
286
|
+
};
|
|
287
|
+
imports.wbg.__wbg_corecrypto_new = function(arg0) {
|
|
288
|
+
const ret = CoreCrypto.__wrap(arg0);
|
|
301
289
|
return addHeapObject(ret);
|
|
302
290
|
};
|
|
303
291
|
imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
|
|
@@ -308,12 +296,20 @@ var __wbg_get_imports = function() {
|
|
|
308
296
|
const ret = AcmeDirectory.__wrap(arg0);
|
|
309
297
|
return addHeapObject(ret);
|
|
310
298
|
};
|
|
311
|
-
imports.wbg.
|
|
312
|
-
const ret =
|
|
299
|
+
imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
|
|
300
|
+
const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
|
|
313
301
|
return addHeapObject(ret);
|
|
314
302
|
};
|
|
315
|
-
imports.wbg.
|
|
316
|
-
const ret =
|
|
303
|
+
imports.wbg.__wbg_commitbundle_new = function(arg0) {
|
|
304
|
+
const ret = CommitBundle.__wrap(arg0);
|
|
305
|
+
return addHeapObject(ret);
|
|
306
|
+
};
|
|
307
|
+
imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
|
|
308
|
+
const ret = NewAcmeAuthz.__wrap(arg0);
|
|
309
|
+
return addHeapObject(ret);
|
|
310
|
+
};
|
|
311
|
+
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
|
|
312
|
+
const ret = getObject(arg0);
|
|
317
313
|
return addHeapObject(ret);
|
|
318
314
|
};
|
|
319
315
|
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
@@ -328,6 +324,10 @@ var __wbg_get_imports = function() {
|
|
|
328
324
|
const ret = getObject(arg0) === null;
|
|
329
325
|
return ret;
|
|
330
326
|
};
|
|
327
|
+
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
328
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
329
|
+
return addHeapObject(ret);
|
|
330
|
+
};
|
|
331
331
|
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
332
332
|
const obj = getObject(arg1);
|
|
333
333
|
const ret = typeof obj === "string" ? obj : undefined;
|
|
@@ -983,8 +983,8 @@ var __wbg_get_imports = function() {
|
|
|
983
983
|
const ret = makeMutClosure(arg0, arg1, 667, __wbg_adapter_54);
|
|
984
984
|
return addHeapObject(ret);
|
|
985
985
|
};
|
|
986
|
-
imports.wbg.
|
|
987
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
986
|
+
imports.wbg.__wbindgen_closure_wrapper13336 = function(arg0, arg1, arg2) {
|
|
987
|
+
const ret = makeMutClosure(arg0, arg1, 2201, __wbg_adapter_57);
|
|
988
988
|
return addHeapObject(ret);
|
|
989
989
|
};
|
|
990
990
|
return imports;
|
|
@@ -1051,12 +1051,6 @@ var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: ()
|
|
|
1051
1051
|
});
|
|
1052
1052
|
var cachedUint32Memory0 = null;
|
|
1053
1053
|
var cachedUint16Memory0 = null;
|
|
1054
|
-
var WirePolicy = Object.freeze({
|
|
1055
|
-
Plaintext: 1,
|
|
1056
|
-
"1": "Plaintext",
|
|
1057
|
-
Ciphertext: 2,
|
|
1058
|
-
"2": "Ciphertext"
|
|
1059
|
-
});
|
|
1060
1054
|
var DeviceStatus = Object.freeze({
|
|
1061
1055
|
Valid: 1,
|
|
1062
1056
|
"1": "Valid",
|
|
@@ -1065,11 +1059,11 @@ var DeviceStatus = Object.freeze({
|
|
|
1065
1059
|
Revoked: 3,
|
|
1066
1060
|
"3": "Revoked"
|
|
1067
1061
|
});
|
|
1068
|
-
var
|
|
1069
|
-
|
|
1070
|
-
"1": "
|
|
1071
|
-
|
|
1072
|
-
"2": "
|
|
1062
|
+
var WirePolicy = Object.freeze({
|
|
1063
|
+
Plaintext: 1,
|
|
1064
|
+
"1": "Plaintext",
|
|
1065
|
+
Ciphertext: 2,
|
|
1066
|
+
"2": "Ciphertext"
|
|
1073
1067
|
});
|
|
1074
1068
|
var Ciphersuite = Object.freeze({
|
|
1075
1069
|
MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519: 1,
|
|
@@ -1089,6 +1083,12 @@ var Ciphersuite = Object.freeze({
|
|
|
1089
1083
|
MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519: 61489,
|
|
1090
1084
|
"61489": "MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519"
|
|
1091
1085
|
});
|
|
1086
|
+
var CredentialType = Object.freeze({
|
|
1087
|
+
Basic: 1,
|
|
1088
|
+
"1": "Basic",
|
|
1089
|
+
X509: 2,
|
|
1090
|
+
"2": "X509"
|
|
1091
|
+
});
|
|
1092
1092
|
var AcmeChallengeFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
1093
1093
|
}, unregister: () => {
|
|
1094
1094
|
} } : new FinalizationRegistry((ptr) => wasm.__wbg_acmechallenge_free(ptr >>> 0));
|