@cloudbase/auth 3.3.1 → 3.3.3

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.
@@ -129,7 +129,7 @@ declare class Auth extends AuthV1Compat {
129
129
  verifyOtp(params: VerifyOtpReq): Promise<SignInRes>;
130
130
  getSession(): Promise<SignInRes>;
131
131
  refreshSession(refresh_token?: string): Promise<SignInRes>;
132
- getUser(): Promise<GetUserRes>;
132
+ getUser(isRefresh?: boolean): Promise<GetUserRes>;
133
133
  refreshUser(): Promise<CommonRes>;
134
134
  updateUser(params: UpdateUserReq): Promise<GetUserRes | UpdateUserWithVerificationRes>;
135
135
  getUserIdentities(): Promise<GetUserIdentitiesRes>;
@@ -157,7 +157,7 @@ declare class Auth extends AuthV1Compat {
157
157
  withCaptcha: boolean;
158
158
  }): Promise<authModels.GetVerificationResponse>;
159
159
  get currentUser(): User;
160
- getCurrentUser(): Promise<(authModels.UserInfo & Partial<User>) | null>;
160
+ getCurrentUser(isRefresh?: boolean): Promise<(authModels.UserInfo & Partial<User>) | null>;
161
161
  signInAnonymouslyInWx({ useWxCloud, }?: {
162
162
  useWxCloud?: boolean;
163
163
  }): Promise<LoginState>;