@iotexproject/kit 0.1.22 → 0.1.24

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -4
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -8508,9 +8508,7 @@ declare class Staking {
8508
8508
  receiverAddress: `0x${string}`;
8509
8509
  version: "v1" | "v2";
8510
8510
  }): Promise<any>;
8511
- delegate_list(args: {
8512
- isWhole?: boolean;
8513
- }): Promise<{
8511
+ delegate_list(isWhole?: boolean): Promise<{
8514
8512
  data: any;
8515
8513
  error?: undefined;
8516
8514
  } | {
@@ -8519,7 +8517,13 @@ declare class Staking {
8519
8517
  }>;
8520
8518
  delegate_detail(args: {
8521
8519
  onChainName: string;
8522
- }): Promise<any>;
8520
+ }): Promise<{
8521
+ data: any;
8522
+ error?: undefined;
8523
+ } | {
8524
+ error: unknown;
8525
+ data?: undefined;
8526
+ }>;
8523
8527
  }
8524
8528
  declare class utils {
8525
8529
  erc20(args: {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@iotexproject/kit",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "v0.1.22",
5
+ "version": "v0.1.24",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {