@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/{chunk-22E7HNRO.js → chunk-6HOHUQZK.js} +8 -12
- package/dist/chunk-6HOHUQZK.js.map +1 -0
- package/dist/index.cjs +9 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +6 -10
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +3 -3
- package/dist/services/index.d.ts +3 -3
- package/dist/services/index.js +1 -1
- package/dist/{types-Blgu5UwG.d.ts → types-BsQwBGLN.d.ts} +6 -0
- package/dist/{types-CU6K5qYs.d.cts → types-C8hcHzlv.d.cts} +6 -0
- package/package.json +1 -1
- package/dist/chunk-22E7HNRO.js.map +0 -1
package/dist/services/index.cjs
CHANGED
|
@@ -1780,6 +1780,7 @@ var MEMBER_ACCOUNT_FRAGMENT = gql`
|
|
|
1780
1780
|
validId
|
|
1781
1781
|
mobileNumberVerified
|
|
1782
1782
|
mobileNumberVerificationRequired
|
|
1783
|
+
currentAchievementPoints
|
|
1783
1784
|
currentMonthlyAchievementPoints
|
|
1784
1785
|
achievementPointsLevelUpProgressPercentage
|
|
1785
1786
|
currentUniqueGamesCount
|
|
@@ -1787,6 +1788,8 @@ var MEMBER_ACCOUNT_FRAGMENT = gql`
|
|
|
1787
1788
|
currentBetsCount
|
|
1788
1789
|
currentActiveDaysCount
|
|
1789
1790
|
dateTimeLastLeveledUp
|
|
1791
|
+
qualifiedLevel
|
|
1792
|
+
currentTurnover
|
|
1790
1793
|
currentMonthlyTurnover
|
|
1791
1794
|
turnoverLevelUpProgressPercentage
|
|
1792
1795
|
transactionPassword
|
|
@@ -4605,7 +4608,7 @@ var AuthService = class {
|
|
|
4605
4608
|
return true;
|
|
4606
4609
|
}
|
|
4607
4610
|
}
|
|
4608
|
-
async sendVerificationCode(input
|
|
4611
|
+
async sendVerificationCode(input) {
|
|
4609
4612
|
if (input.channel === "EMAIL")
|
|
4610
4613
|
throw new Error("Email channel is not yet supported");
|
|
4611
4614
|
function getErrorCode(message) {
|
|
@@ -4623,15 +4626,8 @@ var AuthService = class {
|
|
|
4623
4626
|
try {
|
|
4624
4627
|
const res = await fetch(`${this.url}/otps`, {
|
|
4625
4628
|
method: "POST",
|
|
4626
|
-
headers:
|
|
4627
|
-
|
|
4628
|
-
...recaptchaResponse && {
|
|
4629
|
-
"google-recaptcha-response": recaptchaResponse
|
|
4630
|
-
}
|
|
4631
|
-
},
|
|
4632
|
-
body: JSON.stringify({
|
|
4633
|
-
...input
|
|
4634
|
-
})
|
|
4629
|
+
headers: this.headers,
|
|
4630
|
+
body: JSON.stringify(input)
|
|
4635
4631
|
});
|
|
4636
4632
|
if (res.status === 403) {
|
|
4637
4633
|
const data = await res.json();
|