@wharfkit/antelope
Advanced tools
Comparing version 1.0.9-rc1 to 1.0.9
{ | ||
"name": "@wharfkit/antelope", | ||
"description": "Library for working with Antelope powered blockchains.", | ||
"version": "1.0.9-rc1", | ||
"version": "1.0.9", | ||
"homepage": "https://github.com/wharfkit/antelope", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause-No-Military-License", |
@@ -52,3 +52,5 @@ import { | ||
for (const field of self.structFields) { | ||
this[field.name] = object[field.name] | ||
const value = object[field.name] | ||
if (field.optional && !value) continue | ||
this[field.name] = value | ||
} | ||
@@ -80,2 +82,3 @@ } | ||
for (const field of self.structFields) { | ||
if (field.optional && !this[field.name]) continue | ||
rv[field.name] = this[field.name] | ||
@@ -82,0 +85,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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2028689
34925
0