@iotexproject/kit 0.0.21 → 0.0.22

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 +7 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4486,12 +4486,14 @@ declare class MarshallDao {
4486
4486
  }): Promise<{
4487
4487
  data: any;
4488
4488
  approve: `0x${string}` | null | undefined;
4489
+ approveAddress: `0x${string}`;
4489
4490
  address: `0x${string}`;
4490
4491
  error?: undefined;
4491
4492
  } | {
4492
4493
  error: unknown;
4493
4494
  data?: undefined;
4494
4495
  approve?: undefined;
4496
+ approveAddress?: undefined;
4495
4497
  address?: undefined;
4496
4498
  }>;
4497
4499
  withdrawFromGauge(args: {
@@ -7698,7 +7700,7 @@ declare class utils {
7698
7700
  }): Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
7699
7701
  name: true;
7700
7702
  symbol: true;
7701
- balanceOf: [
7703
+ balanceOf: false | [
7702
7704
  `0x${string}`
7703
7705
  ];
7704
7706
  decimals: true;
@@ -7736,6 +7738,9 @@ declare class Explore {
7736
7738
  dapps(): Promise<Dapp[] | any>;
7737
7739
  dappCategorys(): Promise<any>;
7738
7740
  }
7741
+ declare class UseHub {
7742
+ userDashboard(): Promise<void>;
7743
+ }
7739
7744
  declare const modules: {
7740
7745
  mimo: Mimo;
7741
7746
  staking: Staking;
@@ -7744,6 +7749,7 @@ declare const modules: {
7744
7749
  msp: MSP;
7745
7750
  utils: utils;
7746
7751
  explore: Explore;
7752
+ hub: UseHub;
7747
7753
  };
7748
7754
  export type ModuleType = typeof modules;
7749
7755
  export declare const createClient: ({ url }?: {
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.0.21",
5
+ "version": "v0.0.22",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {