@cloudbase/types 2.21.1 → 2.21.2

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/index.d.ts CHANGED
@@ -38,7 +38,7 @@ export interface ICloudbaseConfig {
38
38
  lang: LANGS;
39
39
  }
40
40
  accessKey?: string
41
- authEndPointMode?: EndPointKey // auth请求域名模式,默认CLOUD_API
41
+ endPointMode?: EndPointKey // auth请求域名模式,默认CLOUD_API
42
42
  useWxCloud?: boolean // 是否使用微信云开发链路
43
43
  }
44
44
  // 可更新的配置字段
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/types",
3
- "version": "2.21.1",
3
+ "version": "2.21.2",
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": "8b2ec020f0684187534c78368e6c9c67461a1645"
46
+ "gitHead": "fdea3b2ed4be4126f24588f3a59f91235f28bc1e"
47
47
  }
package/request.d.ts CHANGED
@@ -10,7 +10,7 @@ export interface IGetAccessTokenResult {
10
10
  accessTokenExpire: number;
11
11
  }
12
12
 
13
- export type ICloudbaseRequestConfig = Pick<ICloudbaseConfig, 'env' | 'region' | 'timeout' | 'oauthClient' | '_fromApp' | 'i18n'>;
13
+ export type ICloudbaseRequestConfig = Pick<ICloudbaseConfig, 'env' | 'region' | 'timeout' | 'oauthClient' | '_fromApp' | 'i18n' | 'endPointMode'>;
14
14
 
15
15
  export interface IAppendedRequestInfo {
16
16
  data: KV<any>;