Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

obyte

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

obyte - npm Package Compare versions

Comparing version 0.1.20 to 0.1.21

21

dist/index.d.ts

@@ -369,2 +369,23 @@ export = Obyte;

}
interface WIFReturn {
readonly version: number;
readonly privateKey: Buffer;
readonly compressed: boolean;
}
interface IObjUnit {
version: string;
signed_message: any;
authors: Array<Author>
}
module utils {
function isValidAddress(address: string): boolean;
function getChash160(object: object | Array<any>): string;
function toWif(privateKey: Buffer, testnet: boolean): string;
function fromWif(string: string, testnet: boolean): WIFReturn;
function signMessage(message: any, options: object): IObjUnit;
function validateSignedMessage(objSignedMessage: object, address: string | null, message: any | null): boolean;
}
}

2

package.json
{
"name": "obyte",
"version": "0.1.20",
"version": "0.1.21",
"description": "A pure and powerful JavaScript Obyte library",

@@ -5,0 +5,0 @@ "homepage": "https://obytejs.com",

Sorry, the diff of this file is not supported yet

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