sip-connector 14.1.1 → 14.1.2-1

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 (97) hide show
  1. package/dist/SipConnector-CZwqeStw.cjs +1 -0
  2. package/dist/SipConnector-DfaRIKWv.js +1345 -0
  3. package/dist/SipConnector.d.ts +315 -0
  4. package/dist/{src/SipConnectorFacade → SipConnectorFacade}/SipConnectorFacade.d.ts +1 -1
  5. package/dist/doMock.cjs +1 -1
  6. package/dist/doMock.js +302 -298
  7. package/dist/index.cjs +1 -1
  8. package/dist/index.js +533 -522
  9. package/dist/utils/utils.d.ts +4 -0
  10. package/package.json +6 -5
  11. package/dist/SipConnector-DRjfFGAZ.js +0 -1339
  12. package/dist/SipConnector-EXAO9Z-2.cjs +0 -1
  13. package/dist/src/SipConnector.d.ts +0 -235
  14. /package/dist/{src/SipConnectorFacade → SipConnectorFacade}/index.d.ts +0 -0
  15. /package/dist/{src/__fixtures__ → __fixtures__}/BaseSession.mock.d.ts +0 -0
  16. /package/dist/{src/__fixtures__ → __fixtures__}/RTCPeerConnectionMock.d.ts +0 -0
  17. /package/dist/{src/__fixtures__ → __fixtures__}/RTCRtpSenderMock.d.ts +0 -0
  18. /package/dist/{src/__fixtures__ → __fixtures__}/RTCSessionMock.d.ts +0 -0
  19. /package/dist/{src/__fixtures__ → __fixtures__}/Registrator.mock.d.ts +0 -0
  20. /package/dist/{src/__fixtures__ → __fixtures__}/Request.mock.d.ts +0 -0
  21. /package/dist/{src/__fixtures__ → __fixtures__}/UA.mock.d.ts +0 -0
  22. /package/dist/{src/__fixtures__ → __fixtures__}/WebSocketInterface.mock.d.ts +0 -0
  23. /package/dist/{src/__fixtures__ → __fixtures__}/accountNotify.d.ts +0 -0
  24. /package/dist/{src/__fixtures__ → __fixtures__}/channels.d.ts +0 -0
  25. /package/dist/{src/__fixtures__ → __fixtures__}/channelsNotify.d.ts +0 -0
  26. /package/dist/{src/__fixtures__ → __fixtures__}/conferenceParticipantTokenIssuedNotify.d.ts +0 -0
  27. /package/dist/{src/__fixtures__ → __fixtures__}/delayPromise.d.ts +0 -0
  28. /package/dist/{src/__fixtures__ → __fixtures__}/enterRoom.d.ts +0 -0
  29. /package/dist/{src/__fixtures__ → __fixtures__}/index.d.ts +0 -0
  30. /package/dist/{src/__fixtures__ → __fixtures__}/jssip.mock.d.ts +0 -0
  31. /package/dist/{src/__fixtures__ → __fixtures__}/mediaState.d.ts +0 -0
  32. /package/dist/{src/__fixtures__ → __fixtures__}/participantMoveRequests.d.ts +0 -0
  33. /package/dist/{src/__fixtures__ → __fixtures__}/participantNotify.d.ts +0 -0
  34. /package/dist/{src/__fixtures__ → __fixtures__}/remoteCallerData.d.ts +0 -0
  35. /package/dist/{src/__fixtures__ → __fixtures__}/utils.d.ts +0 -0
  36. /package/dist/{src/__fixtures__ → __fixtures__}/webcastNotify.d.ts +0 -0
  37. /package/dist/{src/causes.d.ts → causes.d.ts} +0 -0
  38. /package/dist/{src/constants.d.ts → constants.d.ts} +0 -0
  39. /package/dist/{src/doMock.d.ts → doMock.d.ts} +0 -0
  40. /package/dist/{src/eventNames.d.ts → eventNames.d.ts} +0 -0
  41. /package/dist/{src/getExtraHeadersRemoteAddress.d.ts → getExtraHeadersRemoteAddress.d.ts} +0 -0
  42. /package/dist/{src/headers.d.ts → headers.d.ts} +0 -0
  43. /package/dist/{src/index.d.ts → index.d.ts} +0 -0
  44. /package/dist/{src/logger.d.ts → logger.d.ts} +0 -0
  45. /package/dist/{src/setParametersToSender → setParametersToSender}/configureDegradationPreference.d.ts +0 -0
  46. /package/dist/{src/setParametersToSender → setParametersToSender}/configureEmptyEncodings.d.ts +0 -0
  47. /package/dist/{src/setParametersToSender → setParametersToSender}/configureEncodings.d.ts +0 -0
  48. /package/dist/{src/setParametersToSender → setParametersToSender}/configureMaxBitrate.d.ts +0 -0
  49. /package/dist/{src/setParametersToSender → setParametersToSender}/configureScaleResolutionDownBy.d.ts +0 -0
  50. /package/dist/{src/setParametersToSender → setParametersToSender}/hasChangedRTCRtpSendParameters.d.ts +0 -0
  51. /package/dist/{src/setParametersToSender → setParametersToSender}/index.d.ts +0 -0
  52. /package/dist/{src/setParametersToSender → setParametersToSender}/resolveHasNeedToUpdateItemEncoding.d.ts +0 -0
  53. /package/dist/{src/setParametersToSender → setParametersToSender}/setParametersToSender.d.ts +0 -0
  54. /package/dist/{src/tools → tools}/__fixtures__/call.d.ts +0 -0
  55. /package/dist/{src/tools → tools}/__fixtures__/connectToServer.d.ts +0 -0
  56. /package/dist/{src/tools → tools}/__fixtures__/hasValidUri.d.ts +0 -0
  57. /package/dist/{src/tools → tools}/__fixtures__/permissions.d.ts +0 -0
  58. /package/dist/{src/tools → tools}/__fixtures__/processRequest.d.ts +0 -0
  59. /package/dist/{src/tools → tools}/__tests-utils__/parseObject.d.ts +0 -0
  60. /package/dist/{src/tools → tools}/__tests-utils__/resolveParseArray.d.ts +0 -0
  61. /package/dist/{src/tools → tools}/error/getLinkError.d.ts +0 -0
  62. /package/dist/{src/tools → tools}/error/getTypeFromError.d.ts +0 -0
  63. /package/dist/{src/tools → tools}/error/getValuesFromError.d.ts +0 -0
  64. /package/dist/{src/tools → tools}/error/index.d.ts +0 -0
  65. /package/dist/{src/tools → tools}/error/stringifyMessage.d.ts +0 -0
  66. /package/dist/{src/tools → tools}/generateSimulcastEncodings.d.ts +0 -0
  67. /package/dist/{src/tools → tools}/getExtraHeaders.d.ts +0 -0
  68. /package/dist/{src/tools → tools}/getUserAgent.d.ts +0 -0
  69. /package/dist/{src/tools → tools}/hasPurgatory.d.ts +0 -0
  70. /package/dist/{src/tools → tools}/index.d.ts +0 -0
  71. /package/dist/{src/tools → tools}/prepareMediaStream.d.ts +0 -0
  72. /package/dist/{src/tools → tools}/resolveUpdateTransceiver.d.ts +0 -0
  73. /package/dist/{src/tools → tools}/sendDTMFAccumulated.d.ts +0 -0
  74. /package/dist/{src/tools → tools}/setVideoTrackContentHints.d.ts +0 -0
  75. /package/dist/{src/tools → tools}/syncMediaState/index.d.ts +0 -0
  76. /package/dist/{src/tools → tools}/syncMediaState/resolveOnStartMainCam.d.ts +0 -0
  77. /package/dist/{src/tools → tools}/syncMediaState/resolveOnStartMic.d.ts +0 -0
  78. /package/dist/{src/tools → tools}/syncMediaState/resolveOnStopMainCam.d.ts +0 -0
  79. /package/dist/{src/tools → tools}/syncMediaState/resolveOnStopMic.d.ts +0 -0
  80. /package/dist/{src/types.d.ts → types.d.ts} +0 -0
  81. /package/dist/{src/utils → utils}/errors.d.ts +0 -0
  82. /package/dist/{src/utils → utils}/findSenderByStream.d.ts +0 -0
  83. /package/dist/{src/utils → utils}/findVideoSender.d.ts +0 -0
  84. /package/dist/{src/utils → utils}/findVideoTrack.d.ts +0 -0
  85. /package/dist/{src/utils → utils}/getCodecFromSender.d.ts +0 -0
  86. /package/dist/{src/utils → utils}/replaceForbiddenSymbolsWithUnderscore.d.ts +0 -0
  87. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/balance.d.ts +0 -0
  88. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/getMaxBitrateByWidth.d.ts +0 -0
  89. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/getMaxBitrateByWidthAndCodec.d.ts +0 -0
  90. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/hasAv1Codec.d.ts +0 -0
  91. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/hasIncludesString.d.ts +0 -0
  92. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/index.d.ts +0 -0
  93. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/processSender.d.ts +0 -0
  94. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/scaleBitrate.d.ts +0 -0
  95. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/scaleBitrateByCodec.d.ts +0 -0
  96. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/scaleResolutionAndBitrate.d.ts +0 -0
  97. /package/dist/{src/videoSendingBalancer → videoSendingBalancer}/setEncodingsToSender.d.ts +0 -0
