@clonegod/ttd-bsc-common 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  import { ethers } from "ethers";
2
2
  import Decimal from "decimal.js";
3
3
  export * from './gas_helper';
4
+ export * from './redis_lock';
4
5
  export declare const sleep: (ms: number) => Promise<void>;
5
6
  export declare const formatPrice: (price: number, precision?: number) => string;
6
7
  export declare const formatUnits: (value: ethers.BigNumber, decimals: number) => Decimal;
@@ -21,6 +21,7 @@ exports.formatNumberHighPrecision = exports.formatUnits = exports.formatPrice =
21
21
  const ethers_1 = require("ethers");
22
22
  const decimal_js_1 = __importDefault(require("decimal.js"));
23
23
  __exportStar(require("./gas_helper"), exports);
24
+ __exportStar(require("./redis_lock"), exports);
24
25
  const sleep = (ms) => {
25
26
  return new Promise(resolve => setTimeout(resolve, ms));
26
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-bsc-common",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "BSC common library",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",