aws-rum-web
Advanced tools
Comparing version 1.17.0 to 1.17.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.17.1](https://github.com/aws-observability/aws-rum-web/compare/v1.17.0...v1.17.1) (2024-02-26) | ||
### Bug Fixes | ||
* Allow title override in page attributes ([#508](https://github.com/aws-observability/aws-rum-web/issues/508)) ([f2195c6](https://github.com/aws-observability/aws-rum-web/commit/f2195c601f394592705d91215796065d60a7fd76)) | ||
## [1.17.0]((https://github.com/aws-observability/aws-rum-web/compare/v1.16.0...v1.17.0)) (2024-02-01) | ||
@@ -7,0 +14,0 @@ |
@@ -19,3 +19,3 @@ "use strict"; | ||
var EventBus_1 = require("../event-bus/EventBus"); | ||
var webClientVersion = '1.17.0'; | ||
var webClientVersion = '1.17.1'; | ||
/** | ||
@@ -22,0 +22,0 @@ * A cache which stores events generated by telemetry plugins. |
@@ -12,3 +12,2 @@ import { Config } from '../orchestration/Orchestration'; | ||
export declare type Attributes = { | ||
title: string; | ||
pageId: string; | ||
@@ -15,0 +14,0 @@ parentPageId?: string; |
@@ -129,4 +129,7 @@ "use strict"; | ||
PageManager.prototype.collectAttributes = function (page, customPageAttributes) { | ||
var _a; | ||
this.attributes = { | ||
title: document.title, | ||
title: ((_a = customPageAttributes === null || customPageAttributes === void 0 ? void 0 : customPageAttributes.pageAttributes) === null || _a === void 0 ? void 0 : _a.title) | ||
? customPageAttributes.pageAttributes.title | ||
: document.title, | ||
pageId: page.pageId | ||
@@ -133,0 +136,0 @@ }; |
@@ -16,3 +16,3 @@ var __assign = (this && this.__assign) || function () { | ||
import EventBus, { Topic } from '../event-bus/EventBus'; | ||
var webClientVersion = '1.17.0'; | ||
var webClientVersion = '1.17.1'; | ||
/** | ||
@@ -19,0 +19,0 @@ * A cache which stores events generated by telemetry plugins. |
@@ -12,3 +12,2 @@ import { Config } from '../orchestration/Orchestration'; | ||
export declare type Attributes = { | ||
title: string; | ||
pageId: string; | ||
@@ -15,0 +14,0 @@ parentPageId?: string; |
@@ -126,4 +126,7 @@ var __assign = (this && this.__assign) || function () { | ||
PageManager.prototype.collectAttributes = function (page, customPageAttributes) { | ||
var _a; | ||
this.attributes = { | ||
title: document.title, | ||
title: ((_a = customPageAttributes === null || customPageAttributes === void 0 ? void 0 : customPageAttributes.pageAttributes) === null || _a === void 0 ? void 0 : _a.title) | ||
? customPageAttributes.pageAttributes.title | ||
: document.title, | ||
pageId: page.pageId | ||
@@ -130,0 +133,0 @@ }; |
@@ -12,3 +12,2 @@ import { Config } from '../orchestration/Orchestration'; | ||
export declare type Attributes = { | ||
title: string; | ||
pageId: string; | ||
@@ -15,0 +14,0 @@ parentPageId?: string; |
{ | ||
"name": "aws-rum-web", | ||
"version": "1.17.0", | ||
"version": "1.17.1", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "description": "The Amazon CloudWatch RUM web client.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1356427
16766