Comparing version 1.0.2 to 1.0.3
@@ -28,2 +28,10 @@ const Types = require('./src/types') | ||
} | ||
if(config.customTypes) { | ||
definitions = Object.assign({}, definitions) //clone | ||
for(const key in config.customTypes) { // custom types overwrite definations | ||
delete definitions[key] | ||
} | ||
} | ||
const types = Types(config) | ||
@@ -30,0 +38,0 @@ const {errors, structs} = create(definitions, types) |
{ | ||
"name": "fcbuffer", | ||
"description": "Serialization library geared towards immutable data storage such as blockchains.", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"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
66252
982