@bugsnag/plugin-react-native-client-sync
Advanced tools
Comparing version 7.16.0 to 7.16.1
const { DeviceEventEmitter, NativeEventEmitter, NativeModules, Platform } = require('react-native') | ||
const derecursify = require('@bugsnag/core/lib/derecursify') | ||
@@ -10,3 +11,3 @@ module.exports = (NativeClient) => ({ | ||
// property is incorrectly named "name" | ||
NativeClient.leaveBreadcrumb({ ...breadcrumb }) | ||
NativeClient.leaveBreadcrumb(derecursify(breadcrumb)) | ||
}, true) | ||
@@ -32,5 +33,5 @@ | ||
if (typeof key === 'object') { | ||
NativeClient.addMetadata(section, key) | ||
NativeClient.addMetadata(section, derecursify(key)) | ||
} else { | ||
NativeClient.addMetadata(section, { [key]: value }) | ||
NativeClient.addMetadata(section, { [key]: derecursify(value) }) | ||
} | ||
@@ -37,0 +38,0 @@ return ret |
{ | ||
"name": "@bugsnag/plugin-react-native-client-sync", | ||
"version": "7.16.0", | ||
"version": "7.16.1", | ||
"main": "client-sync.js", | ||
@@ -20,3 +20,3 @@ "description": "@bugsnag/react-native plugin to sync information between JS and native layer", | ||
"devDependencies": { | ||
"@bugsnag/core": "^7.16.0" | ||
"@bugsnag/core": "^7.16.1" | ||
}, | ||
@@ -26,3 +26,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "15164a6fd606169f481f8105f5f7f2e8c1d57714" | ||
"gitHead": "33aca34a83c88b8e213aad8e94bfd99ccb3a68a4" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5964
104