@opexa/portal-sdk 0.59.65 → 0.59.66

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
@@ -136,7 +136,7 @@ declare class Sdk {
136
136
  * @deprecated use `sendVerificationCode__next`
137
137
  */
138
138
  sendVerificationCode(mobileNumber: string): Promise<SendVerificationCodeReturn>;
139
- sendVerificationCode__next(input: SendVerificationCodeInput__Next, recaptchaResponse?: string): Promise<SendVerificationCodeReturn__Next>;
139
+ sendVerificationCode__next(input: SendVerificationCodeInput__Next): Promise<SendVerificationCodeReturn__Next>;
140
140
  wallet(): Promise<WalletReturn>;
141
141
  memberWalletAccount(): Promise<MemberWalletAccountReturn>;
142
142
  announcements(input?: AnnouncementsInput): Promise<AnnouncementsReturn>;
package/dist/index.d.ts CHANGED
@@ -136,7 +136,7 @@ declare class Sdk {
136
136
  * @deprecated use `sendVerificationCode__next`
137
137
  */
138
138
  sendVerificationCode(mobileNumber: string): Promise<SendVerificationCodeReturn>;
139
- sendVerificationCode__next(input: SendVerificationCodeInput__Next, recaptchaResponse?: string): Promise<SendVerificationCodeReturn__Next>;
139
+ sendVerificationCode__next(input: SendVerificationCodeInput__Next): Promise<SendVerificationCodeReturn__Next>;
140
140
  wallet(): Promise<WalletReturn>;
141
141
  memberWalletAccount(): Promise<MemberWalletAccountReturn>;
142
142
  announcements(input?: AnnouncementsInput): Promise<AnnouncementsReturn>;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { CmsPortalService, GameService, ExtensionService, FileService, WalletService, AccountService, ReportService, PortalService, TriggerService, AuthService, getFingerPrint } from './chunk-CY6AO3EN.js';
1
+ import { CmsPortalService, GameService, ExtensionService, FileService, WalletService, AccountService, ReportService, PortalService, TriggerService, AuthService, getFingerPrint } from './chunk-22E7HNRO.js';
2
2
  import { GraphQLClient, isPlainObject } from './chunk-7APXFZ5G.js';
3
3
  import './chunk-WVFSGB7Y.js';
4
4
  import { ObjectId } from '@opexa/object-id';
@@ -3848,18 +3848,15 @@ var Sdk = class {
3848
3848
  }
3849
3849
  });
3850
3850
  }
3851
- async sendVerificationCode__next(input, recaptchaResponse) {
3851
+ async sendVerificationCode__next(input) {
3852
3852
  if (input.type === "SMS") {
3853
- return this.authService.sendVerificationCode(
3854
- {
3855
- channel: "SMS",
3856
- recipient: addAreaCode(input.mobileNumber, await this.locale),
3857
- ...input.strict && {
3858
- verificationType: "MEMBER"
3859
- }
3860
- },
3861
- recaptchaResponse
3862
- );
3853
+ return this.authService.sendVerificationCode({
3854
+ channel: "SMS",
3855
+ recipient: addAreaCode(input.mobileNumber, await this.locale),
3856
+ ...input.strict && {
3857
+ verificationType: "MEMBER"
3858
+ }
3859
+ });
3863
3860
  }
3864
3861
  throw new Error("'Email' verification code is not yet supported");
3865
3862
  }