@wazo/sdk 0.38.4 → 0.38.5

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 (50) hide show
  1. package/README.md +3 -3
  2. package/dist/wazo-sdk.js +2 -2
  3. package/esm/__tests__/web-rtc-client.test.js +8 -0
  4. package/esm/checker/Checker.js +8 -0
  5. package/esm/checker/checks/index.js +8 -0
  6. package/esm/checker/checks/webrtc-transport.js +8 -0
  7. package/esm/checker/checks/webrtc.js +8 -0
  8. package/esm/domain/__tests__/Line.test.js +5 -5
  9. package/esm/index.js +9 -2
  10. package/esm/lib/WazoSessionDescriptionHandler.js +8 -0
  11. package/esm/simple/Auth.js +9 -2
  12. package/esm/simple/Configuration.js +9 -2
  13. package/esm/simple/Phone.js +9 -2
  14. package/esm/simple/Softphone.js +1 -2
  15. package/esm/simple/index.js +9 -2
  16. package/esm/simple/room/LocalParticipant.js +9 -2
  17. package/esm/simple/room/Participant.js +9 -2
  18. package/esm/simple/room/RemoteParticipant.js +9 -2
  19. package/esm/simple/room/Room.js +9 -2
  20. package/esm/simple/room/SipRoom.js +9 -2
  21. package/esm/simple/room/Stream.js +9 -2
  22. package/esm/simple/room/__tests__/RemoteParticipant.test.js +9 -2
  23. package/esm/simple/utils.js +9 -2
  24. package/esm/web-rtc-client.js +8 -0
  25. package/lib/__tests__/web-rtc-client.test.js +8 -0
  26. package/lib/checker/Checker.js +8 -0
  27. package/lib/checker/checks/index.js +8 -0
  28. package/lib/checker/checks/webrtc-transport.js +8 -0
  29. package/lib/checker/checks/webrtc.js +8 -0
  30. package/lib/domain/__tests__/Line.test.js +5 -5
  31. package/lib/index.js +9 -2
  32. package/lib/lib/WazoSessionDescriptionHandler.js +8 -0
  33. package/lib/simple/Auth.js +9 -2
  34. package/lib/simple/Configuration.js +9 -2
  35. package/lib/simple/Phone.js +9 -2
  36. package/lib/simple/Softphone.js +1 -2
  37. package/lib/simple/index.js +9 -2
  38. package/lib/simple/room/LocalParticipant.js +9 -2
  39. package/lib/simple/room/Participant.js +9 -2
  40. package/lib/simple/room/RemoteParticipant.js +9 -2
  41. package/lib/simple/room/Room.js +9 -2
  42. package/lib/simple/room/SipRoom.js +9 -2
  43. package/lib/simple/room/Stream.js +9 -2
  44. package/lib/simple/room/__tests__/RemoteParticipant.test.js +9 -2
  45. package/lib/simple/utils.js +9 -2
  46. package/lib/web-rtc-client.js +8 -0
  47. package/package.json +1 -1
  48. package/src/domain/__tests__/Line.test.js +5 -5
  49. package/src/lib/WazoSessionDescriptionHandler.js +8 -0
  50. package/src/simple/Softphone.js +1 -2
package/README.md CHANGED
@@ -928,7 +928,7 @@ import { WazoWebSocketClient } from '@wazo/sdk';
928
928
 
929
929
  ```js
930
930
  const client = new WazoApiClient({
931
- server: 'stack.dev.wazo.io', // required string
931
+ server: 'stack.example.com', // required string
932
932
  agent: null, // http(s).Agent instance, allows custom proxy, unsecured https, certificate etc.
933
933
  clientId: null, // Set an identifier for your app when using refreshToken
934
934
  isMobile: false,
@@ -1196,7 +1196,7 @@ Use this generic method to request endpoints directly.
1196
1196
 
1197
1197
  ```js
1198
1198
  const requester = new ApiRequester({
1199
- server: 'stack.dev.wazo.io', // Engine server
1199
+ server: 'stack.example.com', // Engine server
1200
1200
  refreshTokenCallback: () => {}, // Called when the token is refreshed
1201
1201
  clientId: 'my-id', // ClientId used for refreshToken
1202
1202
  agent: null, // http(s).Agent instance, allows custom proxy, unsecured https, certificate etc.
@@ -1218,7 +1218,7 @@ const session = await client.auth.logIn({ ... }); // log in
1218
1218
 
1219
1219
  const client = new WazoWebRTCClient({
1220
1220
  displayName: 'From WEB',
1221
- host: 'stack.dev.wazo.io',
1221
+ host: 'stack.example.com',
1222
1222
  websocketSip: 'other.url.com', // Allows to connect throught another URL than host (default to `host` is not set).
1223
1223
  media: {
1224
1224
  audio: boolean,