@rabby-wallet/rabby-api 0.9.10-alpha.0 → 0.9.10-alpha.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.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1397,6 +1397,14 @@ export class OpenApiService {
|
|
|
1397
1397
|
});
|
|
1398
1398
|
return data;
|
|
1399
1399
|
});
|
|
1400
|
+
this.batchQueryTokens = (uuids) => __awaiter(this, void 0, void 0, function* () {
|
|
1401
|
+
const { data } = yield this.request.get('/v1/token/list_by_uuids', {
|
|
1402
|
+
params: {
|
|
1403
|
+
uuids: Array.isArray(uuids) ? uuids.join(',') : uuids,
|
|
1404
|
+
},
|
|
1405
|
+
});
|
|
1406
|
+
return data;
|
|
1407
|
+
});
|
|
1400
1408
|
if (store instanceof Promise) {
|
|
1401
1409
|
store.then((resolvedStore) => {
|
|
1402
1410
|
this.store = resolvedStore;
|