@opexa/portal-sdk 0.35.3 → 0.35.4
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 +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2485,6 +2485,9 @@ var AuthService = class {
|
|
|
2485
2485
|
if (input.reCAPTCHAResponse) {
|
|
2486
2486
|
headers.set("google-recaptcha-response", input.reCAPTCHAResponse);
|
|
2487
2487
|
}
|
|
2488
|
+
if (input.testPass) {
|
|
2489
|
+
headers.set("test-pass", input.testPass);
|
|
2490
|
+
}
|
|
2488
2491
|
try {
|
|
2489
2492
|
const res = await fetch(`${this.url}/sessions`, {
|
|
2490
2493
|
method: "POST",
|
|
@@ -6100,7 +6103,8 @@ var Sdk = class {
|
|
|
6100
6103
|
type: "MOBILE_NUMBER",
|
|
6101
6104
|
mobileNumber: addAreaCode(input.mobileNumber, await this.locale),
|
|
6102
6105
|
verificationCode: input.verificationCode,
|
|
6103
|
-
reCAPTCHAResponse: input.reCAPTCHAResponse
|
|
6106
|
+
reCAPTCHAResponse: input.reCAPTCHAResponse,
|
|
6107
|
+
testPass: input.testPass
|
|
6104
6108
|
});
|
|
6105
6109
|
return res.ok ? { ok: true } : res;
|
|
6106
6110
|
}
|