@openreplay/tracker 18.1.2 → 19.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,3 +80,4 @@ export declare function Redux(action: string, state: string, duration: number, a
80
80
  export declare function SetPageLocation(url: string, referrer: string, navigationStart: number, documentTitle: string): Messages.SetPageLocation;
81
81
  export declare function GraphQL(operationKind: string, operationName: string, variables: string, response: string, duration: number): Messages.GraphQL;
82
82
  export declare function WebVitals(name: string, value: string): Messages.WebVitals;
83
+ export declare function IssueEvent(messageID: number, timestamp: number, type: string, contextString: string, context: string, payload: string, url: string): Messages.IssueEvent;
@@ -78,7 +78,8 @@ export declare const enum Type {
78
78
  Redux = 121,
79
79
  SetPageLocation = 122,
80
80
  GraphQL = 123,
81
- WebVitals = 124
81
+ WebVitals = 124,
82
+ IssueEvent = 125
82
83
  }
83
84
  export type Timestamp = [
84
85
  Type.Timestamp,
@@ -577,8 +578,18 @@ export type WebVitals = [
577
578
  string,
578
579
  string
579
580
  ];
581
+ export type IssueEvent = [
582
+ Type.IssueEvent,
583
+ number,
584
+ number,
585
+ string,
586
+ string,
587
+ string,
588
+ string,
589
+ string
590
+ ];
580
591
  export declare const ASSET_MESSAGES: ReadonlySet<number>;
581
592
  export declare const DEVTOOLS_MESSAGES: ReadonlySet<number>;
582
593
  export declare const ANALYTICS_MESSAGES: ReadonlySet<number>;
583
- type Message = Timestamp | SetPageLocationDeprecated | SetViewportSize | SetViewportScroll | CreateDocument | CreateElementNode | CreateTextNode | MoveNode | RemoveNode | SetNodeAttribute | RemoveNodeAttribute | SetNodeData | SetNodeScroll | SetInputTarget | SetInputValue | SetInputChecked | MouseMove | NetworkRequestDeprecated | ConsoleLog | PageLoadTiming | PageRenderTiming | CustomEvent | UserID | UserAnonymousID | Metadata | StringDictGlobal | SetNodeAttributeDictGlobal | NodeAnimationResult | Profiler | OTable | StateAction | ReduxDeprecated | Vuex | MobX | NgRx | GraphQLDeprecated | PerformanceTrack | StringDictDeprecated | SetNodeAttributeDictDeprecated | StringDict | SetNodeAttributeDict | ResourceTimingDeprecatedDeprecated | ConnectionInformation | SetPageVisibility | LoadFontFace | SetNodeFocus | SetNodeAttributeURLBased | SetCSSDataURLBased | TechnicalInfo | CustomIssue | SetNodeSlot | MouseClick | MouseClickDeprecated | CreateIFrameDocument | AdoptedSSReplaceURLBased | AdoptedSSInsertRuleURLBased | AdoptedSSDeleteRule | AdoptedSSAddOwner | AdoptedSSRemoveOwner | JSException | Zustand | BatchMetadata | NetworkRequest | WSChannel | ResourceTiming | Incident | LongAnimationTask | InputChange | SelectionChange | MouseThrashing | UnbindNodes | ResourceTimingDeprecated | TabChange | TabData | CanvasNode | TagTrigger | Redux | SetPageLocation | GraphQL | WebVitals;
594
+ type Message = Timestamp | SetPageLocationDeprecated | SetViewportSize | SetViewportScroll | CreateDocument | CreateElementNode | CreateTextNode | MoveNode | RemoveNode | SetNodeAttribute | RemoveNodeAttribute | SetNodeData | SetNodeScroll | SetInputTarget | SetInputValue | SetInputChecked | MouseMove | NetworkRequestDeprecated | ConsoleLog | PageLoadTiming | PageRenderTiming | CustomEvent | UserID | UserAnonymousID | Metadata | StringDictGlobal | SetNodeAttributeDictGlobal | NodeAnimationResult | Profiler | OTable | StateAction | ReduxDeprecated | Vuex | MobX | NgRx | GraphQLDeprecated | PerformanceTrack | StringDictDeprecated | SetNodeAttributeDictDeprecated | StringDict | SetNodeAttributeDict | ResourceTimingDeprecatedDeprecated | ConnectionInformation | SetPageVisibility | LoadFontFace | SetNodeFocus | SetNodeAttributeURLBased | SetCSSDataURLBased | TechnicalInfo | CustomIssue | SetNodeSlot | MouseClick | MouseClickDeprecated | CreateIFrameDocument | AdoptedSSReplaceURLBased | AdoptedSSInsertRuleURLBased | AdoptedSSDeleteRule | AdoptedSSAddOwner | AdoptedSSRemoveOwner | JSException | Zustand | BatchMetadata | NetworkRequest | WSChannel | ResourceTiming | Incident | LongAnimationTask | InputChange | SelectionChange | MouseThrashing | UnbindNodes | ResourceTimingDeprecated | TabChange | TabData | CanvasNode | TagTrigger | Redux | SetPageLocation | GraphQL | WebVitals | IssueEvent;
584
595
  export default Message;
@@ -80,3 +80,4 @@ export declare function Redux(action: string, state: string, duration: number, a
80
80
  export declare function SetPageLocation(url: string, referrer: string, navigationStart: number, documentTitle: string): Messages.SetPageLocation;
81
81
  export declare function GraphQL(operationKind: string, operationName: string, variables: string, response: string, duration: number): Messages.GraphQL;
82
82
  export declare function WebVitals(name: string, value: string): Messages.WebVitals;
83
+ export declare function IssueEvent(messageID: number, timestamp: number, type: string, contextString: string, context: string, payload: string, url: string): Messages.IssueEvent;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openreplay/tracker",
3
3
  "description": "The OpenReplay tracker main package",
4
- "version": "18.1.2",
4
+ "version": "19.0.0-beta.0",
5
5
  "keywords": [
6
6
  "logging",
7
7
  "replay"
@@ -47,7 +47,7 @@
47
47
  "test": "jest --coverage=false",
48
48
  "test:ci": "jest --coverage=true",
49
49
  "postversion": "bun run build",
50
- "prepublishOnly": "bun run test && bun run build"
50
+ "prepublishOnly": "bun run build"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@babel/core": "^7.29.0",