@salesforce/lds-network-nimbus 1.361.0 → 1.362.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.
package/dist/main.js
CHANGED
|
@@ -442,7 +442,7 @@ function shouldUseAggregateUiForFields(fieldsArray, optionalFieldsArray, maxLeng
|
|
|
442
442
|
return fieldsArray.length + optionalFieldsArray.length >= maxLengthPerChunk;
|
|
443
443
|
}
|
|
444
444
|
function isSpanningRecord(fieldValue) {
|
|
445
|
-
return fieldValue !== null && typeof fieldValue === 'object';
|
|
445
|
+
return fieldValue !== null && typeof fieldValue === 'object' && !Array.isArray(fieldValue);
|
|
446
446
|
}
|
|
447
447
|
function mergeRecordFields(first, second) {
|
|
448
448
|
const { fields: targetFields } = first;
|
|
@@ -53,7 +53,7 @@ export interface InstrumentationSink {
|
|
|
53
53
|
export declare function mergeAggregateUiResponse<T>(response: AggregateResponse<T>, mergeFunc: (first: T, second: T) => SupportedAggregateRepresentation<T>): FetchResponse<SupportedAggregateRepresentation<T> | UiApiErrorResponse>;
|
|
54
54
|
export declare function buildAggregateUiUrl(params: UiApiParams, resourceRequest: ResourceRequest): string;
|
|
55
55
|
export declare function shouldUseAggregateUiForFields(fieldsArray: string, optionalFieldsArray: string, maxLengthPerChunk: number): boolean;
|
|
56
|
-
export declare function isSpanningRecord(fieldValue: null | string | number | boolean | RecordRepresentation): fieldValue is RecordRepresentation;
|
|
56
|
+
export declare function isSpanningRecord(fieldValue: null | string | string[] | number | boolean | RecordRepresentation): fieldValue is RecordRepresentation;
|
|
57
57
|
export declare function mergeRecordFields(first: RecordRepresentation, second: RecordRepresentation): RecordRepresentation;
|
|
58
58
|
export declare function mergeBatchRecordsFields(first: SupportedBatchRepresentation, second: SupportedBatchRepresentation, collectionMergeFunc: (first: SupportedBatchCollectionRepresentation, second: SupportedBatchCollectionRepresentation) => SupportedBatchCollectionRepresentation): SupportedBatchRepresentation;
|
|
59
59
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-nimbus",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.362.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "A nimbus-plugin-based implementation of the Luvio NetworkAdapter.",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@luvio/engine": "0.158.1",
|
|
29
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
29
|
+
"@salesforce/lds-instrumentation": "^1.362.0",
|
|
30
30
|
"o11y": "250.7.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
34
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
33
|
+
"@salesforce/lds-adapters-uiapi": "^1.362.0",
|
|
34
|
+
"@salesforce/nimbus-plugin-lds": "^1.362.0"
|
|
35
35
|
},
|
|
36
36
|
"luvioBundlesize": [
|
|
37
37
|
{
|