@cloudbase/types 3.1.8 → 3.1.10

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 +5 -0
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -112,6 +112,11 @@ export interface ICloudbase {
112
112
  registerVersion: (version: string) => void
113
113
  fire?: (...args: any[]) => void
114
114
  updateLang?: (lang: LANGS) => void
115
+ /**
116
+ * 检查当前 Cloudbase 实例是否已完成初始化
117
+ * @returns 是否已初始化
118
+ */
119
+ isInitialized?: () => boolean
115
120
  getEndPointWithKey?: (key: EndPointKey) => {
116
121
  BASE_URL: string
117
122
  PROTOCOL: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/types",
3
- "version": "3.1.8",
3
+ "version": "3.1.10",
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": "9b3a35f964e58895e3675616428be99a85850fa7"
46
+ "gitHead": "0fa9b57419d2d4fc03a4fafe114e346a01d8c60c"
47
47
  }