@salesforce/lds-runtime-aura 1.452.0 → 1.454.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.
@@ -40,7 +40,6 @@ import lightningConnectEnabled from '@salesforce/gate/ui.services.LightningConne
40
40
  import bypassAppRestrictionEnabled from '@salesforce/gate/ui.services.LightningConnect.BypassAppRestriction.enabled';
41
41
  import csrfValidationEnabled from '@salesforce/gate/ui.services.LightningConnect.CsrfValidation.enabled';
42
42
  import sessionApiEnabled from '@salesforce/gate/ui.uisdk.session.api.enabled';
43
- import useHttpUiapiLex from '@salesforce/gate/lds.usehttpuiapilex';
44
43
  import useHttpUiapiOneRuntime from '@salesforce/gate/lds.useHttpUiapiOneRuntime';
45
44
  import useHttpUiapiAuraSites from '@salesforce/gate/lds.usehttpuiapiaurasites';
46
45
  import auraBasedRequestsEnabled from '@salesforce/gate/ui.services.auraBasedRequests.enabled';
@@ -50,7 +49,7 @@ import { createStorage, clearStorages } from 'force/ldsDurableStorage';
50
49
  import { registerSubRequestNetworkAdapter } from 'force/ldsNetwork';
51
50
 
52
51
  const { create: create$1, freeze, keys: keys$2, entries: entries$1 } = Object;
53
- const { isArray: isArray$3 } = Array;
52
+ const { isArray: isArray$4 } = Array;
54
53
  const { stringify: stringify$3, parse: parse$2 } = JSON;
55
54
  const WeakSetConstructor = WeakSet;
56
55
  const LogLevelMap = {
@@ -192,7 +191,7 @@ function stableJSONStringify$2(node) {
192
191
  }
193
192
  let i;
194
193
  let out;
195
- if (isArray$3(node)) {
194
+ if (isArray$4(node)) {
196
195
  out = "[";
197
196
  for (i = 0; i < node.length; i++) {
198
197
  if (i) {
@@ -300,7 +299,7 @@ function deepFreeze(value) {
300
299
  return;
301
300
  }
302
301
  deeplyFrozen.add(value);
303
- if (isArray$3(value)) {
302
+ if (isArray$4(value)) {
304
303
  for (let i = 0, len = value.length; i < len; i += 1) {
305
304
  deepFreeze(value[i]);
306
305
  }
@@ -527,7 +526,7 @@ function buildServiceDescriptor$p() {
527
526
  };
528
527
  }
529
528
 
530
- const { isArray: isArray$2 } = Array;
529
+ const { isArray: isArray$3 } = Array;
531
530
  let Ok$1 = class Ok {
532
531
  constructor(value) {
533
532
  this.value = value;
@@ -607,8 +606,8 @@ function deepEquals$1(x, y) {
607
606
  return y === null;
608
607
  } else if (y === null) {
609
608
  return x === null;
610
- } else if (isArray$2(x)) {
611
- if (!isArray$2(y) || x.length !== y.length) {
609
+ } else if (isArray$3(x)) {
610
+ if (!isArray$3(y) || x.length !== y.length) {
612
611
  return false;
613
612
  }
614
613
  for (let i = 0; i < x.length; ++i) {
@@ -2590,7 +2589,7 @@ function buildServiceDescriptor$d(luvio) {
2590
2589
  },
2591
2590
  };
2592
2591
  }
2593
- // version: 1.452.0-bcd113b7fd
2592
+ // version: 1.454.0-4223ab4365
2594
2593
 
2595
2594
  class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheControlCommand {
2596
2595
  constructor(config, documentRootType, services) {
@@ -2929,7 +2928,7 @@ function buildServiceDescriptor$9(notifyRecordUpdateAvailable, getNormalizedLuvi
2929
2928
  },
2930
2929
  };
2931
2930
  }
2932
- // version: 1.452.0-bcd113b7fd
2931
+ // version: 1.454.0-4223ab4365
2933
2932
 
2934
2933
  class RetryService {
2935
2934
  constructor(defaultRetryPolicy) {
@@ -4726,9 +4725,10 @@ var TypeCheckShapes;
4726
4725
  TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
4727
4726
  TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
4728
4727
  })(TypeCheckShapes || (TypeCheckShapes = {}));
4729
- // engine version: 0.161.0-fe06f180
4728
+ // engine version: 0.161.2-bd1bd38a
4730
4729
 
4731
4730
  const { keys: keys$1 } = Object;
4731
+ const { isArray: isArray$2 } = Array;
4732
4732
 
4733
4733
  // we're going to intentionally bundle this small bit of luvio engine code into
4734
4734
  // this module to keep it runtime dependency-free
@@ -4801,7 +4801,14 @@ const fetchNetworkAdapter = async (resourceRequest, _resourceRequestContext) =>
4801
4801
  function generateQueryString(params) {
4802
4802
  const searchParams = new URLSearchParams();
4803
4803
  for (const key of keys$1(params)) {
4804
- searchParams.append(key, String(params[key]));
4804
+ const value = params[key];
4805
+ // omit undefined and empty-array values entirely: String(undefined) === 'undefined'
4806
+ // and String([]) === '', both of which would otherwise serialize as a valueless
4807
+ // `key=` or literal `key=undefined` query param that servers can reject.
4808
+ if (value === undefined || (isArray$2(value) && value.length === 0)) {
4809
+ continue;
4810
+ }
4811
+ searchParams.append(key, String(value));
4805
4812
  }
4806
4813
  const queryString = searchParams.toString();
4807
4814
  if (queryString.length > 0) {
@@ -5818,7 +5825,7 @@ class PrioritizedConfigService {
5818
5825
  get: (_, property) => {
5819
5826
  const propertyPath = [...path, property];
5820
5827
  const value = this.valueFor(propertyPath);
5821
- return typeof value === "object" && value !== null && !isArray$3(value) ? this.buildReadonlyObjectProxy(propertyPath) : value;
5828
+ return typeof value === "object" && value !== null && !isArray$4(value) ? this.buildReadonlyObjectProxy(propertyPath) : value;
5822
5829
  },
5823
5830
  getOwnPropertyDescriptor: (target, property) => {
5824
5831
  const propertyPath = [...path, property];
@@ -5826,7 +5833,7 @@ class PrioritizedConfigService {
5826
5833
  return {
5827
5834
  value: (
5828
5835
  // TODO - need to wrap arrays in a Proxy as well
5829
- typeof value === "object" && value !== null && !isArray$3(value) ? this.buildReadonlyObjectProxy(propertyPath) : value
5836
+ typeof value === "object" && value !== null && !isArray$4(value) ? this.buildReadonlyObjectProxy(propertyPath) : value
5830
5837
  ),
5831
5838
  writable: false,
5832
5839
  configurable: true,
@@ -5927,7 +5934,7 @@ function getEnvironmentSetting(name) {
5927
5934
  }
5928
5935
  return undefined;
5929
5936
  }
5930
- // version: 1.452.0-1ecfe8af95
5937
+ // version: 1.454.0-761808c4e9
5931
5938
 
5932
5939
  const auraClientService = getAuraClientService();
5933
5940
  const defaultConfig = {
@@ -7366,19 +7373,6 @@ const PREDICATE_PATH_SETS = [
7366
7373
  auraBasedRequestsEnabled.isOpen({ fallback: false }),
7367
7374
  paths: UIAPI_PRIVATE_PATHS,
7368
7375
  },
7369
- // LEX (one.app) — public UIAPI endpoints
7370
- {
7371
- predicate: () => !isOneRuntime() && !isAuraSite() && useHttpUiapiLex.isOpen({ fallback: false }),
7372
- paths: UIAPI_PUBLIC_PATHS,
7373
- },
7374
- // LEX (one.app) — private UIAPI endpoints (also require the UiSdk gate)
7375
- {
7376
- predicate: () => !isOneRuntime() &&
7377
- !isAuraSite() &&
7378
- useHttpUiapiLex.isOpen({ fallback: false }) &&
7379
- auraBasedRequestsEnabled.isOpen({ fallback: false }),
7380
- paths: UIAPI_PRIVATE_PATHS,
7381
- },
7382
7376
  // disableCreateContentDocumentAndVersionHTTPLexRuntime killswitch.
7383
7377
  // Excluded on Aura Sites for the same broken-CSRF reason as the UIAPI paths
7384
7378
  // (W-23092947); LEX / One Runtime are unaffected.
@@ -11263,7 +11257,7 @@ register({
11263
11257
  instrument: ldsNetworkAdapterInstrument,
11264
11258
  });
11265
11259
  // Publish buildPredictorForContext on the force/ldsEngine registration bus so that
11266
- // shared laf loaders can obtain it without a dynamic import("force/ldsEngineCreator"),
11260
+ // shared laf loaders can obtain it without a dynamic import of the aura ldsEngineCreator module,
11267
11261
  // which would evaluate this whole bootstrap a second time. See ADR
11268
11262
  // 2026-07-10-pdl-service-provisioner-decoupling. buildPredictorForContext is a hoisted
11269
11263
  // function declaration and internally no-ops (returns undefined) when the PDL gate is
@@ -11598,4 +11592,4 @@ function ldsEngineCreator() {
11598
11592
  }
11599
11593
 
11600
11594
  export { LexRequestStrategy, PDL_ENGINE_REGISTRATION_ID, PdlPrefetcherEventType, PdlRequestPriority, buildPredictorForContext, configService, ldsEngineCreator as default, initializeLDS, initializeOneStore, notifyUpdateAvailableFactory, registerRequestStrategy, saveRequestAsPrediction, subscribeToPrefetcherEvents, unregisterRequestStrategy, whenPredictionsReady };
11601
- // version: 1.452.0-bcd113b7fd
11595
+ // version: 1.454.0-4223ab4365
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-aura",
3
- "version": "1.452.0",
3
+ "version": "1.454.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Aura runtime.",
6
6
  "main": "dist/ldsEngineCreator.js",
@@ -34,53 +34,53 @@
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.26.0",
38
- "@conduit-client/tools-core": "3.26.0",
39
- "@salesforce/lds-adapters-apex": "^1.452.0",
40
- "@salesforce/lds-adapters-uiapi": "^1.452.0",
41
- "@salesforce/lds-ads-bridge": "^1.452.0",
42
- "@salesforce/lds-aura-storage": "^1.452.0",
43
- "@salesforce/lds-bindings": "^1.452.0",
44
- "@salesforce/lds-instrumentation": "^1.452.0",
45
- "@salesforce/lds-network-adapter": "^1.452.0",
46
- "@salesforce/lds-network-aura": "^1.452.0",
47
- "@salesforce/lds-network-fetch": "^1.452.0",
37
+ "@conduit-client/service-provisioner": "3.26.3",
38
+ "@conduit-client/tools-core": "3.26.3",
39
+ "@salesforce/lds-adapters-apex": "^1.454.0",
40
+ "@salesforce/lds-adapters-uiapi": "^1.454.0",
41
+ "@salesforce/lds-ads-bridge": "^1.454.0",
42
+ "@salesforce/lds-aura-storage": "^1.454.0",
43
+ "@salesforce/lds-bindings": "^1.454.0",
44
+ "@salesforce/lds-instrumentation": "^1.454.0",
45
+ "@salesforce/lds-network-adapter": "^1.454.0",
46
+ "@salesforce/lds-network-aura": "^1.454.0",
47
+ "@salesforce/lds-network-fetch": "^1.454.0",
48
48
  "jwt-encode": "1.0.1"
49
49
  },
50
50
  "dependencies": {
51
- "@conduit-client/command-aura-graphql-normalized-cache-control": "3.26.0",
52
- "@conduit-client/command-aura-network": "3.26.0",
53
- "@conduit-client/command-aura-normalized-cache-control": "3.26.0",
54
- "@conduit-client/command-fetch-network": "3.26.0",
55
- "@conduit-client/command-http-graphql-normalized-cache-control": "3.26.0",
56
- "@conduit-client/command-http-normalized-cache-control": "3.26.0",
57
- "@conduit-client/command-ndjson": "3.26.0",
58
- "@conduit-client/command-network": "3.26.0",
59
- "@conduit-client/command-sse": "3.26.0",
60
- "@conduit-client/command-streaming": "3.26.0",
61
- "@conduit-client/jwt-manager": "3.26.0",
62
- "@conduit-client/service-aura-network": "3.26.0",
63
- "@conduit-client/service-bindings-imperative": "3.26.0",
64
- "@conduit-client/service-bindings-lwc": "3.26.0",
65
- "@conduit-client/service-cache": "3.26.0",
66
- "@conduit-client/service-cache-control": "3.26.0",
67
- "@conduit-client/service-cache-inclusion-policy": "3.26.0",
68
- "@conduit-client/service-config": "3.26.0",
69
- "@conduit-client/service-feature-flags": "3.26.0",
70
- "@conduit-client/service-fetch-network": "3.26.0",
71
- "@conduit-client/service-instrument-command": "3.26.0",
72
- "@conduit-client/service-pubsub": "3.26.0",
73
- "@conduit-client/service-renewable-resource-manager": "3.26.0",
74
- "@conduit-client/service-store": "3.26.0",
75
- "@conduit-client/utils": "3.26.0",
76
- "@luvio/network-adapter-composable": "0.161.0",
77
- "@luvio/network-adapter-fetch": "0.161.0",
51
+ "@conduit-client/command-aura-graphql-normalized-cache-control": "3.26.3",
52
+ "@conduit-client/command-aura-network": "3.26.3",
53
+ "@conduit-client/command-aura-normalized-cache-control": "3.26.3",
54
+ "@conduit-client/command-fetch-network": "3.26.3",
55
+ "@conduit-client/command-http-graphql-normalized-cache-control": "3.26.3",
56
+ "@conduit-client/command-http-normalized-cache-control": "3.26.3",
57
+ "@conduit-client/command-ndjson": "3.26.3",
58
+ "@conduit-client/command-network": "3.26.3",
59
+ "@conduit-client/command-sse": "3.26.3",
60
+ "@conduit-client/command-streaming": "3.26.3",
61
+ "@conduit-client/jwt-manager": "3.26.3",
62
+ "@conduit-client/service-aura-network": "3.26.3",
63
+ "@conduit-client/service-bindings-imperative": "3.26.3",
64
+ "@conduit-client/service-bindings-lwc": "3.26.3",
65
+ "@conduit-client/service-cache": "3.26.3",
66
+ "@conduit-client/service-cache-control": "3.26.3",
67
+ "@conduit-client/service-cache-inclusion-policy": "3.26.3",
68
+ "@conduit-client/service-config": "3.26.3",
69
+ "@conduit-client/service-feature-flags": "3.26.3",
70
+ "@conduit-client/service-fetch-network": "3.26.3",
71
+ "@conduit-client/service-instrument-command": "3.26.3",
72
+ "@conduit-client/service-pubsub": "3.26.3",
73
+ "@conduit-client/service-renewable-resource-manager": "3.26.3",
74
+ "@conduit-client/service-store": "3.26.3",
75
+ "@conduit-client/utils": "3.26.3",
76
+ "@luvio/network-adapter-composable": "0.161.2",
77
+ "@luvio/network-adapter-fetch": "0.161.2",
78
78
  "@lwc/state": "^0.29.0",
79
- "@salesforce/lds-adapters-onestore-graphql": "^1.452.0",
79
+ "@salesforce/lds-adapters-onestore-graphql": "^1.454.0",
80
80
  "@salesforce/lds-adapters-uiapi-lex": "^1.415.0",
81
- "@salesforce/lds-durable-storage": "^1.452.0",
82
- "@salesforce/lds-luvio-service": "^1.452.0",
83
- "@salesforce/lds-luvio-uiapi-records-service": "^1.452.0"
81
+ "@salesforce/lds-durable-storage": "^1.454.0",
82
+ "@salesforce/lds-luvio-service": "^1.454.0",
83
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.454.0"
84
84
  },
85
85
  "luvioBundlesize": [
86
86
  {