ggez-banking-sdk 0.0.76 → 0.0.78
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.
|
@@ -76,13 +76,7 @@ const Data = () => {
|
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
if (values.giftData) {
|
|
79
|
-
customField.referral_and_gift["gift_data"] = [
|
|
80
|
-
{
|
|
81
|
-
type: enum_1.GGEZGiftType.Wheel_Of_Fortune,
|
|
82
|
-
order_status: enum_1.OrderStatus.Pending,
|
|
83
|
-
...values.giftData,
|
|
84
|
-
},
|
|
85
|
-
];
|
|
79
|
+
customField.referral_and_gift["gift_data"] = [values.giftData];
|
|
86
80
|
}
|
|
87
81
|
let data = {
|
|
88
82
|
...data_1.userData,
|
|
@@ -173,7 +167,6 @@ const Data = () => {
|
|
|
173
167
|
custom_field: JSON.parse(JSON.stringify(customField)),
|
|
174
168
|
geo_coordinates: values.geoCoordinates,
|
|
175
169
|
};
|
|
176
|
-
console.log("dataSignUpApi ~ custom_field:", data);
|
|
177
170
|
return data;
|
|
178
171
|
};
|
|
179
172
|
const dataSignUpWithGoogle = (values) => {
|
|
@@ -186,13 +179,7 @@ const Data = () => {
|
|
|
186
179
|
};
|
|
187
180
|
}
|
|
188
181
|
if (values.giftData) {
|
|
189
|
-
customField.referral_and_gift["gift_data"] = [
|
|
190
|
-
{
|
|
191
|
-
type: enum_1.GGEZGiftType.Wheel_Of_Fortune,
|
|
192
|
-
order_status: enum_1.OrderStatus.Pending,
|
|
193
|
-
...values.giftData,
|
|
194
|
-
},
|
|
195
|
-
];
|
|
182
|
+
customField.referral_and_gift["gift_data"] = [values.giftData];
|
|
196
183
|
}
|
|
197
184
|
let data = {
|
|
198
185
|
...data_1.userData,
|
|
@@ -35,8 +35,8 @@ export type PromotionDetails = {
|
|
|
35
35
|
};
|
|
36
36
|
export type SocialMediaPlatform = "twitter" | "instagram" | "facebook" | "linkedin" | "youtube";
|
|
37
37
|
export interface Gift {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
promotion_id: number;
|
|
39
|
+
promotion_code: string;
|
|
40
40
|
type: GGEZGiftType;
|
|
41
41
|
order_status: OrderStatus;
|
|
42
42
|
claimed_date: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.78",
|
|
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
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|