@salesforce/lds-instrumentation 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.
@@ -91,7 +91,7 @@ var FragmentReadResultState;
91
91
  ({
92
92
  state: FragmentReadResultState.Missing,
93
93
  });
94
- // engine version: 0.143.8-3a44af99
94
+ // engine version: 0.143.9-ea734f23
95
95
 
96
96
  const DurableEnvironmentEventDiscriminator = 'durable';
97
97
  function isDurableEnvironmentEvent(event) {
@@ -350,10 +350,7 @@ function runAdapterWithReport(adapterName, adapter, adapterConfig, requestContex
350
350
  },
351
351
  };
352
352
  const bindObserverToAdapterRequestContext = (requestContext) => {
353
- let requestContextWithInstrumentationObserver = requestContext;
354
- if (requestContextWithInstrumentationObserver === undefined) {
355
- requestContextWithInstrumentationObserver = { eventObservers: [] };
356
- }
353
+ let requestContextWithInstrumentationObserver = { ...requestContext };
357
354
  if (requestContextWithInstrumentationObserver.eventObservers === undefined) {
358
355
  requestContextWithInstrumentationObserver.eventObservers = [];
359
356
  }
@@ -1454,4 +1451,4 @@ function setStoreEventObservers(store) {
1454
1451
  const instrumentation = new Instrumentation();
1455
1452
 
1456
1453
  export { Instrumentation, LRUCache, metricKeys as METRIC_KEYS, handleIngestedNewData, handleOnDataOutOfTtlDurationUpdate, incrementCounterMetric, incrementGetRecordNormalInvokeCount, incrementGetRecordNotifyChangeAllowCount, incrementGetRecordNotifyChangeDropCount, incrementNotifyRecordUpdateAvailableAllowCount, incrementNotifyRecordUpdateAvailableDropCount, instrumentAdapter, instrumentLuvio, instrumentMethods, instrumentStoreMethods, instrumentation, setInstrumentationHooks, setLdsAdaptersUiapiInstrumentation, setLdsNetworkAdapterInstrumentation, setStoreEventObservers, setupInstrumentation, startAdapterActivity, updatePercentileHistogramMetric };
1457
- // version: 1.170.0-6d09e766b
1454
+ // version: 1.171.0-2b2365b14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-instrumentation",
3
- "version": "1.170.0",
3
+ "version": "1.171.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Instrumentation utils for Lightning Data Service",
6
6
  "main": "dist/ldsInstrumentation.js",