@rabby-wallet/rabby-api 0.9.50-beta.0 → 0.9.50-beta.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 +8 -0
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1456,5 +1456,13 @@ export declare class OpenApiService {
|
|
|
1456
1456
|
}) => Promise<{
|
|
1457
1457
|
success: boolean;
|
|
1458
1458
|
}>;
|
|
1459
|
+
checkTokenDepositForbidden: (params: {
|
|
1460
|
+
chain_id: string;
|
|
1461
|
+
id: string;
|
|
1462
|
+
user_addr: string;
|
|
1463
|
+
to_addr: string;
|
|
1464
|
+
}) => Promise<{
|
|
1465
|
+
msg: string;
|
|
1466
|
+
}>;
|
|
1459
1467
|
}
|
|
1460
1468
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1815,6 +1815,12 @@ export class OpenApiService {
|
|
|
1815
1815
|
const { data } = yield this.request.post('/v1/nft/order/offer/accept/tx', postData);
|
|
1816
1816
|
return data;
|
|
1817
1817
|
});
|
|
1818
|
+
this.checkTokenDepositForbidden = (params) => __awaiter(this, void 0, void 0, function* () {
|
|
1819
|
+
const { data } = yield this.request.get('/v1/engine/token/deposit_forbidden', {
|
|
1820
|
+
params,
|
|
1821
|
+
});
|
|
1822
|
+
return data;
|
|
1823
|
+
});
|
|
1818
1824
|
if (store instanceof Promise) {
|
|
1819
1825
|
store.then((resolvedStore) => {
|
|
1820
1826
|
this.store = resolvedStore;
|