@salesforce/lds-network-nimbus 1.229.0-dev1 → 1.229.0-dev10

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
@@ -369,7 +369,10 @@ function isErrorResponse(response) {
369
369
  * @returns the merged record
370
370
  */
371
371
  function mergeAggregateUiResponse(response, mergeFunc) {
372
- const { body } = response;
372
+ if (response.ok === false) {
373
+ return response;
374
+ }
375
+ const body = response.body;
373
376
  try {
374
377
  if (body === null ||
375
378
  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.229.0-dev1",
3
+ "version": "1.229.0-dev10",
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.145.2",
29
- "@salesforce/lds-instrumentation": "1.229.0-dev1",
28
+ "@luvio/engine": "0.146.0-dev5",
29
+ "@salesforce/lds-instrumentation": "1.229.0-dev10",
30
30
  "o11y": "242.8.3"
31
31
  },
32
32
  "devDependencies": {
33
- "@salesforce/lds-adapters-uiapi": "1.229.0-dev1",
34
- "@salesforce/nimbus-plugin-lds": "1.229.0-dev1"
33
+ "@salesforce/lds-adapters-uiapi": "1.229.0-dev10",
34
+ "@salesforce/nimbus-plugin-lds": "1.229.0-dev10"
35
35
  },
36
36
  "luvioBundlesize": [
37
37
  {