@rabby-wallet/rabby-api 0.9.34-alpha.4 → 0.9.34-alpha.5
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 +1 -0
- package/dist/index.js +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1255,5 +1255,6 @@ export declare class OpenApiService {
|
|
|
1255
1255
|
content: string;
|
|
1256
1256
|
}) => Promise<UserFeedbackItem>;
|
|
1257
1257
|
getUserFeedback: (id: string) => Promise<UserFeedbackItem>;
|
|
1258
|
+
getUserFeedbackList: (id: string | string[]) => Promise<UserFeedbackItem[]>;
|
|
1258
1259
|
}
|
|
1259
1260
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1636,6 +1636,13 @@ export class OpenApiService {
|
|
|
1636
1636
|
});
|
|
1637
1637
|
return data;
|
|
1638
1638
|
});
|
|
1639
|
+
this.getUserFeedbackList = (id) => __awaiter(this, void 0, void 0, function* () {
|
|
1640
|
+
const ids = Array.isArray(id) ? id : [id];
|
|
1641
|
+
const { data } = yield this.request.post('/v1/feedback/app/list', {
|
|
1642
|
+
ids,
|
|
1643
|
+
});
|
|
1644
|
+
return data;
|
|
1645
|
+
});
|
|
1639
1646
|
if (store instanceof Promise) {
|
|
1640
1647
|
store.then((resolvedStore) => {
|
|
1641
1648
|
this.store = resolvedStore;
|