@cloudbase/auth 3.1.12 → 3.2.1

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.
@@ -145,8 +145,9 @@ declare class Auth extends AuthV1Compat {
145
145
  signInWithOpenId({ useWxCloud }?: {
146
146
  useWxCloud?: boolean;
147
147
  }): Promise<SignInRes>;
148
- signInWithPhoneAuth({ phoneCode }: {
148
+ signInWithPhoneAuth({ phoneCode, useWxCloud }: {
149
149
  phoneCode?: string;
150
+ useWxCloud?: boolean;
150
151
  }): Promise<SignInRes>;
151
152
  bindPhoneNumber(params: authModels.BindPhoneRequest): Promise<void>;
152
153
  unbindProvider(params: authModels.UnbindProviderRequest): Promise<void>;
@@ -277,4 +278,5 @@ export declare function generateAuthInstance(config: TInitAuthOptions & {
277
278
  oauthInstance: CloudbaseOAuth;
278
279
  };
279
280
  export { UserInfo, Auth, WeixinAuthProvider, CustomAuthProvider, AnonymousAuthProvider };
281
+ export { AuthErrorCategory, AuthError } from '@cloudbase/oauth';
280
282
  export declare function registerAuth(app: Pick<ICloudbase, 'registerComponent'>): void;