New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

verkle-cryptography-wasm

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verkle-cryptography-wasm - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

5

dist/cjs/index.d.ts

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

export declare const loadVerkleCrypto: () => Promise<VerkleCrypto>;
export interface VerkleCrypto {
export declare const loadVerkleCrypto: () => Promise<{
getTreeKey: (address: Uint8Array, treeIndex: Uint8Array, subIndex: number) => Uint8Array;

@@ -10,5 +9,5 @@ getTreeKeyHash: (address: Uint8Array, treeIndexLE: Uint8Array) => Uint8Array;

serializeCommitment: (commitment: Uint8Array) => Uint8Array;
}
}>;
export type Scalar = Uint8Array;
export type Commitment = Uint8Array;
//# sourceMappingURL=index.d.ts.map

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

export declare const loadVerkleCrypto: () => Promise<VerkleCrypto>;
export interface VerkleCrypto {
export declare const loadVerkleCrypto: () => Promise<{
getTreeKey: (address: Uint8Array, treeIndex: Uint8Array, subIndex: number) => Uint8Array;

@@ -10,5 +9,5 @@ getTreeKeyHash: (address: Uint8Array, treeIndexLE: Uint8Array) => Uint8Array;

serializeCommitment: (commitment: Uint8Array) => Uint8Array;
}
}>;
export type Scalar = Uint8Array;
export type Commitment = Uint8Array;
//# sourceMappingURL=index.d.ts.map

2

package.json
{
"name": "verkle-cryptography-wasm",
"version": "0.4.4",
"version": "0.4.5",
"description": "Verkle Trie Crytography WASM/TypeScript Bindings",

@@ -5,0 +5,0 @@ "keywords": [

@@ -11,3 +11,3 @@ import {

export const loadVerkleCrypto = async (): Promise<VerkleCrypto> => {
export const loadVerkleCrypto = async () => {
await initVerkleWasm()

@@ -49,17 +49,2 @@

export interface VerkleCrypto {
getTreeKey: (address: Uint8Array, treeIndex: Uint8Array, subIndex: number) => Uint8Array
getTreeKeyHash: (address: Uint8Array, treeIndexLE: Uint8Array) => Uint8Array
updateCommitment: (
commitment: Uint8Array,
commitmentIndex: number,
oldScalarValue: Uint8Array,
newScalarValue: Uint8Array
) => Commitment
zeroCommitment: Uint8Array
verifyExecutionWitnessPreState: (prestateRoot: string, execution_witness_json: string) => boolean
hashCommitment: (commitment: Uint8Array) => Uint8Array
serializeCommitment: (commitment: Uint8Array) => Uint8Array
}
// This is a 32 byte serialized field element

@@ -66,0 +51,0 @@ export type Scalar = Uint8Array

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