newrelic 13.3.0 → 13.3.1
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/NEWS.md +6 -0
- package/lib/serverless/api-gateway.js +1 -1
- package/lib/transaction/index.js +1 -0
- package/package.json +1 -1
package/NEWS.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
### v13.3.1 (2025-09-09)
|
|
2
|
+
|
|
3
|
+
#### Bug fixes
|
|
4
|
+
|
|
5
|
+
* Default `requestParameters` to an object to avoid crash in `transaction.addRequestParameters` ([#3361](https://github.com/newrelic/node-newrelic/pull/3361)) ([ecd0d1d](https://github.com/newrelic/node-newrelic/commit/ecd0d1db70f9e9b3011af08ffe99ea3d6d56def9))
|
|
6
|
+
|
|
1
7
|
### v13.3.0 (2025-09-08)
|
|
2
8
|
|
|
3
9
|
#### Features
|
|
@@ -62,7 +62,7 @@ function normalizeQueryStringParameters(event) {
|
|
|
62
62
|
!event.multiValueQueryStringParameters ||
|
|
63
63
|
Object.keys(event.multiValueQueryStringParameters).length === 0
|
|
64
64
|
) {
|
|
65
|
-
return event.queryStringParameters
|
|
65
|
+
return event.queryStringParameters ?? {}
|
|
66
66
|
}
|
|
67
67
|
return Object.fromEntries(
|
|
68
68
|
Object.entries(event.multiValueQueryStringParameters).map(([param, value]) => {
|
package/lib/transaction/index.js
CHANGED
|
@@ -1452,6 +1452,7 @@ Transaction.prototype.addRequestParameters = addRequestParameters
|
|
|
1452
1452
|
* @param {Object<string, string>} requestParameters of the request object
|
|
1453
1453
|
*/
|
|
1454
1454
|
function addRequestParameters(requestParameters) {
|
|
1455
|
+
requestParameters ??= {}
|
|
1455
1456
|
for (const [key, value] of Object.entries(requestParameters)) {
|
|
1456
1457
|
this.trace.attributes.addAttribute(
|
|
1457
1458
|
DESTS.NONE,
|