@rabby-wallet/rabby-api 0.8.5 → 0.8.6
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 -0
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -988,5 +988,10 @@ export declare class OpenApiService {
|
|
|
988
988
|
aggregator_id: string;
|
|
989
989
|
}[]>;
|
|
990
990
|
getBridgeSupportChainV2: () => Promise<string[]>;
|
|
991
|
+
uninstalledFeedback: ({ text, }: {
|
|
992
|
+
text: string;
|
|
993
|
+
}) => Promise<{
|
|
994
|
+
success: boolean;
|
|
995
|
+
}>;
|
|
991
996
|
}
|
|
992
997
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1322,6 +1322,12 @@ export class OpenApiService {
|
|
|
1322
1322
|
const { data } = yield this.request.get('/v2/bridge/supported_chains');
|
|
1323
1323
|
return data;
|
|
1324
1324
|
});
|
|
1325
|
+
this.uninstalledFeedback = ({ text, }) => __awaiter(this, void 0, void 0, function* () {
|
|
1326
|
+
const { data } = yield this.request.post('v1/feedback', {
|
|
1327
|
+
text,
|
|
1328
|
+
});
|
|
1329
|
+
return data;
|
|
1330
|
+
});
|
|
1325
1331
|
if (store instanceof Promise) {
|
|
1326
1332
|
store.then((resolvedStore) => {
|
|
1327
1333
|
this.store = resolvedStore;
|