@newrelic/browser-agent 1.322.0-rc.2 → 1.322.0-rc.4

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/README.md CHANGED
@@ -142,6 +142,27 @@ const options = {
142
142
  }
143
143
  ```
144
144
 
145
+ ## AJAX deny list
146
+
147
+ The browser agent can be configured to exclude specific domains or paths from `AjaxRequest` event tracking using the `ajax.deny_list` setting in the `init` configuration.
148
+
149
+ ```javascript
150
+ const options = {
151
+ info: { ... },
152
+ loader_config: { ... },
153
+ init: {
154
+ ajax: {
155
+ deny_list: ["mywebsite.com/photos"]
156
+ },
157
+ ...
158
+ }
159
+ }
160
+ ```
161
+
162
+ <b>Important:</b> Updating the deny list via the app settings page or NerdGraph only updates the `NREUM.init` configuration shown in the copy/paste snippet on the app's *Application settings* page. It doesn't take effect automatically for an agent installed via NPM. If you configure the deny list using one of those methods, you must manually copy over the updated configuration, then rebuild and redeploy your application for the change to take effect.
163
+
164
+ See [Configure AjaxRequest events](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/configure-ajax-request-events/) for more information.
165
+
145
166
  ## Options Parameter
146
167
 
147
168
  The `options` parameter used, or passed in, when instantiating the `BrowserAgent` class can include the following arguments:
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.RRWEB_PACKAGE_NAME = exports.D
17
17
  /**
18
18
  * Exposes the version of the agent
19
19
  */
20
- const VERSION = exports.VERSION = "1.322.0-rc.2";
20
+ const VERSION = exports.VERSION = "1.322.0-rc.4";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.RRWEB_PACKAGE_NAME = exports.D
17
17
  /**
18
18
  * Exposes the version of the agent
19
19
  */
20
- const VERSION = exports.VERSION = "1.322.0-rc.2";
20
+ const VERSION = exports.VERSION = "1.322.0-rc.4";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.322.0-rc.2";
14
+ export const VERSION = "1.322.0-rc.4";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.322.0-rc.2";
14
+ export const VERSION = "1.322.0-rc.4";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/browser-agent",
3
- "version": "1.322.0-rc.2",
3
+ "version": "1.322.0-rc.4",
4
4
  "private": false,
5
5
  "author": "New Relic Browser Agent Team <browser-agent@newrelic.com>",
6
6
  "description": "New Relic Browser Agent",