@backtrace-labs/browser
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -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; |
{ | ||
"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
916495
5482
358
+ Added@backtrace-labs/sdk-core@0.0.4(transitive)
- Removed@backtrace-labs/sdk-core@0.0.3(transitive)