Socket
Socket
Sign inDemoInstall

@backtrace-labs/browser

Package Overview
Dependencies
2
Maintainers
7
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

1

lib/BacktraceClient.d.ts

@@ -6,3 +6,2 @@ import { BacktraceAttributeProvider, BacktraceCoreClient, BacktraceRequestHandler, BacktraceSessionProvider, BacktraceStackTraceConverter, BreadcrumbsEventSubscriber, SdkOptions } from '@backtrace-labs/sdk-core';

private readonly _disposeController;
protected static _instance?: BacktraceClient;
constructor(options: BacktraceConfiguration, requestHandler: BacktraceRequestHandler, attributeProviders: BacktraceAttributeProvider[], stackTraceConverter: BacktraceStackTraceConverter, breadcrumbsEventSubscriber: BreadcrumbsEventSubscriber[], sessionProvider?: BacktraceSessionProvider, sdkOptions?: SdkOptions);

@@ -9,0 +8,0 @@ static builder(options: BacktraceConfiguration): BacktraceClientBuilder;

4

package.json
{
"name": "@backtrace-labs/browser",
"version": "0.0.3",
"version": "0.0.4",
"description": "Backtrace-JavaScript web browser integration",

@@ -52,5 +52,5 @@ "main": "lib/index.js",

"dependencies": {
"@backtrace-labs/sdk-core": "^0.0.3",
"@backtrace-labs/sdk-core": "^0.0.4",
"ua-parser-js": "^1.0.35"
}
}

@@ -197,3 +197,3 @@ # **Backtrace Browser SDK**

// Later decide to add an attachment to all reports
client.attachments.push(attachment2)
client.addAttachment(attachment2)

@@ -349,2 +349,3 @@ // After catching an exception and generating a report

| `addAttribute(attributes: Record<string, unknown>)` | void | Add attributes to the BacktraceClient reports |
| `addAttachment(attachment: BacktraceAttachment)` | void | Add an attachment to the BacktraceClient reports |
| `initialize(options: BacktraceClientOptions)` | BacktraceClient | Initializes a new BacktraceClient (returns the same instance on subsequent calls) |

@@ -351,0 +352,0 @@ | `builder(options: BacktraceClientOptions).build()` | BacktraceClient | (Advanced) Sets up a new BacktraceClient for reporting |

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc