@shimotsuki/core 2.0.39 → 2.0.40

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/dist/index.d.ts CHANGED
@@ -1038,5 +1038,11 @@ declare class Manager {
1038
1038
  merge<K extends keyof Manager, T extends object>(target: K, source: T): this;
1039
1039
  }
1040
1040
  declare const cat: Manager;
1041
+ declare global {
1042
+ namespace globalThis {
1043
+ /**核心框架 */
1044
+ var cat: Manager;
1045
+ }
1046
+ }
1041
1047
 
1042
1048
  export { AudioEffect, AudioEventConstant, AudioManager, AudioSourceBaseComponent, AudioSourceUILayer, AudioTypeEnum, BaseComponent, BaseManager, BasePrefab, BaseStore, ButtonLock, CoreBlackMask, CoreNotice, type CoreNoticeProps, CoreReconnection, CoreShowLoading, type CoreShowLoadingProps, CoreStore, CoreToast, CoreUIContainer, CoreUIModal, type CoreUIModalProps, CoreUtil, GlobalEventConstant, Gui, GuiManager, type HOOK, type ICloseOptions, type IDirection, type IOpenOptions, type IUIOption, LayerType, Manager, ReconnectPrompt, RootUILayer, type SceneComponentType, type SceneDataType, SceneLayer, type ScenePropsType, TimerManager, type ToastProps, ToastType, type UIComponentType, UILayer, WrapperSocialGameClient, cat };
package/dist/index.js CHANGED
@@ -2914,6 +2914,7 @@ class Manager {
2914
2914
  }
2915
2915
  }
2916
2916
  const cat = Manager.instance;
2917
+ globalThis.cat = cat;
2917
2918
  /**
2918
2919
  * 项目数据初始化之后的处理APP初始化事务
2919
2920
  * 执行顺序 onAppInitDelegate -> onPlugInInitDelegate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shimotsuki/core",
3
- "version": "2.0.39",
3
+ "version": "2.0.40",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",