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

@harmony-js/transaction

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harmony-js/transaction - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

3

dist/factory.js

@@ -11,3 +11,4 @@ "use strict";

var _a = tx.txParams, from = _a.from, nonce = _a.nonce;
return crypto_1.getContractAddress(from, Number.parseInt("" + nonce, 10));
return crypto_1.getAddress(crypto_1.getContractAddress(from, Number.parseInt("" + nonce, 10)))
.checksum;
};

@@ -14,0 +15,0 @@ TransactionFactory.prototype.setMessenger = function (messenger) {

{
"name": "@harmony-js/transaction",
"version": "0.0.30",
"version": "0.0.31",
"description": "transaction package for harmony",

@@ -21,8 +21,8 @@ "main": "dist/index.js",

"dependencies": {
"@harmony-js/core": "0.0.30",
"@harmony-js/crypto": "0.0.30",
"@harmony-js/network": "0.0.30",
"@harmony-js/utils": "0.0.30"
"@harmony-js/core": "0.0.31",
"@harmony-js/crypto": "0.0.31",
"@harmony-js/network": "0.0.31",
"@harmony-js/utils": "0.0.31"
},
"gitHead": "3175801b6ad4ba98b643446f909f74a0401ec5f6"
"gitHead": "75c521ffb5fa77af15b7b7044d5a7d64125d35be"
}

@@ -1,2 +0,2 @@

import { getContractAddress } from '@harmony-js/crypto';
import { getContractAddress, getAddress } from '@harmony-js/crypto';
import { Messenger } from '@harmony-js/network';

@@ -9,3 +9,4 @@ import { Transaction } from './transaction';

const { from, nonce } = tx.txParams;
return getContractAddress(from, Number.parseInt(`${nonce}`, 10));
return getAddress(getContractAddress(from, Number.parseInt(`${nonce}`, 10)))
.checksum;
}

@@ -12,0 +13,0 @@

Sorry, the diff of this file is not supported yet

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