@cloudbase/types 2.20.13 → 2.21.0

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 (2) hide show
  1. package/index.d.ts +3 -0
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -19,6 +19,8 @@ export interface KVstring {
19
19
  [key: string]: string
20
20
  }
21
21
 
22
+ export type EndPointKey = 'CLOUD_API' | 'GATEWAY'
23
+
22
24
  export interface ICloudbaseConfig {
23
25
  env: string
24
26
  region?: string
@@ -36,6 +38,7 @@ export interface ICloudbaseConfig {
36
38
  lang: LANGS;
37
39
  }
38
40
  accessKey?: string
41
+ authEndPointMode?: EndPointKey
39
42
  }
40
43
  // 可更新的配置字段
41
44
  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.20.13",
3
+ "version": "2.21.0",
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": "c0ca4eab23f5cc5e1cb34e80353395d7d466a274"
46
+ "gitHead": "f2f9d0fdbe0bca0513f12014f22a940cadb2ba30"
47
47
  }