@everymatrix/general-player-register-form-step3 1.1.0 → 1.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-register-form-step3",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "main": "dist/general-player-register-form-step3.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "62036ada223f2b4f7b64d99a81ab2229ecba3cf1"
39
+ "gitHead": "a331dfb7a0daca971fec89907140c9353dc5f0b3"
40
40
  }
@@ -244,6 +244,7 @@
244
244
  consentOffersSms,
245
245
  consentOffersEmail,
246
246
  consentTerms,
247
+ consentOffers,
247
248
  token
248
249
  }
249
250
 
@@ -262,7 +263,9 @@
262
263
  mobile,
263
264
  consentOffersSms,
264
265
  consentOffersEmail,
265
- consentTerms
266
+ consentTerms,
267
+ consentOffers,
268
+
266
269
  }
267
270
 
268
271
  window.postMessage({ type: 'GoBackStepThree', registerStepThreeData }, window.location.href);
@@ -279,9 +282,9 @@
279
282
  nationalitySelected = e.data.userData.nationality;
280
283
  mobilePrefixSelected = e.data.userData.mobile.prefix;
281
284
  mobile = e.data.userData.mobile.number;
282
- consentOffersSms = e.data.userData.userConsents.additionalProp1;
283
- consentOffersEmail = e.data.userData.userConsents.additionalProp2;
284
- consentTerms = e.data.userData.userConsents.additionalProp3;
285
+ consentOffersSms = e.data.userData.userConsents.sms;
286
+ consentOffersEmail = e.data.userData.userConsents.emailmarketing;
287
+ consentTerms = e.data.userData.userConsents.termsandconditions;
285
288
  checkIsValid();
286
289
  break;
287
290