Socket
Socket
Sign inDemoInstall

@gnolang/tm2-js-client

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gnolang/tm2-js-client - npm Package Compare versions

Comparing version 1.1.7 to 1.2.0

1

bin/wallet/types/sign.d.ts

@@ -15,4 +15,3 @@ /**

memo: string;
time: string;
}
export declare const Secp256k1PubKeyType = "/tm.PubKeySecp256k1";

4

bin/wallet/wallet.js

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

this.signTransaction = function (tx, decodeTxMessages) { return __awaiter(_this, void 0, void 0, function () {
var status, chainID, address, accountNumber, accountSequence, publicKey, defaultSigTimestamp, signPayload, signBytes, wrappedKey, txSignature;
var status, chainID, address, accountNumber, accountSequence, publicKey, signPayload, signBytes, wrappedKey, txSignature;
var _b;

@@ -215,3 +215,2 @@ return __generator(this, function (_c) {

publicKey = _c.sent();
defaultSigTimestamp = '0001-01-01T00:00:00Z';
signPayload = {

@@ -227,3 +226,2 @@ chain_id: chainID,

memo: tx.memo,
time: defaultSigTimestamp,
};

@@ -230,0 +228,0 @@ signBytes = (0, utility_1.stringToUTF8)((0, utility_1.encodeCharacterSet)((0, signdoc_1.sortedJsonStringify)(signPayload)));

{
"name": "@gnolang/tm2-js-client",
"version": "1.1.7",
"version": "1.2.0",
"description": "Tendermint2 JS / TS Client",

@@ -43,3 +43,3 @@ "main": "./bin/index.js",

"ts-jest": "^29.1.0",
"ts-proto": "^1.171.0",
"ts-proto": "^1.172.0",
"typescript": "^5.4.4"

@@ -46,0 +46,0 @@ },

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