@bugsnag/delivery-x-domain-request
Advanced tools
Comparing version 7.19.0 to 8.0.0-alpha.0
@@ -5,2 +5,7 @@ const payload = require('@bugsnag/core/lib/json-payload') | ||
sendEvent: (event, cb = () => {}) => { | ||
if (client._config.endpoints.notify === null) { | ||
const err = new Error('Event not sent due to incomplete endpoint configuration') | ||
return cb(err) | ||
} | ||
const url = getApiUrl(client._config, 'notify', '4', win) | ||
@@ -32,2 +37,7 @@ const body = payload.event(event, client._config.redactedKeys) | ||
sendSession: (session, cb = () => {}) => { | ||
if (client._config.endpoints.sessions === null) { | ||
const err = new Error('Session not sent due to incomplete endpoint configuration') | ||
return cb(err) | ||
} | ||
const url = getApiUrl(client._config, 'sessions', '1', win) | ||
@@ -34,0 +44,0 @@ const req = new win.XDomainRequest() |
{ | ||
"name": "@bugsnag/delivery-x-domain-request", | ||
"version": "7.19.0", | ||
"version": "8.0.0-alpha.0", | ||
"main": "delivery.js", | ||
@@ -20,3 +20,3 @@ "description": "@bugsnag/js delivery mechanism for IE 8, 9 and 10", | ||
"devDependencies": { | ||
"@bugsnag/core": "^7.19.0" | ||
"@bugsnag/core": "^8.0.0-alpha.0" | ||
}, | ||
@@ -26,3 +26,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "95d2c3dd978e7dc5a6fda5664cfa9cf437b03b76" | ||
"gitHead": "82e2b730b6228deaebcfe512a2fce3ce7d4dee1b" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4443
64
1