@salesforce/lds-runtime-aura 1.432.0 → 1.433.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.
@@ -422,16 +422,17 @@ class AuraNetworkCommand extends NetworkCommand$1 {
422
422
  }
423
423
  return ok$2(auraReturnValue);
424
424
  }).catch((error) => {
425
- if (!error || !error.getError) {
425
+ if (!error) {
426
426
  return err$1(toError("Failed to get error from response"));
427
- } else {
428
- const actionErrors = error.getError();
429
- if (actionErrors.length > 0) {
430
- return err$1(coerceError(actionErrors));
431
- } else {
432
- return err$1(toError("Error fetching component"));
433
- }
434
427
  }
428
+ if (!error.getError) {
429
+ return err$1(toError(error));
430
+ }
431
+ const actionErrors = error.getError();
432
+ if (actionErrors.length > 0) {
433
+ return err$1(coerceError(actionErrors));
434
+ }
435
+ return err$1(toError("Error fetching component"));
435
436
  });
436
437
  }
437
438
  convertFetchResponseToData(response) {
@@ -1114,16 +1115,17 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
1114
1115
  } catch {
1115
1116
  }
1116
1117
  }).catch((error) => {
1117
- if (!error || !error.getError) {
1118
+ if (!error) {
1118
1119
  return err$1(toError("Failed to get error from response"));
1119
- } else {
1120
- const actionErrors = error.getError();
1121
- if (actionErrors.length > 0) {
1122
- return err$1(coerceError(actionErrors));
1123
- } else {
1124
- return err$1(toError("Error fetching component"));
1125
- }
1126
1120
  }
1121
+ if (!error.getError) {
1122
+ return err$1(toError(error));
1123
+ }
1124
+ const actionErrors = error.getError();
1125
+ if (actionErrors.length > 0) {
1126
+ return err$1(coerceError(actionErrors));
1127
+ }
1128
+ return err$1(toError("Error fetching component"));
1127
1129
  });
1128
1130
  }
1129
1131
  convertFetchResponseToData(response) {
@@ -1262,16 +1264,17 @@ class AuraCacheControlCommand extends CacheControlCommand {
1262
1264
  } catch {
1263
1265
  }
1264
1266
  }).catch((error) => {
1265
- if (!error || !error.getError) {
1267
+ if (!error) {
1266
1268
  return err$1(toError("Failed to get error from response"));
1267
- } else {
1268
- const actionErrors = error.getError();
1269
- if (actionErrors.length > 0) {
1270
- return err$1(coerceError(actionErrors));
1271
- } else {
1272
- return err$1(toError("Error fetching component"));
1273
- }
1274
1269
  }
1270
+ if (!error.getError) {
1271
+ return err$1(toError(error));
1272
+ }
1273
+ const actionErrors = error.getError();
1274
+ if (actionErrors.length > 0) {
1275
+ return err$1(coerceError(actionErrors));
1276
+ }
1277
+ return err$1(toError("Error fetching component"));
1275
1278
  });
1276
1279
  }
1277
1280
  convertFetchResponseToData(response) {
@@ -2756,7 +2759,7 @@ function buildServiceDescriptor$d(luvio) {
2756
2759
  },
2757
2760
  };
2758
2761
  }
2759
- // version: 1.432.0-b99ba9d219
2762
+ // version: 1.433.0-db129b48d2
2760
2763
 
