@dynatrace/dtrum-api-types
Advanced tools
Comparing version 1.225.8 to 1.227.14
@@ -36,3 +36,3 @@ /** | ||
export type PageLeaveListener = (unloadRunning: boolean) => void; | ||
type PageLeaveListener = (unloadRunning: boolean) => void; | ||
@@ -190,6 +190,5 @@ export type AllowedMapTypes = Date | string | number; | ||
* @param sourceUrl Source url for the action | ||
* @param sourceTitle Source title for the action | ||
* @returns ID of the created action | ||
*/ | ||
"enterAction"(actionName: string, actionType: string, startTime?: number, sourceUrl?: string, sourceTitle?: string): number; | ||
"enterAction"(actionName: string, actionType: string, startTime?: number, sourceUrl?: string): number; | ||
/** | ||
@@ -286,3 +285,3 @@ * Attaches a listener that gets called while entering an action <br /> | ||
*/ | ||
reportError(error: Error, parentActionId?: number): void; | ||
reportError(error: Error | string, parentActionId?: number): void; | ||
/** | ||
@@ -331,3 +330,3 @@ * Sets the {@link https://www.dynatrace.com/support/help/shortlink/user-tagging#user-tagging-via-javascript-api | user tag}. | ||
* @see {@link endUserInput} | ||
* @param domNode DOM node which triggered the action (button, etc) is used for determining its caption | ||
* @param domNode DOM node which triggered the action (button, etc) or a string is used for determining its caption | ||
* @param type Type of action: 'click', 'keypress', 'scroll',... | ||
@@ -338,3 +337,3 @@ * @param addInfo Additional info for user input such as key, mouse button, etc ('F5', 'RETURN',...) | ||
*/ | ||
beginUserInput(domNode: HTMLElement, type: string, addInfo: string, validTime?: number): DtRumUserInput; | ||
beginUserInput(domNode: HTMLElement | string, type: string, addInfo?: string, validTime?: number): DtRumUserInput; | ||
/** | ||
@@ -341,0 +340,0 @@ * Ends a user input. |
{ | ||
"name": "@dynatrace/dtrum-api-types", | ||
"version": "1.225.8", | ||
"version": "1.227.14", | ||
"description": "Typescript types for Dynatrace jsagents dtrum api.", | ||
@@ -5,0 +5,0 @@ "main": "", |
@@ -5,3 +5,3 @@ # Dynatrace Dtrum Api Types | ||
Keep in mind that when the javascript agent is updated, this type package might not provide accurate types. | ||
Version: 1.225.8 | ||
Version: 1.227.14 | ||
@@ -8,0 +8,0 @@ ## Installation |
29440
543