Socket
Socket
Sign inDemoInstall

@neo-one/smart-contract

Package Overview
Dependencies
Maintainers
3
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 2.3.0 to 2.4.0

8

index.d.ts

@@ -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.",

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