@bugsnag/plugin-react-native-unhandled-rejection
Advanced tools
Comparing version 7.0.0-alpha.1 to 7.0.0-alpha.4
{ | ||
"name": "@bugsnag/plugin-react-native-unhandled-rejection", | ||
"version": "7.0.0-alpha.1", | ||
"version": "7.0.0-alpha.4", | ||
"main": "rejection-handler.js", | ||
@@ -23,3 +23,3 @@ "description": "@bugsnag/js plugin to report unhandled promise rejections in React Native", | ||
"devDependencies": { | ||
"@bugsnag/core": "^7.0.0-alpha.1", | ||
"@bugsnag/core": "^7.0.0-alpha.4", | ||
"jasmine": "3.1.0", | ||
@@ -29,3 +29,3 @@ "nyc": "^12.0.2", | ||
}, | ||
"gitHead": "55453140c2572284f8b34e3c2b8a8fec1e69c36e" | ||
"gitHead": "10003e19b3f07b388a4af3c1e645b36f0bc22432" | ||
} |
@@ -9,3 +9,3 @@ /* | ||
init: (client) => { | ||
if (!client._config.autoDetectErrors || !client._config.autoDetectUnhandledRejections) return () => {} | ||
if (!client._config.autoDetectErrors || !client._config.enabledErrorTypes.unhandledRejections) return () => {} | ||
rnPromise.enable({ | ||
@@ -12,0 +12,0 @@ allRejections: true, |
2790