Socket
Socket
Sign inDemoInstall

@neo-one/node-core

Package Overview
Dependencies
Maintainers
2
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo-one/node-core - npm Package Compare versions

Comparing version 3.3.2-rc1 to 3.3.3-rc1

23

CHANGELOG.json

@@ -5,2 +5,25 @@ {

{
"version": "3.3.2",
"tag": "@neo-one/node-core_v3.3.2",
"date": "Wed, 05 May 2021 21:57:25 GMT",
"comments": {
"patch": [
{
"comment": "Update packages for node-vm fix"
}
],
"dependency": [
{
"comment": "Dependency @neo-one/client-common version bump from 3.3.2-rc1 to 3.3.2."
},
{
"comment": "Dependency @neo-one/client-full-common version bump from 3.3.2-rc1 to 3.3.2."
},
{
"comment": "Updating dependency \"@neo-one/utils\" from `3.4.0-rc1` to `3.4.0`"
}
]
}
},
{
"version": "3.3.1",

@@ -7,0 +30,0 @@ "tag": "@neo-one/node-core_v3.3.1",

9

CHANGELOG.md
# Change Log - @neo-one/node-core
This log was last generated on Wed, 05 May 2021 06:10:57 GMT and should not be manually modified.
This log was last generated on Wed, 05 May 2021 21:57:25 GMT and should not be manually modified.
## 3.3.2
Wed, 05 May 2021 21:57:25 GMT
### Patches
- Update packages for node-vm fix
## 3.3.1

@@ -6,0 +13,0 @@ Wed, 05 May 2021 06:10:57 GMT

11

dist/cjs/manifest/ContractPermission.js

@@ -13,9 +13,10 @@ "use strict";

const contractIn = array[0];
const contractInBuff = contractIn.getBuffer();
const ecPointOrUInt160 = client_common_1.common.isECPoint(contractIn)
? client_common_1.common.bufferToECPoint(contractInBuff)
: client_common_1.common.bufferToUInt160(contractInBuff);
const contractInBuff = contractIn.isNull ? '*' : contractIn.getBuffer();
const contract = contractIn.isNull
? new ContractPermissionDescriptor_1.ContractPermissionDescriptor()
: new ContractPermissionDescriptor_1.ContractPermissionDescriptor({ hashOrGroup: ecPointOrUInt160 });
: new ContractPermissionDescriptor_1.ContractPermissionDescriptor({
hashOrGroup: client_common_1.common.isECPoint(contractIn)
? client_common_1.common.bufferToECPoint(contractInBuff)
: client_common_1.common.bufferToUInt160(contractInBuff),
});
const methodsIn = array[1];

@@ -22,0 +23,0 @@ const methods = methodsIn.isNull ? '*' : StackItems_1.assertArrayStackItem(array[1]).array.map((method) => method.getString());

@@ -10,9 +10,10 @@ import { common, InvalidFormatError } from '@neo-one/client-common';

const contractIn = array[0];
const contractInBuff = contractIn.getBuffer();
const ecPointOrUInt160 = common.isECPoint(contractIn)
? common.bufferToECPoint(contractInBuff)
: common.bufferToUInt160(contractInBuff);
const contractInBuff = contractIn.isNull ? '*' : contractIn.getBuffer();
const contract = contractIn.isNull
? new ContractPermissionDescriptor()
: new ContractPermissionDescriptor({ hashOrGroup: ecPointOrUInt160 });
: new ContractPermissionDescriptor({
hashOrGroup: common.isECPoint(contractIn)
? common.bufferToECPoint(contractInBuff)
: common.bufferToUInt160(contractInBuff),
});
const methodsIn = array[1];

@@ -19,0 +20,0 @@ const methods = methodsIn.isNull ? '*' : assertArrayStackItem(array[1]).array.map((method) => method.getString());

{
"name": "@neo-one/node-core",
"version": "3.3.2-rc1",
"version": "3.3.3-rc1",
"description": "NEO•ONE core types for node packages",

@@ -15,5 +15,5 @@ "main": "./dist/cjs/index",

"dependencies": {
"@neo-one/client-common": "3.3.2-rc1",
"@neo-one/client-full-common": "3.3.2-rc1",
"@neo-one/utils": "3.4.0-rc1",
"@neo-one/client-common": "3.3.3-rc1",
"@neo-one/client-full-common": "3.3.3-rc1",
"@neo-one/utils": "3.5.0-rc1",
"bignumber.js": "^9.0.0",

@@ -20,0 +20,0 @@ "bn.js": "^5.0.0",

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