Socket
Socket
Sign inDemoInstall

@dynatrace/dtrum-api-types

Package Overview
Dependencies
Maintainers
3
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.259.4 to 1.261.2

2

package.json
{
"name": "@dynatrace/dtrum-api-types",
"version": "1.259.4",
"version": "1.261.2",
"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.259.4
Version: 1.261.2

@@ -29,6 +29,15 @@ ## Installation

```
import { ResourceSummaryTypes } from '@dynatrace/dtrum-api-types';
import { ActionNameResult } from '@dynatrace/dtrum-api-types';
if (window.dtrum) {
window.dtrum.startThirdParty(ResourceSummaryTypes.IMAGES, "..../img.jpg");
const result = window.dtrum.actionName("exampleName");
switch(result) {
case ActionNameResult.SUCCESS:
// handle success...
break;
case ActionNameResult.ACTION_NOT_FOUND:
// handle action not found...
break;
//etc...
}
} else {

@@ -35,0 +44,0 @@ // handle missing dtrum api

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