sip-connector 19.2.1 → 19.3.0

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.
@@ -2,8 +2,8 @@ import { URI } from '@krivega/jssip';
2
2
  export declare const LOCKED_SIP_WEB_SOCKET_SERVER_URL = "LOCKED_SIP_WEB_SOCKET_SERVER_URL";
3
3
  export declare const dataForConnectionWithAuthorization: {
4
4
  password: string;
5
- name: string;
6
- isRegisteredUser: boolean;
5
+ user: string;
6
+ register: boolean;
7
7
  remoteAddress: string;
8
8
  sipServerUrl: string;
9
9
  sipWebSocketServerURL: string;
@@ -18,7 +18,7 @@ export declare const dataForConnectionWithAuthorizationWithDisplayName: {
18
18
  };
19
19
  export declare const dataForConnectionWithoutAuthorization: {
20
20
  displayName: string;
21
- isRegisteredUser: boolean;
21
+ register: boolean;
22
22
  remoteAddress: string;
23
23
  sipServerUrl: string;
24
24
  sipWebSocketServerURL: string;
@@ -26,7 +26,7 @@ export declare const dataForConnectionWithoutAuthorization: {
26
26
  };
27
27
  export declare const dataForConnectionWithoutAuthorizationWithoutDisplayName: {
28
28
  displayName: string;
29
- isRegisteredUser: boolean;
29
+ register: boolean;
30
30
  remoteAddress: string;
31
31
  sipServerUrl: string;
32
32
  sipWebSocketServerURL: string;
@@ -35,7 +35,7 @@ export declare const dataForConnectionWithoutAuthorizationWithoutDisplayName: {
35
35
  export declare const dataForConnectionWithoutAuthorizationWithSipServerUrlChanged: {
36
36
  sipServerUrl: string;
37
37
  displayName: string;
38
- isRegisteredUser: boolean;
38
+ register: boolean;
39
39
  remoteAddress: string;
40
40
  sipWebSocketServerURL: string;
41
41
  userAgent: string;
@@ -44,15 +44,15 @@ export declare const dataForConnectionWithoutAuthorizationWithSipWebSocketServer
44
44
  sipWebSocketServerURL: string;
45
45
  sipWebSocketServerURLChanged: boolean;
46
46
  displayName: string;
47
- isRegisteredUser: boolean;
47
+ register: boolean;
48
48
  remoteAddress: string;
49
49
  sipServerUrl: string;
50
50
  userAgent: string;
51
51
  };
52
52
  export declare const dataForConnectionWithAuthorizationIncorrectUser: {
53
- name: string;
53
+ user: string;
54
54
  password: string;
55
- isRegisteredUser: boolean;
55
+ register: boolean;
56
56
  remoteAddress: string;
57
57
  sipServerUrl: string;
58
58
  sipWebSocketServerURL: string;
@@ -60,8 +60,8 @@ export declare const dataForConnectionWithAuthorizationIncorrectUser: {
60
60
  };
61
61
  export declare const dataForConnectionWithAuthorizationIncorrectPassword: {
62
62
  password: string;
63
- name: string;
64
- isRegisteredUser: boolean;
63
+ user: string;
64
+ register: boolean;
65
65
  remoteAddress: string;
66
66
  sipServerUrl: string;
67
67
  sipWebSocketServerURL: string;
@@ -70,8 +70,8 @@ export declare const dataForConnectionWithAuthorizationIncorrectPassword: {
70
70
  export declare const withNameChanged: {
71
71
  nameChanged: boolean;
72
72
  password: string;
73
- name: string;
74
- isRegisteredUser: boolean;
73
+ user: string;
74
+ register: boolean;
75
75
  remoteAddress: string;
76
76
  sipServerUrl: string;
77
77
  sipWebSocketServerURL: string;
@@ -80,8 +80,8 @@ export declare const withNameChanged: {
80
80
  export declare const dataForConnectionWithAuthorizationPasswordChanged: {
81
81
  password: string;
82
82
  passwordChanged: boolean;
83
- name: string;
84
- isRegisteredUser: boolean;
83
+ user: string;
84
+ register: boolean;
85
85
  remoteAddress: string;
86
86
  sipServerUrl: string;
87
87
  sipWebSocketServerURL: string;
@@ -1,8 +1,8 @@
1
- export declare const canConnectToServer: ({ remoteAddress, sipServerUrl, sipWebSocketServerURL, name, password, isRegisteredUser, }: {
1
+ export declare const canConnectToServer: ({ remoteAddress, sipServerUrl, sipWebSocketServerURL, user, password, register, }: {
2
2
  remoteAddress: string | undefined;
3
3
  sipServerUrl: string | undefined;
4
4
  sipWebSocketServerURL: string | undefined;
5
- name: string;
5
+ user: string;
6
6
  password: string;
7
- isRegisteredUser: boolean;
7
+ register: boolean;
8
8
  }) => boolean;
@@ -4,8 +4,8 @@ declare const resolveInitUaPromised: (sipConnector: SipConnector) => (state: {
4
4
  sipServerUrl: string;
5
5
  displayName: string | undefined;
6
6
  sipWebSocketServerURL: string;
7
- name: string;
7
+ user: string;
8
8
  password: string;
9
- isRegisteredUser: boolean;
9
+ register: boolean;
10
10
  }) => Promise<boolean>;
11
11
  export default resolveInitUaPromised;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sip-connector",
3
- "version": "19.2.1",
3
+ "version": "19.3.0",
4
4
  "description": "Module for connect to Vinteo server",
5
5
  "keywords": [
6
6
  "webrtc",
@@ -74,7 +74,7 @@
74
74
  "@commitlint/cli": "^20.1.0",
75
75
  "@commitlint/config-conventional": "^20.0.0",
76
76
  "@eslint/compat": "^1.4.0",
77
- "@krivega/eslint-config": "^1.0.7",
77
+ "@krivega/eslint-config": "^1.0.9",
78
78
  "@types/debug": "^4.1.12",
79
79
  "@types/dom-mediacapture-transform": "^0.1.11",
80
80
  "@types/jest": "^30.0.0",
@@ -84,14 +84,14 @@
84
84
  "jest-environment-jsdom": "^30.2.0",
85
85
  "jest-extended": "^6.0.0",
86
86
  "jest-junit": "^16.0.0",
87
- "lint-staged": "^16.2.4",
87
+ "lint-staged": "^16.2.5",
88
88
  "prettier": "^3.6.2",
89
89
  "standard-version": "^9.5.0",
90
90
  "ts-jest": "^29.4.5",
91
91
  "ts-node": "^10.9.2",
92
92
  "tsc-files": "^1.1.4",
93
93
  "typescript": "^5.9.3",
94
- "vite": "^7.1.10",
94
+ "vite": "^7.1.11",
95
95
  "vite-plugin-dts": "^4.5.4",
96
96
  "vite-tsconfig-paths": "^5.1.4"
97
97
  },