@salesforce/lds-instrumentation 1.412.1 → 1.414.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.
|
@@ -938,6 +938,9 @@ function logAdapterRequestError(context) {
|
|
|
938
938
|
function logObjectInfoChanged() {
|
|
939
939
|
ldsInstrumentation.log('objectInfoChanged');
|
|
940
940
|
}
|
|
941
|
+
function logMessage(message) {
|
|
942
|
+
ldsInstrumentation.log(message);
|
|
943
|
+
}
|
|
941
944
|
/**
|
|
942
945
|
* Increment the counter based on the cache policy type for an adapter call
|
|
943
946
|
*
|
|
@@ -1578,5 +1581,5 @@ function onIdleDetected(callback) {
|
|
|
1578
1581
|
}
|
|
1579
1582
|
const instrumentation = new Instrumentation();
|
|
1580
1583
|
|
|
1581
|
-
export { Instrumentation, LRUCache, metricKeys as METRIC_KEYS, executeAsyncActivity, handleIngestedNewData, handleOnDataOutOfTtlDurationUpdate, incrementCounterMetric, incrementGetRecordNormalInvokeCount, incrementGetRecordNotifyChangeAllowCount, incrementGetRecordNotifyChangeDropCount, incrementNotifyRecordUpdateAvailableAllowCount, incrementNotifyRecordUpdateAvailableDropCount, incrementStateCreatedCount, instrumentAdapter, instrumentLuvio, instrumentMethods, instrumentStoreMethods, instrumentation, logError, logObjectInfoChanged, onIdleDetected, setInstrumentationHooks, setLdsAdaptersUiapiInstrumentation, setLdsNetworkAdapterInstrumentation, setStoreEventObservers, setupInstrumentation, startAdapterActivity, updatePercentileHistogramMetric };
|
|
1582
|
-
// version: 1.
|
|
1584
|
+
export { Instrumentation, LRUCache, metricKeys as METRIC_KEYS, executeAsyncActivity, handleIngestedNewData, handleOnDataOutOfTtlDurationUpdate, incrementCounterMetric, incrementGetRecordNormalInvokeCount, incrementGetRecordNotifyChangeAllowCount, incrementGetRecordNotifyChangeDropCount, incrementNotifyRecordUpdateAvailableAllowCount, incrementNotifyRecordUpdateAvailableDropCount, incrementStateCreatedCount, instrumentAdapter, instrumentLuvio, instrumentMethods, instrumentStoreMethods, instrumentation, logError, logMessage, logObjectInfoChanged, onIdleDetected, setInstrumentationHooks, setLdsAdaptersUiapiInstrumentation, setLdsNetworkAdapterInstrumentation, setStoreEventObservers, setupInstrumentation, startAdapterActivity, updatePercentileHistogramMetric };
|
|
1585
|
+
// version: 1.414.0-ff06871479
|
package/dist/types/main.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare function instrumentLuvio(context: unknown): void;
|
|
|
29
29
|
* Logs when object info has changed
|
|
30
30
|
*/
|
|
31
31
|
export declare function logObjectInfoChanged(): void;
|
|
32
|
+
export declare function logMessage(message: string): void;
|
|
32
33
|
export type ReportObserver = (report: AdapterReport) => void;
|
|
33
34
|
interface AdapterInstrumentationOptions {
|
|
34
35
|
trackL1Hits: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-instrumentation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.414.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Instrumentation utils for Lightning Data Service",
|
|
6
6
|
"main": "dist/ldsInstrumentation.js",
|
|
@@ -33,23 +33,23 @@
|
|
|
33
33
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-instrumentation"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@salesforce/lds-bindings": "^1.
|
|
37
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
38
|
-
"@salesforce/lds-utils-adapters": "^1.
|
|
36
|
+
"@salesforce/lds-bindings": "^1.414.0",
|
|
37
|
+
"@salesforce/lds-default-luvio": "^1.414.0",
|
|
38
|
+
"@salesforce/lds-utils-adapters": "^1.414.0",
|
|
39
39
|
"o11y": "250.7.0",
|
|
40
40
|
"o11y_schema": "256.126.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
44
|
-
"@salesforce/lds-network-adapter": "^1.
|
|
45
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
43
|
+
"@salesforce/lds-adapters-uiapi": "^1.414.0",
|
|
44
|
+
"@salesforce/lds-network-adapter": "^1.414.0",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.414.0"
|
|
46
46
|
},
|
|
47
47
|
"luvioBundlesize": [
|
|
48
48
|
{
|
|
49
49
|
"path": "./dist/ldsInstrumentation.js",
|
|
50
50
|
"maxSize": {
|
|
51
51
|
"none": "64 kB",
|
|
52
|
-
"min": "27.
|
|
52
|
+
"min": "27.3 kB",
|
|
53
53
|
"compressed": "12 kB"
|
|
54
54
|
}
|
|
55
55
|
}
|