@chainsafe/lodestar-types
Advanced tools
Comparing version 0.13.0 to 0.14.0
@@ -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; |
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138507
1690
+ Added@chainsafe/lodestar-params@0.14.0(transitive)
- Removed@chainsafe/lodestar-params@0.13.0(transitive)