@chainsafe/lodestar-config
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -8,12 +8,8 @@ "use strict"; | ||
var params = _interopRequireWildcard(require("@chainsafe/lodestar-params/lib/presets/mainnet")); | ||
var _mainnet = require("@chainsafe/lodestar-params/lib/presets/mainnet"); | ||
var _mainnet2 = require("@chainsafe/lodestar-types/lib/ssz/presets/mainnet"); | ||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; } | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
const config = { | ||
params, | ||
params: _mainnet.params, | ||
types: _mainnet2.types | ||
@@ -20,0 +16,0 @@ }; |
@@ -8,12 +8,8 @@ "use strict"; | ||
var params = _interopRequireWildcard(require("@chainsafe/lodestar-params/lib/presets/minimal")); | ||
var _minimal = require("@chainsafe/lodestar-params/lib/presets/minimal"); | ||
var _minimal2 = require("@chainsafe/lodestar-types/lib/ssz/presets/minimal"); | ||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; } | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
const config = { | ||
params, | ||
params: _minimal.params, | ||
types: _minimal2.types | ||
@@ -20,0 +16,0 @@ }; |
{ | ||
"name": "@chainsafe/lodestar-config", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Chain configuration required for lodestar", | ||
@@ -25,3 +25,3 @@ "author": "ChainSafe Systems", | ||
"build:docs": "typedoc --exclude src/index.ts --out docs src", | ||
"check-types": "tsc --noEmit --incremental", | ||
"check-types": "tsc --noEmit", | ||
"lint": "eslint --color --ext .ts src/", | ||
@@ -43,4 +43,4 @@ "lint:fix": "eslint --color --ext .ts src/ --fix", | ||
"dependencies": { | ||
"@chainsafe/lodestar-params": "^0.5.0", | ||
"@chainsafe/lodestar-types": "^0.5.0" | ||
"@chainsafe/lodestar-params": "^0.6.0", | ||
"@chainsafe/lodestar-types": "^0.6.0" | ||
}, | ||
@@ -51,4 +51,5 @@ "devDependencies": { | ||
"chai": "^4.2.0", | ||
"mocha": "^6.2.0" | ||
} | ||
"mocha": "^6.2.2" | ||
}, | ||
"gitHead": "0e426d2e5816b88d2d1508f42a127a4f89082781" | ||
} |
# lodestar-config | ||
[![npm](https://img.shields.io/npm/v/@chainsafe/lodestar-config)](https://www.npmjs.com/package/@chainsafe/lodestar-config) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | ||
[![npm](https://img.shields.io/npm/v/@chainsafe/lodestar-config)](https://www.npmjs.com/package/@chainsafe/lodestar-config) | ||
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | ||
![ETH2.0_Spec_Version 0.11.1](https://img.shields.io/badge/ETH2.0_Spec_Version-0.11.1-2e86c1.svg) | ||
@@ -5,0 +7,0 @@ Configuration variables for an Eth2 network -- consists of params and ssz types (from [lodestar-params](https://github.com/ChainSafe/lodestar/tree/master/packages/lodestar-params) and [lodestar-types](https://github.com/ChainSafe/lodestar/tree/master/packages/lodestar-types) respectively). |
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
14390
15
28
3
70
65
+ Added@chainsafe/lodestar-params@0.6.0(transitive)
+ Added@chainsafe/lodestar-types@0.6.0(transitive)
+ Added@chainsafe/ssz@0.6.2(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedsprintf-js@1.0.3(transitive)
- Removed@chainsafe/lodestar-params@0.5.0(transitive)
- Removed@chainsafe/lodestar-types@0.5.0(transitive)
- Removed@chainsafe/ssz@0.6.0(transitive)
- Removedbcrypto@4.3.2(transitive)
- Removedbsert@0.0.13(transitive)
- Removedbufio@1.0.7(transitive)
- Removedloady@0.0.5(transitive)
- Removednan@2.22.0(transitive)