@silencelaboratories/dkls-wasm-ll-node
Advanced tools
Comparing version 0.1.0-pre.2 to 0.1.0
@@ -164,2 +164,3 @@ let imports = {}; | ||
offset += ret.written; | ||
ptr = realloc(ptr, len, offset, 1) >>> 0; | ||
} | ||
@@ -178,2 +179,6 @@ | ||
} | ||
const KeygenSessionFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_keygensession_free(ptr >>> 0)); | ||
/** | ||
@@ -187,3 +192,3 @@ */ | ||
obj.__wbg_ptr = ptr; | ||
KeygenSessionFinalization.register(obj, obj.__wbg_ptr, obj); | ||
return obj; | ||
@@ -195,3 +200,3 @@ } | ||
this.__wbg_ptr = 0; | ||
KeygenSessionFinalization.unregister(this); | ||
return ptr; | ||
@@ -341,2 +346,6 @@ } | ||
module.exports.KeygenSession = KeygenSession; | ||
const KeyshareFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_keyshare_free(ptr >>> 0)); | ||
/** | ||
@@ -350,3 +359,3 @@ */ | ||
obj.__wbg_ptr = ptr; | ||
KeyshareFinalization.register(obj, obj.__wbg_ptr, obj); | ||
return obj; | ||
@@ -358,3 +367,3 @@ } | ||
this.__wbg_ptr = 0; | ||
KeyshareFinalization.unregister(this); | ||
return ptr; | ||
@@ -445,2 +454,6 @@ } | ||
module.exports.Keyshare = Keyshare; | ||
const MessageFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_message_free(ptr >>> 0)); | ||
/** | ||
@@ -454,3 +467,3 @@ */ | ||
obj.__wbg_ptr = ptr; | ||
MessageFinalization.register(obj, obj.__wbg_ptr, obj); | ||
return obj; | ||
@@ -469,3 +482,3 @@ } | ||
this.__wbg_ptr = 0; | ||
MessageFinalization.unregister(this); | ||
return ptr; | ||
@@ -535,2 +548,6 @@ } | ||
module.exports.Message = Message; | ||
const SignSessionFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_signsession_free(ptr >>> 0)); | ||
/** | ||
@@ -544,3 +561,3 @@ */ | ||
obj.__wbg_ptr = ptr; | ||
SignSessionFinalization.register(obj, obj.__wbg_ptr, obj); | ||
return obj; | ||
@@ -552,3 +569,3 @@ } | ||
this.__wbg_ptr = 0; | ||
SignSessionFinalization.unregister(this); | ||
return ptr; | ||
@@ -783,3 +800,3 @@ } | ||
module.exports.__wbg_length_d99b680fd68bf71b = function(arg0) { | ||
module.exports.__wbg_length_161c0d89c6535c1d = function(arg0) { | ||
const ret = getObject(arg0).length; | ||
@@ -789,3 +806,3 @@ return ret; | ||
module.exports.__wbg_newnoargs_5859b6d41c6fe9f7 = function(arg0, arg1) { | ||
module.exports.__wbg_newnoargs_cfecb3965268594c = function(arg0, arg1) { | ||
const ret = new Function(getStringFromWasm0(arg0, arg1)); | ||
@@ -800,3 +817,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_self_086b5302bcafb962 = function() { return handleError(function () { | ||
module.exports.__wbg_self_05040bd9523805b9 = function() { return handleError(function () { | ||
const ret = self.self; | ||
@@ -806,3 +823,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_window_132fa5d7546f1de5 = function() { return handleError(function () { | ||
module.exports.__wbg_window_adc720039f2cb14f = function() { return handleError(function () { | ||
const ret = window.window; | ||
@@ -812,3 +829,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_globalThis_e5f801a37ad7d07b = function() { return handleError(function () { | ||
module.exports.__wbg_globalThis_622105db80c1457d = function() { return handleError(function () { | ||
const ret = globalThis.globalThis; | ||
@@ -818,3 +835,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_global_f9a61fce4af6b7c1 = function() { return handleError(function () { | ||
module.exports.__wbg_global_f56b013ed9bcf359 = function() { return handleError(function () { | ||
const ret = global.global; | ||
@@ -829,3 +846,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_newwithlength_6f9d90ee462acc16 = function(arg0) { | ||
module.exports.__wbg_newwithlength_a20dc3b27e1cb1b2 = function(arg0) { | ||
const ret = new Array(arg0 >>> 0); | ||
@@ -835,3 +852,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_get_c43534c00f382c8a = function(arg0, arg1) { | ||
module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) { | ||
const ret = getObject(arg0)[arg1 >>> 0]; | ||
@@ -841,7 +858,7 @@ return addHeapObject(ret); | ||
module.exports.__wbg_set_379b27f1d5f1bf9c = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_set_79c308ecd9a1d091 = function(arg0, arg1, arg2) { | ||
getObject(arg0)[arg1 >>> 0] = takeObject(arg2); | ||
}; | ||
module.exports.__wbg_call_a79f1973a4f07d5e = function() { return handleError(function (arg0, arg1) { | ||
module.exports.__wbg_call_3f093dd26d5569f8 = function() { return handleError(function (arg0, arg1) { | ||
const ret = getObject(arg0).call(getObject(arg1)); | ||
@@ -851,3 +868,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_call_f6a2bc58c19c53c6 = function() { return handleError(function (arg0, arg1, arg2) { | ||
module.exports.__wbg_call_67f2111acd2dfdb6 = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); | ||
@@ -857,3 +874,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_buffer_5d1b598a01b41a42 = function(arg0) { | ||
module.exports.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) { | ||
const ret = getObject(arg0).buffer; | ||
@@ -863,3 +880,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_newwithbyteoffsetandlength_d695c7957788f922 = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e = function(arg0, arg1, arg2) { | ||
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); | ||
@@ -869,3 +886,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_new_ace717933ad7117f = function(arg0) { | ||
module.exports.__wbg_new_b1f2d6842d615181 = function(arg0) { | ||
const ret = new Uint8Array(getObject(arg0)); | ||
@@ -875,3 +892,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_instanceof_Uint8Array_4f5cffed7df34b2f = function(arg0) { | ||
module.exports.__wbg_instanceof_Uint8Array_c299a4ee232e76ba = function(arg0) { | ||
let result; | ||
@@ -887,3 +904,3 @@ try { | ||
module.exports.__wbg_newwithlength_728575f3bba9959b = function(arg0) { | ||
module.exports.__wbg_newwithlength_0d03cef43b68a530 = function(arg0) { | ||
const ret = new Uint8Array(arg0 >>> 0); | ||
@@ -893,3 +910,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_subarray_7f7a652672800851 = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0); | ||
@@ -899,3 +916,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_length_f0764416ba5bb237 = function(arg0) { | ||
module.exports.__wbg_length_21c4b0ae73cba59d = function(arg0) { | ||
const ret = getObject(arg0).length; | ||
@@ -905,3 +922,3 @@ return ret; | ||
module.exports.__wbg_set_74906aa30864df5a = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) { | ||
getObject(arg0).set(getObject(arg1), arg2 >>> 0); | ||
@@ -908,0 +925,0 @@ }; |
{ | ||
"name": "@silencelaboratories/dkls-wasm-ll-node", | ||
"version": "0.1.0-pre.2", | ||
"version": "0.1.0", | ||
"license": "Apache-2.0", | ||
@@ -8,3 +8,4 @@ "files": [ | ||
"dkls-wasm-ll-node.js", | ||
"dkls-wasm-ll-node.d.ts" | ||
"dkls-wasm-ll-node.d.ts", | ||
"LICENSE.md" | ||
], | ||
@@ -11,0 +12,0 @@ "main": "dkls-wasm-ll-node.js", |
@@ -142,3 +142,3 @@ # Multi-Party-TSS (ECDSA-DKLs23) | ||
## Key rotation | ||
## Key roation | ||
@@ -145,0 +145,0 @@ A key rotation session is very simular to normal key generation. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
991
636483
1
80