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

@accumulators/core

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accumulators/core - npm Package Compare versions

Comparing version 4.2.0-alpha.0 to 4.2.0-alpha.1

3

lib/types/hasher.d.ts
export type hash = (data: string) => string;
export type HasherOptions = {
blockSizeBits: number;
shouldPad?: boolean;
};

@@ -14,4 +15,4 @@ export declare const defaultHasherOptions: HasherOptions;

static byteSize: (str: string) => number;
hashSingle(data: string): string;
hashSingle: (data: string) => string;
getGenesis(): HexString;
}

@@ -15,5 +15,3 @@ "use strict";

static byteSize = (str) => new Blob([str.startsWith("0x") ? str.slice(2) : str]).size;
hashSingle(data) {
return this.hash([data]);
}
hashSingle = (data) => this.hash([data]);
getGenesis() {

@@ -20,0 +18,0 @@ const s = exports.GENESIS_STRING;

{
"name": "@accumulators/core",
"version": "4.2.0-alpha.0",
"version": "4.2.0-alpha.1",
"description": "A collection of TypeScript accumulators packages, each using the core package",

@@ -28,3 +28,3 @@ "keywords": [],

},
"gitHead": "5ead754b9e1bd4259a19cb8f98f67b5809e478ae"
"gitHead": "fb6478c72a6f6a33a4658538186c99f4481759de"
}

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