Skip to content

Commit

Permalink
Release 2.26.3 (#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
waltjones committed Feb 15, 2024
1 parent 29e1c72 commit 12ca850
Show file tree
Hide file tree
Showing 23 changed files with 63 additions and 38 deletions.
15 changes: 11 additions & 4 deletions sdks/rollbar.js/dist/rollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -4688,7 +4688,7 @@ module.exports = {


module.exports = {
version: '2.26.2',
version: '2.26.3',
endpoint: 'api.rollbar.com/api/1/item/',
logLevel: 'debug',
reportLevel: 'debug',
Expand Down Expand Up @@ -5140,7 +5140,9 @@ Instrumenter.prototype.instrumentNetwork = function() {
var xhrp = this._window.XMLHttpRequest.prototype;
replace(xhrp, 'open', function(orig) {
return function(method, url) {
if (_.isType(url, 'string')) {
var isUrlObject = _isUrlObject(url)
if (_.isType(url, 'string') || isUrlObject) {
url = isUrlObject ? url.toString() : url;
if (this.__rollbar_xhr) {
this.__rollbar_xhr.method = method;
this.__rollbar_xhr.url = url;
Expand Down Expand Up @@ -5303,8 +5305,9 @@ Instrumenter.prototype.instrumentNetwork = function() {
var input = args[0];
var method = 'GET';
var url;
if (_.isType(input, 'string')) {
url = input;
var isUrlObject = _isUrlObject(input)
if (_.isType(input, 'string') || isUrlObject) {
url = isUrlObject ? input.toString() : input;
} else if (input) {
url = input.url;
if (input.method) {
Expand Down Expand Up @@ -5731,6 +5734,10 @@ Instrumenter.prototype.removeListeners = function(section) {
}
};

function _isUrlObject(input) {
return typeof URL !== 'undefined' && input instanceof URL
}

module.exports = Instrumenter;


Expand Down
2 changes: 1 addition & 1 deletion sdks/rollbar.js/dist/rollbar.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdks/rollbar.js/dist/rollbar.min.js

Large diffs are not rendered by default.

15 changes: 11 additions & 4 deletions sdks/rollbar.js/dist/rollbar.named-amd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdks/rollbar.js/dist/rollbar.named-amd.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions sdks/rollbar.js/dist/rollbar.named-amd.min.js

Large diffs are not rendered by default.

15 changes: 11 additions & 4 deletions sdks/rollbar.js/dist/rollbar.noconflict.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdks/rollbar.js/dist/rollbar.noconflict.umd.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions sdks/rollbar.js/dist/rollbar.noconflict.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdks/rollbar.js/dist/rollbar.snippet.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 12ca850

Please sign in to comment.