@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.
Files changed (56) hide show
  1. package/dist/voicenter-events-sdk.cjs.js +16 -16
  2. package/dist/voicenter-events-sdk.cjs.js.map +1 -1
  3. package/dist/voicenter-events-sdk.es.js +2764 -2755
  4. package/dist/voicenter-events-sdk.es.js.map +1 -1
  5. package/dist/voicenter-events-sdk.iife.js +21 -21
  6. package/dist/voicenter-events-sdk.iife.js.map +1 -1
  7. package/dist/voicenter-events-sdk.umd.js +21 -21
  8. package/dist/voicenter-events-sdk.umd.js.map +1 -1
  9. package/package.json +59 -56
  10. package/.eslintrc.cjs +0 -17
  11. package/.github/workflows/main.yml +0 -16
  12. package/.idea/VoicenterEventsSDK.iml +0 -12
  13. package/.idea/git_toolbox_prj.xml +0 -15
  14. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  15. package/.idea/jsLibraryMappings.xml +0 -6
  16. package/.idea/jsLinters/eslint.xml +0 -7
  17. package/.idea/modules.xml +0 -8
  18. package/.idea/vcs.xml +0 -6
  19. package/.nvmrc +0 -1
  20. package/TODELETE_TEMP/events.json +0 -69122
  21. package/TODELETE_TEMP/temphelper.cjs +0 -101
  22. package/docs/package-lock.json +0 -3827
  23. package/docs/package.json +0 -26
  24. package/docs/src/.vuepress/client.js +0 -8
  25. package/docs/src/.vuepress/components/Demo.vue +0 -303
  26. package/docs/src/.vuepress/config.js +0 -60
  27. package/docs/src/.vuepress/public/favicon.ico +0 -0
  28. package/docs/src/.vuepress/public/images/logo.png +0 -0
  29. package/docs/src/.vuepress/styles/index.scss +0 -0
  30. package/docs/src/.vuepress/styles/index.styl +0 -8
  31. package/docs/src/.vuepress/styles/palette.styl +0 -10
  32. package/docs/src/demo.md +0 -7
  33. package/docs/src/index.md +0 -4
  34. package/jest.config.js +0 -11
  35. package/src/classes/auth/auth.class.ts +0 -355
  36. package/src/classes/event-emitter/event-emitter.class.ts +0 -73
  37. package/src/classes/events-sdk/events-sdk-default-options.ts +0 -34
  38. package/src/classes/events-sdk/events-sdk.class.ts +0 -208
  39. package/src/classes/events-sdk/events-sdk.test.ts +0 -17
  40. package/src/classes/events-sdk/events-sdk.types.ts +0 -75
  41. package/src/classes/logger/logger.class.ts +0 -61
  42. package/src/classes/socket-io/socket-io.class.ts +0 -220
  43. package/src/classes/socket-io/socket-io.d.ts +0 -10
  44. package/src/classes/socket-io/versions/index.ts +0 -52
  45. package/src/classes/socket-io/versions/v1_3_7.js +0 -2083
  46. package/src/classes/storage/storage.class.ts +0 -51
  47. package/src/enum/auth.enum.ts +0 -4
  48. package/src/enum/logger.enum.ts +0 -5
  49. package/src/index.ts +0 -13
  50. package/src/types/auth.d.ts +0 -53
  51. package/src/types/events.d.ts +0 -83
  52. package/src/types/listeners.d.ts +0 -37
  53. package/src/types/public-api.d.ts +0 -39
  54. package/src/types/socket.d.ts +0 -5
  55. package/tsconfig.json +0 -47
  56. 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.28",
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
- "precommit": "ts-check, lint",
25
- "keywords": [],
26
- "author": "",
27
- "license": "ISC",
28
- "devDependencies": {
29
- "@types/chrome": "0.0.259",
30
- "@types/jest": "29.5.11",
31
- "@types/lodash": "^4.14.200",
32
- "@types/md5": "^2.3.5",
33
- "@types/node": "20.11.13",
34
- "@typescript-eslint/eslint-plugin": "6.20.0",
35
- "@typescript-eslint/parser": "6.20.0",
36
- "@voicenter-team/eslint-config-ts": "^1.0.22",
37
- "@voicenter-team/real-time-events-types": "^0.0.8",
38
- "dotenv": "16.4.1",
39
- "eslint": "8.56.0",
40
- "eslint-plugin-jest": "27.6.3",
41
- "jest": "^29.7.0",
42
- "pre-commit": "^1.2.2",
43
- "socket.io-client": "4.7.4",
44
- "swagger-axios-codegen": "0.16.8",
45
- "ts-jest": "29.1.2",
46
- "tsc-alias": "^1.8.6",
47
- "typescript": "5.3.3",
48
- "vite": "5.0.12",
49
- "vite-plugin-dts": "3.7.2"
50
- },
51
- "dependencies": {
52
- "@voicenter-team/socketio-storage-logger": "1.9.7",
53
- "lodash": "^4.17.21",
54
- "md5": "^2.3.0"
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>
@@ -1,6 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
- </profile>
6
- </component>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="JavaScriptLibraryMappings">
4
- <includedPredefinedLibrary name="Node.js Core" />
5
- </component>
6
- </project>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="EslintConfiguration">
4
- <custom-configuration-file used="true" path="$PROJECT_DIR$/.eslintrc.cjs" />
5
- <option name="fix-on-save" value="true" />
6
- </component>
7
- </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
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- v18