@salesforce/lds-runtime-webruntime 1.412.0 → 1.413.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.
@@ -409,7 +409,10 @@ class AuraNetworkCommand extends NetworkCommand$1 {
409
409
  coerceAuraErrors(auraErrors) {
410
410
  return toError(auraErrors[0]);
411
411
  }
412
- async coerceFetchErrors(errorResponse) {
412
+ /**
413
+ * Customize how non-2xx fetch fallback responses are converted into errors.
414
+ */
415
+ async coerceError(errorResponse) {
413
416
  return toError(errorResponse.statusText);
414
417
  }
415
418
  convertAuraResponseToData(responsePromise, coerceError) {
@@ -447,7 +450,7 @@ class AuraNetworkCommand extends NetworkCommand$1 {
447
450
  }
448
451
  });
449
452
  } else {
450
- return this.coerceFetchErrors(response2).then((coercedError) => {
453
+ return this.coerceError(response2).then((coercedError) => {
451
454
  return err$1(coercedError);
452
455
  }).finally(() => {
453
456
  try {
@@ -1088,7 +1091,7 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
1088
1091
  coerceAuraErrors(auraErrors) {
1089
1092
  return toError(auraErrors[0]);
1090
1093
  }
1091
- async coerceFetchError(errorResponse) {
1094
+ async coerceError(errorResponse) {
1092
1095
  return toError(errorResponse.statusText);
1093
1096
  }
1094
1097
  processAuraReturnValue(auraReturnValue) {
@@ -1134,7 +1137,7 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
1134
1137
  }
1135
1138
  });
1136
1139
  } else {
1137
- return this.coerceFetchError(response2).then((coercedError) => {
1140
+ return this.coerceError(response2).then((coercedError) => {
1138
1141
  return err$1(coercedError);
1139
1142
  }).finally(() => {
1140
1143
  try {
@@ -1236,7 +1239,7 @@ class AuraCacheControlCommand extends CacheControlCommand {
1236
1239
  coerceAuraErrors(auraErrors) {
1237
1240
  return toError(auraErrors[0]);
1238
1241
  }
1239
- async coerceFetchError(errorResponse) {
1242
+ async coerceError(errorResponse) {
1240
1243
  return toError(errorResponse.statusText);
1241
1244
  }
1242
1245
  processAuraReturnValue(auraReturnValue) {
@@ -1282,7 +1285,7 @@ class AuraCacheControlCommand extends CacheControlCommand {
1282
1285
  }
1283
1286
  });
1284
1287
  } else {
1285
- return this.coerceFetchError(response2).then((coercedError) => {
1288
+ return this.coerceError(response2).then((coercedError) => {
1286
1289
  return err$1(coercedError);
1287
1290
  }).finally(() => {
1288
1291
  try {
@@ -3309,7 +3312,7 @@ function buildServiceDescriptor$9(luvio) {
3309
3312
  },
3310
3313
  };
3311
3314
  }
3312
- // version: 1.412.0-9006885059
3315
+ // version: 1.413.0-8cd312301b
3313
3316
 
3314
3317
  /**
3315
3318
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3335,7 +3338,7 @@ function buildServiceDescriptor$8(notifyRecordUpdateAvailable, getNormalizedLuvi
3335
3338
  },
3336
3339
  };
3337
3340
  }
3338
- // version: 1.412.0-9006885059
3341
+ // version: 1.413.0-8cd312301b
3339
3342
 
3340
3343
  /*!
3341
3344
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -5134,4 +5137,4 @@ withDefaultLuvio((luvio) => {
5134
5137
  ];
5135
5138
  setServices(services);
5136
5139
  });
5137
- // version: 1.412.0-fb86a78927
5140
+ // version: 1.413.0-a073c11951
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-webruntime",
3
- "version": "1.412.0",
3
+ "version": "1.413.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Webruntime runtime",
6
6
  "main": "dist/ldsWebruntimeOneStoreInit.js",
@@ -35,38 +35,38 @@
35
35
  "ready": "yarn build && jest --collectCoverage && yarn test:size && yarn release:corejar"
36
36
  },
37
37
  "devDependencies": {
38
- "@conduit-client/service-provisioner": "3.6.3",
39
- "@conduit-client/tools-core": "3.6.3",
38
+ "@conduit-client/service-provisioner": "3.8.0",
39
+ "@conduit-client/tools-core": "3.8.0",
40
40
  "jwt-encode": "1.0.1"
41
41
  },
42
42
  "dependencies": {
43
- "@conduit-client/command-aura-network": "3.6.3",
44
- "@conduit-client/command-aura-normalized-cache-control": "3.6.3",
45
- "@conduit-client/command-aura-resource-cache-control": "3.6.3",
46
- "@conduit-client/command-fetch-network": "3.6.3",
47
- "@conduit-client/command-http-normalized-cache-control": "3.6.3",
48
- "@conduit-client/command-ndjson": "3.6.3",
49
- "@conduit-client/command-network": "3.6.3",
50
- "@conduit-client/command-sse": "3.6.3",
51
- "@conduit-client/command-streaming": "3.6.3",
52
- "@conduit-client/jwt-manager": "3.6.3",
53
- "@conduit-client/service-aura-network": "3.6.3",
54
- "@conduit-client/service-bindings-imperative": "3.6.3",
55
- "@conduit-client/service-bindings-lwc": "3.6.3",
56
- "@conduit-client/service-cache": "3.6.3",
57
- "@conduit-client/service-cache-control": "3.6.3",
58
- "@conduit-client/service-cache-inclusion-policy": "3.6.3",
59
- "@conduit-client/service-fetch-network": "3.6.3",
60
- "@conduit-client/service-instrument-command": "3.6.3",
61
- "@conduit-client/service-pubsub": "3.6.3",
62
- "@conduit-client/service-store": "3.6.3",
63
- "@conduit-client/utils": "3.6.3",
43
+ "@conduit-client/command-aura-network": "3.8.0",
44
+ "@conduit-client/command-aura-normalized-cache-control": "3.8.0",
45
+ "@conduit-client/command-aura-resource-cache-control": "3.8.0",
46
+ "@conduit-client/command-fetch-network": "3.8.0",
47
+ "@conduit-client/command-http-normalized-cache-control": "3.8.0",
48
+ "@conduit-client/command-ndjson": "3.8.0",
49
+ "@conduit-client/command-network": "3.8.0",
50
+ "@conduit-client/command-sse": "3.8.0",
51
+ "@conduit-client/command-streaming": "3.8.0",
52
+ "@conduit-client/jwt-manager": "3.8.0",
53
+ "@conduit-client/service-aura-network": "3.8.0",
54
+ "@conduit-client/service-bindings-imperative": "3.8.0",
55
+ "@conduit-client/service-bindings-lwc": "3.8.0",
56
+ "@conduit-client/service-cache": "3.8.0",
57
+ "@conduit-client/service-cache-control": "3.8.0",
58
+ "@conduit-client/service-cache-inclusion-policy": "3.8.0",
59
+ "@conduit-client/service-fetch-network": "3.8.0",
60
+ "@conduit-client/service-instrument-command": "3.8.0",
61
+ "@conduit-client/service-pubsub": "3.8.0",
62
+ "@conduit-client/service-store": "3.8.0",
63
+ "@conduit-client/utils": "3.8.0",
64
64
  "@luvio/network-adapter-composable": "0.158.7",
65
65
  "@luvio/network-adapter-fetch": "0.158.7",
66
- "@salesforce/lds-adapters-uiapi-lex": "^1.412.0",
67
- "@salesforce/lds-default-luvio": "^1.412.0",
68
- "@salesforce/lds-luvio-service": "^1.412.0",
69
- "@salesforce/lds-luvio-uiapi-records-service": "^1.412.0"
66
+ "@salesforce/lds-adapters-uiapi-lex": "^1.413.0",
67
+ "@salesforce/lds-default-luvio": "^1.413.0",
68
+ "@salesforce/lds-luvio-service": "^1.413.0",
69
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.413.0"
70
70
  },
71
71
  "luvioBundlesize": [
72
72
  {