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

@chainsafe/lodestar-types

Package Overview
Dependencies
Maintainers
4
Versions
840
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chainsafe/lodestar-types - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0

30

lib/types/wire.d.ts

@@ -6,4 +6,30 @@ import { List } from "@chainsafe/ssz";

export declare type RequestId = string;
export declare type RequestBody = Status | Goodbye | Ping | BeaconBlocksByRangeRequest | BeaconBlocksByRootRequest;
export declare type ResponseBody = Status | Goodbye | Ping | Metadata | SignedBeaconBlock | P2pErrorMessage;
export interface ReqRespTypes {
Status: {
request: Status;
response: Status;
};
Goodbye: {
request: Goodbye;
response: Goodbye;
};
Ping: {
request: Ping;
response: Ping;
};
Metadata: {
request: null;
response: Metadata;
};
BeaconBlocksByRange: {
request: BeaconBlocksByRangeRequest;
response: SignedBeaconBlock;
};
BeaconBlocksByRoot: {
request: BeaconBlocksByRootRequest;
response: SignedBeaconBlock;
};
}
export declare type RequestBody = ReqRespTypes[keyof ReqRespTypes]["request"] | null;
export declare type ResponseBody = ReqRespTypes[keyof ReqRespTypes]["response"] | P2pErrorMessage;
export interface Status {

@@ -10,0 +36,0 @@ forkDigest: ForkDigest;

6

package.json

@@ -14,3 +14,3 @@ {

},
"version": "0.13.0",
"version": "0.14.0",
"main": "lib/index.js",

@@ -39,3 +39,3 @@ "files": [

"dependencies": {
"@chainsafe/lodestar-params": "^0.13.0",
"@chainsafe/lodestar-params": "^0.14.0",
"@chainsafe/ssz": "^0.6.13"

@@ -49,3 +49,3 @@ },

],
"gitHead": "739f164b086dab2584b7a55d5bdeb69071542a75"
"gitHead": "71388effa06d7d5bfa7958b015d4577d40a4646d"
}
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