@rabby-wallet/rabby-api 0.9.39 → 0.9.40-beta.1

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/types.d.ts +12 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -803,6 +803,18 @@ export interface PortfolioItem {
803
803
  };
804
804
  pool: PoolItem;
805
805
  position_index: string;
806
+ withdraw_actions?: WithdrawAction[];
807
+ }
808
+ export interface WithdrawAction {
809
+ type: 'withdraw' | 'claim' | 'queue';
810
+ contract_id: string;
811
+ func: string;
812
+ params: string[];
813
+ need_approve: {
814
+ token_id?: string;
815
+ to?: string;
816
+ raw_amount?: string;
817
+ };
806
818
  }
807
819
  export interface Protocol {
808
820
  chain: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.39",
3
+ "version": "0.9.40-beta.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [