sip-connector 14.1.0-alpha.3 → 14.1.0-alpha.4

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.
@@ -4,3 +4,4 @@ export { EEvent as ECallEvent, Originator } from './eventNames';
4
4
  export type { TEvent as TCallEvent, TEvents as TCallEvents } from './eventNames';
5
5
  export { default as hasCanceledCallError } from './hasCanceledCallError';
6
6
  export { MCUCallStrategy } from './MCUCallStrategy';
7
+ export type { TCustomError } from './types';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { EUseLicense } from './ApiManager';
2
2
  export { ECallCause, hasCanceledCallError } from './CallManager';
3
+ export type { TCustomError } from './CallManager';
3
4
  export { debug, disableDebug, enableDebug } from './logger';
4
5
  export { hasCanceledStartPresentationError } from './PresentationManager';
5
6
  export { default as setParametersToSender } from './setParametersToSender';
@@ -1,3 +1,3 @@
1
- import { TCustomError } from '../../types';
1
+ import { TCustomError } from '../../CallManager';
2
2
  declare const getLinkError: (error: TCustomError) => string | undefined;
3
3
  export default getLinkError;
@@ -1,4 +1,4 @@
1
- import { TCustomError } from '../../types';
1
+ import { TCustomError } from '../../CallManager';
2
2
  export declare enum EErrorTypes {
3
3
  CONNECT_SERVER_FAILED = "CONNECT_SERVER_FAILED",
4
4
  WRONG_USER_OR_PASSWORD = "WRONG_USER_OR_PASSWORD",
@@ -1,4 +1,4 @@
1
- import { TCustomError } from '../../types';
1
+ import { TCustomError } from '../../CallManager';
2
2
  export type TValues = {
3
3
  code: string;
4
4
  cause: string;
package/dist/types.d.ts CHANGED
@@ -1,14 +1,4 @@
1
1
  import { UA, WebSocketInterface } from '@krivega/jssip';
2
- import { Originator } from './CallManager';
3
- export type TCustomError = Error & {
4
- originator?: Originator;
5
- cause?: unknown;
6
- message: unknown;
7
- _ws?: unknown;
8
- socket?: unknown;
9
- url?: string;
10
- code?: string;
11
- };
12
2
  export type TJsSIP = {
13
3
  UA: typeof UA;
14
4
  WebSocketInterface: typeof WebSocketInterface;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sip-connector",
3
- "version": "14.1.0-alpha.3",
3
+ "version": "14.1.0-alpha.4",
4
4
  "description": "Module for connect to Vinteo server",
5
5
  "keywords": [
6
6
  "webrtc",