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
274
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.16.0 to 0.17.0

4

lib/cjs/types.d.ts

@@ -0,1 +1,2 @@

import { Abi } from '@noir-lang/noirc_abi';
export interface Backend {

@@ -6,2 +7,3 @@ generateFinalProof(decompressedWitness: Uint8Array): Promise<ProofData>;

verifyIntermediateProof(proofData: ProofData): Promise<boolean>;
destroy(): Promise<void>;
}

@@ -14,3 +16,3 @@ export type ProofData = {

bytecode: string;
abi: object;
abi: Abi;
};

@@ -0,1 +1,2 @@

import { Abi } from '@noir-lang/noirc_abi';
export interface Backend {

@@ -6,2 +7,3 @@ generateFinalProof(decompressedWitness: Uint8Array): Promise<ProofData>;

verifyIntermediateProof(proofData: ProofData): Promise<boolean>;
destroy(): Promise<void>;
}

@@ -14,3 +16,3 @@ export type ProofData = {

bytecode: string;
abi: object;
abi: Abi;
};

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

"packageManager": "yarn@3.5.1",
"version": "0.16.0",
"version": "0.17.0",
"license": "(MIT OR Apache-2.0)",

@@ -21,2 +21,3 @@ "files": [

"build": "yarn run build:cjs && yarn run build:esm",
"nightly:version": "jq --arg new_version \"-$(git rev-parse --short HEAD)$1\" '.version = .version + $new_version' package.json > package-tmp.json && mv package-tmp.json package.json",
"publish": "echo 📡 publishing `$npm_package_name` && yarn npm publish",

@@ -32,2 +33,5 @@ "lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0"

},
"dependencies": {
"@noir-lang/noirc_abi": "0.17.0"
},
"devDependencies": {

@@ -34,0 +38,0 @@ "@types/prettier": "^3",

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