@voicenter-team/events-sdk 0.0.28 → 0.0.30
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/voicenter-events-sdk.cjs.js +16 -16
- package/dist/voicenter-events-sdk.cjs.js.map +1 -1
- package/dist/voicenter-events-sdk.es.js +2764 -2755
- package/dist/voicenter-events-sdk.es.js.map +1 -1
- package/dist/voicenter-events-sdk.iife.js +21 -21
- package/dist/voicenter-events-sdk.iife.js.map +1 -1
- package/dist/voicenter-events-sdk.umd.js +21 -21
- package/dist/voicenter-events-sdk.umd.js.map +1 -1
- package/package.json +59 -56
- package/.eslintrc.cjs +0 -17
- package/.github/workflows/main.yml +0 -16
- package/.idea/VoicenterEventsSDK.iml +0 -12
- package/.idea/git_toolbox_prj.xml +0 -15
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/jsLibraryMappings.xml +0 -6
- package/.idea/jsLinters/eslint.xml +0 -7
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/.nvmrc +0 -1
- package/TODELETE_TEMP/events.json +0 -69122
- package/TODELETE_TEMP/temphelper.cjs +0 -101
- package/docs/package-lock.json +0 -3827
- package/docs/package.json +0 -26
- package/docs/src/.vuepress/client.js +0 -8
- package/docs/src/.vuepress/components/Demo.vue +0 -303
- package/docs/src/.vuepress/config.js +0 -60
- package/docs/src/.vuepress/public/favicon.ico +0 -0
- package/docs/src/.vuepress/public/images/logo.png +0 -0
- package/docs/src/.vuepress/styles/index.scss +0 -0
- package/docs/src/.vuepress/styles/index.styl +0 -8
- package/docs/src/.vuepress/styles/palette.styl +0 -10
- package/docs/src/demo.md +0 -7
- package/docs/src/index.md +0 -4
- package/jest.config.js +0 -11
- package/src/classes/auth/auth.class.ts +0 -355
- package/src/classes/event-emitter/event-emitter.class.ts +0 -73
- package/src/classes/events-sdk/events-sdk-default-options.ts +0 -34
- package/src/classes/events-sdk/events-sdk.class.ts +0 -208
- package/src/classes/events-sdk/events-sdk.test.ts +0 -17
- package/src/classes/events-sdk/events-sdk.types.ts +0 -75
- package/src/classes/logger/logger.class.ts +0 -61
- package/src/classes/socket-io/socket-io.class.ts +0 -220
- package/src/classes/socket-io/socket-io.d.ts +0 -10
- package/src/classes/socket-io/versions/index.ts +0 -52
- package/src/classes/socket-io/versions/v1_3_7.js +0 -2083
- package/src/classes/storage/storage.class.ts +0 -51
- package/src/enum/auth.enum.ts +0 -4
- package/src/enum/logger.enum.ts +0 -5
- package/src/index.ts +0 -13
- package/src/types/auth.d.ts +0 -53
- package/src/types/events.d.ts +0 -83
- package/src/types/listeners.d.ts +0 -37
- package/src/types/public-api.d.ts +0 -39
- package/src/types/socket.d.ts +0 -5
- package/tsconfig.json +0 -47
- package/vite.config.ts +0 -45
package/package.json
CHANGED
|
@@ -1,56 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@voicenter-team/events-sdk",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "dist/voicenter-events-sdk.cjs.js",
|
|
6
|
-
"jsdelivr": "dist/voicenter-events-sdk.umd.js",
|
|
7
|
-
"module": "dist/voicenter-events-sdk.es.js",
|
|
8
|
-
"unpkg": "dist/voicenter-events-sdk.umd.js",
|
|
9
|
-
"types": "dist/voicenter-events-sdk.d.ts",
|
|
10
|
-
"type": "module",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "vite build",
|
|
13
|
-
"dev": "cd docs && yarn && yarn run dev",
|
|
14
|
-
"build:documentation": "cd docs && npm install && npm run build",
|
|
15
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
16
|
-
"ts-check": "tsc --noEmit",
|
|
17
|
-
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts --fix --ignore-path .gitignore"
|
|
18
|
-
},
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": ">= 16",
|
|
21
|
-
"npm": ">= 9.6.7",
|
|
22
|
-
"yarn": ">= 1.22.4"
|
|
23
|
-
},
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"@types/
|
|
33
|
-
"@types/
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"
|
|
39
|
-
"eslint": "
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@voicenter-team/events-sdk",
|
|
3
|
+
"version": "0.0.30",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/voicenter-events-sdk.cjs.js",
|
|
6
|
+
"jsdelivr": "dist/voicenter-events-sdk.umd.js",
|
|
7
|
+
"module": "dist/voicenter-events-sdk.es.js",
|
|
8
|
+
"unpkg": "dist/voicenter-events-sdk.umd.js",
|
|
9
|
+
"types": "dist/voicenter-events-sdk.d.ts",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "vite build",
|
|
13
|
+
"dev": "cd docs && yarn && yarn run dev",
|
|
14
|
+
"build:documentation": "cd docs && npm install && npm run build",
|
|
15
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
16
|
+
"ts-check": "tsc --noEmit",
|
|
17
|
+
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts --fix --ignore-path .gitignore"
|
|
18
|
+
},
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">= 16",
|
|
21
|
+
"npm": ">= 9.6.7",
|
|
22
|
+
"yarn": ">= 1.22.4"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"precommit": "ts-check, lint",
|
|
28
|
+
"keywords": [],
|
|
29
|
+
"author": "",
|
|
30
|
+
"license": "ISC",
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/chrome": "0.0.259",
|
|
33
|
+
"@types/jest": "29.5.11",
|
|
34
|
+
"@types/lodash": "^4.14.200",
|
|
35
|
+
"@types/md5": "^2.3.5",
|
|
36
|
+
"@types/node": "20.11.13",
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "6.20.0",
|
|
38
|
+
"@typescript-eslint/parser": "6.20.0",
|
|
39
|
+
"@voicenter-team/eslint-config-ts": "^1.0.22",
|
|
40
|
+
"@voicenter-team/real-time-events-types": "^0.0.8",
|
|
41
|
+
"dotenv": "16.4.1",
|
|
42
|
+
"eslint": "8.56.0",
|
|
43
|
+
"eslint-plugin-jest": "27.6.3",
|
|
44
|
+
"jest": "^29.7.0",
|
|
45
|
+
"pre-commit": "^1.2.2",
|
|
46
|
+
"socket.io-client": "4.7.4",
|
|
47
|
+
"swagger-axios-codegen": "0.16.8",
|
|
48
|
+
"ts-jest": "29.1.2",
|
|
49
|
+
"tsc-alias": "^1.8.6",
|
|
50
|
+
"typescript": "5.3.3",
|
|
51
|
+
"vite": "5.0.12",
|
|
52
|
+
"vite-plugin-dts": "3.7.2"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@voicenter-team/socketio-storage-logger": "1.9.7",
|
|
56
|
+
"lodash": "^4.17.21",
|
|
57
|
+
"md5": "^2.3.0"
|
|
58
|
+
}
|
|
59
|
+
}
|
package/.eslintrc.cjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* eslint-env node */
|
|
2
|
-
module.exports = {
|
|
3
|
-
root: true,
|
|
4
|
-
parser: '@typescript-eslint/parser',
|
|
5
|
-
ignorePatterns: ['dist', 'node_modules'],
|
|
6
|
-
extends: [
|
|
7
|
-
'@voicenter-team/ts',
|
|
8
|
-
'plugin:jest/recommended'
|
|
9
|
-
],
|
|
10
|
-
env: {
|
|
11
|
-
browser: true,
|
|
12
|
-
webextensions: true,
|
|
13
|
-
},
|
|
14
|
-
rules: {
|
|
15
|
-
'no-dupe-class-members': 'off'
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
name: Mirroring
|
|
2
|
-
|
|
3
|
-
on: [push, delete]
|
|
4
|
-
|
|
5
|
-
jobs:
|
|
6
|
-
to_cdn:
|
|
7
|
-
runs-on: ubuntu-latest
|
|
8
|
-
steps:
|
|
9
|
-
- uses: actions/checkout@v3
|
|
10
|
-
with:
|
|
11
|
-
fetch-depth: 0
|
|
12
|
-
- uses: yesolutions/mirror-action@master
|
|
13
|
-
with:
|
|
14
|
-
REMOTE: git@github.com:VoicenterTeam/VoicenterEventsSDK-cdn.git
|
|
15
|
-
GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_PRIVATE_KEY }}
|
|
16
|
-
GIT_SSH_NO_VERIFY_HOST: "true"
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="WEB_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$">
|
|
5
|
-
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
-
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
-
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
-
</content>
|
|
9
|
-
<orderEntry type="inheritedJdk" />
|
|
10
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
-
</component>
|
|
12
|
-
</module>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="GitToolBoxProjectSettings">
|
|
4
|
-
<option name="commitMessageIssueKeyValidationOverride">
|
|
5
|
-
<BoolValueOverride>
|
|
6
|
-
<option name="enabled" value="true" />
|
|
7
|
-
</BoolValueOverride>
|
|
8
|
-
</option>
|
|
9
|
-
<option name="commitMessageValidationEnabledOverride">
|
|
10
|
-
<BoolValueOverride>
|
|
11
|
-
<option name="enabled" value="true" />
|
|
12
|
-
</BoolValueOverride>
|
|
13
|
-
</option>
|
|
14
|
-
</component>
|
|
15
|
-
</project>
|
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/VoicenterEventsSDK.iml" filepath="$PROJECT_DIR$/.idea/VoicenterEventsSDK.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
package/.idea/vcs.xml
DELETED
package/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
v18
|