@everymatrix/general-player-register-form 1.17.1 → 1.17.3

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": "1.17.1",
3
+ "version": "1.17.3",
4
4
  "main": "dist/general-player-register-form.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "f2155458138e80c61c668cc7e75c645d6f16709c"
38
+ "gitHead": "89baba5648f1fb1c1ff4fbe9369eb83965480ce7"
39
39
  }
@@ -104,7 +104,7 @@
104
104
  });
105
105
 
106
106
  const verifyUserConsents = ():void => {
107
- fetch(`${endpoint}/player/consentRequirements`)
107
+ fetch(`${endpoint}/v1/player/consentRequirements`)
108
108
  .then((res:any) => res.json())
109
109
  .then(data => {
110
110
  if(data.items.length > 0) {
@@ -334,7 +334,7 @@
334
334
  body: JSON.stringify(userData)
335
335
  };
336
336
 
337
- let response:any = await fetch(`${endpoint}/player/register`, sendRegistrationData);
337
+ let response:any = await fetch(`${endpoint}/v1/player/register`, sendRegistrationData);
338
338
  let data:any = await response.json();
339
339
 
340
340
  if (response.ok) {
@@ -364,7 +364,7 @@
364
364
  const sendSmsToken = async (userData, playerId) => {
365
365
  localStorage.setItem('smsTimer', JSON.stringify(Math.floor(Date.now() / 1000)));
366
366
  try {
367
- const res = await fetch(`${endpoint}/player/sms/token`,{
367
+ const res = await fetch(`${endpoint}/v1/player/sms/token`,{
368
368
  method: 'POST',
369
369
  headers: {
370
370
  'Content-Type': 'application/json',
@@ -560,13 +560,13 @@ $: translationurl && setTranslationUrl();
560
560
  }
561
561
 
562
562
  .RegisterStepDashColor {
563
- background-color: var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));
563
+ background-color: var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));
564
564
  }
565
565
 
566
566
  .RegisterStepNext {
567
567
  color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
568
- background: var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));
569
- border: 1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));
568
+ background: var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));
569
+ border: 1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));
570
570
  border-radius: 5px;
571
571
  width: 100%;
572
572
  height: 60px;
@@ -607,7 +607,7 @@ $: translationurl && setTranslationUrl();
607
607
  margin-bottom: 24px;
608
608
  }
609
609
  .RegisterConfirmationNote {
610
- color: var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));
610
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A));
611
611
  font-size: 18px;
612
612
  line-height: 22px;
613
613
  }
@@ -615,8 +615,8 @@ $: translationurl && setTranslationUrl();
615
615
 
616
616
  .RegisterConfirmationGoToLogin {
617
617
  color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
618
- background: var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));
619
- border: 1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));
618
+ background: var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));
619
+ border: 1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));
620
620
  border-radius: 5px;
621
621
  width: 100%;
622
622
  height: 60px;