@opexa/portal-sdk 0.59.66 → 0.59.67
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-DKB4XCT5.js} +5 -12
- package/dist/chunk-DKB4XCT5.js.map +1 -0
- package/dist/index.cjs +3 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/services/index.cjs +3 -10
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-22E7HNRO.js.map +0 -1
|
@@ -4576,7 +4576,7 @@ var AuthService = class {
|
|
|
4576
4576
|
return true;
|
|
4577
4577
|
}
|
|
4578
4578
|
}
|
|
4579
|
-
async sendVerificationCode(input
|
|
4579
|
+
async sendVerificationCode(input) {
|
|
4580
4580
|
if (input.channel === "EMAIL")
|
|
4581
4581
|
throw new Error("Email channel is not yet supported");
|
|
4582
4582
|
function getErrorCode(message) {
|
|
@@ -4594,15 +4594,8 @@ var AuthService = class {
|
|
|
4594
4594
|
try {
|
|
4595
4595
|
const res = await fetch(`${this.url}/otps`, {
|
|
4596
4596
|
method: "POST",
|
|
4597
|
-
headers:
|
|
4598
|
-
|
|
4599
|
-
...recaptchaResponse && {
|
|
4600
|
-
"google-recaptcha-response": recaptchaResponse
|
|
4601
|
-
}
|
|
4602
|
-
},
|
|
4603
|
-
body: JSON.stringify({
|
|
4604
|
-
...input
|
|
4605
|
-
})
|
|
4597
|
+
headers: this.headers,
|
|
4598
|
+
body: JSON.stringify(input)
|
|
4606
4599
|
});
|
|
4607
4600
|
if (res.status === 403) {
|
|
4608
4601
|
const data = await res.json();
|
|
@@ -6354,5 +6347,5 @@ var ExtensionService = class {
|
|
|
6354
6347
|
};
|
|
6355
6348
|
|
|
6356
6349
|
export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint };
|
|
6357
|
-
//# sourceMappingURL=chunk-
|
|
6358
|
-
//# sourceMappingURL=chunk-
|
|
6350
|
+
//# sourceMappingURL=chunk-DKB4XCT5.js.map
|
|
6351
|
+
//# sourceMappingURL=chunk-DKB4XCT5.js.map
|