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

@noir-lang/types

Package Overview
Dependencies
Maintainers
1
Versions
276
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noir-lang/types - npm Package Compare versions

Comparing version 0.27.0 to 0.28.0-1ec9cdc.nightly

16

lib/cjs/types.d.ts

@@ -52,4 +52,12 @@ export type Field = string | number | boolean;

};
export interface Backend {
export interface VerifierBackend {
/**
* @description Verifies a proof */
verifyProof(proofData: ProofData): Promise<boolean>;
/**
* @description Destroys the backend */
destroy(): Promise<void>;
}
export interface Backend extends VerifierBackend {
/**
* @description Generates a proof */

@@ -69,8 +77,2 @@ generateProof(decompressedWitness: Uint8Array): Promise<ProofData>;

}>;
/**
* @description Verifies a proof */
verifyProof(proofData: ProofData): Promise<boolean>;
/**
* @description Destroys the backend */
destroy(): Promise<void>;
}

@@ -77,0 +79,0 @@ /**

@@ -52,4 +52,12 @@ export type Field = string | number | boolean;

};
export interface Backend {
export interface VerifierBackend {
/**
* @description Verifies a proof */
verifyProof(proofData: ProofData): Promise<boolean>;
/**
* @description Destroys the backend */
destroy(): Promise<void>;
}
export interface Backend extends VerifierBackend {
/**
* @description Generates a proof */

@@ -69,8 +77,2 @@ generateProof(decompressedWitness: Uint8Array): Promise<ProofData>;

}>;
/**
* @description Verifies a proof */
verifyProof(proofData: ProofData): Promise<boolean>;
/**
* @description Destroys the backend */
destroy(): Promise<void>;
}

@@ -77,0 +79,0 @@ /**

@@ -7,3 +7,3 @@ {

"packageManager": "yarn@3.5.1",
"version": "0.27.0",
"version": "0.28.0-1ec9cdc.nightly",
"license": "(MIT OR Apache-2.0)",

@@ -10,0 +10,0 @@ "homepage": "https://noir-lang.org/",

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