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

@injectivelabs/utils

Package Overview
Dependencies
Maintainers
11
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@injectivelabs/utils - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

7

dist/constants.d.ts

@@ -9,2 +9,9 @@ export declare const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";

export declare const DEFAULT_TIMEOUT_HEIGHT = 40;
export declare const DEFAULT_STD_FEE: {
amount: {
amount: string;
denom: string;
}[];
gas: string;
};
//# sourceMappingURL=constants.d.ts.map

17

dist/constants.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_TIMEOUT_HEIGHT = exports.DEFAULT_BRIDGE_FEE_AMOUNT = exports.DEFAULT_BRIDGE_FEE_PRICE = exports.DEFAULT_BRIDGE_FEE_DENOM = exports.DEFAULT_EXCHANGE_LIMIT = exports.DEFAULT_GAS_PRICE = exports.DEFAULT_GAS_LIMIT = exports.ZERO_ADDRESS = void 0;
exports.DEFAULT_STD_FEE = exports.DEFAULT_TIMEOUT_HEIGHT = exports.DEFAULT_BRIDGE_FEE_AMOUNT = exports.DEFAULT_BRIDGE_FEE_PRICE = exports.DEFAULT_BRIDGE_FEE_DENOM = exports.DEFAULT_EXCHANGE_LIMIT = exports.DEFAULT_GAS_PRICE = exports.DEFAULT_GAS_LIMIT = exports.ZERO_ADDRESS = void 0;
const BigNumberInBase_1 = __importDefault(require("./classes/BigNumberInBase"));
exports.ZERO_ADDRESS = '0x0000000000000000000000000000000000000000';

@@ -12,2 +16,13 @@ exports.DEFAULT_GAS_LIMIT = 400000;

exports.DEFAULT_TIMEOUT_HEIGHT = 40;
exports.DEFAULT_STD_FEE = {
amount: [
{
amount: new BigNumberInBase_1.default(exports.DEFAULT_GAS_LIMIT)
.times(exports.DEFAULT_GAS_PRICE)
.toString(),
denom: 'inj',
},
],
gas: exports.DEFAULT_GAS_LIMIT.toString(),
};
//# sourceMappingURL=constants.js.map

4

package.json
{
"name": "@injectivelabs/utils",
"description": "List of utils and helper functions that can be reused throughout Injective's projects.",
"version": "0.5.2",
"version": "0.5.3",
"license": "MIT",

@@ -39,3 +39,3 @@ "main": "dist/index.js",

},
"gitHead": "11650d3cd6a05198e355a44f02ba01d54da67799"
"gitHead": "3d3fb0d0ff1e6937092898950cd8ae222323b201"
}

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