Socket
Socket
Sign inDemoInstall

@noir-lang/noirc_abi

Package Overview
Dependencies
Maintainers
1
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noir-lang/noirc_abi - npm Package Compare versions

Comparing version 0.19.0 to 0.19.1

12

nodejs/noirc_abi_wasm.d.ts

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

export type ABIError = Error;
export type Field = string | number | boolean;

@@ -43,3 +39,3 @@ export type InputValue = Field | Field[] | InputMap;

{ kind: "struct", path: string, fields: [string, AbiType][] };
export type AbiParameter = {

@@ -53,3 +49,3 @@ name: string,

parameters: AbiParameter[],
param_witnesses: Record<string, number[]>,
param_witnesses: Record<string, {start: number, end: number}[]>,
return_type: AbiType | null,

@@ -60,1 +56,5 @@ return_witnesses: number[],

export type ABIError = Error;

@@ -12,24 +12,2 @@ let imports = {};

function isLikeNone(x) {
return x === undefined || x === null;
}
let cachedFloat64Memory0 = null;
function getFloat64Memory0() {
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
}
return cachedFloat64Memory0;
}
let cachedInt32Memory0 = null;
function getInt32Memory0() {
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
}
return cachedInt32Memory0;
}
let heap_next = heap.length;

@@ -58,2 +36,24 @@

function isLikeNone(x) {
return x === undefined || x === null;
}
let cachedFloat64Memory0 = null;
function getFloat64Memory0() {
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
}
return cachedFloat64Memory0;
}
let cachedInt32Memory0 = null;
function getInt32Memory0() {
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
}
return cachedInt32Memory0;
}
let WASM_VECTOR_LEN = 0;

@@ -186,7 +186,5 @@

module.exports.__wbindgen_number_get = function(arg0, arg1) {
const obj = getObject(arg1);
const ret = typeof(obj) === 'number' ? obj : undefined;
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
module.exports.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};

@@ -198,8 +196,3 @@

module.exports.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};
module.exports.__wbg_new_7eda00598b2a27a7 = function() {
module.exports.__wbg_new_c332f1d5330752f2 = function() {
const ret = new Map();

@@ -214,2 +207,9 @@ return addHeapObject(ret);

module.exports.__wbindgen_number_get = function(arg0, arg1) {
const obj = getObject(arg1);
const ret = typeof(obj) === 'number' ? obj : undefined;
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
};
module.exports.__wbindgen_string_get = function(arg0, arg1) {

@@ -224,3 +224,3 @@ const obj = getObject(arg1);

module.exports.__wbg_constructor_ae68cc6e1c98bfd5 = function(arg0) {
module.exports.__wbg_constructor_f9341ccd4a348724 = function(arg0) {
const ret = new Error(takeObject(arg0));

@@ -227,0 +227,0 @@ return addHeapObject(ret);

@@ -6,3 +6,3 @@ {

],
"version": "0.19.0",
"version": "0.19.1",
"license": "(MIT OR Apache-2.0)",

@@ -9,0 +9,0 @@ "files": [

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

export type ABIError = Error;
export type Field = string | number | boolean;

@@ -43,3 +39,3 @@ export type InputValue = Field | Field[] | InputMap;

{ kind: "struct", path: string, fields: [string, AbiType][] };
export type AbiParameter = {

@@ -53,3 +49,3 @@ name: string,

parameters: AbiParameter[],
param_witnesses: Record<string, number[]>,
param_witnesses: Record<string, {start: number, end: number}[]>,
return_type: AbiType | null,

@@ -61,2 +57,6 @@ return_witnesses: number[],

export type ABIError = Error;
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;

@@ -63,0 +63,0 @@

@@ -9,24 +9,2 @@ let wasm;

function isLikeNone(x) {
return x === undefined || x === null;
}
let cachedFloat64Memory0 = null;
function getFloat64Memory0() {
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
}
return cachedFloat64Memory0;
}
let cachedInt32Memory0 = null;
function getInt32Memory0() {
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
}
return cachedInt32Memory0;
}
let heap_next = heap.length;

@@ -55,2 +33,24 @@

function isLikeNone(x) {
return x === undefined || x === null;
}
let cachedFloat64Memory0 = null;
function getFloat64Memory0() {
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
}
return cachedFloat64Memory0;
}
let cachedInt32Memory0 = null;
function getInt32Memory0() {
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
}
return cachedInt32Memory0;
}
let WASM_VECTOR_LEN = 0;

@@ -217,7 +217,5 @@

imports.wbg = {};
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
const obj = getObject(arg1);
const ret = typeof(obj) === 'number' ? obj : undefined;
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
imports.wbg.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};

@@ -227,7 +225,3 @@ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {

};
imports.wbg.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};
imports.wbg.__wbg_new_7eda00598b2a27a7 = function() {
imports.wbg.__wbg_new_c332f1d5330752f2 = function() {
const ret = new Map();

@@ -240,2 +234,8 @@ return addHeapObject(ret);

};
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
const obj = getObject(arg1);
const ret = typeof(obj) === 'number' ? obj : undefined;
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
};
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {

@@ -249,3 +249,3 @@ const obj = getObject(arg1);

};
imports.wbg.__wbg_constructor_ae68cc6e1c98bfd5 = function(arg0) {
imports.wbg.__wbg_constructor_f9341ccd4a348724 = function(arg0) {
const ret = new Error(takeObject(arg0));

@@ -252,0 +252,0 @@ return addHeapObject(ret);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc