@tmagic/stage 1.2.10 → 1.2.11

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.10",
2
+ "version": "1.2.11",
3
3
  "name": "@tmagic/stage",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -30,9 +30,9 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@scena/guides": "^0.23.3",
33
- "@tmagic/core": "1.2.10",
34
- "@tmagic/schema": "1.2.10",
35
- "@tmagic/utils": "1.2.10",
33
+ "@tmagic/core": "1.2.11",
34
+ "@tmagic/schema": "1.2.11",
35
+ "@tmagic/utils": "1.2.11",
36
36
  "events": "^3.3.0",
37
37
  "keycon": "^1.1.2",
38
38
  "lodash-es": "^4.17.21",
package/src/types.ts CHANGED
@@ -219,7 +219,7 @@ export interface RemoveData {
219
219
  }
220
220
 
221
221
  export interface Runtime {
222
- getApp?: () => Core;
222
+ getApp?: () => Core | undefined;
223
223
  beforeSelect?: (el: HTMLElement) => Promise<boolean> | boolean;
224
224
  updateRootConfig?: (config: MApp) => void;
225
225
  updatePageId?: (id: Id) => void;
package/types/types.d.ts CHANGED
@@ -172,7 +172,7 @@ export interface RemoveData {
172
172
  root: MApp;
173
173
  }
174
174
  export interface Runtime {
175
- getApp?: () => Core;
175
+ getApp?: () => Core | undefined;
176
176
  beforeSelect?: (el: HTMLElement) => Promise<boolean> | boolean;
177
177
  updateRootConfig?: (config: MApp) => void;
178
178
  updatePageId?: (id: Id) => void;