@voicenter-team/opensips-js 1.0.42 → 1.0.46

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voicenter-team/opensips-js",
3
- "version": "1.0.42",
3
+ "version": "1.0.46",
4
4
  "description": "The JS package for opensips",
5
5
  "default": "src/index.ts",
6
6
  "jsdelivr": "dist/opensips-js.umd.js",
@@ -9,11 +9,10 @@
9
9
  "unpkg": "dist/opensips-js.umd.js",
10
10
  "types": "dist/index.d.ts",
11
11
  "scripts": {
12
- "build": "yarn run vite-build",
13
- "build-no-check": "tsc --noEmit --skipLibCheck --project tsconfig.json && tsc-alias -p tsconfig.json",
14
12
  "dev": "vite",
15
- "vite-build": "vite build",
16
- "docs-build": "yarn run vite-build && cd docs && yarn && yarn run build",
13
+ "build": "cross-env TARGET=lib vite build",
14
+ "build-demo": "cross-env TARGET=demo vite build",
15
+ "docs-build": "yarn run build-demo && cd docs && yarn && yarn run build",
17
16
  "test": "echo \"Error: no test specified\" && exit 1",
18
17
  "ts-check": "tsc --noEmit",
19
18
  "lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts --fix --ignore-path .gitignore"
@@ -40,6 +39,7 @@
40
39
  "@typescript-eslint/parser": "^5.53.0",
41
40
  "@vitejs/plugin-vue": "^4.2.3",
42
41
  "@voicenter-team/eslint-config-ts": "^1.0.21",
42
+ "cross-env": "^7.0.3",
43
43
  "dotenv": "^16.0.3",
44
44
  "eslint": "^8.35.0",
45
45
  "pre-commit": "^1.2.2",
@@ -66,10 +66,6 @@ declare module 'jssip' {
66
66
  user_agent?: string;
67
67
  extra_headers?: string[];
68
68
  }
69
- export class RTCSessiono {
70
- init_incoming(request: IncomingRequest): void
71
- constructor(ua: UA)
72
- }
73
69
 
74
70
  /*export class Dialog {
75
71