Skip to content

Commit

Permalink
Rename response property to responseBody. Updated versions and change…
Browse files Browse the repository at this point in the history
…log.
  • Loading branch information
MattByers committed Nov 25, 2024
1 parent 305d910 commit 4bb8e67
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-->

## [3.1.3]

### Changed
- Updated RUM XHR events to include `requestDetails` for the `onBeforeSendRUM` handler. Request details include `url` (including query parameters), `method`, `body` and `responseBody`. These details are stripped from the payload before it's sent to Raygun's servers.

## [3.1.2]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "raygun4js",
"version": "3.1.2",
"version": "3.1.3",
"homepage": "http://raygun.com",
"authors": [
"Mindscape <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"title": "Raygun4js",
"description": "Raygun.com plugin for JavaScript",
"version": "3.1.2",
"version": "3.1.3",
"homepage": "https://github.com/MindscapeHQ/raygun4js",
"author": {
"name": "MindscapeHQ",
Expand Down
2 changes: 1 addition & 1 deletion raygun4js.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>raygun4js</id>
<version>3.1.2</version>
<version>3.1.3</version>
<title>Raygun4js</title>
<authors>Raygun Limited</authors>
<owners>Raygun Limited</owners>
Expand Down
2 changes: 1 addition & 1 deletion src/raygun.rum/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ var raygunRumFactory = function (window, $, Raygun) {
url: xhrStatus.request.requestURL,
method: xhrStatus.request.method,
body: xhrStatus.request.body,
response: xhrStatus.response.body
responseBody: xhrStatus.response.body
};

log('found status for timing', timingData.statusCode);
Expand Down

0 comments on commit 4bb8e67

Please sign in to comment.