2761
2764
  /*!
2762
2765
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3109,7 +3112,7 @@ function buildServiceDescriptor$9(notifyRecordUpdateAvailable, getNormalizedLuvi
3109
3112
  },
3110
3113
  };
3111
3114
  }
3112
- // version: 1.432.0-b99ba9d219
3115
+ // version: 1.433.0-db129b48d2
3113
3116
 
3114
3117
  /*!
3115
3118
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -5739,7 +5742,7 @@ function getEnvironmentSetting(name) {
5739
5742
  }
5740
5743
  return undefined;
5741
5744
  }
5742
- // version: 1.432.0-b99ba9d219
5745
+ // version: 1.433.0-db129b48d2
5743
5746
 
5744
5747
  const environmentHasAura = typeof window !== 'undefined' && typeof window.$A !== 'undefined';
5745
5748
  const defaultConfig = {
@@ -10571,4 +10574,4 @@ function ldsEngineCreator() {
10571
10574
  }
10572
10575
 
10573
10576
  export { LexRequestStrategy, PdlPrefetcherEventType, PdlRequestPriority, buildPredictorForContext, configService, ldsEngineCreator as default, initializeLDS, initializeOneStore, notifyUpdateAvailableFactory, registerRequestStrategy, saveRequestAsPrediction, subscribeToPrefetcherEvents, unregisterRequestStrategy, whenPredictionsReady };
10574
- // version: 1.432.0-a57c62b660
10577
+ // version: 1.433.0-8a15a98f24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-aura",
3
- "version": "1.432.0",
3
+ "version": "1.433.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Aura runtime",
6
6
  "main": "dist/ldsEngineCreator.js",
@@ -34,51 +34,51 @@
34
34
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-aura"
35
35
  },
36
36
  "devDependencies": {
37
- "@conduit-client/service-provisioner": "3.19.2",
38
- "@conduit-client/tools-core": "3.19.2",
39
- "@salesforce/lds-adapters-apex": "^1.432.0",
40
- "@salesforce/lds-adapters-uiapi": "^1.432.0",
41
- "@salesforce/lds-ads-bridge": "^1.432.0",
42
- "@salesforce/lds-aura-storage": "^1.432.0",
43
- "@salesforce/lds-bindings": "^1.432.0",
44
- "@salesforce/lds-instrumentation": "^1.432.0",
45
- "@salesforce/lds-network-aura": "^1.432.0",
46
- "@salesforce/lds-network-fetch": "^1.432.0",
37
+ "@conduit-client/service-provisioner": "3.19.3",
38
+ "@conduit-client/tools-core": "3.19.3",
39
+ "@salesforce/lds-adapters-apex": "^1.433.0",
40
+ "@salesforce/lds-adapters-uiapi": "^1.433.0",
41
+ "@salesforce/lds-ads-bridge": "^1.433.0",
42
+ "@salesforce/lds-aura-storage": "^1.433.0",
43
+ "@salesforce/lds-bindings": "^1.433.0",
44
+ "@salesforce/lds-instrumentation": "^1.433.0",
45
+ "@salesforce/lds-network-aura": "^1.433.0",
46
+ "@salesforce/lds-network-fetch": "^1.433.0",
47
47
  "jwt-encode": "1.0.1"
48
48
  },
49
49
  "dependencies": {
50
- "@conduit-client/command-aura-graphql-normalized-cache-control": "3.19.2",
51
- "@conduit-client/command-aura-network": "3.19.2",
52
- "@conduit-client/command-aura-normalized-cache-control": "3.19.2",
53
- "@conduit-client/command-aura-resource-cache-control": "3.19.2",
54
- "@conduit-client/command-fetch-network": "3.19.2",
55
- "@conduit-client/command-http-graphql-normalized-cache-control": "3.19.2",
56
- "@conduit-client/command-http-normalized-cache-control": "3.19.2",
57
- "@conduit-client/command-ndjson": "3.19.2",
58
- "@conduit-client/command-network": "3.19.2",
59
- "@conduit-client/command-sse": "3.19.2",
60
- "@conduit-client/command-streaming": "3.19.2",
61
- "@conduit-client/service-aura-network": "3.19.2",
62
- "@conduit-client/service-bindings-imperative": "3.19.2",
63
- "@conduit-client/service-bindings-lwc": "3.19.2",
64
- "@conduit-client/service-cache": "3.19.2",
65
- "@conduit-client/service-cache-control": "3.19.2",
66
- "@conduit-client/service-cache-inclusion-policy": "3.19.2",
67
- "@conduit-client/service-config": "3.19.2",
68
- "@conduit-client/service-feature-flags": "3.19.2",
69
- "@conduit-client/service-fetch-network": "3.19.2",
70
- "@conduit-client/service-instrument-command": "3.19.2",
71
- "@conduit-client/service-pubsub": "3.19.2",
72
- "@conduit-client/service-store": "3.19.2",
73
- "@conduit-client/utils": "3.19.2",
50
+ "@conduit-client/command-aura-graphql-normalized-cache-control": "3.19.3",
51
+ "@conduit-client/command-aura-network": "3.19.3",
52
+ "@conduit-client/command-aura-normalized-cache-control": "3.19.3",
53
+ "@conduit-client/command-aura-resource-cache-control": "3.19.3",
54
+ "@conduit-client/command-fetch-network": "3.19.3",
55
+ "@conduit-client/command-http-graphql-normalized-cache-control": "3.19.3",
56
+ "@conduit-client/command-http-normalized-cache-control": "3.19.3",
57
+ "@conduit-client/command-ndjson": "3.19.3",
58
+ "@conduit-client/command-network": "3.19.3",
59
+ "@conduit-client/command-sse": "3.19.3",
60
+ "@conduit-client/command-streaming": "3.19.3",
61
+ "@conduit-client/service-aura-network": "3.19.3",
62
+ "@conduit-client/service-bindings-imperative": "3.19.3",
63
+ "@conduit-client/service-bindings-lwc": "3.19.3",
64
+ "@conduit-client/service-cache": "3.19.3",
65
+ "@conduit-client/service-cache-control": "3.19.3",
66
+ "@conduit-client/service-cache-inclusion-policy": "3.19.3",
67
+ "@conduit-client/service-config": "3.19.3",
68
+ "@conduit-client/service-feature-flags": "3.19.3",
69
+ "@conduit-client/service-fetch-network": "3.19.3",
70
+ "@conduit-client/service-instrument-command": "3.19.3",
71
+ "@conduit-client/service-pubsub": "3.19.3",
72
+ "@conduit-client/service-store": "3.19.3",
73
+ "@conduit-client/utils": "3.19.3",
74
74
  "@luvio/network-adapter-composable": "0.160.4",
75
75
  "@luvio/network-adapter-fetch": "0.160.4",
76
76
  "@lwc/state": "^0.29.0",
77
- "@salesforce/lds-adapters-onestore-graphql": "^1.432.0",
77
+ "@salesforce/lds-adapters-onestore-graphql": "^1.433.0",
78
78
  "@salesforce/lds-adapters-uiapi-lex": "^1.415.0",
79
- "@salesforce/lds-durable-storage": "^1.432.0",
80
- "@salesforce/lds-luvio-service": "^1.432.0",
81
- "@salesforce/lds-luvio-uiapi-records-service": "^1.432.0"
79
+ "@salesforce/lds-durable-storage": "^1.433.0",
80
+ "@salesforce/lds-luvio-service": "^1.433.0",
81
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.433.0"
82
82
  },
83
83
  "luvioBundlesize": [
84
84
  {