@opexa/portal-sdk 0.59.66 → 0.59.68

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/dist/index.cjs CHANGED
@@ -1801,6 +1801,7 @@ var MEMBER_ACCOUNT_FRAGMENT = gql`
1801
1801
  validId
1802
1802
  mobileNumberVerified
1803
1803
  mobileNumberVerificationRequired
1804
+ currentAchievementPoints
1804
1805
  currentMonthlyAchievementPoints
1805
1806
  achievementPointsLevelUpProgressPercentage
1806
1807
  currentUniqueGamesCount
@@ -1808,6 +1809,8 @@ var MEMBER_ACCOUNT_FRAGMENT = gql`
1808
1809
  currentBetsCount
1809
1810
  currentActiveDaysCount
1810
1811
  dateTimeLastLeveledUp
1812
+ qualifiedLevel
1813
+ currentTurnover
1811
1814
  currentMonthlyTurnover
1812
1815
  turnoverLevelUpProgressPercentage
1813
1816
  transactionPassword
@@ -4626,7 +4629,7 @@ var AuthService = class {
4626
4629
  return true;
4627
4630
  }
4628
4631
  }
4629
- async sendVerificationCode(input, recaptchaResponse) {
4632
+ async sendVerificationCode(input) {
4630
4633
  if (input.channel === "EMAIL")
4631
4634
  throw new Error("Email channel is not yet supported");
4632
4635
  function getErrorCode(message) {
@@ -4644,15 +4647,8 @@ var AuthService = class {
4644
4647
  try {
4645
4648
  const res = await fetch(`${this.url}/otps`, {
4646
4649
  method: "POST",
4647
- headers: {
4648
- ...this.headers,
4649
- ...recaptchaResponse && {
4650
- "google-recaptcha-response": recaptchaResponse
4651
- }
4652
- },
4653
- body: JSON.stringify({
4654
- ...input
4655
- })
4650
+ headers: this.headers,
4651
+ body: JSON.stringify(input)
4656
4652
  });
4657
4653
  if (res.status === 403) {
4658
4654
  const data = await res.json();
@@ -8688,8 +8684,11 @@ var Transformer = class {
8688
8684
  currentAchievements: data.currentAchievements,
8689
8685
  currentUniqueGamesCount: data.currentUniqueGamesCount,
8690
8686
  dateTimeLastLeveledUp: new Date(data.dateTimeLastLeveledUp),
8687
+ qualifiedLevel: data.qualifiedLevel ?? void 0,
8688
+ currentAchievementPoints: data.currentAchievementPoints ?? void 0,
8691
8689
  currentMonthlyAchievementPoints: data.currentMonthlyAchievementPoints,
8692
8690
  achievementPointsLevelUpProgressPercentage: data.achievementPointsLevelUpProgressPercentage,
8691
+ currentTurnover: parseDecimal(data.currentTurnover),
8693
8692
  currentMonthlyTurnover: data.currentMonthlyTurnover,
8694
8693
  turnoverLevelUpProgressPercentage: data.turnoverLevelUpProgressPercentage,
8695
8694
  googleId: data.googleId,