Socket
Socket
Sign inDemoInstall

@neo-one/smart-contract

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo-one/smart-contract - npm Package Compare versions

Comparing version 1.0.0-alpha.26 to 1.0.0-alpha.27

2

package.json
{
"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`.

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