@opexa/portal-sdk 0.8.1 → 0.8.2

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.d.cts CHANGED
@@ -587,6 +587,7 @@ interface MobileNumberInrCreateAccountInput {
587
587
  referralCode?: string;
588
588
  verificationCode?: string;
589
589
  reCAPTCHAResponse?: string;
590
+ testPass?: boolean;
590
591
  }
591
592
  interface NameCreateAccountInput {
592
593
  type: 'NAME';
package/dist/index.d.ts CHANGED
@@ -587,6 +587,7 @@ interface MobileNumberInrCreateAccountInput {
587
587
  referralCode?: string;
588
588
  verificationCode?: string;
589
589
  reCAPTCHAResponse?: string;
590
+ testPass?: boolean;
590
591
  }
591
592
  interface NameCreateAccountInput {
592
593
  type: 'NAME';
package/dist/index.js CHANGED
@@ -2366,6 +2366,9 @@ var AccountService = class {
2366
2366
  headers: {
2367
2367
  ...variables.reCAPTCHAResponse && {
2368
2368
  "google-recaptcha-response": reCAPTCHAResponse
2369
+ },
2370
+ ...variables.testPass && {
2371
+ "Test-Pass": "true"
2369
2372
  }
2370
2373
  }
2371
2374
  });
@@ -5645,6 +5648,7 @@ var Sdk = class {
5645
5648
  mobileNumber: addAreaCode(input.mobileNumber, await this.locale)
5646
5649
  },
5647
5650
  mobileNumberVerificationCode: input.mobileVerificationCode,
5651
+ testPass: input.testPass,
5648
5652
  reCAPTCHAResponse: input.reCAPTCHAResponse
5649
5653
  });
5650
5654
  return res2.ok ? { ok: true, data: { id } } : res2;