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

demux

Package Overview
Dependencies
Maintainers
3
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

demux - npm Package Compare versions

Comparing version 5.0.2-474 to 5.0.2-477

dist/JsonActionReader.d.ts

6

dist/errors.d.ts

@@ -29,2 +29,8 @@ export declare class MismatchedBlockHashError extends Error {

}
export declare class JsonBlockIndicatesWrongPosition extends Error {
constructor(blockNumber: number, position: number);
}
export declare class JsonBlockDoesNotExist extends Error {
constructor(blockNumber: number);
}
export {};

@@ -86,2 +86,16 @@ "use strict";

exports.NotInitializedError = NotInitializedError;
class JsonBlockIndicatesWrongPosition extends Error {
constructor(blockNumber, position) {
super(`Block with indicated position ${blockNumber} has actual position of ${position}.`);
Object.setPrototypeOf(this, JsonBlockIndicatesWrongPosition.prototype);
}
}
exports.JsonBlockIndicatesWrongPosition = JsonBlockIndicatesWrongPosition;
class JsonBlockDoesNotExist extends Error {
constructor(blockNumber) {
super(`Block at position ${blockNumber} does not exist.`);
Object.setPrototypeOf(this, JsonBlockDoesNotExist.prototype);
}
}
exports.JsonBlockDoesNotExist = JsonBlockDoesNotExist;
//# sourceMappingURL=errors.js.map

3

dist/interfaces.d.ts

@@ -16,2 +16,5 @@ export interface ActionReaderOptions {

}
export interface JsonActionReaderOptions extends ActionReaderOptions {
blockchain: Block[];
}
export interface Block {

@@ -18,0 +21,0 @@ actions: Action[];

4

package.json
{
"name": "demux",
"version": "5.0.2-474",
"version": "5.0.2-477",
"author": {

@@ -18,3 +18,3 @@ "name": "block.one",

"devDependencies": {
"@blockone/tslint-config-blockone": "^2.0.0",
"@blockone/tslint-config-blockone": "^3.0.0",
"@types/bunyan": "^1.8.5",

@@ -21,0 +21,0 @@ "@types/express": "^4.16.0",

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