@cloudbase/types 2.21.0 → 2.21.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.
Files changed (3) hide show
  1. package/auth.d.ts +1 -1
  2. package/index.d.ts +2 -1
  3. package/package.json +2 -2
package/auth.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ICloudbaseConfig, KV, ICloudbase } from '.'
2
2
 
3
- export type ICloudbaseAuthConfig = Pick<ICloudbaseConfig, 'env' | 'clientId' | 'region' | 'persistence' | 'debug' | '_fromApp' | 'oauthInstance' | 'wxCloud' | 'i18n' | 'accessKey'>;
3
+ export type ICloudbaseAuthConfig = Pick<ICloudbaseConfig, 'env' | 'clientId' | 'region' | 'persistence' | 'debug' | '_fromApp' | 'oauthInstance' | 'wxCloud' | 'i18n' | 'accessKey' | 'useWxCloud'>;
4
4
 
5
5
  export interface IAccessTokenInfo {
6
6
  accessToken: string;
package/index.d.ts CHANGED
@@ -38,7 +38,8 @@ export interface ICloudbaseConfig {
38
38
  lang: LANGS;
39
39
  }
40
40
  accessKey?: string
41
- authEndPointMode?: EndPointKey
41
+ authEndPointMode?: EndPointKey // auth请求域名模式,默认CLOUD_API
42
+ useWxCloud?: boolean // 是否使用微信云开发链路
42
43
  }
43
44
  // 可更新的配置字段
44
45
  export type ICloudbaseUpgradedConfig = Pick<ICloudbaseConfig, 'persistence' | 'region' | 'debug'>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/types",
3
- "version": "2.21.0",
3
+ "version": "2.21.1",
4
4
  "description": "cloudbase javascript sdk types",
5
5
  "files": [
6
6
  "index.js",
@@ -43,5 +43,5 @@
43
43
  "lint": "eslint --fix \"./**/*.ts\"",
44
44
  "precommit": "npm run lint"
45
45
  },
46
- "gitHead": "f2f9d0fdbe0bca0513f12014f22a940cadb2ba30"
46
+ "gitHead": "8b2ec020f0684187534c78368e6c9c67461a1645"
47
47
  }