You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@bugsnag/core

Package Overview
Dependencies
Maintainers
9
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bugsnag/core - npm Package Compare versions

Comparing version

to
8.2.0

5

client.js

@@ -124,2 +124,7 @@ const config = require('./config')

// sendPayloadChecksums is false by default unless custom endpoints are not specified
if (!opts.endpoints) {
opts.sendPayloadChecksums = 'sendPayloadChecksums' in opts ? opts.sendPayloadChecksums : true
}
// accumulate configuration and error messages

@@ -126,0 +131,0 @@ const { errors, config } = reduce(keys(schema), (accum, key) => {

@@ -176,3 +176,8 @@ const filter = require('./lib/es-utils/filter')

validate: value => value === true || value === false
},
sendPayloadChecksums: {
defaultValue: () => false,
message: 'should be true|false',
validate: value => value === true || value === false
}
}

4

package.json
{
"name": "@bugsnag/core",
"main": "index.js",
"version": "8.1.1",
"version": "8.2.0",
"types": "types/index.d.ts",

@@ -29,3 +29,3 @@ "description": "Core classes and utilities for Bugsnag notifiers",

},
"gitHead": "356951be414dad92f72e170f7c5e0b603c9dfd0e"
"gitHead": "3f43b058ebf90c87b71e76b771950a0214130d64"
}

@@ -55,3 +55,3 @@ import Breadcrumb from './breadcrumb'

public getUser(): User;
public setUser(id?: string, email?: string, name?: string): void;
public setUser(id?: string | null, email?: string | null, name?: string | null): void;

@@ -58,0 +58,0 @@ // sessions

@@ -32,2 +32,3 @@ import Client from './client'

reportUnhandledPromiseRejectionsAsHandled?: boolean
sendPayloadChecksums?: boolean
}

@@ -34,0 +35,0 @@