@messagebird/client
Advanced tools
Comparing version 1.0.0-next-rc.9 to 1.0.0-next-rc.10
@@ -0,1 +1,8 @@ | ||
# [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) | ||
### Bug Fixes | ||
* rc version bump ([53e3a9c](https://git.messagebird.io/frontend/javascript-webrtc-sdk/commit/53e3a9c989cb2504e5cb9dbb7fb0bf3b9df4fba8)) | ||
# [1.0.0-next-rc.8](https://git.messagebird.io/frontend/javascript-webrtc-sdk/compare/v1.0.0-next-rc.7...v1.0.0-next-rc.8) (2020-05-13) | ||
@@ -2,0 +9,0 @@ |
@@ -81,3 +81,3 @@ 'use strict'; | ||
function getSDKVersionHeader() { | ||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "53e3a9c9" ; | ||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "66ca3de5" ; | ||
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] : "53e3a9c9" || 'HEAD'; | ||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "66ca3de5" || '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] : "53e3a9c9" ; | ||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "66ca3de5" ; | ||
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-next-rc.9", | ||
"version": "1.0.0-next-rc.10", | ||
"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
474225