@rabby-wallet/rabby-api 0.9.49 → 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 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;
package/dist/types.d.ts CHANGED
@@ -224,6 +224,7 @@ export interface TokenItem {
224
224
  usd_value?: number;
225
225
  raw_amount?: string;
226
226
  raw_amount_hex_str?: string;
227
+ protocol_id?: string;
227
228
  price_24h_change?: number | null;
228
229
  low_credit_score?: boolean;
229
230
  cex_ids?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.49",
3
+ "version": "0.9.50-beta.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [