Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

highlight.run

Package Overview
Dependencies
Maintainers
1
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highlight.run - npm Package Compare versions

Comparing version 8.12.1 to 8.12.2

dist/index-CgJuuLmF.js

6

CHANGELOG.md
# highlight.run
## 8.12.2
### Patch Changes
- 8899ee039: report additional metadata on error boundary exceptions
## 8.12.1

@@ -4,0 +10,0 @@

12

dist/client/src/index.d.ts

@@ -12,3 +12,3 @@ import { eventWithTime, listenerHandler } from '@rrweb/types';

import { HighlightFetchWindow } from './listeners/network-listener/utils/fetch-listener';
import { ConsoleMessage } from './types/shared-types';
import { ConsoleMessage, ErrorMessageType } from './types/shared-types';
import { RequestResponsePair } from './listeners/network-listener/utils/models';

@@ -103,4 +103,10 @@ export declare const HighlightWarning: (context: string, msg: any) => void;

identify(user_identifier: string, user_object?: {}, source?: Source): void;
pushCustomError(message: string, payload?: string): Promise<void>;
consumeCustomError(error: Error, message?: string, payload?: string): Promise<void>;
pushCustomError(message: string, payload?: string): void;
consumeCustomError(error: Error, message?: string, payload?: string): void;
consumeError(error: Error, { message, payload, source, type, }: {
message?: string;
payload?: object;
source?: string;
type?: ErrorMessageType;
}): void;
addProperties(properties_obj?: {}, typeArg?: PropertyType): void;

@@ -107,0 +113,0 @@ initialize(options?: StartOptions): Promise<undefined>;

@@ -9,5 +9,6 @@ import StackTrace from 'stacktrace-js';

};
export type ErrorMessageType = 'console.error' | 'window.onerror' | 'window.onunhandledrejection' | 'custom' | 'React.ErrorBoundary';
export type ErrorMessage = {
event: string;
type: 'console.error' | 'window.onerror' | 'window.onunhandledrejection' | 'custom';
type: ErrorMessageType;
url: string;

@@ -14,0 +15,0 @@ source: string;

import { ConsoleMethods, DebugOptions, IntegrationOptions, NetworkRecordingOptions, SessionShortcutOptions } from './client.js';
import { ErrorMessageType } from './shared-types';
export declare interface Metadata {

@@ -250,2 +251,13 @@ [key: string]: string | boolean | number;

}) => void;
/**
* Calling this method will report an error in Highlight
* while allowing additional attributes to be sent over as metadata.
* @see {consumeError} for more information.
*/
consume: (error: Error, opts: {
message?: string;
payload?: object;
source?: string;
type?: ErrorMessageType;
}) => void;
getSessionURL: () => Promise<string>;

@@ -252,0 +264,0 @@ getSessionDetails: () => Promise<SessionDetails>;

@@ -1,2 +0,2 @@

declare const _default: "8.12.1";
declare const _default: "8.12.2";
export default _default;

@@ -1,2 +0,2 @@

import { H as i, a as r, M as t, b as a } from "./index-BUCVSdq-.js";
import { H as i, a as r, M as t, b as a } from "./index-CgJuuLmF.js";
export {

@@ -3,0 +3,0 @@ i as H,

{
"name": "highlight.run",
"version": "8.12.1",
"version": "8.12.2",
"description": "Open source, fullstack monitoring. Capture frontend errors, record server side logs, and visualize what broke with session replay.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc