Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@greymass/eosio

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@greymass/eosio - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1-rc1

2

package.json
{
"name": "@greymass/eosio",
"description": "Library for working with EOSIO blockchains",
"version": "0.6.0",
"version": "0.6.1-rc1",
"homepage": "https://github.com/greymass/eosio-core",

@@ -6,0 +6,0 @@ "license": "BSD-3-Clause-No-Military-License",

@@ -26,4 +26,9 @@ /**

customTypes?: ABISerializableConstructor[]
/** Optional encoder metadata. */
/** Optional encoder metadata. */
metadata?: Record<string, any>
/**
* Binary extension handling, if set to true missing extensions will be initialized,
* otherwise they will be set to null. Defaults to false.
*/
strictExtensions?: boolean
}

@@ -106,2 +111,3 @@

types: buildTypeLookup(customTypes),
strictExtensions: args.strictExtensions || false,
codingPath: [{field: 'root', type: resolved}],

@@ -137,2 +143,3 @@ }

types: TypeLookup
strictExtensions: boolean
codingPath: {field: string | number; type: ABI.ResolvedType}[]

@@ -150,3 +157,7 @@ }

if (!decoder.canRead()) {
return defaultValue(type, ctx)
if (ctx.strictExtensions) {
return defaultValue(type, ctx)
} else {
return null
}
}

@@ -230,3 +241,7 @@ }

if (type.isExtension) {
return defaultValue(type, ctx)
if (ctx.strictExtensions) {
return defaultValue(type, ctx)
} else {
return null
}
}

@@ -233,0 +248,0 @@ throw new Error(`Unexpectedly encountered ${value} for non-optional`)

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc