New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dfns/dfns-key-export-nodejs

Package Overview
Dependencies
Maintainers
14
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfns/dfns-key-export-nodejs - npm Package Compare versions

Comparing version

to
0.2.3

4

dfns_key_export.d.ts

@@ -23,2 +23,6 @@ /* tslint:disable */

Frost = 3,
/**
* FROST variant that is compatible with Bitcoin Schnorr
*/
FrostBitcoin = 4,
}

@@ -25,0 +29,0 @@ /**

66

dfns_key_export.js
let imports = {};
imports['__wbindgen_placeholder__'] = module.exports;
let wasm;
const { TextEncoder, TextDecoder } = require(`util`);
const { TextDecoder, TextEncoder } = require(`util`);

@@ -26,4 +26,6 @@ const heap = new Array(128).fill(undefined);

let WASM_VECTOR_LEN = 0;
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
cachedTextDecoder.decode();
let cachedUint8Memory0 = null;

@@ -38,2 +40,18 @@

function getStringFromWasm0(ptr, len) {
ptr = ptr >>> 0;
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}
function addHeapObject(obj) {
if (heap_next === heap.length) heap.push(heap.length + 1);
const idx = heap_next;
heap_next = heap[idx];
heap[idx] = obj;
return idx;
}
let WASM_VECTOR_LEN = 0;
let cachedTextEncoder = new TextEncoder('utf-8');

@@ -105,20 +123,2 @@

let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
cachedTextDecoder.decode();
function getStringFromWasm0(ptr, len) {
ptr = ptr >>> 0;
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}
function addHeapObject(obj) {
if (heap_next === heap.length) heap.push(heap.length + 1);
const idx = heap_next;
heap_next = heap[idx];
heap[idx] = obj;
return idx;
}
let cachedFloat64Memory0 = null;

@@ -229,4 +229,8 @@

*/
Frost:3,"3":"Frost", });
Frost:3,"3":"Frost",
/**
* FROST variant that is compatible with Bitcoin Schnorr
*/
FrostBitcoin:4,"4":"FrostBitcoin", });
/**
* The curve for which a key can be used

@@ -396,2 +400,7 @@ */

module.exports.__wbindgen_error_new = function(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
module.exports.__wbindgen_string_get = function(arg0, arg1) {

@@ -406,7 +415,2 @@ const obj = getObject(arg1);

module.exports.__wbindgen_error_new = function(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
module.exports.__wbindgen_is_string = function(arg0) {

@@ -433,7 +437,2 @@ const ret = typeof(getObject(arg0)) === 'string';

module.exports.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {

@@ -470,2 +469,7 @@ const ret = getObject(arg0) == getObject(arg1);

module.exports.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
module.exports.__wbg_getwithrefkey_d1f0d12f1f1b63ea = function(arg0, arg1) {

@@ -472,0 +476,0 @@ const ret = getObject(arg0)[getObject(arg1)];

{
"name": "@dfns/dfns-key-export-nodejs",
"description": "Cryptography code for exporting a key from Dfns",
"version": "0.2.1",
"version": "0.2.3",
"license": "MIT OR Apache-2.0",

@@ -6,0 +6,0 @@ "repository": {

Sorry, the diff of this file is not supported yet