@locuschain/lib 0.1.5 → 0.1.6

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,8 +1,8 @@
1
1
  export declare class TokenInfo {
2
- name: string | undefined;
3
- symbol: string | undefined;
4
- decimals: number | undefined;
5
- totalSupply: string | undefined;
2
+ name: string;
3
+ symbol: string;
4
+ decimals: number;
5
+ totalSupply: string;
6
6
  }
7
7
  export declare const getFuncHex: (abiItem: any) => string;
8
8
  export declare const getFunc: (abiItem: any, args?: string) => string;
@@ -19482,6 +19482,12 @@ define(['exports', '../utils/index.amd', '../chunks/rpc-djBJaB9B', 'lodash', '..
19482
19482
  });
19483
19483
 
19484
19484
  class TokenInfo {
19485
+ constructor() {
19486
+ this.name = "";
19487
+ this.symbol = "";
19488
+ this.decimals = 0;
19489
+ this.totalSupply = "";
19490
+ }
19485
19491
  }
19486
19492
  const getFuncHex = (abiItem) => {
19487
19493
  const iface = new ethers.utils.Interface([abiItem]);
@@ -19487,6 +19487,12 @@ var ethers_esm_min = /*#__PURE__*/Object.freeze({
19487
19487
  });
19488
19488
 
19489
19489
  class TokenInfo {
19490
+ constructor() {
19491
+ this.name = "";
19492
+ this.symbol = "";
19493
+ this.decimals = 0;
19494
+ this.totalSupply = "";
19495
+ }
19490
19496
  }
19491
19497
  const getFuncHex = (abiItem) => {
19492
19498
  const iface = new ethers.utils.Interface([abiItem]);
@@ -19466,6 +19466,12 @@ var ethers_esm_min = /*#__PURE__*/Object.freeze({
19466
19466
  });
19467
19467
 
19468
19468
  class TokenInfo {
19469
+ constructor() {
19470
+ this.name = "";
19471
+ this.symbol = "";
19472
+ this.decimals = 0;
19473
+ this.totalSupply = "";
19474
+ }
19469
19475
  }
19470
19476
  const getFuncHex = (abiItem) => {
19471
19477
  const iface = new ethers.utils.Interface([abiItem]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locuschain/lib",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "author": "bloomtechnology",
6
6
  "license": "MIT",