@salesforce/lds-utils-adapters 1.170.0 → 1.171.0

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.
@@ -252,10 +252,7 @@ function runAdapterWithReport(adapterName, adapter, adapterConfig, requestContex
252
252
  },
253
253
  };
254
254
  const bindObserverToAdapterRequestContext = (requestContext) => {
255
- let requestContextWithInstrumentationObserver = requestContext;
256
- if (requestContextWithInstrumentationObserver === undefined) {
257
- requestContextWithInstrumentationObserver = { eventObservers: [] };
258
- }
255
+ let requestContextWithInstrumentationObserver = { ...requestContext };
259
256
  if (requestContextWithInstrumentationObserver.eventObservers === undefined) {
260
257
  requestContextWithInstrumentationObserver.eventObservers = [];
261
258
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-utils-adapters",
3
- "version": "1.170.0",
3
+ "version": "1.171.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS Adapter Utilities",
6
6
  "main": "dist/ldsAdapterUtils.js",