@cloudbase/js-sdk 3.9.0 → 3.9.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.
@@ -115,7 +115,8 @@ export declare enum ErrorType {
115
115
  USER_NOT_FOUND = "user_not_found",
116
116
  MFA_PHONE_REQUIRED = "mfa_phone_required",
117
117
  LOGIN_TYPE_DISABLED = "login_type_disabled",
118
- PROVIDER_ERROR = "provider_error"
118
+ PROVIDER_ERROR = "provider_error",
119
+ MISSING_REQUIRED_PARAM = "missing_required_param"
119
120
  }
120
121
  export declare enum AuthErrorCode {
121
122
  INVALID_ARGUMENT = 3,
@@ -128,6 +129,7 @@ export declare enum AuthErrorCode {
128
129
  INTERNAL = 13,
129
130
  UNAVAILABLE = 14,
130
131
  UNAUTHENTICATED = 16,
132
+ MISSING_REQUIRED_PARAM = 4000,
131
133
  CAPTCHA_REQUIRED = 4001,
132
134
  CAPTCHA_INVALID = 4002,
133
135
  PROVIDER_ERROR = 4019,
@@ -8,7 +8,7 @@ export type { ProviderProfile, UserInfo, ModifyUserBasicInfoRequest } from './au
8
8
  export type { Credentials, OAuth2ClientOptions, ResponseError, AuthClientRequestOptions } from './oauth2client/models';
9
9
  export type { AuthOptions } from './auth/apis';
10
10
  export { weAppJwtDecodeAll } from './utils/base64';
11
- export { AUTH_API_PREFIX, OAUTH_TYPE, DEFAULT_NODE_ACCESS_SCOPE, LOGIN_STATE_CHANGED_TYPE, EVENTS, AUTH_STATE_CHANGED_TYPE, AuthErrorCode, VerificationUsage } from './auth/consts';
11
+ export { AUTH_API_PREFIX, OAUTH_TYPE, DEFAULT_NODE_ACCESS_SCOPE, LOGIN_STATE_CHANGED_TYPE, EVENTS, AUTH_STATE_CHANGED_TYPE, AuthErrorCode, ErrorType, VerificationUsage } from './auth/consts';
12
12
  export declare class CloudbaseOAuth {
13
13
  oauth2client: OAuth2Client;
14
14
  authApi: Auth;