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

@harmony-js/account

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harmony-js/account - npm Package Compare versions

Comparing version 0.0.54 to 0.0.60

tsconfig.tsbuildinfo

6

dist/account.js

@@ -187,3 +187,3 @@ "use strict";

return tslib_1.__awaiter(this, void 0, void 0, function () {
var balanceObject, _a, signature_1, txnHash_1;
var balanceObject, _a, signature_1, rawTransaction_1;
var _this = this;

@@ -206,5 +206,5 @@ return tslib_1.__generator(this, function (_b) {

if (encodeMode === 'rlp') {
_a = tslib_1.__read(transaction_1.RLPSign(transaction, this.privateKey), 2), signature_1 = _a[0], txnHash_1 = _a[1];
_a = tslib_1.__read(transaction_1.RLPSign(transaction, this.privateKey), 2), signature_1 = _a[0], rawTransaction_1 = _a[1];
return [2 /*return*/, transaction.map(function (obj) {
return tslib_1.__assign({}, obj, { signature: signature_1, txnHash: txnHash_1, from: _this.address });
return tslib_1.__assign({}, obj, { signature: signature_1, rawTransaction: rawTransaction_1, from: _this.address });
})];

@@ -211,0 +211,0 @@ }

@@ -295,3 +295,3 @@ /**

return __awaiter(this, void 0, void 0, function () {
var balanceObject, _a, signature_1, txnHash_1;
var balanceObject, _a, signature_1, rawTransaction_1;
var _this = this;

@@ -314,5 +314,5 @@ return __generator(this, function (_b) {

if (encodeMode === 'rlp') {
_a = __read(transaction.RLPSign(transaction$$1, this.privateKey), 2), signature_1 = _a[0], txnHash_1 = _a[1];
_a = __read(transaction.RLPSign(transaction$$1, this.privateKey), 2), signature_1 = _a[0], rawTransaction_1 = _a[1];
return [2 /*return*/, transaction$$1.map(function (obj) {
return __assign({}, obj, { signature: signature_1, txnHash: txnHash_1, from: _this.address });
return __assign({}, obj, { signature: signature_1, rawTransaction: rawTransaction_1, from: _this.address });
})];

@@ -319,0 +319,0 @@ }

@@ -291,3 +291,3 @@ /**

return __awaiter(this, void 0, void 0, function () {
var balanceObject, _a, signature_1, txnHash_1;
var balanceObject, _a, signature_1, rawTransaction_1;
var _this = this;

@@ -310,5 +310,5 @@ return __generator(this, function (_b) {

if (encodeMode === 'rlp') {
_a = __read(RLPSign(transaction, this.privateKey), 2), signature_1 = _a[0], txnHash_1 = _a[1];
_a = __read(RLPSign(transaction, this.privateKey), 2), signature_1 = _a[0], rawTransaction_1 = _a[1];
return [2 /*return*/, transaction.map(function (obj) {
return __assign({}, obj, { signature: signature_1, txnHash: txnHash_1, from: _this.address });
return __assign({}, obj, { signature: signature_1, rawTransaction: rawTransaction_1, from: _this.address });
})];

@@ -315,0 +315,0 @@ }

@@ -292,3 +292,3 @@ /**

return __awaiter(this, void 0, void 0, function () {
var balanceObject, _a, signature_1, txnHash_1;
var balanceObject, _a, signature_1, rawTransaction_1;
var _this = this;

@@ -311,5 +311,5 @@ return __generator(this, function (_b) {

if (encodeMode === 'rlp') {
_a = __read(transaction.RLPSign(transaction$$1, this.privateKey), 2), signature_1 = _a[0], txnHash_1 = _a[1];
_a = __read(transaction.RLPSign(transaction$$1, this.privateKey), 2), signature_1 = _a[0], rawTransaction_1 = _a[1];
return [2 /*return*/, transaction$$1.map(function (obj) {
return __assign({}, obj, { signature: signature_1, txnHash: txnHash_1, from: _this.address });
return __assign({}, obj, { signature: signature_1, rawTransaction: rawTransaction_1, from: _this.address });
})];

@@ -316,0 +316,0 @@ }

{
"name": "@harmony-js/account",
"version": "0.0.54",
"version": "0.0.60",
"description": "account and wallet for harmony",

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

"dependencies": {
"@harmony-js/core": "0.0.54",
"@harmony-js/crypto": "0.0.54",
"@harmony-js/network": "0.0.54",
"@harmony-js/transaction": "0.0.54",
"@harmony-js/utils": "0.0.54"
"@harmony-js/core": "0.0.60",
"@harmony-js/crypto": "0.0.60",
"@harmony-js/network": "0.0.60",
"@harmony-js/transaction": "0.0.60",
"@harmony-js/utils": "0.0.60"
},
"gitHead": "dfdde42131a9fd0df5ed9d008e5bf251cad8a69e"
"gitHead": "dce1b4d29ea5261dea16799fccde857c8ae365eb"
}

@@ -173,3 +173,3 @@ import {

if (encodeMode === 'rlp') {
const [signature, txnHash]: [Signature, string] = RLPSign(
const [signature, rawTransaction]: [Signature, string] = RLPSign(
transaction,

@@ -179,3 +179,3 @@ this.privateKey,

return transaction.map((obj: any) => {
return { ...obj, signature, txnHash, from: this.address };
return { ...obj, signature, rawTransaction, from: this.address };
});

@@ -182,0 +182,0 @@ } else {

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 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