im-ui-mobile 0.0.50 → 0.0.52

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.
@@ -29,7 +29,7 @@ import ImHeadImage from '../im-head-image/im-head-image.vue'
29
29
  import { datetime, dom, messageType, emoji } from '../../index'
30
30
  // import dom from '../../types/utils/dom'
31
31
  // import messageType from '../../types/utils/messageType'
32
- import { MESSAGE_TYPE } from '../../types/utils/enums'
32
+ import { MESSAGE_TYPE } from '../../types'
33
33
  // import emoji from '../../types/utils/emoji';
34
34
 
35
35
  interface Props {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "im-ui-mobile",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "description": "A Vue3.0 + typescript instant messaging component library for Uniapp",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/types/index.d.ts CHANGED
@@ -1,19 +1,17 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
 
3
- import eventBus from "./utils/eventBus";
4
- import * as auth from "./utils/auth";
5
- import datetime from "./utils/datetime";
6
- import Emoji from "./utils/emoji";
7
- import { MESSAGE_TYPE, RTC_STATE, TERMINAL_TYPE, MESSAGE_STATUS } from "./utils/enums";
8
- import env from "./utils/env";
9
- import * as dom from "./utils/dom";
10
- import messageType from "./utils/messageType";
11
- import * as recorderApp from "./utils/recorderApp";
12
- import * as recorderH5 from "./utils/recorderH5";
13
- import Requester from "./utils/requester";
14
- import * as url from "./utils/url";
15
- import { useDynamicRefs } from "./utils/useDynamicRefs";
16
- import webSocketManager from "./utils/websocket";
3
+ import eventBus from "./utils/eventBus.d.ts";
4
+ import datetime from "./utils/datetime.d.ts";
5
+ import Emoji from "./utils/emoji.d.ts";
6
+ import { MESSAGE_TYPE, RTC_STATE, TERMINAL_TYPE, MESSAGE_STATUS } from "./utils/enums.d.ts";
7
+ import * as dom from "./utils/dom.d.ts";
8
+ import messageType from "./utils/messageType.d.ts";
9
+ import * as recorderApp from "./utils/recorderApp.d.ts";
10
+ import * as recorderH5 from "./utils/recorderH5.d.ts";
11
+ import Requester from "./utils/requester.d.ts";
12
+ import * as url from "./utils/url.d.ts";
13
+ import { useDynamicRefs } from "./utils/useDynamicRefs.d.ts";
14
+ import webSocketManager from "./utils/websocket.d.ts";
17
15
  import type {
18
16
  // 类型常量
19
17
  RtcMode,
@@ -82,4 +80,6 @@ declare module 'im-ui-mobile' {
82
80
  UserInfo,
83
81
  Response
84
82
  }
85
- }
83
+ }
84
+
85
+ export { MESSAGE_TYPE, RTC_STATE, TERMINAL_TYPE, MESSAGE_STATUS }
@@ -1,7 +0,0 @@
1
- export declare const setToken: (value: string) => void;
2
- export declare const getToken: () => string;
3
- export declare const setRefreshToken: (value: string) => void;
4
- export declare const getRefreshToken: () => string;
5
- export declare const clearToken: () => void;
6
- export declare const setAuth: (data: any) => void;
7
- export declare const isAuthed: () => boolean;