@imam-inter/openim-sdk-js-wasm 3.8.2-1
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/LICENSE +661 -0
- package/README.md +166 -0
- package/assets/openIM.wasm +0 -0
- package/assets/sql-wasm.wasm +0 -0
- package/assets/wasm_exec.js +561 -0
- package/lib/api/database/alter.d.ts +2 -0
- package/lib/api/database/black.d.ts +7 -0
- package/lib/api/database/conversation.d.ts +31 -0
- package/lib/api/database/friend.d.ts +12 -0
- package/lib/api/database/friendRequest.d.ts +7 -0
- package/lib/api/database/groupMember.d.ts +22 -0
- package/lib/api/database/groupRequest.d.ts +8 -0
- package/lib/api/database/groups.d.ts +14 -0
- package/lib/api/database/index.d.ts +20 -0
- package/lib/api/database/init.d.ts +3 -0
- package/lib/api/database/instance.d.ts +3 -0
- package/lib/api/database/localAppSdkVersion.d.ts +2 -0
- package/lib/api/database/message.d.ts +31 -0
- package/lib/api/database/notification.d.ts +3 -0
- package/lib/api/database/sendingMessages.d.ts +3 -0
- package/lib/api/database/stranger.d.ts +4 -0
- package/lib/api/database/superGroup.d.ts +6 -0
- package/lib/api/database/tableMaster.d.ts +1 -0
- package/lib/api/database/tempCacheChatLogs.d.ts +2 -0
- package/lib/api/database/unreadMessage.d.ts +2 -0
- package/lib/api/database/upload.d.ts +4 -0
- package/lib/api/database/users.d.ts +3 -0
- package/lib/api/database/versionSync.d.ts +3 -0
- package/lib/api/index.d.ts +2 -0
- package/lib/api/upload.d.ts +5 -0
- package/lib/api/worker.d.ts +1 -0
- package/lib/constant/index.d.ts +71 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.es.js +2121 -0
- package/lib/index.js +2125 -0
- package/lib/index.umd.js +2131 -0
- package/lib/sdk/index.d.ts +173 -0
- package/lib/sdk/initialize.d.ts +5 -0
- package/lib/sqls/index.d.ts +20 -0
- package/lib/sqls/localAdminGroupRequests.d.ts +9 -0
- package/lib/sqls/localAppSdkVersion.d.ts +8 -0
- package/lib/sqls/localBlack.d.ts +12 -0
- package/lib/sqls/localChatLogsConversationID.d.ts +36 -0
- package/lib/sqls/localConversationUnreadMessages.d.ts +7 -0
- package/lib/sqls/localConversations.d.ts +34 -0
- package/lib/sqls/localFriend.d.ts +16 -0
- package/lib/sqls/localFriendRequest.d.ts +12 -0
- package/lib/sqls/localGroupMembers.d.ts +27 -0
- package/lib/sqls/localGroupRequests.d.ts +9 -0
- package/lib/sqls/localGroups.d.ts +16 -0
- package/lib/sqls/localNotification.d.ts +8 -0
- package/lib/sqls/localSendingMessages.d.ts +8 -0
- package/lib/sqls/localStranger.d.ts +8 -0
- package/lib/sqls/localSuperGroups.d.ts +10 -0
- package/lib/sqls/localTableMaster.d.ts +5 -0
- package/lib/sqls/localUpload.d.ts +10 -0
- package/lib/sqls/localUsers.d.ts +8 -0
- package/lib/sqls/localVersionSync.d.ts +9 -0
- package/lib/sqls/tempCacheLocalChatLogs.d.ts +6 -0
- package/lib/types/entity.d.ts +452 -0
- package/lib/types/enum.d.ts +134 -0
- package/lib/types/eventData.d.ts +51 -0
- package/lib/types/params.d.ts +390 -0
- package/lib/utils/emitter.d.ts +12 -0
- package/lib/utils/escape.d.ts +23 -0
- package/lib/utils/index.d.ts +7 -0
- package/lib/utils/is.d.ts +6 -0
- package/lib/utils/key.d.ts +3 -0
- package/lib/utils/logFormat.d.ts +1 -0
- package/lib/utils/response.d.ts +1 -0
- package/lib/utils/timer.d.ts +1 -0
- package/lib/utils/value.d.ts +6 -0
- package/lib/worker-legacy.js +1 -0
- package/lib/worker.js +1 -0
- package/package.json +94 -0
package/package.json
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@imam-inter/openim-sdk-js-wasm",
|
|
3
|
+
"version": "3.8.2-1",
|
|
4
|
+
"description": "open im sdk for web",
|
|
5
|
+
"source": "src/index.ts",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"unpkg": "lib/index.umd.js",
|
|
8
|
+
"module": "lib/index.es.js",
|
|
9
|
+
"jsdelivr": "lib/index.umd.js",
|
|
10
|
+
"types": "lib/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./lib/index.es.js",
|
|
14
|
+
"require": "./lib/index.js",
|
|
15
|
+
"types": "./lib/index.d.ts"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"lib/**/*",
|
|
20
|
+
"assets/**/*"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "rimraf lib && rollup -c && tsc-alias",
|
|
24
|
+
"cm": "cz",
|
|
25
|
+
"lint": "eslint ./src/ --fix",
|
|
26
|
+
"prepare": "husky install",
|
|
27
|
+
"semantic-release": "semantic-release",
|
|
28
|
+
"test:watch": "jest --watch",
|
|
29
|
+
"test": "jest --coverage",
|
|
30
|
+
"typecheck": "tsc --noEmit"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/OpenIMSDK/Open-IM-SDK-Web-Wasm.git"
|
|
35
|
+
},
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"author": {
|
|
38
|
+
"name": "blooming",
|
|
39
|
+
"email": "blooming2477@gmail.com",
|
|
40
|
+
"url": "https://github.com/Bloomingg"
|
|
41
|
+
},
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=12.0"
|
|
44
|
+
},
|
|
45
|
+
"keywords": [
|
|
46
|
+
"openim"
|
|
47
|
+
],
|
|
48
|
+
"bugs": {
|
|
49
|
+
"url": "https://github.com/OpenIMSDK/Open-IM-SDK-Web-Wasm/issues"
|
|
50
|
+
},
|
|
51
|
+
"homepage": "https://github.com/OpenIMSDK/Open-IM-SDK-Web-Wasm#readme",
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@commitlint/cli": "^16.2.4",
|
|
54
|
+
"@commitlint/config-conventional": "^16.2.4",
|
|
55
|
+
"@jlongster/sql.js": "^1.6.7",
|
|
56
|
+
"@rollup/plugin-alias": "^5.1.0",
|
|
57
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
58
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
59
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
60
|
+
"@types/jest": "^27.5.2",
|
|
61
|
+
"@types/node": "^12.20.11",
|
|
62
|
+
"@types/uuid": "^8.3.4",
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
|
64
|
+
"@typescript-eslint/parser": "^4.22.0",
|
|
65
|
+
"absurd-sql": "^0.0.53",
|
|
66
|
+
"absurd-sql-optimized": "^0.0.1",
|
|
67
|
+
"conventional-changelog-conventionalcommits": "^5.0.0",
|
|
68
|
+
"eslint": "^7.25.0",
|
|
69
|
+
"eslint-config-prettier": "^8.3.0",
|
|
70
|
+
"eslint-plugin-node": "^11.1.0",
|
|
71
|
+
"eslint-plugin-prettier": "^3.4.0",
|
|
72
|
+
"husky": "^6.0.0",
|
|
73
|
+
"jest": "^27.2.0",
|
|
74
|
+
"lint-staged": "^10.5.4",
|
|
75
|
+
"prettier": "^2.2.1",
|
|
76
|
+
"rollup": "^2.79.1",
|
|
77
|
+
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
78
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
79
|
+
"rpc-shooter": "^0.0.14",
|
|
80
|
+
"semantic-release": "^19.0.2",
|
|
81
|
+
"squel": "^5.13.0",
|
|
82
|
+
"tsc-alias": "^1.7.0",
|
|
83
|
+
"typescript": "^4.2.4",
|
|
84
|
+
"uuid": "^9.0.0"
|
|
85
|
+
},
|
|
86
|
+
"config": {
|
|
87
|
+
"commitizen": {
|
|
88
|
+
"path": "./node_modules/@commitlint/cz-conventional-changelog"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"lint-staged": {
|
|
92
|
+
"*.ts": "eslint --cache --cache-location .eslintcache --fix"
|
|
93
|
+
}
|
|
94
|
+
}
|