@iotexproject/kit 0.2.11 → 0.2.12

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 +12 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -8707,6 +8707,18 @@ declare class Delegate {
8707
8707
  rewardAddress: string;
8708
8708
  blsPubKey: string;
8709
8709
  }, ctx?: ConfigContext): Promise<any>;
8710
+ claim(args: {
8711
+ amount: number | string;
8712
+ }, ctx?: ConfigContext): Promise<any>;
8713
+ unclaimedReward(args: {
8714
+ account: `0x${string}` | `io${string}`;
8715
+ }, ctx?: ConfigContext): Promise<{
8716
+ unclaimedBalance: any;
8717
+ error?: undefined;
8718
+ } | {
8719
+ error: unknown;
8720
+ unclaimedBalance?: undefined;
8721
+ }>;
8710
8722
  }
8711
8723
  declare const modules: {
8712
8724
  mimo: Mimo;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@iotexproject/kit",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "0.2.11",
5
+ "version": "0.2.12",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {