@salesforce/lds-network-nimbus 1.257.0 → 1.259.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
|
@@ -370,7 +370,10 @@ function isErrorResponse(response) {
|
|
|
370
370
|
* @returns the merged record
|
|
371
371
|
*/
|
|
372
372
|
function mergeAggregateUiResponse(response, mergeFunc) {
|
|
373
|
-
|
|
373
|
+
if (response.ok === false) {
|
|
374
|
+
return response;
|
|
375
|
+
}
|
|
376
|
+
const body = response.body;
|
|
374
377
|
try {
|
|
375
378
|
if (body === null ||
|
|
376
379
|
body === undefined ||
|
|
@@ -33,7 +33,7 @@ export interface CompositeResponseEnvelope<T> {
|
|
|
33
33
|
* Object Representation types allowed when merging
|
|
34
34
|
*/
|
|
35
35
|
type SupportedAggregateRepresentation<T> = Extract<T, GetRecordResult | BatchRepresentation | RelatedListRecordCollectionRepresentation | RelatedListRecordCollectionBatchRepresentation>;
|
|
36
|
-
export type AggregateResponse<T> = FetchResponse<CompositeResponseEnvelope<SupportedAggregateRepresentation<T
|
|
36
|
+
export type AggregateResponse<T> = FetchResponse<CompositeResponseEnvelope<SupportedAggregateRepresentation<T>> | UiApiErrorResponse>;
|
|
37
37
|
/**
|
|
38
38
|
* Supported batch representation
|
|
39
39
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-nimbus",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.259.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",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"clean": "rm -rf dist"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@luvio/engine": "0.154.
|
|
29
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
28
|
+
"@luvio/engine": "0.154.4",
|
|
29
|
+
"@salesforce/lds-instrumentation": "^1.259.0",
|
|
30
30
|
"o11y": "242.8.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
34
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
33
|
+
"@salesforce/lds-adapters-uiapi": "^1.259.0",
|
|
34
|
+
"@salesforce/nimbus-plugin-lds": "^1.259.0"
|
|
35
35
|
},
|
|
36
36
|
"luvioBundlesize": [
|
|
37
37
|
{
|