Skip to content

Commit 4bb8e67

Browse files
committed
Rename response property to responseBody. Updated versions and changelog.
1 parent 305d910 commit 4bb8e67

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2929
3030
-->
3131

32+
## [3.1.3]
33+
34+
### Changed
35+
- 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.
36+
3237
## [3.1.2]
3338

3439
### Changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raygun4js",
3-
"version": "3.1.2",
3+
"version": "3.1.3",
44
"homepage": "http://raygun.com",
55
"authors": [
66
"Mindscape <[email protected]>"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"title": "Raygun4js",
99
"description": "Raygun.com plugin for JavaScript",
10-
"version": "3.1.2",
10+
"version": "3.1.3",
1111
"homepage": "https://github.com/MindscapeHQ/raygun4js",
1212
"author": {
1313
"name": "MindscapeHQ",

raygun4js.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>raygun4js</id>
5-
<version>3.1.2</version>
5+
<version>3.1.3</version>
66
<title>Raygun4js</title>
77
<authors>Raygun Limited</authors>
88
<owners>Raygun Limited</owners>

src/raygun.rum/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ var raygunRumFactory = function (window, $, Raygun) {
742742
url: xhrStatus.request.requestURL,
743743
method: xhrStatus.request.method,
744744
body: xhrStatus.request.body,
745-
response: xhrStatus.response.body
745+
responseBody: xhrStatus.response.body
746746
};
747747

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

0 commit comments

Comments
 (0)