@neo-one/smart-contract
Advanced tools
Comparing version 1.0.0-alpha.26 to 1.0.0-alpha.27
{ | ||
"name": "@neo-one/smart-contract", | ||
"version": "1.0.0-alpha.26", | ||
"version": "1.0.0-alpha.27", | ||
"author": "Alex DiCarlo <alexdicarlo@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "NEO•ONE smart contract apis.", |
@@ -115,2 +115,3 @@ // tslint:disable | ||
readonly toString: (encoding: 'utf8') => string; | ||
readonly toInteger: () => number; | ||
readonly [one0]: unique symbol; | ||
@@ -117,0 +118,0 @@ } |
@@ -1151,2 +1151,11 @@ // tslint:disable | ||
type Hashable = number | string | boolean | Buffer; | ||
export interface Crypto { | ||
readonly sha1: (value: Hashable) => Buffer; | ||
readonly sha256: (value: Hashable) => Buffer; | ||
readonly hash160: (value: Hashable) => Buffer; | ||
readonly hash256: (value: Hashable) => Buffer; | ||
} | ||
export const crypto: Crypto; | ||
/** | ||
@@ -1153,0 +1162,0 @@ * Marks a `SmartContract` method that verifies `Asset` transfers from the `SmartContract`. |
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
56404
1560