gatsby-plugin-newrelic 2.10.2 → 2.10.3

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.
@@ -124,7 +124,7 @@ var _default = exports["default"] = function _default(_ref, pluginOptions) {
124
124
  var ajaxInitString = ajax !== null && ajax !== void 0 && ajax.deny_list ? "ajax:{deny_list:" + JSON.stringify(ajax === null || ajax === void 0 ? void 0 : ajax.deny_list) + "}," : "";
125
125
  init = sessionReplayInitString || distributedTracingInitString || privacyInitString || ajaxInitString ? ";window.NREUM||(NREUM={});NREUM.init={" + sessionReplayInitString + distributedTracingInitString + privacyInitString + ajaxInitString + "};" : "";
126
126
  }
127
- var configs = "\n ;NREUM.loader_config={accountID:\"" + options.accountId + "\",trustKey:\"" + options.trustKey + "\",agentID:\"" + options.agentID + "\",licenseKey:\"" + options.licenseKey + "\",applicationID:\"" + options.applicationID + "\"}\n ;NREUM.info={beacon:\"" + options.beacon + "\",errorBeacon:\"" + options.errorBeacon + "\",licenseKey:\"" + options.licenseKey + "\",applicationID:\"" + options.applicationID + "\",sa:1}\n ";
127
+ var configs = "\n ;window.NREUM||(NREUM={});NREUM.loader_config={accountID:\"" + options.accountId + "\",trustKey:\"" + options.trustKey + "\",agentID:\"" + options.agentID + "\",licenseKey:\"" + options.licenseKey + "\",applicationID:\"" + options.applicationID + "\"}\n ;NREUM.info={beacon:\"" + options.beacon + "\",errorBeacon:\"" + options.errorBeacon + "\",licenseKey:\"" + options.licenseKey + "\",applicationID:\"" + options.applicationID + "\",sa:1}\n ";
128
128
  if (configs && loaderType) {
129
129
  setHeadComponents([/*#__PURE__*/_react["default"].createElement("script", {
130
130
  key: "nr-init",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-plugin-newrelic",
3
- "version": "2.10.2",
3
+ "version": "2.10.3",
4
4
  "description": "Gatsby plugin for implementing the New Relic Browser agent",
5
5
  "main": "index.js",
6
6
  "scripts": {