@salesforce/lds-instrumentation 1.131.0-dev11 → 1.131.0-dev12
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.
|
@@ -882,6 +882,13 @@ function logAdapterRequestError(context) {
|
|
|
882
882
|
missing_links: keys(context.missingLinks),
|
|
883
883
|
});
|
|
884
884
|
}
|
|
885
|
+
/**
|
|
886
|
+
* W-13639107
|
|
887
|
+
* Logs when object info has changed
|
|
888
|
+
*/
|
|
889
|
+
function logObjectInfoChanged() {
|
|
890
|
+
ldsInstrumentation.log('objectInfoChanged');
|
|
891
|
+
}
|
|
885
892
|
/**
|
|
886
893
|
* Increment the counter based on the cache policy type for an adapter call
|
|
887
894
|
*
|
|
@@ -1452,5 +1459,5 @@ function setStoreEventObservers(store) {
|
|
|
1452
1459
|
}
|
|
1453
1460
|
const instrumentation = new Instrumentation();
|
|
1454
1461
|
|
|
1455
|
-
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.131.0-
|
|
1462
|
+
export { Instrumentation, LRUCache, metricKeys as METRIC_KEYS, handleIngestedNewData, handleOnDataOutOfTtlDurationUpdate, incrementCounterMetric, incrementGetRecordNormalInvokeCount, incrementGetRecordNotifyChangeAllowCount, incrementGetRecordNotifyChangeDropCount, incrementNotifyRecordUpdateAvailableAllowCount, incrementNotifyRecordUpdateAvailableDropCount, instrumentAdapter, instrumentLuvio, instrumentMethods, instrumentStoreMethods, instrumentation, logObjectInfoChanged, setInstrumentationHooks, setLdsAdaptersUiapiInstrumentation, setLdsNetworkAdapterInstrumentation, setStoreEventObservers, setupInstrumentation, startAdapterActivity, updatePercentileHistogramMetric };
|
|
1463
|
+
// version: 1.131.0-dev12-f6948e56d
|
package/dist/types/main.d.ts
CHANGED
|
@@ -24,6 +24,11 @@ export declare class Instrumentation {
|
|
|
24
24
|
* @param context The transaction context.
|
|
25
25
|
*/
|
|
26
26
|
export declare function instrumentLuvio(context: unknown): void;
|
|
27
|
+
/**
|
|
28
|
+
* W-13639107
|
|
29
|
+
* Logs when object info has changed
|
|
30
|
+
*/
|
|
31
|
+
export declare function logObjectInfoChanged(): void;
|
|
27
32
|
export type ReportObserver = (report: AdapterReport) => void;
|
|
28
33
|
interface AdapterInstrumentationOptions {
|
|
29
34
|
trackL1Hits: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-instrumentation",
|
|
3
|
-
"version": "1.131.0-
|
|
3
|
+
"version": "1.131.0-dev12",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Instrumentation utils for Lightning Data Service",
|
|
6
6
|
"main": "dist/ldsInstrumentation.js",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-instrumentation"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@salesforce/lds-bindings": "1.131.0-
|
|
37
|
-
"@salesforce/lds-default-luvio": "1.131.0-
|
|
38
|
-
"@salesforce/lds-utils-adapters": "1.131.0-
|
|
36
|
+
"@salesforce/lds-bindings": "1.131.0-dev12",
|
|
37
|
+
"@salesforce/lds-default-luvio": "1.131.0-dev12",
|
|
38
|
+
"@salesforce/lds-utils-adapters": "1.131.0-dev12",
|
|
39
39
|
"o11y": "244.0.0",
|
|
40
40
|
"o11y_schema": "244.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@salesforce/lds-adapters-uiapi": "1.131.0-
|
|
44
|
-
"@salesforce/lds-network-adapter": "1.131.0-
|
|
43
|
+
"@salesforce/lds-adapters-uiapi": "1.131.0-dev12",
|
|
44
|
+
"@salesforce/lds-network-adapter": "1.131.0-dev12"
|
|
45
45
|
},
|
|
46
46
|
"luvioBundlesize": [
|
|
47
47
|
{
|