highlight.run
Advanced tools
Comparing version 8.12.3 to 8.13.0
# highlight.run | ||
## 8.13.0 | ||
### Minor Changes | ||
- 8905154ff: make browser sdk more robust to avoid broken sessions | ||
## 8.12.4 | ||
### Patch Changes | ||
- 2a90db809: improve dev reliability of browser fetch patch | ||
- 2a90db809: record more attributes as part of captured frontend network requests | ||
## 8.12.3 | ||
@@ -4,0 +17,0 @@ |
import { eventWithTime, listenerHandler } from '@rrweb/types'; | ||
import { FirstLoadListeners } from './listeners/first-load-listeners'; | ||
import { AmplitudeIntegrationOptions, ConsoleMethods, DebugOptions, MetricCategory, MixpanelIntegrationOptions, NetworkRecordingOptions, SessionShortcutOptions } from './types/client'; | ||
import { HighlightOptions, HighlightPublicInterface, Integration, Metadata, Metric, SamplingStrategy, SessionDetails, StartOptions, PrivacySettingOption } from './types/types'; | ||
import { HighlightOptions, HighlightPublicInterface, Integration, Metadata, Metric, PrivacySettingOption, SamplingStrategy, SessionDetails, StartOptions } from './types/types'; | ||
import { PushPayloadMutationVariables, Sdk } from './graph/generated/operations'; | ||
@@ -154,4 +154,3 @@ import { GenerateSecureID } from './utils/secure-id'; | ||
addCustomEvent<T>(tag: string, payload: T): void; | ||
_sendPayload({ isBeacon, sendFn, }: { | ||
isBeacon: boolean; | ||
_sendPayload({ sendFn, }: { | ||
sendFn?: (payload: PushPayloadMutationVariables) => Promise<number>; | ||
@@ -158,0 +157,0 @@ }): Promise<void>; |
@@ -7,3 +7,3 @@ import { NetworkListenerCallback } from '../network-listener'; | ||
} | ||
export declare const FetchListener: (callback: NetworkListenerCallback, backendUrl: string, tracingOrigins: boolean | (string | RegExp)[], urlBlocklist: string[], sessionSecureID: string, bodyKeysToRedact?: string[], bodyKeysToRecord?: string[]) => () => void; | ||
export declare const FetchListener: (callback: NetworkListenerCallback, backendUrl: string, tracingOrigins: boolean | (string | RegExp)[], urlBlocklist: string[], bodyKeysToRedact?: string[], bodyKeysToRecord?: string[]) => () => void; | ||
export declare const getFetchRequestProperties: (input: RequestInfo | URL, init?: RequestInit) => { | ||
@@ -10,0 +10,0 @@ method: string; |
@@ -5,2 +5,3 @@ export interface Headers { | ||
export interface Request { | ||
sessionSecureID: string; | ||
id: string; | ||
@@ -7,0 +8,0 @@ url: string; |
@@ -15,4 +15,4 @@ import { RequestResponsePair } from './models'; | ||
export declare const shouldNetworkRequestBeTraced: (url: string, tracingOrigins?: boolean | (string | RegExp)[]) => boolean; | ||
export declare const createNetworkRequestId: () => string; | ||
export declare const createNetworkRequestId: () => string[]; | ||
export declare const getHighlightRequestHeader: (sessionSecureID: string, requestId: string) => string; | ||
export {}; |
@@ -6,5 +6,5 @@ import { NetworkListenerCallback } from '../network-listener'; | ||
*/ | ||
export declare const XHRListener: (callback: NetworkListenerCallback, backendUrl: string, tracingOrigins: boolean | (string | RegExp)[], urlBlocklist: string[], sessionSecureID: string, bodyKeysToRedact?: string[], bodyKeysToRecord?: string[]) => () => void; | ||
export declare const XHRListener: (callback: NetworkListenerCallback, backendUrl: string, tracingOrigins: boolean | (string | RegExp)[], urlBlocklist: string[], bodyKeysToRedact?: string[], bodyKeysToRecord?: string[]) => () => void; | ||
export declare const getBodyThatShouldBeRecorded: (bodyData: any, bodyKeysToRedact?: string[], bodyKeysToRecord?: string[], headers?: Headers | { | ||
[key: string]: string; | ||
} | undefined) => any; |
@@ -267,3 +267,3 @@ import { ConsoleMethods, DebugOptions, IntegrationOptions, NetworkRecordingOptions, SessionShortcutOptions } from './client.js'; | ||
stop: (options?: StartOptions) => void; | ||
onHighlightReady: (func: () => void | Promise<void>, options?: OnHighlightReadyOptions) => Promise<void>; | ||
onHighlightReady: (func: () => void | Promise<void>, options?: OnHighlightReadyOptions) => void; | ||
getRecordingState: () => 'NotRecording' | 'Recording'; | ||
@@ -270,0 +270,0 @@ options: HighlightOptions | undefined; |
@@ -1,4 +0,4 @@ | ||
export declare const MAX_PUBLIC_GRAPH_RETRY_ATTEMPTS = 5; | ||
export declare const MAX_PUBLIC_GRAPH_RETRY_ATTEMPTS = 10; | ||
export declare const BASE_DELAY_MS = 1000; | ||
export declare const BACKOFF_DELAY_MS = 500; | ||
export declare const getGraphQLRequestWrapper: (sessionSecureID: string) => <T>(requestFn: () => Promise<T>, operationName: string, operationType?: string, retries?: number) => Promise<T>; | ||
export declare const getGraphQLRequestWrapper: (sessionSecureID: string) => <T>(requestFn: () => Promise<T>, operationName: string, operationType?: string, variables?: any, retries?: number) => Promise<T>; |
@@ -10,1 +10,4 @@ export type SessionData = { | ||
export declare const getPreviousSessionData: () => SessionData | undefined; | ||
export declare const setSessionData: (sessionData: SessionData | null) => void; | ||
export declare const getSessionSecureID: () => string; | ||
export declare const setSessionSecureID: (sessionSecureID: string) => void; |
@@ -28,3 +28,2 @@ import { eventWithTime } from '@rrweb/types'; | ||
id: number; | ||
isBeacon: boolean; | ||
hasSessionUnloaded: boolean; | ||
@@ -31,0 +30,0 @@ highlightLogs: string; |
@@ -1,2 +0,2 @@ | ||
declare const _default: "8.12.3"; | ||
declare const _default: "8.13.0"; | ||
export default _default; |
@@ -1,2 +0,2 @@ | ||
import { H as i, a as r, M as t, b as a } from "./index-C3F-4xPv.js"; | ||
import { H as i, a as r, M as t, b as a } from "./index-DZf_NV3o.js"; | ||
export { | ||
@@ -3,0 +3,0 @@ i as H, |
{ | ||
"name": "highlight.run", | ||
"version": "8.12.3", | ||
"version": "8.13.0", | ||
"description": "Open source, fullstack monitoring. Capture frontend errors, record server side logs, and visualize what broke with session replay.", | ||
@@ -62,3 +62,3 @@ "keywords": [ | ||
"@types/chrome": "^0.0.263", | ||
"@vitest/web-worker": "^1.4.0", | ||
"@vitest/web-worker": "^1.6.0", | ||
"npm-run-all": "^4.1.5", | ||
@@ -70,3 +70,3 @@ "readdirp": "^3.6.0", | ||
"vite": "^5.2.7", | ||
"vitest": "^1.4.0" | ||
"vitest": "^1.6.0" | ||
}, | ||
@@ -73,0 +73,0 @@ "size-limit": [ |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
67
11948
2632102