@salesforce/lds-instrumentation 1.158.0 → 1.158.2
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.
|
|
94
|
+
// engine version: 0.143.4-64dccb30
|
|
95
95
|
|
|
96
96
|
const DurableEnvironmentEventDiscriminator = 'durable';
|
|
97
97
|
function isDurableEnvironmentEvent(event) {
|
|
@@ -358,11 +358,12 @@ function runAdapterWithReport(adapterName, adapter, adapterConfig, requestContex
|
|
|
358
358
|
requestContextWithInstrumentationObserver.eventObservers = [];
|
|
359
359
|
}
|
|
360
360
|
requestContextWithInstrumentationObserver.eventObservers.push(metricsEventObserver);
|
|
361
|
+
return requestContextWithInstrumentationObserver;
|
|
361
362
|
};
|
|
362
363
|
adapterStart = Date.now();
|
|
363
364
|
try {
|
|
364
|
-
bindObserverToAdapterRequestContext(requestContext);
|
|
365
|
-
const adapterResult = adapter(adapterConfig,
|
|
365
|
+
const normalizedRequestContext = bindObserverToAdapterRequestContext(requestContext);
|
|
366
|
+
const adapterResult = adapter(adapterConfig, normalizedRequestContext);
|
|
366
367
|
if (isPromise$1(adapterResult)) {
|
|
367
368
|
adapterResult
|
|
368
369
|
.then((snapshot) => {
|
|
@@ -1453,4 +1454,4 @@ function setStoreEventObservers(store) {
|
|
|
1453
1454
|
const instrumentation = new Instrumentation();
|
|
1454
1455
|
|
|
1455
1456
|
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 };
|
|
1456
|
-
// version: 1.158.
|
|
1457
|
+
// version: 1.158.2-6b3522c4a
|
package/package.json
CHANGED