ggez-banking-sdk 0.3.28 → 0.3.29
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.
|
@@ -18,12 +18,12 @@ declare class PromotionClient extends BaseClient {
|
|
|
18
18
|
data: BaseResult;
|
|
19
19
|
success: boolean;
|
|
20
20
|
message: string;
|
|
21
|
-
error:
|
|
21
|
+
error: string;
|
|
22
22
|
} | {
|
|
23
|
-
data:
|
|
23
|
+
data: string[];
|
|
24
24
|
success: boolean;
|
|
25
25
|
message: string;
|
|
26
|
-
error:
|
|
26
|
+
error: null;
|
|
27
27
|
}>;
|
|
28
28
|
incrementPromotionParticipants: (data: GGEZGiftRewards, options?: RequestOptions) => Promise<{
|
|
29
29
|
data: {
|
|
@@ -29,7 +29,7 @@ class PromotionClient extends BaseClient {
|
|
|
29
29
|
getTwitterSpotlightPostIds = async (options) => {
|
|
30
30
|
try {
|
|
31
31
|
const response = await this.promotionService.getTwitterSpotlightPostIds(options);
|
|
32
|
-
return
|
|
32
|
+
return { data: response.data, success: true, message: "", error: null };
|
|
33
33
|
}
|
|
34
34
|
catch (error) {
|
|
35
35
|
const result = fillResultByError(error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.29",
|
|
4
4
|
"description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|