@unifold/core 0.1.37 → 0.1.38
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.
- package/dist/index.d.mts +3 -10
- package/dist/index.d.ts +3 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -75,12 +75,8 @@ interface AutoSwapResponse {
|
|
|
75
75
|
project_id: string;
|
|
76
76
|
user_id: string;
|
|
77
77
|
deposit_wallet_id: string;
|
|
78
|
-
owner_type?: string;
|
|
79
|
-
owner_id?: string;
|
|
80
78
|
transaction_hash: string;
|
|
81
79
|
recipient_address: string;
|
|
82
|
-
provider: string;
|
|
83
|
-
provider_id: string;
|
|
84
80
|
source_chain_type: string;
|
|
85
81
|
source_chain_id: string;
|
|
86
82
|
source_token_address: string;
|
|
@@ -90,7 +86,7 @@ interface AutoSwapResponse {
|
|
|
90
86
|
source_amount_base_unit: string;
|
|
91
87
|
source_amount_usd?: string;
|
|
92
88
|
destination_amount_base_unit: string;
|
|
93
|
-
|
|
89
|
+
destination_amount_usd?: string;
|
|
94
90
|
created_at?: string;
|
|
95
91
|
updated_at?: string;
|
|
96
92
|
explorer_url: string;
|
|
@@ -108,14 +104,9 @@ interface AutoSwapResponse {
|
|
|
108
104
|
decimals?: number;
|
|
109
105
|
};
|
|
110
106
|
deposit_wallet?: {
|
|
111
|
-
id: string;
|
|
112
107
|
chain_type: string;
|
|
113
108
|
address_type: string | null;
|
|
114
109
|
address: string;
|
|
115
|
-
is_primary: boolean;
|
|
116
|
-
created_at: string;
|
|
117
|
-
updated_at: string;
|
|
118
|
-
last_used_at: string | null;
|
|
119
110
|
};
|
|
120
111
|
source_currency?: string;
|
|
121
112
|
destination_currency?: string;
|
|
@@ -127,6 +118,8 @@ interface QueryExecutionsRequest {
|
|
|
127
118
|
}
|
|
128
119
|
interface QueryExecutionsResponse {
|
|
129
120
|
data: AutoSwapResponse[];
|
|
121
|
+
total_count: number;
|
|
122
|
+
has_more: boolean;
|
|
130
123
|
}
|
|
131
124
|
/**
|
|
132
125
|
* Query all direct executions for a user
|
package/dist/index.d.ts
CHANGED
|
@@ -75,12 +75,8 @@ interface AutoSwapResponse {
|
|
|
75
75
|
project_id: string;
|
|
76
76
|
user_id: string;
|
|
77
77
|
deposit_wallet_id: string;
|
|
78
|
-
owner_type?: string;
|
|
79
|
-
owner_id?: string;
|
|
80
78
|
transaction_hash: string;
|
|
81
79
|
recipient_address: string;
|
|
82
|
-
provider: string;
|
|
83
|
-
provider_id: string;
|
|
84
80
|
source_chain_type: string;
|
|
85
81
|
source_chain_id: string;
|
|
86
82
|
source_token_address: string;
|
|
@@ -90,7 +86,7 @@ interface AutoSwapResponse {
|
|
|
90
86
|
source_amount_base_unit: string;
|
|
91
87
|
source_amount_usd?: string;
|
|
92
88
|
destination_amount_base_unit: string;
|
|
93
|
-
|
|
89
|
+
destination_amount_usd?: string;
|
|
94
90
|
created_at?: string;
|
|
95
91
|
updated_at?: string;
|
|
96
92
|
explorer_url: string;
|
|
@@ -108,14 +104,9 @@ interface AutoSwapResponse {
|
|
|
108
104
|
decimals?: number;
|
|
109
105
|
};
|
|
110
106
|
deposit_wallet?: {
|
|
111
|
-
id: string;
|
|
112
107
|
chain_type: string;
|
|
113
108
|
address_type: string | null;
|
|
114
109
|
address: string;
|
|
115
|
-
is_primary: boolean;
|
|
116
|
-
created_at: string;
|
|
117
|
-
updated_at: string;
|
|
118
|
-
last_used_at: string | null;
|
|
119
110
|
};
|
|
120
111
|
source_currency?: string;
|
|
121
112
|
destination_currency?: string;
|
|
@@ -127,6 +118,8 @@ interface QueryExecutionsRequest {
|
|
|
127
118
|
}
|
|
128
119
|
interface QueryExecutionsResponse {
|
|
129
120
|
data: AutoSwapResponse[];
|
|
121
|
+
total_count: number;
|
|
122
|
+
has_more: boolean;
|
|
130
123
|
}
|
|
131
124
|
/**
|
|
132
125
|
* Query all direct executions for a user
|