Socket
Socket
Sign inDemoInstall

@gnolang/tm2-js-client

Package Overview
Dependencies
Maintainers
3
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.0.5 to 1.0.6

6

bin/wallet/wallet.d.ts

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

import { Provider } from '../provider';
import { Provider, TransactionEndpoint } from '../provider';
import { Signer } from './signer';

@@ -88,4 +88,6 @@ import { LedgerConnector } from '@cosmjs/ledger-amino';

* @param {Tx} tx the signed transaction
* @param {TransactionEndpoint} endpoint the transaction broadcast type (sync / commit).
* Defaults to broadcast_sync
*/
sendTransaction: (tx: Tx) => Promise<string>;
sendTransaction: (tx: Tx, endpoint?: TransactionEndpoint.BROADCAST_TX_SYNC | TransactionEndpoint.BROADCAST_TX_COMMIT) => Promise<string>;
/**

@@ -92,0 +94,0 @@ * Returns the associated signer

@@ -251,4 +251,6 @@ "use strict";

* @param {Tx} tx the signed transaction
* @param {TransactionEndpoint} endpoint the transaction broadcast type (sync / commit).
* Defaults to broadcast_sync
*/
this.sendTransaction = function (tx) { return __awaiter(_this, void 0, void 0, function () {
this.sendTransaction = function (tx, endpoint) { return __awaiter(_this, void 0, void 0, function () {
var encodedTx;

@@ -261,3 +263,3 @@ return __generator(this, function (_b) {

// Send the encoded transaction
return [2 /*return*/, this.provider.sendTransaction(encodedTx)];
return [2 /*return*/, this.provider.sendTransaction(encodedTx, endpoint)];
});

@@ -264,0 +266,0 @@ }); };

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

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

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