@everymatrix/general-player-register-form 0.0.322 → 0.0.323

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",
3
- "version": "0.0.322",
3
+ "version": "0.0.323",
4
4
  "main": "dist/general-player-register-form.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": "2990bded751255b4e5977ee1e2d181e17c730dc5"
39
+ "gitHead": "87f5a940adceefd34e6ea3d7de827183812aeffa"
40
40
  }
@@ -178,7 +178,7 @@
178
178
  // analytics data
179
179
  userData.affiliateMarker = trackedanalyticsdata;
180
180
 
181
- if (userconsentsexist) {
181
+ if (userconsentsexist == 'true') {
182
182
  userData.userConsents.sms = data.consentOffersSms;
183
183
  userData.userConsents.emailmarketing = data.consentOffersEmail;
184
184
  userData.userConsents.termsandconditions = data.consentTerms;
@@ -402,7 +402,7 @@ $: disabledfields && formatDisabledFields();
402
402
  {/if}
403
403
  {#if smsverification && showSmsVerification}
404
404
  {#if !smsSendApiFailed}
405
- <general-player-sms-verification-form
405
+ <general-player-sms-verification-form
406
406
  {endpoint}
407
407
  {session}
408
408
  {number}
@@ -411,7 +411,7 @@ $: disabledfields && formatDisabledFields();
411
411
  </general-player-sms-verification-form>
412
412
  {:else}
413
413
  <p>
414
- We encountered an issue sending the sms to your number,
414
+ We encountered an issue sending the sms to your number,
415
415
  you can verify your number while loging in
416
416
  </p>
417
417
  {/if}