@rabby-wallet/rabby-api 0.9.12-beta.5 → 0.9.12-beta.6
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 +5 -0
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1089,5 +1089,10 @@ export declare class OpenApiService {
|
|
|
1089
1089
|
country_code: string;
|
|
1090
1090
|
service_provider: string;
|
|
1091
1091
|
}) => Promise<BuyPaymentMethod[]>;
|
|
1092
|
+
getBuyCurrencyList: () => Promise<{
|
|
1093
|
+
id: string;
|
|
1094
|
+
name: string;
|
|
1095
|
+
image_url: string;
|
|
1096
|
+
}[]>;
|
|
1092
1097
|
}
|
|
1093
1098
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1441,6 +1441,10 @@ export class OpenApiService {
|
|
|
1441
1441
|
});
|
|
1442
1442
|
return data;
|
|
1443
1443
|
});
|
|
1444
|
+
this.getBuyCurrencyList = () => __awaiter(this, void 0, void 0, function* () {
|
|
1445
|
+
const { data } = yield this.request.get('/v1/buy/supported_currency_list');
|
|
1446
|
+
return data;
|
|
1447
|
+
});
|
|
1444
1448
|
if (store instanceof Promise) {
|
|
1445
1449
|
store.then((resolvedStore) => {
|
|
1446
1450
|
this.store = resolvedStore;
|