zsl-im-sdk 1.0.2 → 1.0.4

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 (31) hide show
  1. package/api/index.d.ts +4 -0
  2. package/api/index.js +20 -0
  3. package/package.json +32 -50
  4. /package/{dist/api → api}/common/common.api.d.ts +0 -0
  5. /package/{dist/api → api}/common/common.api.js +0 -0
  6. /package/{dist/api → api}/conversation/conversation.api.d.ts +0 -0
  7. /package/{dist/api → api}/conversation/conversation.api.js +0 -0
  8. /package/{dist/api → api}/im-login.d.ts +0 -0
  9. /package/{dist/api → api}/im-login.js +0 -0
  10. /package/{dist/api → api}/message/message.api.d.ts +0 -0
  11. /package/{dist/api → api}/message/message.api.js +0 -0
  12. /package/{dist/index.d.ts → index.d.ts} +0 -0
  13. /package/{dist/index.js → index.js} +0 -0
  14. /package/{dist/store.d.ts → store.d.ts} +0 -0
  15. /package/{dist/store.js → store.js} +0 -0
  16. /package/{dist/types → types}/conversation.type.d.ts +0 -0
  17. /package/{dist/types → types}/conversation.type.js +0 -0
  18. /package/{dist/types → types}/im-user.type.d.ts +0 -0
  19. /package/{dist/types → types}/im-user.type.js +0 -0
  20. /package/{dist/types → types}/index.d.ts +0 -0
  21. /package/{dist/types → types}/index.js +0 -0
  22. /package/{dist/types → types}/message-type.type.d.ts +0 -0
  23. /package/{dist/types → types}/message-type.type.js +0 -0
  24. /package/{dist/types → types}/socket-data.type.d.ts +0 -0
  25. /package/{dist/types → types}/socket-data.type.js +0 -0
  26. /package/{dist/types.d.ts → types.d.ts} +0 -0
  27. /package/{dist/types.js → types.js} +0 -0
  28. /package/{dist/utils → utils}/http.d.ts +0 -0
  29. /package/{dist/utils → utils}/http.js +0 -0
  30. /package/{dist/websocket.d.ts → websocket.d.ts} +0 -0
  31. /package/{dist/websocket.js → websocket.js} +0 -0
package/api/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export * from './common/common.api';
2
+ export * from './conversation/conversation.api';
3
+ export * from './message/message.api';
4
+ export * from './im-login';
package/api/index.js ADDED
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./common/common.api"), exports);
18
+ __exportStar(require("./conversation/conversation.api"), exports);
19
+ __exportStar(require("./message/message.api"), exports);
20
+ __exportStar(require("./im-login"), exports);
package/package.json CHANGED
@@ -1,50 +1,32 @@
1
- {
2
- "name": "zsl-im-sdk",
3
- "version": "1.0.2",
4
- "description": "IM 即时通讯 SDK 核心包",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "exports": {
8
- ".": {
9
- "types": "./dist/index.d.ts",
10
- "default": "./dist/index.js"
11
- },
12
- "./package.json": "./package.json",
13
- "./*": {
14
- "types": "./dist/*.d.ts",
15
- "default": "./dist/*.js"
16
- }
17
- },
18
- "typesVersions": {
19
- "*": {
20
- "*": [
21
- "dist/*"
22
- ]
23
- }
24
- },
25
- "scripts": {
26
- "build": "tsc",
27
- "prepublishOnly": "npm run build"
28
- },
29
- "files": [
30
- "dist"
31
- ],
32
- "keywords": [
33
- "im",
34
- "websocket",
35
- "chat",
36
- "vuex",
37
- "instant-messaging"
38
- ],
39
- "author": "ZSL",
40
- "license": "MIT",
41
- "peerDependencies": {
42
- "ali-oss": "^6.23.0",
43
- "vue": "^2.6.0",
44
- "vuex": "^3.0.0"
45
- },
46
- "devDependencies": {
47
- "@dcloudio/types": "^3.4.29",
48
- "typescript": "^5.9.3"
49
- }
50
- }
1
+ {
2
+ "name": "zsl-im-sdk",
3
+ "version": "1.0.4",
4
+ "description": "IM 即时通讯 SDK 核心包",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./index.d.ts",
10
+ "default": "./index.js"
11
+ },
12
+ "./package.json": "./package.json",
13
+ "./*": {
14
+ "types": "./*.d.ts",
15
+ "default": "./*.js"
16
+ }
17
+ },
18
+ "keywords": [
19
+ "im",
20
+ "websocket",
21
+ "chat",
22
+ "vuex",
23
+ "instant-messaging"
24
+ ],
25
+ "author": "ZSL",
26
+ "license": "MIT",
27
+ "peerDependencies": {
28
+ "ali-oss": "^6.23.0",
29
+ "vue": "^2.6.0",
30
+ "vuex": "^3.0.0"
31
+ }
32
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes