@voicenter-team/events-sdk 0.0.7 → 0.0.9
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 +30 -30
- package/dist/voicenter-events-sdk.cjs.js.map +1 -1
- package/dist/voicenter-events-sdk.d.ts +179 -30
- package/dist/voicenter-events-sdk.es.js +3787 -3716
- package/dist/voicenter-events-sdk.es.js.map +1 -1
- package/dist/voicenter-events-sdk.iife.js +30 -30
- package/dist/voicenter-events-sdk.iife.js.map +1 -1
- package/dist/voicenter-events-sdk.umd.js +30 -30
- package/dist/voicenter-events-sdk.umd.js.map +1 -1
- package/package.json +4 -1
- package/.eslintrc.cjs +0 -16
- 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 -3820
- package/docs/package.json +0 -25
- package/docs/src/.vuepress/client.js +0 -8
- package/docs/src/.vuepress/components/Demo.vue +0 -183
- 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 -205
- package/src/classes/auth/auth.urls.ts +0 -10
- package/src/classes/events-sdk/events-sdk-default-options.ts +0 -46
- package/src/classes/events-sdk/events-sdk.class.ts +0 -250
- package/src/classes/events-sdk/events-sdk.test.ts +0 -9
- package/src/classes/events-sdk/events-sdk.types.ts +0 -69
- package/src/classes/socket-io/socket-io.class.ts +0 -172
- 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 -43
- package/src/enum/auth.enum.ts +0 -4
- package/src/enum/events.enum.ts +0 -98
- package/src/index.ts +0 -6
- package/src/types/auth.d.ts +0 -49
- package/src/types/events.common.d.ts +0 -110
- package/src/types/events.d.ts +0 -175
- 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/swagger/generated/Swagger.json +0 -1
- package/swagger/index.js +0 -60
- package/swagger/package.json +0 -21
- package/swagger/scripts/update-swagger-json.js +0 -53
- package/swagger/yarn.lock +0 -2100
- package/tsconfig.json +0 -50
- package/vite.config.ts +0 -41
package/tsconfig.json
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"include": [
|
|
3
|
-
"src/**/*",
|
|
4
|
-
"src/**/*.d.ts",
|
|
5
|
-
"docs/**/*",
|
|
6
|
-
],
|
|
7
|
-
"exclude": ["public/**/*", "node_modules"],
|
|
8
|
-
"compilerOptions": {
|
|
9
|
-
"target": "ES2022" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
|
|
10
|
-
"module": "ESNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
|
|
11
|
-
"moduleResolution": "Node",
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"lib": [
|
|
14
|
-
"dom",
|
|
15
|
-
"ESNext"
|
|
16
|
-
],
|
|
17
|
-
"types": [
|
|
18
|
-
"vite/client",
|
|
19
|
-
"node",
|
|
20
|
-
"jest",
|
|
21
|
-
"chrome"
|
|
22
|
-
],
|
|
23
|
-
"declaration": true, /* Generates corresponding '.d.ts' file. */
|
|
24
|
-
"esModuleInterop": true,
|
|
25
|
-
"paths": {
|
|
26
|
-
"voicenterEventsSDK/*": [
|
|
27
|
-
"./src/*"
|
|
28
|
-
],
|
|
29
|
-
"@/*": [
|
|
30
|
-
"./src/*"
|
|
31
|
-
],
|
|
32
|
-
"enum/*": [
|
|
33
|
-
"./src/enum/*"
|
|
34
|
-
],
|
|
35
|
-
},
|
|
36
|
-
"useDefineForClassFields": true,
|
|
37
|
-
"strict": true,
|
|
38
|
-
"jsx": "preserve",
|
|
39
|
-
"sourceMap": true,
|
|
40
|
-
"isolatedModules": true,
|
|
41
|
-
"declarationDir": "dist/types",
|
|
42
|
-
"noUnusedLocals": true,
|
|
43
|
-
"noUnusedParameters": true,
|
|
44
|
-
"importHelpers": true,
|
|
45
|
-
"experimentalDecorators": true,
|
|
46
|
-
"allowSyntheticDefaultImports": true,
|
|
47
|
-
"skipLibCheck": true,
|
|
48
|
-
"baseUrl": ".",
|
|
49
|
-
}
|
|
50
|
-
}
|
package/vite.config.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { resolve } from 'path'
|
|
2
|
-
import { defineConfig, loadEnv, ConfigEnv } from 'vite'
|
|
3
|
-
import dts from 'vite-plugin-dts'
|
|
4
|
-
|
|
5
|
-
export default ({ mode }: ConfigEnv) => {
|
|
6
|
-
process.env = {
|
|
7
|
-
...process.env,
|
|
8
|
-
...loadEnv(mode, process.cwd(), '')
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
return defineConfig({
|
|
12
|
-
build: {
|
|
13
|
-
outDir: 'dist',
|
|
14
|
-
sourcemap: true,
|
|
15
|
-
commonjsOptions: {
|
|
16
|
-
esmExternals: true
|
|
17
|
-
},
|
|
18
|
-
lib: {
|
|
19
|
-
entry: resolve(__dirname, 'src/index.ts'),
|
|
20
|
-
formats: [ 'es', 'cjs', 'umd', 'iife' ],
|
|
21
|
-
name: 'VoicenterEventsSDK',
|
|
22
|
-
fileName: (format) => {
|
|
23
|
-
return `voicenter-events-sdk.${format}.js`
|
|
24
|
-
},
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
plugins: [
|
|
28
|
-
dts({
|
|
29
|
-
rollupTypes: true,
|
|
30
|
-
copyDtsFiles: true
|
|
31
|
-
})
|
|
32
|
-
],
|
|
33
|
-
resolve: {
|
|
34
|
-
alias: {
|
|
35
|
-
'@': resolve(__dirname, './src'),
|
|
36
|
-
enum: resolve(__dirname, './src/enum'),
|
|
37
|
-
voicenterEventsSDK: resolve(__dirname, './src'),
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
})
|
|
41
|
-
}
|