Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@noir-lang/noir_wasm

Package Overview
Dependencies
Maintainers
1
Versions
394
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noir-lang/noir_wasm - npm Package Compare versions

Comparing version 0.6.0-e790c9f to 0.6.0-eae624b

4

nodejs/noir_wasm_bg.wasm.d.ts
/* tslint:disable */
/* eslint-disable */
export const memory: WebAssembly.Memory;
export function init_log_level(a: number, b: number): void;
export function build_info(): number;
export function acir_read_bytes(a: number, b: number): number;
export function acir_write_bytes(a: number, b: number): void;
export function compile(a: number): number;
export function init_log_level(a: number, b: number): void;
export function build_info(): number;
export function __wbindgen_export_0(a: number): number;

@@ -10,0 +10,0 @@ export function __wbindgen_export_1(a: number, b: number, c: number): number;

/* tslint:disable */
/* eslint-disable */
/**
* @param {string} level
*/
export function init_log_level(level: string): void;
/**
* @returns {any}
*/
export function build_info(): any;
/**
* @param {Uint8Array} bytes

@@ -26,1 +18,9 @@ * @returns {any}

export function compile(args: any): any;
/**
* @param {string} level
*/
export function init_log_level(level: string): void;
/**
* @returns {any}
*/
export function build_info(): any;

@@ -120,19 +120,3 @@ let imports = {};

}
/**
* @param {string} level
*/
module.exports.init_log_level = function(level) {
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
const len0 = WASM_VECTOR_LEN;
wasm.init_log_level(ptr0, len0);
};
/**
* @returns {any}
*/
module.exports.build_info = function() {
const ret = wasm.build_info();
return takeObject(ret);
};
function passArray8ToWasm0(arg, malloc) {

@@ -185,2 +169,19 @@ const ptr = malloc(arg.length * 1);

/**
* @param {string} level
*/
module.exports.init_log_level = function(level) {
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
const len0 = WASM_VECTOR_LEN;
wasm.init_log_level(ptr0, len0);
};
/**
* @returns {any}
*/
module.exports.build_info = function() {
const ret = wasm.build_info();
return takeObject(ret);
};
function handleError(f, args) {

@@ -194,6 +195,2 @@ try {

module.exports.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
module.exports.__wbindgen_is_undefined = function(arg0) {

@@ -204,2 +201,6 @@ const ret = getObject(arg0) === undefined;

module.exports.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
module.exports.__wbindgen_is_null = function(arg0) {

@@ -206,0 +207,0 @@ const ret = getObject(arg0) === null;

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

],
"version": "0.6.0-e790c9f",
"version": "0.6.0-eae624b",
"files": [

@@ -25,4 +25,4 @@ "nodejs",

"compiler": {
"versionHash": "e790c9f5da784f7617a0b578623b470af7e01116"
"versionHash": "eae624bc68c41c97199580e41d83f69af5cd0c52"
}
}
# Noir Lang WASM JavaScript Package
## Tracks
Noir lang Repository [noir-lang/noir@e790c9f](https://github.com/noir-lang/noir/tree/e790c9f5da784f7617a0b578623b470af7e01116)
Noir lang Repository [noir-lang/noir@eae624b](https://github.com/noir-lang/noir/tree/eae624bc68c41c97199580e41d83f69af5cd0c52)
/* tslint:disable */
/* eslint-disable */
export const memory: WebAssembly.Memory;
export function init_log_level(a: number, b: number): void;
export function build_info(): number;
export function acir_read_bytes(a: number, b: number): number;
export function acir_write_bytes(a: number, b: number): void;
export function compile(a: number): number;
export function init_log_level(a: number, b: number): void;
export function build_info(): number;
export function __wbindgen_export_0(a: number): number;

@@ -10,0 +10,0 @@ export function __wbindgen_export_1(a: number, b: number, c: number): number;

/* tslint:disable */
/* eslint-disable */
/**
* @param {string} level
*/
export function init_log_level(level: string): void;
/**
* @returns {any}
*/
export function build_info(): any;
/**
* @param {Uint8Array} bytes

@@ -26,2 +18,10 @@ * @returns {any}

export function compile(args: any): any;
/**
* @param {string} level
*/
export function init_log_level(level: string): void;
/**
* @returns {any}
*/
export function build_info(): any;

@@ -32,7 +32,7 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;

readonly memory: WebAssembly.Memory;
readonly init_log_level: (a: number, b: number) => void;
readonly build_info: () => number;
readonly acir_read_bytes: (a: number, b: number) => number;
readonly acir_write_bytes: (a: number, b: number) => void;
readonly compile: (a: number) => number;
readonly init_log_level: (a: number, b: number) => void;
readonly build_info: () => number;
readonly __wbindgen_export_0: (a: number) => number;

@@ -39,0 +39,0 @@ readonly __wbindgen_export_1: (a: number, b: number, c: number) => number;

@@ -118,19 +118,3 @@ import { read_file } from '@noir-lang/noir-source-resolver';

}
/**
* @param {string} level
*/
export function init_log_level(level) {
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
const len0 = WASM_VECTOR_LEN;
wasm.init_log_level(ptr0, len0);
}
/**
* @returns {any}
*/
export function build_info() {
const ret = wasm.build_info();
return takeObject(ret);
}
function passArray8ToWasm0(arg, malloc) {

@@ -183,2 +167,19 @@ const ptr = malloc(arg.length * 1);

/**
* @param {string} level
*/
export function init_log_level(level) {
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
const len0 = WASM_VECTOR_LEN;
wasm.init_log_level(ptr0, len0);
}
/**
* @returns {any}
*/
export function build_info() {
const ret = wasm.build_info();
return takeObject(ret);
}
function handleError(f, args) {

@@ -226,5 +227,2 @@ try {

imports.wbg = {};
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
imports.wbg.__wbindgen_is_undefined = function(arg0) {

@@ -234,2 +232,5 @@ const ret = getObject(arg0) === undefined;

};
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
imports.wbg.__wbindgen_is_null = function(arg0) {

@@ -236,0 +237,0 @@ const ret = getObject(arg0) === null;

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