highlight.run
Advanced tools
Comparing version 9.2.1 to 9.3.0
# highlight.run | ||
## 9.3.0 | ||
### Minor Changes | ||
- 0a8a9ffdc: add cookie session persistence | ||
### Patch Changes | ||
- 0a8a9ffdc: update otel webjs network span naming | ||
## 9.2.1 | ||
@@ -4,0 +14,0 @@ |
@@ -45,2 +45,3 @@ import { eventWithTime, listenerHandler } from '@rrweb/types'; | ||
storageMode?: 'sessionStorage' | 'localStorage'; | ||
skipCookieSessionDataLoad?: true; | ||
sendMode?: 'webworker' | 'local'; | ||
@@ -47,0 +48,0 @@ enableOtelTracing?: HighlightOptions['enableOtelTracing']; |
@@ -217,2 +217,8 @@ import type { Context, Span, SpanOptions } from '@opentelemetry/api'; | ||
/** | ||
* Set `skipCookieSessionDataLoad` to bypass retrieval | ||
* of session context from server side cookies, which otherwise | ||
* would continue a session started server side. | ||
*/ | ||
skipCookieSessionDataLoad?: true; | ||
/** | ||
* By default, data is serialized and send by the Web Worker. Set to `local` to force | ||
@@ -219,0 +225,0 @@ * sending from the main js thread. Only use `local` for custom environments where Web Workers |
@@ -14,1 +14,2 @@ export type SessionData = { | ||
export declare const setSessionData: (sessionData?: SessionData) => void; | ||
export declare const loadCookieSessionData: () => void; |
type Mode = 'localStorage' | 'sessionStorage'; | ||
export declare class CookieStorage { | ||
getItem(key: string): string; | ||
setItem(key: string, value: string): void; | ||
removeItem(key: string): void; | ||
} | ||
export declare const cookieStorage: CookieStorage; | ||
export declare const setStorageMode: (m: Mode) => void; | ||
export declare const setCookieWriteEnabled: (enabled: boolean) => void; | ||
export declare const getItem: (key: string) => string | null; | ||
@@ -4,0 +11,0 @@ export declare const setItem: (key: string, value: string) => void; |
@@ -1,2 +0,2 @@ | ||
import { y as i, z as r, A as t, B as a } from "./index-B90b5_aE.js"; | ||
import { z as i, A as r, B as t, C as a } from "./index-CT8CTZhR.js"; | ||
export { | ||
@@ -3,0 +3,0 @@ i as H, |
{ | ||
"name": "highlight.run", | ||
"version": "9.2.1", | ||
"version": "9.3.0", | ||
"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
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
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
7504867
27198