@rabby-wallet/rabby-api 0.9.15 → 0.9.16-alpha

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
@@ -1122,5 +1122,8 @@ export declare class OpenApiService {
1122
1122
  id: string;
1123
1123
  offline_at: number;
1124
1124
  }[]>;
1125
+ isBlockedAddress: (id: string) => Promise<{
1126
+ is_blocked: boolean;
1127
+ }>;
1125
1128
  }
1126
1129
  export {};
package/dist/index.js CHANGED
@@ -1493,6 +1493,12 @@ export class OpenApiService {
1493
1493
  const { data } = yield this.request.get('/v1/chain/offline_list');
1494
1494
  return data;
1495
1495
  });
1496
+ this.isBlockedAddress = (id) => __awaiter(this, void 0, void 0, function* () {
1497
+ const { data } = yield this.request.get('/v1/engine/addr/is_blocked', {
1498
+ params: { id },
1499
+ });
1500
+ return data;
1501
+ });
1496
1502
  if (store instanceof Promise) {
1497
1503
  store.then((resolvedStore) => {
1498
1504
  this.store = resolvedStore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.15",
3
+ "version": "0.9.16-alpha",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [