@dynatrace/rum-javascript-sdk 1.343.7 → 1.345.2
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.
- package/dist/api/compat/agent-api-versions.d.ts +91 -0
- package/dist/api/compat/agent-api-versions.js +81 -0
- package/dist/api/index.d.ts +20 -0
- package/dist/api/index.js +57 -6
- package/dist/api/promises/index.d.ts +12 -0
- package/dist/api/promises/index.js +16 -1
- package/dist/api/promises/user-actions.d.ts +4 -1
- package/dist/api/promises/user-actions.js +5 -2
- package/dist/api/promises/wait-for-agent.js +26 -1
- package/dist/api/user-actions.d.ts +4 -1
- package/dist/api/user-actions.js +5 -2
- package/dist/types/api/dynatrace-api-types.d.ts +55 -3
- package/dist/types/api/dynatrace-api-types.js +1 -1
- package/dist/types/internal/feature-hashes.d.ts +1 -0
- package/dist/types/internal/feature-hashes.js +2 -1
- package/dist/types/rum-events/open-fields.d.ts +8 -1
- package/dist/types/rum-events/open-fields.js +14 -2
- package/dist/types/rum-events/rum-event-keys.d.ts +3 -0
- package/dist/types/rum-events/rum-event-keys.js +4 -1
- package/dist/types/rum-events/rum-internal-selfmonitoring-event.d.ts +5 -1
- package/dist/types/rum-events/rum-internal-selfmonitoring-event.js +5 -1
- package/dist/types/rum-events/rum-new-user-event.d.ts +0 -1
- package/dist/types/rum-events/rum-new-user-event.js +1 -1
- package/dist/types/rum-events/rum-standalone-csp-rule-violation-event.d.ts +0 -1
- package/dist/types/rum-events/rum-standalone-csp-rule-violation-event.js +1 -1
- package/dist/types/rum-events/rum-standalone-exception-event.d.ts +0 -1
- package/dist/types/rum-events/rum-standalone-exception-event.js +1 -1
- package/dist/types/rum-events/rum-user-action-event.d.ts +1 -1
- package/dist/types/rum-events/rum-user-action-event.js +1 -1
- package/dist/types/rum-events/rum-web-request-event.d.ts +8 -3
- package/dist/types/rum-events/rum-web-request-event.js +5 -1
- package/dist/types/rum-events/shared-namespaces-and-fields/general-rum-event-fields.d.ts +2 -1
- package/dist/types/rum-events/shared-namespaces-and-fields/general-rum-event-fields.js +1 -1
- package/dist/types/testing/snapshot-defaults.d.ts +1 -1
- package/dist/types/testing/snapshot-defaults.js +4 -2
- package/docs/1-overview.md +32 -0
- package/docs/3-useractions.md +17 -3
- package/docs/5-browser-apis.md +205 -199
- package/docs/6-standalone-health-check.md +33 -0
- package/package.json +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynatrace/rum-javascript-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.345.2",
|
|
4
4
|
"description": "JavaScript API for Real User Monitoring (RUM)",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -92,6 +92,11 @@
|
|
|
92
92
|
"import": "./dist/api/promises/index.js",
|
|
93
93
|
"default": "./dist/api/promises/index.js"
|
|
94
94
|
},
|
|
95
|
+
"./api/compat/agent-api-versions": {
|
|
96
|
+
"types": "./dist/api/compat/agent-api-versions.d.ts",
|
|
97
|
+
"import": "./dist/api/compat/agent-api-versions.js",
|
|
98
|
+
"default": "./dist/api/compat/agent-api-versions.js"
|
|
99
|
+
},
|
|
95
100
|
"./internal": {
|
|
96
101
|
"types": "./dist/types/internal/index.d.ts",
|
|
97
102
|
"import": "./dist/types/internal/index.js",
|
|
@@ -165,7 +170,8 @@
|
|
|
165
170
|
"scripts": {
|
|
166
171
|
"build:lib": "tsc -b tsconfig.build.json",
|
|
167
172
|
"test": "vitest --run --no-color --coverage",
|
|
168
|
-
"lint": "eslint \"source/**/*.ts\" \"./*.{ts,js,mjs}\"",
|
|
173
|
+
"lint": "eslint \"source/**/*.ts\" \"./*.{ts,js,mjs}\" && echo No Lint-Problems found",
|
|
174
|
+
"lint:ci": "eslint \"source/**/*.ts\" \"./*.{ts,js,mjs}\" -f json -o dist/eslint-report.json && echo No Lint-Problems found",
|
|
169
175
|
"lint:fix": "eslint \"source/**/*.ts\" \"./*.{ts,js,mjs}\" --fix && echo No Lint-Problems found",
|
|
170
176
|
"//": "Note: these 2 scripts below are only for local builds. The CI build in build.groovy needs to be updated as well if there are any changes",
|
|
171
177
|
"doc:api-gen3-internal": "typedoc --treatWarningsAsErrors --options ./typedoc-gen3-internal.api.json --tsconfig ./tsconfig-gen3.apidoc.json",
|