@rabby-wallet/rabby-api 0.7.14 → 0.7.15-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 +3 -0
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -511,6 +511,9 @@ export declare class OpenApiService {
|
|
|
511
511
|
end_at: number;
|
|
512
512
|
claimable_points: number;
|
|
513
513
|
}[]>;
|
|
514
|
+
getRabbyPointsCampaignIsEnded: () => Promise<{
|
|
515
|
+
campaign_is_ended: boolean;
|
|
516
|
+
}>;
|
|
514
517
|
claimRabbyPointsById: (params: {
|
|
515
518
|
campaign_id: number;
|
|
516
519
|
user_id: string;
|
package/dist/index.js
CHANGED
|
@@ -918,6 +918,10 @@ export class OpenApiService {
|
|
|
918
918
|
});
|
|
919
919
|
return data;
|
|
920
920
|
});
|
|
921
|
+
this.getRabbyPointsCampaignIsEnded = () => __awaiter(this, void 0, void 0, function* () {
|
|
922
|
+
const { data } = yield this.request.get('v1/points/campaign');
|
|
923
|
+
return data;
|
|
924
|
+
});
|
|
921
925
|
this.claimRabbyPointsById = (params) => __awaiter(this, void 0, void 0, function* () {
|
|
922
926
|
const { data } = yield this.request.post('/v1/points/claim_campaign', params);
|
|
923
927
|
return data;
|