@greymass/eosio
Advanced tools
Comparing version 0.4.6 to 0.4.7
{ | ||
"name": "@greymass/eosio", | ||
"description": "Library for working with EOSIO blockchains", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"homepage": "https://github.com/greymass/eosio-core", | ||
@@ -39,3 +39,3 @@ "license": "BSD-3-Clause", | ||
"eslint-plugin-prettier": "^3.2.0", | ||
"mocha": "^8.2.1", | ||
"mocha": "^9.0.2", | ||
"node-fetch": "^2.6.1", | ||
@@ -42,0 +42,0 @@ "nyc": "^15.1.0", |
@@ -33,5 +33,2 @@ import { | ||
const v = value[field.name] === undefined ? field.default : value[field.name] | ||
if (v === undefined && !(field.optional === true || field.name.includes('?'))) { | ||
throw new Error(`Missing value for non optional field: ${field.name}`) | ||
} | ||
object[field.name] = v | ||
@@ -38,0 +35,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
770163
15392