@cc-component/cc-ex-component 1.1.4 → 1.1.5

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.
@@ -6,6 +6,8 @@ declare global {
6
6
  /**小游戏:按钮触摸 需要在按钮onTouchEnd中调用的方法 使用这个属性*/
7
7
  const buttonTouch: ButtonTouch;
8
8
  //#region 通用==============
9
+ /**模块初始化 */
10
+ export function Init(): Promise<void>
9
11
  /**登录 */
10
12
  export function Login(data?: string): Promise<SDKLoginData>
11
13
  /**退出登录 */
@@ -26,7 +26,6 @@ export class PlatfprmModule {
26
26
  wx_button_subscribe: false
27
27
  };
28
28
 
29
-
30
29
  Init(): Promise<void> {
31
30
  switch (sys.platform) {
32
31
  case sys.Platform.BYTEDANCE_MINI_GAME:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-ex-component",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",