@rabby-wallet/rabby-api 0.9.50-beta.1 → 0.9.51-beta.0

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
@@ -1464,5 +1464,10 @@ export declare class OpenApiService {
1464
1464
  }) => Promise<{
1465
1465
  msg: string;
1466
1466
  }>;
1467
+ getPolyMarketPermission: (params: {
1468
+ id?: string;
1469
+ }) => Promise<{
1470
+ has_permission: boolean;
1471
+ }>;
1467
1472
  }
1468
1473
  export {};
package/dist/index.js CHANGED
@@ -1821,6 +1821,12 @@ export class OpenApiService {
1821
1821
  });
1822
1822
  return data;
1823
1823
  });
1824
+ this.getPolyMarketPermission = (params) => __awaiter(this, void 0, void 0, function* () {
1825
+ const { data } = yield this.request.get('v1/user/has_polymarket_permission', {
1826
+ params,
1827
+ });
1828
+ return data;
1829
+ });
1824
1830
  if (store instanceof Promise) {
1825
1831
  store.then((resolvedStore) => {
1826
1832
  this.store = resolvedStore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.50-beta.1",
3
+ "version": "0.9.51-beta.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [