@cloudbase/auth 2.5.49-beta.6 → 2.6.4-beta.0

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.
@@ -64,8 +64,8 @@ declare class Auth {
64
64
  }): Promise<LoginState>;
65
65
  signInWithSms({ verificationInfo, verificationCode, phoneNum, bindInfo, }: {
66
66
  verificationInfo?: {
67
- id: string;
68
- isUser: boolean;
67
+ verification_id: string;
68
+ is_user: boolean;
69
69
  };
70
70
  verificationCode?: string;
71
71
  phoneNum?: string;
@@ -118,8 +118,8 @@ declare class Auth {
118
118
  state: string;
119
119
  redirect_uri?: string;
120
120
  }): Promise<{
121
- captcha_token: string;
122
- expires_in: number;
121
+ token: string;
122
+ data: string;
123
123
  }>;
124
124
  verifyCaptchaData(params: {
125
125
  token: string;
@@ -130,6 +130,8 @@ declare class Auth {
130
130
  }>;
131
131
  getMiniProgramQrCode(params: authModels.GetMiniProgramQrCodeRequest): Promise<authModels.GetMiniProgramQrCodeResponse>;
132
132
  getMiniProgramQrCodeStatus(params: authModels.GetMiniProgramQrCodeStatusRequest): Promise<authModels.GetMiniProgramQrCodeStatusResponse>;
133
+ modifyPassword(params: authModels.ModifyUserBasicInfoRequest): Promise<void>;
134
+ getUserBehaviorLog(params: authModels.GetUserBehaviorLog): Promise<authModels.GetUserBehaviorLogRes>;
133
135
  private createLoginState;
134
136
  }
135
137
  type TInitAuthOptions = Pick<ICloudbaseAuthConfig, 'region' | 'persistence'> & Partial<AuthOptions>;