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.5-rc1 to 0.6.5

2

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

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

@@ -119,3 +119,3 @@ import {ABISerializableObject} from '../serializer/serializable'

static abiName = 'symbol'
static symbolNamePattern = /^[A-Z]{1,7}$/
static symbolNamePattern = /^[A-Z]{0,7}$/
static maxPrecision = 18

@@ -157,13 +157,3 @@

}
/**
* Within the `voters` table of the `eosio` contract, the `reserved3` value
* is a required field with a type of `asset`, but has a value of UInt64.from(0)
*
* This doesn't match our regex, so we need to allow it to pass to deserialize
* the data properly. The string renders out to "0 " according to nodeos APIs.
*/
if (
!value.equals(UInt64.from(0)) &&
!Symbol.symbolNamePattern.test(toSymbolName(value))
) {
if (!Symbol.symbolNamePattern.test(toSymbolName(value))) {
throw new Error('Invalid asset symbol, name must be uppercase A-Z')

@@ -170,0 +160,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

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