@rabby-wallet/rabby-api 0.9.33-beta.11 → 0.9.33-beta.12
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 +5 -2
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -893,10 +893,13 @@ export declare class OpenApiService {
|
|
|
893
893
|
}) => Promise<{
|
|
894
894
|
success: boolean;
|
|
895
895
|
}>;
|
|
896
|
+
/**
|
|
897
|
+
* no id just no check address
|
|
898
|
+
*/
|
|
896
899
|
getPerpPermission: (params: {
|
|
897
|
-
id
|
|
900
|
+
id?: string;
|
|
898
901
|
}) => Promise<{
|
|
899
|
-
|
|
902
|
+
has_permission: boolean;
|
|
900
903
|
}>;
|
|
901
904
|
getPerpTopTokenList: () => Promise<PerpTopToken[]>;
|
|
902
905
|
getSupportedDEXList: () => Promise<{
|
package/dist/index.js
CHANGED
|
@@ -1255,6 +1255,9 @@ export class OpenApiService {
|
|
|
1255
1255
|
const { data } = yield this.request.post('/v1/bridge/history', params);
|
|
1256
1256
|
return data;
|
|
1257
1257
|
});
|
|
1258
|
+
/**
|
|
1259
|
+
* no id just no check address
|
|
1260
|
+
*/
|
|
1258
1261
|
this.getPerpPermission = (params) => __awaiter(this, void 0, void 0, function* () {
|
|
1259
1262
|
const { data } = yield this.request.get('/v1/user/has_hyperliquid_permission', {
|
|
1260
1263
|
params,
|