@rabby-wallet/rabby-api 0.9.12-beta.2 → 0.9.12-beta.4
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.ts +1 -1
- package/dist/types.d.ts +7 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1075,6 +1075,7 @@ export declare class OpenApiService {
|
|
|
1075
1075
|
usd_amount: string;
|
|
1076
1076
|
receive_token_uuid: string;
|
|
1077
1077
|
service_provider: string;
|
|
1078
|
+
redirect_url?: string;
|
|
1078
1079
|
}) => Promise<{
|
|
1079
1080
|
url: string;
|
|
1080
1081
|
msg: number;
|
|
@@ -1087,7 +1088,6 @@ export declare class OpenApiService {
|
|
|
1087
1088
|
getBuyPaymentMethods: (params: {
|
|
1088
1089
|
country_code: string;
|
|
1089
1090
|
service_provider: string;
|
|
1090
|
-
redirect_url?: string;
|
|
1091
1091
|
}) => Promise<BuyPaymentMethod[]>;
|
|
1092
1092
|
}
|
|
1093
1093
|
export {};
|
package/dist/types.d.ts
CHANGED
|
@@ -1417,15 +1417,19 @@ export interface BuyQuoteItem {
|
|
|
1417
1417
|
token_amount: number;
|
|
1418
1418
|
payment_method_type: string;
|
|
1419
1419
|
}
|
|
1420
|
-
interface BuyHistoryItem {
|
|
1420
|
+
export interface BuyHistoryItem {
|
|
1421
|
+
id: string;
|
|
1421
1422
|
user_addr: string;
|
|
1422
|
-
status:
|
|
1423
|
+
status: string;
|
|
1423
1424
|
create_at: number;
|
|
1424
1425
|
service_provider: BuyServiceProvider;
|
|
1426
|
+
service_provider_url: null;
|
|
1425
1427
|
pay_usd_amount: number;
|
|
1426
1428
|
payment_type: string;
|
|
1427
|
-
receive_tx_id: string;
|
|
1428
1429
|
receive_chain_id: string;
|
|
1430
|
+
receive_tx_id: string;
|
|
1431
|
+
receive_token_id: string;
|
|
1432
|
+
receive_amount: number;
|
|
1429
1433
|
receive_token: TokenItem;
|
|
1430
1434
|
}
|
|
1431
1435
|
export interface BuyHistoryList {
|