Socket
Socket
Sign inDemoInstall

@noir-lang/noir_js

Package Overview
Dependencies
Maintainers
1
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noir-lang/noir_js - npm Package Compare versions

Comparing version 0.18.0-e89f364.nightly to 0.18.0

3

lib/index.d.ts
import * as acvm from '@noir-lang/acvm_js';
import * as abi from '@noir-lang/noirc_abi';
export { acvm, abi };
export { ecdsa_secp256r1_verify, ecdsa_secp256k1_verify, keccak256, blake2s256, sha256, xor, and, } from '@noir-lang/acvm_js';
export { WitnessMap, ForeignCallHandler, ForeignCallInput, ForeignCallOutput } from '@noir-lang/acvm_js';
export { WitnessMap } from '@noir-lang/acvm_js';
export { Noir } from './program.js';
import { Backend, CompiledCircuit, ProofData } from '@noir-lang/types';
import { InputMap, InputValue } from '@noir-lang/noirc_abi';
import { ForeignCallHandler } from '@noir-lang/acvm_js';
export declare class Noir {

@@ -11,3 +10,3 @@ private circuit;

private getBackend;
execute(inputs: InputMap, foreignCallHandler?: ForeignCallHandler): Promise<{
execute(inputs: InputMap): Promise<{
witness: Uint8Array;

@@ -14,0 +13,0 @@ returnValue: InputValue;

import { InputMap } from '@noir-lang/noirc_abi';
import { WitnessMap, ForeignCallHandler } from '@noir-lang/acvm_js';
import { WitnessMap } from '@noir-lang/acvm_js';
import { CompiledCircuit } from '@noir-lang/types';
export declare function generateWitness(compiledProgram: CompiledCircuit, inputs: InputMap, foreignCallHandler?: ForeignCallHandler): Promise<WitnessMap>;
export declare function generateWitness(compiledProgram: CompiledCircuit, inputs: InputMap): Promise<WitnessMap>;

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

],
"version": "0.18.0-e89f364.nightly",
"version": "0.18.0",
"packageManager": "yarn@3.5.1",

@@ -12,5 +12,5 @@ "license": "(MIT OR Apache-2.0)",

"dependencies": {
"@noir-lang/acvm_js": "0.30.0-e89f364.nightly",
"@noir-lang/noirc_abi": "0.18.0-e89f364.nightly",
"@noir-lang/types": "0.18.0-e89f364.nightly"
"@noir-lang/acvm_js": "0.30.0",
"@noir-lang/noirc_abi": "0.18.0",
"@noir-lang/types": "0.18.0"
},

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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