@chainsafe/lodestar-types
Advanced tools
Comparing version 0.10.2 to 0.11.0
@@ -10,1 +10,2 @@ import { IBeaconSSZTypes } from "../interface"; | ||
export declare const ValidatorResponse: (ssz: IBeaconSSZTypes) => ContainerType<import("@chainsafe/ssz").ObjectLike>; | ||
export declare const Genesis: (ssz: IBeaconSSZTypes) => ContainerType<import("@chainsafe/ssz").ObjectLike>; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.ValidatorResponse = exports.SyncingStatus = exports.ProposerDuty = exports.AttesterDuty = exports.ForkResponse = exports.SubscribeToCommitteeSubnetPayload = exports.SignedBeaconHeaderResponse = void 0; | ||
exports.Genesis = exports.ValidatorResponse = exports.SyncingStatus = exports.ProposerDuty = exports.AttesterDuty = exports.ForkResponse = exports.SubscribeToCommitteeSubnetPayload = exports.SignedBeaconHeaderResponse = void 0; | ||
@@ -81,2 +81,12 @@ var _ssz = require("@chainsafe/ssz"); | ||
exports.ValidatorResponse = ValidatorResponse; | ||
const Genesis = ssz => new _ssz.ContainerType({ | ||
fields: { | ||
genesisValidatorsRoot: ssz.Root, | ||
genesisTime: ssz.Uint64, | ||
genesisForkVersion: ssz.Version | ||
} | ||
}); | ||
exports.Genesis = Genesis; | ||
//# sourceMappingURL=api.js.map |
@@ -78,3 +78,4 @@ import { BigIntUintType, BitListType, BooleanType, ByteVectorType, ContainerType, List, ListType, NumberUintType, Vector, VectorType, BitVectorType } from "@chainsafe/ssz"; | ||
ValidatorResponse: ContainerType<t.ValidatorResponse>; | ||
Genesis: ContainerType<t.Genesis>; | ||
} | ||
export declare const typeNames: (keyof IBeaconSSZTypes)[]; |
@@ -35,4 +35,4 @@ "use strict"; | ||
"Status", "Goodbye", "Ping", "Metadata", "BeaconBlocksByRangeRequest", "BeaconBlocksByRootRequest", "P2pErrorMessage", //api | ||
"SignedBeaconHeaderResponse", "SubscribeToCommitteeSubnetPayload", "ForkResponse", "SyncingStatus", "AttesterDuty", "ProposerDuty", "ValidatorResponse"]; | ||
"SignedBeaconHeaderResponse", "SubscribeToCommitteeSubnetPayload", "ForkResponse", "SyncingStatus", "AttesterDuty", "ProposerDuty", "ValidatorResponse", "Genesis"]; | ||
exports.typeNames = typeNames; | ||
//# sourceMappingURL=interface.js.map |
@@ -1,2 +0,2 @@ | ||
import { BLSPubkey, BLSSignature, CommitteeIndex, Gwei, Number64, Slot, Uint64, ValidatorIndex, Root } from "./primitive"; | ||
import { BLSPubkey, BLSSignature, CommitteeIndex, Gwei, Number64, Slot, Uint64, ValidatorIndex, Root, Version } from "./primitive"; | ||
import { Fork, SignedBeaconBlockHeader, Validator } from "./misc"; | ||
@@ -39,1 +39,6 @@ export interface SignedBeaconHeaderResponse { | ||
} | ||
export interface Genesis { | ||
genesisTime: Uint64; | ||
genesisValidatorsRoot: Root; | ||
genesisForkVersion: Version; | ||
} |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "0.10.2", | ||
"version": "0.11.0", | ||
"main": "lib/index.js", | ||
@@ -39,4 +39,4 @@ "files": [ | ||
"dependencies": { | ||
"@chainsafe/lodestar-params": "^0.10.2", | ||
"@chainsafe/ssz": "^0.6.9" | ||
"@chainsafe/lodestar-params": "^0.11.0", | ||
"@chainsafe/ssz": "^0.6.11" | ||
}, | ||
@@ -55,3 +55,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "4e0dde631208a44d9a9fdfa547f1f91c018f68e8" | ||
"gitHead": "d84564bda2f3548a1d7e419c1c621f005a4f1dca" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
115028
1406
+ Added@chainsafe/lodestar-params@0.11.0(transitive)
+ Added@types/js-yaml@3.12.10(transitive)
- Removed@chainsafe/lodestar-params@0.10.2(transitive)
Updated@chainsafe/ssz@^0.6.11