Socket
Socket
Sign inDemoInstall

@terra-money/terra.js

Package Overview
Dependencies
Maintainers
4
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@terra-money/terra.js - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

7

dist/client/lcd/Wallet.js

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

return __awaiter(this, void 0, void 0, function () {
var fee, memo, msgs, gasPrices, stdTx, _a, _b;
var fee, memo, msgs, gasPrices, gasPricesCoins, stdTx, _a, _b;
return __generator(this, function (_c) {

@@ -85,4 +85,7 @@ switch (_c.label) {

gasPrices = this.lcd.config.gasPrices || new core_1.Coins({});
gasPricesCoins = new core_1.Coins(gasPrices);
// set each denom in gas prices to 1
gasPricesCoins = new core_1.Coins(gasPricesCoins.map(function (c) { return new core_1.Coin(c.denom, 1); }));
if (!(fee === undefined)) return [3 /*break*/, 2];
stdTx = new core_1.StdTx(msgs, new core_1.StdFee(0, gasPrices), [], memo);
stdTx = new core_1.StdTx(msgs, new core_1.StdFee(0, gasPricesCoins), [], memo);
return [4 /*yield*/, this.lcd.tx.estimateFee(stdTx)];

@@ -89,0 +92,0 @@ case 1:

{
"version": "0.4.3",
"version": "0.4.4",
"license": "MIT",

@@ -4,0 +4,0 @@ "main": "dist/index.js",

@@ -12,8 +12,12 @@ <p>&nbsp;</p>

![diagram](./img/terrajs-diagram.png)
![diagram](https://raw.githubusercontent.com/terra-project/terra.js/master/img/terrajs-diagram.png)
<div align="center">
<h3>
<a href="https://github.com/terra-project/terra.js/wiki">
Docs
</a>
<span> | </span>
<a href="https://terra-project.github.io/terra.js/">
API Docs
API
</a>

@@ -24,6 +28,2 @@ <span> | </span>

</a>
<span> | </span>
<a href="https://github.com/terra-project/terra.js">
GitHub
</a>
</h3>

@@ -51,3 +51,3 @@ </div>

We highly suggest using Terra.js with TypeScript, or JavaScript in a code editor that has support for type declarations, so you can take advantage of the helpful type hints that are included with the package. Terra.js can be use in Node.js, as well as inside the browser. Currently, React Native is not fully supported, however a version of Terra.js that supports it will soon be made available.
We highly suggest using Terra.js with TypeScript, or JavaScript in a code editor that has support for type declarations, so you can take advantage of the helpful type hints that are included with the package. Terra.js can be use in Node.js, as well as inside the browser. Please check the [GitHub Wiki](https://github.com/terra-project/terra.js/wiki) for notes on how to get up and running.

@@ -60,3 +60,3 @@ ## Example

## Loading Terra.js in the browser
## Terra.js in the browser

@@ -63,0 +63,0 @@ You can access all the objects of the `@terra-money/terra.js` from the global `Terra` object if you load Terra.js with a `<script>` tag.

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 too big to display

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