@rabby-wallet/rabby-api 0.6.11 → 0.6.13

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 +15 -2
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -877,7 +877,7 @@ export interface CollectionWithFloorPrice {
877
877
  name: string;
878
878
  floor_price: number;
879
879
  }
880
- export declare type TypedDataActionName = 'permit1_approve_token' | 'swap_token_order' | 'permit2_approve_token' | 'sell_nft_order' | 'sign_multisig' | 'buy_nft_order' | 'create_key' | 'verify_address';
880
+ export declare type TypedDataActionName = 'permit1_approve_token' | 'swap_token_order' | 'permit2_approve_token' | 'sell_nft_order' | 'sign_multisig' | 'buy_nft_order' | 'create_key' | 'verify_address' | 'sell_nft_list_order' | 'permit2_approve_token_list';
881
881
  export interface BuyNFTOrderAction {
882
882
  expire_at: string;
883
883
  pay_token: TokenItem;
@@ -892,6 +892,13 @@ export interface SellNFTOrderAction {
892
892
  takers: string[];
893
893
  expire_at: string;
894
894
  }
895
+ export interface BatchSellNFTOrderAction {
896
+ pay_nft_list: NFTItem[];
897
+ receive_token: TokenItem;
898
+ receiver: string;
899
+ takers: string[];
900
+ expire_at: string;
901
+ }
895
902
  export interface SwapTokenOrderAction {
896
903
  pay_token: TokenItem;
897
904
  receive_token: TokenItem;
@@ -913,6 +920,12 @@ export interface Permit2Action {
913
920
  token: PermitTokenItem;
914
921
  expire_at: number | null;
915
922
  }
923
+ export interface BatchPermit2Action {
924
+ permit2_id: string;
925
+ spender: string;
926
+ token_list: PermitTokenItem[];
927
+ expire_at: number | null;
928
+ }
916
929
  export interface SignMultiSigActions {
917
930
  multisig_id: string;
918
931
  }
@@ -920,7 +933,7 @@ export interface ParseTypedDataResponse {
920
933
  action: {
921
934
  type: TypedDataActionName;
922
935
  expire_at?: number;
923
- data: SellNFTOrderAction | BuyNFTOrderAction | SwapTokenOrderAction | PermitAction | Permit2Action | SignMultiSigActions | CreateKeyAction | VerifyAddressAction;
936
+ data: SellNFTOrderAction | BuyNFTOrderAction | SwapTokenOrderAction | PermitAction | Permit2Action | SignMultiSigActions | CreateKeyAction | VerifyAddressAction | BatchSellNFTOrderAction | BatchPermit2Action;
924
937
  } | null;
925
938
  }
926
939
  export declare type TextActionName = 'create_key' | 'verify_address';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.6.11",
3
+ "version": "0.6.13",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist"