Socket
Socket
Sign inDemoInstall

@noir-lang/noir_wasm

Package Overview
Dependencies
Maintainers
1
Versions
342
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.3.2-9a43f85 to 0.3.2-a69758c

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 compile(a: number): number;

@@ -11,2 +9,4 @@ export function acir_from_bytes(a: number, b: number): number;

export function acir_write_bytes(a: number, b: number): void;
export function init_log_level(a: number, b: number): void;
export function build_info(): number;
export function __wbindgen_export_0(a: number): number;

@@ -13,0 +13,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 {any} args

@@ -36,1 +28,9 @@ * @returns {any}

export function acir_write_bytes(acir: any): Uint8Array;
/**
* @param {string} level
*/
export function init_log_level(level: string): void;
/**
* @returns {any}
*/
export function build_info(): any;

@@ -121,19 +121,2 @@ 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);
};
/**
* @param {any} args

@@ -214,2 +197,19 @@ * @returns {any}

/**
* @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) {

@@ -216,0 +216,0 @@ try {

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

],
"version": "0.3.2-9a43f85",
"version": "0.3.2-a69758c",
"files": [

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

"compiler": {
"versionHash": "9a43f85a055f23e5746e6836fe11990f4c87bbdc"
"versionHash": "a69758c0dff98bb23539df9c13366ef5b23e6b0f"
}
}
# Noir Lang WASM JavaScript Package
## Tracks
Noir lang Repository [noir-lang/noir@9a43f85](https://github.com/noir-lang/noir/tree/9a43f85a055f23e5746e6836fe11990f4c87bbdc)
Noir lang Repository [noir-lang/noir@a69758c](https://github.com/noir-lang/noir/tree/a69758c0dff98bb23539df9c13366ef5b23e6b0f)
/* 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 compile(a: number): number;

@@ -11,2 +9,4 @@ export function acir_from_bytes(a: number, b: number): number;

export function acir_write_bytes(a: number, b: number): void;
export function init_log_level(a: number, b: number): void;
export function build_info(): number;
export function __wbindgen_export_0(a: number): number;

@@ -13,0 +13,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 {any} args

@@ -36,2 +28,10 @@ * @returns {any}

export function acir_write_bytes(acir: any): Uint8Array;
/**
* @param {string} level
*/
export function init_log_level(level: string): void;
/**
* @returns {any}
*/
export function build_info(): any;

@@ -42,4 +42,2 @@ 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 compile: (a: number) => number;

@@ -50,2 +48,4 @@ readonly acir_from_bytes: (a: number, b: number) => number;

readonly acir_write_bytes: (a: number, b: number) => void;
readonly init_log_level: (a: number, b: number) => void;
readonly build_info: () => number;
readonly __wbindgen_export_0: (a: number) => number;

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

@@ -119,19 +119,2 @@ 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);
}
/**
* @param {any} args

@@ -212,2 +195,19 @@ * @returns {any}

/**
* @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) {

@@ -214,0 +214,0 @@ try {

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