@neo-one/node-core
Advanced tools
Comparing version 3.3.2-rc1 to 3.3.3-rc1
@@ -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", |
# 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 |
@@ -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", |
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
735521
16876
+ Added@neo-one/client-common@3.3.3-rc1(transitive)
+ Added@neo-one/client-full-common@3.3.3-rc1(transitive)
+ Added@neo-one/utils@3.5.0-rc1(transitive)
- Removed@neo-one/client-common@3.3.2-rc1(transitive)
- Removed@neo-one/client-full-common@3.3.2-rc1(transitive)
- Removed@neo-one/utils@3.4.0-rc1(transitive)
Updated@neo-one/utils@3.5.0-rc1