@@ -0,0 +1,4 @@
1
+ export declare function resolveSipUrl(serverUrl: string): (string: string) => string;
2
+ export declare const parseDisplayName: (displayName: string) => string;
3
+ export declare const generateUserId: () => number;
4
+ export declare const hasVideoTracks: (remoteTracks: MediaStreamTrack[]) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sip-connector",
3
- "version": "14.1.1",
3
+ "version": "14.1.2-1",
4
4
  "description": "Module for connect to Vinteo server",
5
5
  "keywords": [
6
6
  "webrtc",
@@ -74,7 +74,7 @@
74
74
  "webrtc-mock": "^1.1.7"
75
75
  },
76
76
  "devDependencies": {
77
- "@babel/preset-typescript": "^7.27.1",
77
+ "@babel/preset-typescript": "^7.26.0",
78
78
  "@commitlint/cli": "^19.8.1",
79
79
  "@commitlint/config-conventional": "^19.8.1",
80
80
  "@eslint/compat": "^1.3.1",
@@ -93,6 +93,7 @@
93
93
  "eslint-plugin-jest": "^29.0.1",
94
94
  "eslint-plugin-prettier": "^5.5.1",
95
95
  "eslint-plugin-unicorn": "^59.0.1",
96
+ "globals": "^16.0.0",
96
97
  "husky": "^9.1.7",
97
98
  "jest": "^30.0.4",
98
99
  "jest-environment-jsdom": "^30.0.4",
@@ -104,9 +105,9 @@
104
105
  "ts-jest": "^29.4.0",
105
106
  "ts-node": "^10.9.2",
106
107
  "tsc-files": "^1.1.4",
107
- "typescript": "^5.8.3",
108
- "vite": "^7.0.4",
109
- "vite-plugin-dts": "^4.5.4",
108
+ "typescript": "^5.7.3",
109
+ "vite": "^6.1.0",
110
+ "vite-plugin-dts": "^4.5.0",
110
111
  "vite-tsconfig-paths": "^5.1.4"
111
112
  },
112
113
  "peerDependencies": {