Comparing version 1.0.4 to 1.0.5
@@ -24,7 +24,7 @@ const Types = require('./src/types') | ||
*/ | ||
module.exports = (definitions, config) => { | ||
module.exports = (definitions, config = {}) => { | ||
if(typeof definitions !== 'object') { | ||
throw new TypeError('definitions is a required parameter') | ||
} | ||
if(config.customTypes) { | ||
@@ -31,0 +31,0 @@ definitions = Object.assign({}, definitions) //clone |
{ | ||
"name": "fcbuffer", | ||
"description": "Serialization library geared towards immutable data storage such as blockchains.", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
67050