ggez-banking-sdk 0.0.77 → 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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.77",
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",