@everymatrix/general-registration-hsl 0.7.1 → 0.8.0

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.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-821cd8c9.js');
6
- const generalRegistrationHsl = require('./general-registration-hsl-266c4828.js');
6
+ const generalRegistrationHsl = require('./general-registration-hsl-a1139875.js');
7
7
 
8
8
  const DEFAULT_LANGUAGE = 'en';
9
9
  const TRANSLATIONS = {
@@ -175,6 +175,7 @@ const TRANSLATIONS = {
175
175
  "GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE": "A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF válasza megerősíti, hogy a játékos kiskorú vagy nem horvát lakos.",
176
176
  "GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR": "A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF nem ad választ.",
177
177
  "GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR": "A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: Belső hiba.",
178
+ "GmErr_BadRequest_IdomsoftVerification_ShouldRetry": "Az általad beirt adatokkal már létezik registráció vagy nem megfelel formátumban adtad meg az adataidat. Kérjük ellenfrizd adataidat vagy hívd gyfélszolgálatunkat a 06-1-201-0580-as telefonszámon vagy irj az ugyfelszolgalat@szerencsejatek.hu e-mail cimünkre!",
178
179
  }
179
180
  };
180
181
  const getTranslations = (url) => {
@@ -697,10 +698,7 @@ const GeneralRegistrationHsl = class {
697
698
  return res.json().then(error => {
698
699
  this.errorCode = error.thirdPartyResponse.errorCode;
699
700
  // Show the idomsoft error if it is the case
700
- if (this.errorCode == 'GmErr_BadRequest_IdomsoftVerification_ShouldRetry') {
701
- this.errorMessage = error.thirdPartyResponse.message;
702
- }
703
- else if (this.errorCode === 'GmErr_Forbidden_UserAccount_NavExcluded') {
701
+ if (this.errorCode === 'GmErr_Forbidden_UserAccount_NavExcluded') {
704
702
  this.errorMessage = translate(`${this.errorCode}`, this.language);
705
703
  }
706
704
  else if (this.errorCode == 'GmErr_BadRequest') {
@@ -814,10 +812,7 @@ const GeneralRegistrationHsl = class {
814
812
  return res.json().then(error => {
815
813
  this.errorCode = error.thirdPartyResponse.errorCode;
816
814
  // Show the idomsoft error if it is the case
817
- if (this.errorCode == 'GmErr_BadRequest_IdomsoftVerification_ShouldRetry') {
818
- this.errorMessage = error.thirdPartyResponse.message;
819
- }
820
- else if (this.errorCode == 'GmErr_BadRequest') {
815
+ if (this.errorCode == 'GmErr_BadRequest') {
821
816
  this.errorMessage = error.thirdPartyResponse.message;
822
817
  }
823
818
  else {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const generalRegistrationHsl = require('./general-registration-hsl-266c4828.js');
5
+ const generalRegistrationHsl = require('./general-registration-hsl-a1139875.js');
6
6
  require('./index-821cd8c9.js');
7
7
 
8
8
 
@@ -455,10 +455,7 @@ export class GeneralRegistrationHsl {
455
455
  return res.json().then(error => {
456
456
  this.errorCode = error.thirdPartyResponse.errorCode;
457
457
  // Show the idomsoft error if it is the case
458
- if (this.errorCode == 'GmErr_BadRequest_IdomsoftVerification_ShouldRetry') {
459
- this.errorMessage = error.thirdPartyResponse.message;
460
- }
461
- else if (this.errorCode === 'GmErr_Forbidden_UserAccount_NavExcluded') {
458
+ if (this.errorCode === 'GmErr_Forbidden_UserAccount_NavExcluded') {
462
459
  this.errorMessage = translate(`${this.errorCode}`, this.language);
463
460
  }
464
461
  else if (this.errorCode == 'GmErr_BadRequest') {
@@ -572,10 +569,7 @@ export class GeneralRegistrationHsl {
572
569
  return res.json().then(error => {
573
570
  this.errorCode = error.thirdPartyResponse.errorCode;
574
571
  // Show the idomsoft error if it is the case
575
- if (this.errorCode == 'GmErr_BadRequest_IdomsoftVerification_ShouldRetry') {
576
- this.errorMessage = error.thirdPartyResponse.message;
577
- }
578
- else if (this.errorCode == 'GmErr_BadRequest') {
572
+ if (this.errorCode == 'GmErr_BadRequest') {
579
573
  this.errorMessage = error.thirdPartyResponse.message;
580
574
  }
581
575
  else {
@@ -171,6 +171,7 @@ export const TRANSLATIONS = {
171
171
  "GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE": "A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF válasza megerősíti, hogy a játékos kiskorú vagy nem horvát lakos.",
172
172
  "GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR": "A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF nem ad választ.",
173
173
  "GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR": "A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: Belső hiba.",
174
+ "GmErr_BadRequest_IdomsoftVerification_ShouldRetry": "Az általad beirt adatokkal már létezik registráció vagy nem megfelel formátumban adtad meg az adataidat. Kérjük ellenfrizd adataidat vagy hívd gyfélszolgálatunkat a 06-1-201-0580-as telefonszámon vagy irj az ugyfelszolgalat@szerencsejatek.hu e-mail cimünkre!",
174
175
  }
175
176
  };
176
177
  export const getTranslations = (url) => {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-69e88fc5.js';
2
- export { G as general_registration_hsl } from './general-registration-hsl-91634f06.js';
2
+ export { G as general_registration_hsl } from './general-registration-hsl-483f2ee7.js';
3
3
 
4
4
  const DEFAULT_LANGUAGE = 'en';
5
5
  const TRANSLATIONS = {
@@ -173,6 +173,7 @@ const TRANSLATIONS = {
173
173
  "GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE": "A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF válasza megerősíti, hogy a játékos kiskorú vagy nem horvát lakos.",
174
174
  "GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR": "A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF nem ad választ.",
175
175
  "GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR": "A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: Belső hiba.",
176
+ "GmErr_BadRequest_IdomsoftVerification_ShouldRetry": "Az általad beirt adatokkal már létezik registráció vagy nem megfelel formátumban adtad meg az adataidat. Kérjük ellenfrizd adataidat vagy hívd gyfélszolgálatunkat a 06-1-201-0580-as telefonszámon vagy irj az ugyfelszolgalat@szerencsejatek.hu e-mail cimünkre!",
176
177
  }
177
178
  };
178
179
  const getTranslations = (url) => {
@@ -695,10 +696,7 @@ const GeneralRegistrationHsl = class {
695
696
  return res.json().then(error => {
696
697
  this.errorCode = error.thirdPartyResponse.errorCode;
697
698
  // Show the idomsoft error if it is the case
698
- if (this.errorCode == 'GmErr_BadRequest_IdomsoftVerification_ShouldRetry') {
699
- this.errorMessage = error.thirdPartyResponse.message;
700
- }
701
- else if (this.errorCode === 'GmErr_Forbidden_UserAccount_NavExcluded') {
699
+ if (this.errorCode === 'GmErr_Forbidden_UserAccount_NavExcluded') {
702
700
  this.errorMessage = translate(`${this.errorCode}`, this.language);
703
701
  }
704
702
  else if (this.errorCode == 'GmErr_BadRequest') {
@@ -812,10 +810,7 @@ const GeneralRegistrationHsl = class {
812
810
  return res.json().then(error => {
813
811
  this.errorCode = error.thirdPartyResponse.errorCode;
814
812
  // Show the idomsoft error if it is the case
815
- if (this.errorCode == 'GmErr_BadRequest_IdomsoftVerification_ShouldRetry') {
816
- this.errorMessage = error.thirdPartyResponse.message;
817
- }
818
- else if (this.errorCode == 'GmErr_BadRequest') {
813
+ if (this.errorCode == 'GmErr_BadRequest') {
819
814
  this.errorMessage = error.thirdPartyResponse.message;
820
815
  }
821
816
  else {
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { G as GeneralRegistrationHsl } from './general-registration-hsl-91634f06.js';
1
+ export { G as GeneralRegistrationHsl } from './general-registration-hsl-483f2ee7.js';
2
2
  import './index-69e88fc5.js';