Socket
Socket
Sign inDemoInstall

@dynatrace/dtrum-api-types

Package Overview
Dependencies
Maintainers
8
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynatrace/dtrum-api-types - npm Package Compare versions

Comparing version 1.223.5 to 1.225.8

3

dtrum.d.ts

@@ -221,3 +221,4 @@ /**

* @param actionId ID of the action to leave. must be the value returned by enterAction
* @param stopTime Timestamp in milliseconds
* @param stopTime Timestamp in milliseconds.
* Note that, when providing a stop time, it will force stop the action and prevent visually complete from extending it.
* @param startTime Optional start time in milliseconds (necessary if start time should be modified).

@@ -224,0 +225,0 @@ * Note that, when providing a start time, it mustn't be longer than an hour in the past, otherwise the

{
"name": "@dynatrace/dtrum-api-types",
"version": "1.223.5",
"version": "1.225.8",
"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.223.5
Version: 1.225.8

@@ -11,6 +11,11 @@ ## Installation

## Configuration
Make sure to add these paths to `"typeRoots"` in tsconfig.json under `"compilerOptions"`
```
"typeRoots": ["./node_modules/@types", "./node_modules/@dynatrace/"],
```
## Usage examples
Type inference works out of the box for dtrum calls.
```
import "@dynatrace/dtrum-api-types";
if (window.dtrum) {

@@ -23,4 +28,4 @@ window.dtrum.identifyUser("exampleId");

In case some specific types or enums are needed, you can import them from `dtrum` types library.
```
import "@dynatrace/dtrum-api-types";
import { ResourceSummaryTypes } from '@dynatrace/dtrum-api-types';

@@ -33,2 +38,2 @@

}
```
```
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