@iotexproject/kit 0.0.23 → 0.0.25

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 +9 -12
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6136,9 +6136,9 @@ declare class MockLSTEntity {
6136
6136
  decimals: string;
6137
6137
  isZero: boolean;
6138
6138
  }>;
6139
+ approve(spender: `0x${string}`, amount: string, owner: `0x${string}`): Promise<`0x${string}` | null>;
6139
6140
  totalSupply: () => Promise<any>;
6140
6141
  mint: (user_: `0x${string}`, amount_: string) => Promise<any>;
6141
- approve: (spender: `0x${string}`, amount: string) => Promise<any>;
6142
6142
  transfer: (to: `0x${string}`, amount: string) => Promise<any>;
6143
6143
  transferFrom: (from: `0x${string}`, to: `0x${string}`, amount: string) => Promise<any>;
6144
6144
  decreaseAllowance: (spender: `0x${string}`, subtractedValue: string) => Promise<any>;
@@ -6723,9 +6723,7 @@ declare class LSTStrategyEntity {
6723
6723
  transferOwnership: (newOwner: `0x${string}`) => Promise<any>;
6724
6724
  }
6725
6725
  declare class MSP {
6726
- mockBucket(args: {
6727
- bucketId: string;
6728
- }): Promise<any>;
6726
+ mockBucket(): Promise<any>;
6729
6727
  mockLST(args: {
6730
6728
  lstTokenAddress: string;
6731
6729
  account: `0x${string}`;
@@ -6835,12 +6833,8 @@ declare class MSP {
6835
6833
  }): Promise<{
6836
6834
  data: any;
6837
6835
  address: string;
6838
- }>;
6839
- approveBucket(args: {
6840
- bucketId: string;
6841
- }): Promise<{
6842
- data: any;
6843
- address: string;
6836
+ approve: any;
6837
+ approveAddress: string;
6844
6838
  }>;
6845
6839
  unStakeBucket(args: {
6846
6840
  bucketIds: string[];
@@ -6860,11 +6854,14 @@ declare class MSP {
6860
6854
  address: string;
6861
6855
  } | null>;
6862
6856
  stakeLST(args: {
6863
- lstContractAddress: string;
6857
+ lstContractAddress: `0x${string}`;
6864
6858
  amount: string;
6859
+ account: `0x${string}`;
6865
6860
  }): Promise<{
6866
6861
  data: any;
6867
- address: string;
6862
+ address: `0x${string}`;
6863
+ approve: `0x${string}` | null;
6864
+ approveAddress: `0x${string}`;
6868
6865
  }>;
6869
6866
  unStakeLST(args: {
6870
6867
  lstContractAddress: string;
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.23",
5
+ "version": "v0.0.25",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {