@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.
- package/app/dist/index.js +1 -1
- package/app/dist/index.js.map +1 -1
- package/app/dist/index.node.js +1 -1
- package/app/dist/index.node.js.map +1 -1
- package/auth/dist/index.d.ts +1 -0
- package/auth/dist/index.esm.js +1 -1
- package/auth/dist/index.esm.js.map +1 -1
- package/auth/dist/index.js +1 -1
- package/auth/dist/index.js.map +1 -1
- package/auth/dist/type.d.ts +2 -2
- package/core.d.ts +13 -3
- package/database/dist/index.d.ts +147 -0
- package/database/dist/index.esm.js +1 -1
- package/database/dist/index.esm.js.map +1 -1
- package/database/dist/index.js +1 -1
- package/database/dist/index.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.node.cjs.js +1 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.esm.js +1 -1
- package/dist/index.node.esm.js.map +1 -1
- package/miniprogram_dist/auth/index.d.ts +1 -0
- package/miniprogram_dist/auth/index.js +1 -1
- package/miniprogram_dist/database/index.d.ts +147 -0
- package/miniprogram_dist/database/index.js +1 -1
- package/miniprogram_dist/index.js +1 -1
- package/miniprogram_dist/oauth/index.d.ts +1 -1
- package/miniprogram_dist/oauth/index.js +1 -1
- package/oauth/dist/auth/consts.d.ts +3 -1
- package/oauth/dist/index.d.ts +1 -1
- package/oauth/dist/index.esm.js +1 -1
- package/oauth/dist/index.esm.js.map +1 -1
- package/oauth/dist/index.js +1 -1
- package/oauth/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -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,
|
package/oauth/dist/index.d.ts
CHANGED
|
@@ -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;
|