@neo-one/smart-contract
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -1279,3 +1279,5 @@ // tslint:disable | ||
? Parameters<T[K]> extends SmartContractArg[] | ||
? (ReturnType<T[K]> extends SmartContractArg ? T[K] : never) | ||
? ReturnType<T[K]> extends SmartContractArg | ||
? T[K] | ||
: never | ||
: never | ||
@@ -1452,7 +1454,7 @@ : T[K] extends SmartContractValue | ||
*/ | ||
readonly hash160: (value: Hashable) => Buffer; | ||
readonly hash160: (value: Hashable) => Address; | ||
/** | ||
* Returns a `Buffer` of the SHA256 hash of the SHA256 hash of the input. | ||
*/ | ||
readonly hash256: (value: Hashable) => Buffer; | ||
readonly hash256: (value: Hashable) => Hash256; | ||
} | ||
@@ -1459,0 +1461,0 @@ /** |
{ | ||
"name": "@neo-one/smart-contract", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"author": "Alex DiCarlo <alexdicarlo@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "NEO•ONE smart contract apis.", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
72658
6
1986