@messagebird/client
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,38 @@ | ||
# [1.0.1](https://git.messagebird.io/frontend/javascript-webrtc-sdk/compare/v0.15.1...v1.0.0) (2020-06-29) | ||
### Bug Fixes | ||
* message is an optional property ([ddb1829](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/ddb1829d4ddb51b42a716c393c43aa98d21ee0e7)) | ||
# [1.0.0-next-rc.10](https://git.messagebird.io/frontend/javascript-webrtc-sdk/compare/v1.0.0-next-rc.9...v1.0.0-next-rc.10) (2020-06-29) | ||
### Bug Fixes | ||
* aadd error handling for setSinkId support ([10ddc4b](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/10ddc4b2f12de9079d608c79053395c197d96bd7)) | ||
* inconsistencies ([0aedbd1](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/0aedbd16b7cf39144241fe6f19e12328843ebbf3)) | ||
* make sure to not send unlimited priorReports ([c671b45](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/c671b45ccc115ff5285b7896ff3180d76d813019)) | ||
* rc version bump ([53e3a9c](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/53e3a9c989cb2504e5cb9dbb7fb0bf3b9df4fba8)) | ||
* registration event firing twice ([46a5d32](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/46a5d32f1a8c6033fcf03d9786ae5bc7d70f68bf)) | ||
* release on different channel ([3651aec](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/3651aecc71439d01f5cdc3c72cbbc8643686d10b)) | ||
* remove console.log ([6cb3e4d](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/6cb3e4db2c4f006fafaa1c4ad04563f8e55af5b6)) | ||
* rename callError to SessionError ([e887cc0](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/e887cc0b90e7fcec24e3e8af1a2ae2cdfbfacefa)) | ||
* tweak releaserc ([62cb7b5](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/62cb7b538178ec427a56857db9517dfb95a371fa)) | ||
* typo in CallStatus enum value ([4b77b9c](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/4b77b9cb7bb97e9df32167201bcc2b4df5b96cbb)) | ||
* use fake timers ([7c44229](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/7c442298d9d622e11b607a7df81c07d0c64049d0)) | ||
### Features | ||
* add v1 of JWT refresh ([04f6f1e](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/04f6f1e13bc0640d5b11c9419a4e85c882948076)) | ||
* output source setter property ([32038c5](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/32038c54bb307f7e02590e7ba7ace76ccdb55641)) | ||
* prevent unlimited reconnection retries ([35e61de](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/35e61de5b7374d28fe4f8f450cbd9fe50c044c65)) | ||
* refactor public API ([b211a4e](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/b211a4ef3969f4dd2628b4bb74e5a7978f557913)) | ||
* retry with delay ([5bfbaee](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/5bfbaee8793779fddcb8ac8d577041d1e820e2aa)) | ||
### BREAKING CHANGES | ||
* mutedChange was renamed to muted | ||
* Most things have been renamed. See documentation | ||
# [1.0.0-next-rc.9](https://git.messagebird.io/frontend/javascript-webrtc-sdk/compare/v1.0.0-next-rc.8...v1.0.0-next-rc.9) (2020-05-18) | ||
@@ -2,0 +39,0 @@ |
@@ -81,3 +81,3 @@ 'use strict'; | ||
function getSDKVersionHeader() { | ||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "c27f9c90" ; | ||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "50e7c341" ; | ||
return "SDK-Version: ".concat(version); | ||
@@ -1448,3 +1448,3 @@ } | ||
_defineProperty(this, "handleFailed", function (data) { | ||
var _data$message; // No need to retry if it was a bad request. | ||
var _data$message, _data$message2; // No need to retry if it was a bad request. | ||
@@ -1456,3 +1456,3 @@ | ||
var warningMessage = data.message.getHeader(IncomingMessageHeaders.Warning); | ||
var warningMessage = (_data$message2 = data.message) === null || _data$message2 === void 0 ? void 0 : _data$message2.getHeader(IncomingMessageHeaders.Warning); | ||
var shouldRetry = warningMessage === FailureCauses.InvalidSDPDescriptor && _this.connectionAttempt < 3; | ||
@@ -1459,0 +1459,0 @@ |
@@ -19,3 +19,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
export function getSDKVersionHeader() { | ||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "c27f9c90" || 'HEAD'; | ||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "50e7c341" || 'HEAD'; | ||
return "SDK-Version: ".concat(version); | ||
@@ -22,0 +22,0 @@ } |
@@ -30,3 +30,3 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray"; | ||
_defineProperty(this, "handleFailed", function (data) { | ||
var _data$message; | ||
var _data$message, _data$message2; | ||
@@ -38,3 +38,3 @@ // No need to retry if it was a bad request. | ||
var warningMessage = data.message.getHeader(IncomingMessageHeaders.Warning); | ||
var warningMessage = (_data$message2 = data.message) === null || _data$message2 === void 0 ? void 0 : _data$message2.getHeader(IncomingMessageHeaders.Warning); | ||
var shouldRetry = warningMessage === FailureCauses.InvalidSDPDescriptor && _this.connectionAttempt < 3; | ||
@@ -41,0 +41,0 @@ |
@@ -45,3 +45,3 @@ import { UA, WebSocketInterface, debug } from 'jssip'; | ||
function getSDKVersionHeader() { | ||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "c27f9c90" ; | ||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "50e7c341" ; | ||
return "SDK-Version: ".concat(version); | ||
@@ -1420,3 +1420,3 @@ } | ||
_defineProperty(this, "handleFailed", function (data) { | ||
var _data$message; | ||
var _data$message, _data$message2; | ||
@@ -1428,3 +1428,3 @@ // No need to retry if it was a bad request. | ||
var warningMessage = data.message.getHeader(IncomingMessageHeaders.Warning); | ||
var warningMessage = (_data$message2 = data.message) === null || _data$message2 === void 0 ? void 0 : _data$message2.getHeader(IncomingMessageHeaders.Warning); | ||
var shouldRetry = warningMessage === FailureCauses.InvalidSDPDescriptor && _this.connectionAttempt < 3; | ||
@@ -1431,0 +1431,0 @@ |
{ | ||
"name": "@messagebird/client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "UNLICENSED", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
477130