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

slopes

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slopes - npm Package Compare versions

Comparing version 1.3.7 to 1.3.8

stats.json

2

package.json
{
"name": "slopes",
"version": "1.3.7",
"version": "1.3.8",
"description": "AVA Platform JS Library",

@@ -5,0 +5,0 @@ "main": "typings/src/index.js",

@@ -612,3 +612,14 @@ /**

*/
makeUnsignedTx = (networkid:number, blockchainid:Buffer, amount:BN, toAddresses:Array<Buffer>, fromAddresses:Array<Buffer>, changeAddresses:Array<Buffer>, assetID:Buffer, asOf:BN = UnixNow(), locktime:BN = new BN(0), threshold:number = 1):TxUnsigned => {
makeUnsignedTx = (
networkid:number,
blockchainid:Buffer,
amount:BN,
toAddresses:Array<Buffer>,
fromAddresses:Array<Buffer>,
changeAddresses:Array<Buffer>,
assetID:Buffer,
asOf:BN = UnixNow(),
locktime:BN = new BN(0),
threshold:number = 1
):TxUnsigned => {
const zero:BN = new BN(0);

@@ -622,3 +633,3 @@ let spendamount:BN = zero.clone();

if(amount.toNumber() !== 0){
if(!amount.eq(zero)){
outs.push(new SecpOutput(assetID, amount, toAddresses, locktime, threshold));

@@ -625,0 +636,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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