@salesforce/lds-runtime-aura 1.467.0 → 1.469.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.
Files changed (2) hide show
  1. package/dist/ldsEngineCreator.js +223 -164
  2. package/package.json +42 -42
@@ -36,7 +36,6 @@ import csrfValidationEnabled from '@salesforce/gate/ui.services.LightningConnect
36
36
  import sessionApiEnabled from '@salesforce/gate/ui.uisdk.session.api.enabled';
37
37
  import { pageScopedCache } from 'instrumentation/utility';
38
38
  import { createStorage, clearStorages } from 'force/ldsDurableStorage';
39
- import useHttpUiapiOneRuntime from '@salesforce/gate/lds.useHttpUiapiOneRuntime';
40
39
  import useHttpUiapiAuraSites from '@salesforce/gate/lds.usehttpuiapiaurasites';
41
40
  import auraBasedRequestsEnabled from '@salesforce/gate/ui.services.auraBasedRequests.enabled';
42
41
  import { registerSubRequestNetworkAdapter } from 'force/ldsNetwork';
@@ -168,6 +167,45 @@ function rejectedPromiseLike$2(reason) {
168
167
  function isPromiseLike$2(x) {
169
168
  return typeof x?.then === "function";
170
169
  }
170
+ function deepEquals$1(x, y) {
171
+ if (x === void 0) {
172
+ return y === void 0;
173
+ } else if (x === null) {
174
+ return y === null;
175
+ } else if (y === null) {
176
+ return x === null;
177
+ } else if (isArray$4(x)) {
178
+ if (!isArray$4(y) || x.length !== y.length) {
179
+ return false;
180
+ }
181
+ for (let i = 0; i < x.length; ++i) {
182
+ if (!deepEquals$1(x[i], y[i])) {
183
+ return false;
184
+ }
185
+ }
186
+ return true;
187
+ } else if (typeof x === "object") {
188
+ if (typeof y !== "object") {
189
+ return false;
190
+ }
191
+ const xkeys = Object.keys(x);
192
+ const ykeys = Object.keys(y);
193
+ if (xkeys.length !== ykeys.length) {
194
+ return false;
195
+ }
196
+ for (let i = 0; i < xkeys.length; ++i) {
197
+ const key = xkeys[i];
198
+ if (!deepEquals$1(
199
+ x[key],
200
+ y[key]
201
+ )) {
202
+ return false;
203
+ }
204
+ }
205
+ return true;
206
+ }
207
+ return x === y;
208
+ }
171
209
  function stableJSONStringify$1(node) {
172
210
  const withToJSON = node;
173
211
  if (withToJSON && typeof withToJSON.toJSON === "function") {
@@ -365,7 +403,10 @@ let NetworkCommand$1 = class NetworkCommand extends BaseCommand {
365
403
  if (isSubscribableResult(newResult)) {
366
404
  const value = newResult.isOk() ? ok$2(newResult.value.data) : err$1(newResult.error.failure);
367
405
  this.subscriptions.forEach((cb) => {
368
- cb(value);
406
+ try {
407
+ cb(value);
408
+ } catch {
409
+ }
369
410
  });
370
411
  }
371
412
  return ok$2(void 0);
@@ -1443,7 +1484,10 @@ class NetworkCommand extends BaseCommand {
1443
1484
  if (isSubscribableResult(newResult)) {
1444
1485
  const value = newResult.isOk() ? ok$2(newResult.value.data) : err$1(newResult.error.failure);
1445
1486
  this.subscriptions.forEach((cb) => {
1446
- cb(value);
1487
+ try {
1488
+ cb(value);
1489
+ } catch {
1490
+ }
1447
1491
  });
1448
1492
  }
1449
1493
  return ok$2(void 0);
@@ -1465,6 +1509,79 @@ function applyOperationRequestOptions(init, operationType, requestOptions) {
1465
1509
  }
1466
1510
  };
1467
1511
  }
1512
+ function fetchFromNetwork(getRequest, hooks, contextSeed) {
1513
+ try {
1514
+ const {
1515
+ services,
1516
+ params: [input, init],
1517
+ operationType,
1518
+ requestOptions
1519
+ } = getRequest();
1520
+ const initWithOptions = applyOperationRequestOptions(init, operationType, requestOptions);
1521
+ const seed = operationType === void 0 ? contextSeed : { operationType, ...contextSeed };
1522
+ const initWithSeed = seed === void 0 ? initWithOptions : { ...initWithOptions, __contextSeed: seed };
1523
+ const fetchCall = initWithSeed === void 0 ? services.fetch(input) : services.fetch(input, initWithSeed);
1524
+ return convertFetchResponseToData(fetchCall, hooks);
1525
+ } catch (reason) {
1526
+ return resolvedPromiseLike$2(err$1(toError(reason)));
1527
+ }
1528
+ }
1529
+ function convertFetchResponseToData(response, hooks) {
1530
+ return response.then(
1531
+ (response2) => {
1532
+ if (response2.ok) {
1533
+ let resultPromise;
1534
+ if (hooks.isSemanticNullResponse(response2)) {
1535
+ resultPromise = Promise.resolve(ok$2(null));
1536
+ } else if (hooks.isProtocolNoBodyStatus(response2.status) && !hooks.isSemanticNullResponse(response2)) {
1537
+ resultPromise = Promise.resolve(
1538
+ err$1(
1539
+ toError(
1540
+ `Unexpected ${response2.status} response: no-content status was not declared in the API specification. Declare this response in your OAS without a content property.`
1541
+ )
1542
+ )
1543
+ );
1544
+ } else {
1545
+ resultPromise = response2.json().then(
1546
+ (json) => ok$2(json),
1547
+ (reason) => err$1(toError(reason))
1548
+ );
1549
+ }
1550
+ return resultPromise.finally(() => {
1551
+ try {
1552
+ hooks.afterRequestHooks({ statusCode: response2.status });
1553
+ } catch {
1554
+ }
1555
+ });
1556
+ } else {
1557
+ return hooks.coerceError(response2).then((coercedError) => {
1558
+ return err$1(coercedError);
1559
+ }).finally(() => {
1560
+ try {
1561
+ hooks.afterRequestHooks({ statusCode: response2.status });
1562
+ } catch {
1563
+ }
1564
+ });
1565
+ }
1566
+ },
1567
+ (reason) => err$1(toError(reason))
1568
+ );
1569
+ }
1570
+ function completeRefresh(result, getSubscriptions, options = {}) {
1571
+ const { previousResult } = options;
1572
+ if (!options.suppressEqualSuccesses || result.isErr() || !previousResult || previousResult.isErr() || !deepEquals$1(previousResult.value, result.value)) {
1573
+ const subscriptions = getSubscriptions();
1574
+ const callbacks = options.skipRemovedSubscriptions ? [...subscriptions] : subscriptions;
1575
+ callbacks.forEach((callback) => {
1576
+ if (options.skipRemovedSubscriptions && !getSubscriptions().includes(callback)) return;
1577
+ try {
1578
+ callback(result);
1579
+ } catch {
1580
+ }
1581
+ });
1582
+ }
1583
+ return options.reportFailure && result.isErr() ? result : ok$2(void 0);
1584
+ }
1468
1585
  function isAbortableCommand(command) {
1469
1586
  return !!command && typeof command === "object" && "isAbortableCommand" in command && command.isAbortableCommand === true;
1470
1587
  }
@@ -1504,18 +1621,18 @@ function createAbortableDecorator(command, options) {
1504
1621
  }
1505
1622
  if (prop === "fetchParams") {
1506
1623
  const originalFetchParams = Reflect.get(target, prop, receiver);
1507
- const isInternal = Reflect.get(target, "isInternalExecution", receiver) === true;
1624
+ const suppressAbortSignal = Reflect.get(target, "isInternalExecution", receiver) === true;
1508
1625
  if (typeof originalFetchParams === "function") {
1509
1626
  return function(...args) {
1510
1627
  const originalReturnValue = originalFetchParams.apply(this, args);
1511
- if (!isInternal) {
1628
+ if (!suppressAbortSignal) {
1512
1629
  const [url, init = {}] = originalReturnValue;
1513
1630
  return [url, { signal, ...init }];
1514
1631
  }
1515
1632
  return originalReturnValue;
1516
1633
  };
1517
1634
  } else {
1518
- if (!isInternal && originalFetchParams && Array.isArray(originalFetchParams)) {
1635
+ if (!suppressAbortSignal && originalFetchParams && Array.isArray(originalFetchParams)) {
1519
1636
  const [url, init = {}] = originalFetchParams;
1520
1637
  return [url, { signal, ...init }];
1521
1638
  }
@@ -1548,38 +1665,35 @@ const _FetchNetworkCommand = class _FetchNetworkCommand extends NetworkCommand {
1548
1665
  this.services = services;
1549
1666
  this.additionalNullResponses = [];
1550
1667
  }
1551
- /**
1552
- * The command's operation type. Generated command subclasses override this
1553
- * getter with their concrete operation (see the generator's
1554
- * `generateOperationType`); the base returns `undefined` for commands that
1555
- * don't declare one (e.g. hand-written commands). Transport-layer
1556
- * interceptors use it to tell a read (`query`) apart from a write — see
1557
- * `fetch`, which folds it into the context seed and derives
1558
- * `onestore.retrySafe` from it.
1559
- */
1560
1668
  get operationType() {
1561
1669
  return void 0;
1562
1670
  }
1563
- /** Declared `onestore` options (`handleServerError`, `compression`); generated overrides (`generateRequestOptionsGetter`). */
1564
1671
  get requestOptions() {
1565
1672
  return void 0;
1566
1673
  }
1567
1674
  fetch(contextSeed) {
1568
- try {
1569
- const [input, init] = this.fetchParams;
1570
- const operationType = this.operationType;
1571
- const initWithOptions = applyOperationRequestOptions(
1572
- init,
1573
- operationType,
1574
- this.requestOptions
1575
- );
1576
- const seed = operationType === void 0 ? contextSeed : { operationType, ...contextSeed };
1577
- const initWithSeed = seed === void 0 ? initWithOptions : { ...initWithOptions, __contextSeed: seed };
1578
- const fetchCall = initWithSeed === void 0 ? this.services.fetch(input) : this.services.fetch(input, initWithSeed);
1579
- return this.convertFetchResponseToData(fetchCall);
1580
- } catch (reason) {
1581
- return resolvedPromiseLike$2(err$1(toError(reason)));
1582
- }
1675
+ return fetchFromNetwork(
1676
+ () => ({
1677
+ services: this.services,
1678
+ params: this.fetchParams,
1679
+ operationType: this.operationType,
1680
+ requestOptions: this.requestOptions
1681
+ }),
1682
+ {
1683
+ isSemanticNullResponse: (response) => this.isSemanticNullResponse(response),
1684
+ isProtocolNoBodyStatus: (status) => this.isProtocolNoBodyStatus(status),
1685
+ coerceError: (response) => this.coerceError(response),
1686
+ afterRequestHooks: (options) => this.afterRequestHooks(options)
1687
+ },
1688
+ contextSeed
1689
+ );
1690
+ }
1691
+ refresh() {
1692
+ return this.execute().then((newResult) => {
1693
+ if (!isSubscribableResult(newResult)) return ok$2(void 0);
1694
+ const result = newResult.isOk() ? ok$2(newResult.value.data) : err$1(newResult.error.failure);
1695
+ return completeRefresh(result, () => this.subscriptions);
1696
+ });
1583
1697
  }
1584
1698
  isSemanticNullResponse(response) {
1585
1699
  return this.additionalNullResponses.includes(response.status);
@@ -1587,53 +1701,9 @@ const _FetchNetworkCommand = class _FetchNetworkCommand extends NetworkCommand {
1587
1701
  isProtocolNoBodyStatus(status) {
1588
1702
  return status === 204 || status === 205;
1589
1703
  }
1590
- isUndeclaredNoBodyResponse(response) {
1591
- return this.isProtocolNoBodyStatus(response.status) && !this.isSemanticNullResponse(response);
1592
- }
1593
1704
  async coerceError(errorResponse) {
1594
1705
  return toError(errorResponse.statusText);
1595
1706
  }
1596
- convertFetchResponseToData(response) {
1597
- return response.then(
1598
- (response2) => {
1599
- if (response2.ok) {
1600
- let resultPromise;
1601
- if (this.isSemanticNullResponse(response2)) {
1602
- resultPromise = Promise.resolve(ok$2(null));
1603
- } else if (this.isUndeclaredNoBodyResponse(response2)) {
1604
- resultPromise = Promise.resolve(
1605
- err$1(
1606
- toError(
1607
- `Unexpected ${response2.status} response: no-content status was not declared in the API specification. Declare this response in your OAS without a content property.`
1608
- )
1609
- )
1610
- );
1611
- } else {
1612
- resultPromise = response2.json().then(
1613
- (json) => ok$2(json),
1614
- (reason) => err$1(toError(reason))
1615
- );
1616
- }
1617
- return resultPromise.finally(() => {
1618
- try {
1619
- this.afterRequestHooks({ statusCode: response2.status });
1620
- } catch {
1621
- }
1622
- });
1623
- } else {
1624
- return this.coerceError(response2).then((coercedError) => {
1625
- return err$1(coercedError);
1626
- }).finally(() => {
1627
- try {
1628
- this.afterRequestHooks({ statusCode: response2.status });
1629
- } catch {
1630
- }
1631
- });
1632
- }
1633
- },
1634
- (reason) => err$1(toError(reason))
1635
- );
1636
- }
1637
1707
  };
1638
1708
  _FetchNetworkCommand.availableDecorators = {
1639
1709
  abortable: createAbortableDecorator
@@ -2713,7 +2783,7 @@ function buildServiceDescriptor$d(luvio) {
2713
2783
  },
2714
2784
  };
2715
2785
  }
2716
- // version: 1.467.0-4f065d2a2a
2786
+ // version: 1.469.0-efd4e5a180
2717
2787
 
2718
2788
  class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheControlCommand {
2719
2789
  constructor(config, documentRootType, services) {
@@ -3052,7 +3122,7 @@ function buildServiceDescriptor$9(notifyRecordUpdateAvailable, getNormalizedLuvi
3052
3122
  },
3053
3123
  };
3054
3124
  }
3055
- // version: 1.467.0-4f065d2a2a
3125
+ // version: 1.469.0-efd4e5a180
3056
3126
 
3057
3127
  class RetryService {
3058
3128
  constructor(defaultRetryPolicy) {
@@ -3375,6 +3445,53 @@ function buildBaseImperativeInvoker(getCommand, transformResult) {
3375
3445
  }
3376
3446
  };
3377
3447
  }
3448
+ function assertSubscribable(result, report) {
3449
+ if (!isSubscribableResult(result)) {
3450
+ report("Non-subscribable result encountered - please use correct operation type");
3451
+ throw new Error("Internal error in Lightning Data Service adapter occurred");
3452
+ }
3453
+ }
3454
+ function toQueryUpdate(result) {
3455
+ return result.isOk() ? { data: result.value, error: void 0 } : { data: void 0, error: unwrapUserlandError(result.error) };
3456
+ }
3457
+ class SubscribableImperativeBindingsService {
3458
+ bind(getCommand, exposeRefresh = false) {
3459
+ return buildBaseImperativeInvoker(
3460
+ getCommand,
3461
+ (result) => this.transformResult(result, exposeRefresh)
3462
+ );
3463
+ }
3464
+ transformResult(result, exposeRefresh = false) {
3465
+ assertSubscribable(result, (message) => console.error(message));
3466
+ if (result.isErr()) throwUnwrappedUserlandError(result.error.failure);
3467
+ deepFreeze(result.value.data);
3468
+ const api = {
3469
+ data: result.value.data,
3470
+ subscribe: (callback) => result.value.subscribe((update) => {
3471
+ const { data, error } = toQueryUpdate(update);
3472
+ return callback({ data, error });
3473
+ })
3474
+ };
3475
+ if (exposeRefresh) {
3476
+ return {
3477
+ ...api,
3478
+ refresh: () => result.value.refresh().then((refreshed) => {
3479
+ if (refreshed.isOk()) return void 0;
3480
+ throw refreshed.error;
3481
+ })
3482
+ };
3483
+ }
3484
+ return api;
3485
+ }
3486
+ }
3487
+ function buildServiceDescriptor$7() {
3488
+ return {
3489
+ type: "subscribableImperativeBindings",
3490
+ version: "1.0",
3491
+ service: new SubscribableImperativeBindingsService()
3492
+ };
3493
+ }
3494
+
3378
3495
  const supportedCachePolicyTypes = ["no-cache", "only-if-cached"];
3379
3496
  function requestContextIsSupportedCachePolicy(requestContext) {
3380
3497
  return typeof requestContext === "object" && requestContext !== null && "cachePolicy" in requestContext && typeof requestContext.cachePolicy === "object" && requestContext.cachePolicy !== null && "type" in requestContext.cachePolicy && typeof requestContext.cachePolicy.type === "string" && supportedCachePolicyTypes.includes(
@@ -3427,7 +3544,7 @@ class DefaultImperativeBindingsService {
3427
3544
  });
3428
3545
  }
3429
3546
  }
3430
- function buildServiceDescriptor$6() {
3547
+ function buildServiceDescriptor$5() {
3431
3548
  return {
3432
3549
  type: "defaultImperativeBindings",
3433
3550
  version: "1.0",
@@ -3447,70 +3564,13 @@ class QueryImperativeBindingsService {
3447
3564
  });
3448
3565
  }
3449
3566
  }
3450
- function buildServiceDescriptor$5() {
3567
+ function buildServiceDescriptor$4() {
3451
3568
  return {
3452
3569
  type: "queryImperativeBindings",
3453
3570
  version: "1.0",
3454
3571
  service: new QueryImperativeBindingsService()
3455
3572
  };
3456
3573
  }
3457
- class SubscribableImperativeBindingsService {
3458
- bind(getCommand, exposeRefresh = false) {
3459
- return buildBaseImperativeInvoker(
3460
- getCommand,
3461
- (result) => this.transformResult(result, exposeRefresh)
3462
- );
3463
- }
3464
- transformResult(result, exposeRefresh = false) {
3465
- if (!isSubscribableResult(result)) {
3466
- console.error(
3467
- "Non-subscribable result encountered - please use correct operation type"
3468
- );
3469
- throw new Error("Internal error in Lightning Data Service adapter occurred");
3470
- }
3471
- if (result.isOk()) {
3472
- deepFreeze(result.value.data);
3473
- const api = {
3474
- data: result.value.data,
3475
- subscribe: (cb) => {
3476
- return result.value.subscribe((result2) => {
3477
- if (result2.isErr()) {
3478
- return cb({
3479
- data: void 0,
3480
- error: unwrapUserlandError(result2.error)
3481
- });
3482
- }
3483
- return cb({ data: result2.value, error: void 0 });
3484
- });
3485
- }
3486
- };
3487
- if (exposeRefresh) {
3488
- return {
3489
- ...api,
3490
- refresh: () => {
3491
- return result.value.refresh().then((res) => {
3492
- if (res.isOk()) {
3493
- return void 0;
3494
- }
3495
- throw res.error;
3496
- });
3497
- }
3498
- };
3499
- } else {
3500
- return api;
3501
- }
3502
- } else {
3503
- throwUnwrappedUserlandError(result.error.failure);
3504
- }
3505
- }
3506
- }
3507
- function buildServiceDescriptor$4() {
3508
- return {
3509
- type: "subscribableImperativeBindings",
3510
- version: "1.0",
3511
- service: new SubscribableImperativeBindingsService()
3512
- };
3513
- }
3514
3574
  class LegacyImperativeBindingsService {
3515
3575
  bind(getCommand) {
3516
3576
  const invoke = async (config, requestContext, callback) => {
@@ -3812,7 +3872,7 @@ class GraphQLMutationBindingsService {
3812
3872
  };
3813
3873
  }
3814
3874
  }
3815
- function buildServiceDescriptor$7() {
3875
+ function buildServiceDescriptor$6() {
3816
3876
  return {
3817
3877
  type: "graphQLMutationBindings",
3818
3878
  version: "1.0",
@@ -6143,7 +6203,7 @@ function createActionEndMark(responseStatus, responseStatusText, serverTiming, u
6143
6203
  const ctx = {
6144
6204
  id: instrumentationId,
6145
6205
  state: responseStatusText || getResponseStatusText(responseStatus.toString()),
6146
- def: url,
6206
+ def: toMarkDef(url),
6147
6207
  };
6148
6208
  // this step adds the serverTime to the base object, as opposed to being in the context field
6149
6209
  const receiveCtx = { ...ctx, serverTime: getServerTimeObject(serverTiming) };
@@ -6151,6 +6211,18 @@ function createActionEndMark(responseStatus, responseStatusText, serverTiming, u
6151
6211
  mark('actions', 'finishStart', ctx);
6152
6212
  mark('actions', 'finishEnd', ctx);
6153
6213
  }
6214
+ // A path segment (or comma-separated item within one, e.g. records/batch/001..,005..,
6215
+ // with the comma raw or percent-encoded) that looks like a 15- or 18-char Salesforce ID.
6216
+ // Requiring a digit keeps alphabetic API names of the same length (e.g.
6217
+ // OpportunityHistory) intact.
6218
+ const RECORD_ID_SEGMENT = /(\/|,|%2[Cc])(?=[A-Za-z]*\d)[A-Za-z0-9]{15}(?:[A-Za-z0-9]{3})?(?=\/|,|%2[Cc]|$)/g;
6219
+ // The action mark `def` is beaconed to the server, whose PII check flags user IDs (005...)
6220
+ // anywhere under marks.actions and then re-tokenizes the entire payload. Drop the query
6221
+ // string and template record IDs so `def` identifies the endpoint without carrying data,
6222
+ // analogous to the Aura action name it replaces.
6223
+ function toMarkDef(url) {
6224
+ return url.split(/[?#]/)[0].replace(RECORD_ID_SEGMENT, '$1{id}');
6225
+ }
6154
6226
  const seenResources = new WeakSet();
6155
6227
  function createTransportEndMark(responseStatus, responseStatusText, url, context, errorMessage) {
6156
6228
  if (context && context.instrumentationId) {
@@ -8087,7 +8159,7 @@ function getEnvironmentSetting(name) {
8087
8159
  }
8088
8160
  return undefined;
8089
8161
  }
8090
- // version: 1.467.0-049a8b6027
8162
+ // version: 1.469.0-20bccd4816
8091
8163
 
8092
8164
  const auraClientService = getAuraClientService();
8093
8165
  const defaultConfig = {
@@ -8554,9 +8626,6 @@ function buildLuvioThirdPartyTrackerFinishInterceptor() {
8554
8626
  };
8555
8627
  }
8556
8628
 
8557
- function isOneRuntime() {
8558
- return !!globalThis.LWR;
8559
- }
8560
8629
  /**
8561
8630
  * Single content documents version URL.
8562
8631
  * Exported for reuse in tests.
@@ -8576,28 +8645,18 @@ const CONTENT_DOCUMENTS_VERSIONS_PATH = '/ui-api/records/content-documents/conte
8576
8645
  * paths: ['/ui-api/some-endpoint/{id}'],
8577
8646
  * }
8578
8647
  */
8579
- // Each runtime uses a SINGLE LDS gate that enables both the public and
8580
- // private path lists. The public/private split is preserved as two separate
8581
- // arrays because the PRIVATE paths carry an extra condition: the server-side
8648
+ // Aura Sites uses a SINGLE LDS gate that enables both the public and private
8649
+ // path lists. The public/private split is preserved as two separate arrays
8650
+ // because the PRIVATE paths carry an extra condition: the server-side
8582
8651
  // `auraBasedRequests` UiSdk gate. If UiSdk turns that gate off, private
8583
8652
  // (UiTier-restricted) Connect resources can no longer be served over HTTP and
8584
8653
  // must fall back to Aura, whereas public/allowlisted paths are unaffected.
8585
8654
  //
8586
- // Runtimes are mutually exclusive: One Runtime (globalThis.LWR), Aura Sites
8587
- // ($Site present), and LEX/one.app (everything else). Each has its own gate.
8655
+ // Both LEX flavors have their own fork packages and gate HTTP UIAPI there:
8656
+ // one.app on `lds-runtime-one-app`, LEX on One Runtime (LWR) on
8657
+ // `lds-runtime-one-runtime`. Other runtimes that boot this package (non-LEX
8658
+ // LWR apps included) get UIAPI over Aura; only content-documents uses HTTP.
8588
8659
  const PREDICATE_PATH_SETS = [
8589
- // One Runtime — public UIAPI endpoints
8590
- {
8591
- predicate: () => isOneRuntime() && useHttpUiapiOneRuntime.isOpen({ fallback: false }),
8592
- paths: UIAPI_PUBLIC_PATHS,
8593
- },
8594
- // One Runtime — private UIAPI endpoints (also require the UiSdk gate)
8595
- {
8596
- predicate: () => isOneRuntime() &&
8597
- useHttpUiapiOneRuntime.isOpen({ fallback: false }) &&
8598
- auraBasedRequestsEnabled.isOpen({ fallback: false }),
8599
- paths: UIAPI_PRIVATE_PATHS,
8600
- },
8601
8660
  // Aura Sites — public UIAPI endpoints.
8602
8661
  // Gate defaults closed, which keeps HTTP UIAPI OFF on Aura/Experience sites:
8603
8662
  // the HTTP transport's CSRF handling is broken there (W-23092947), so until
@@ -8615,8 +8674,8 @@ const PREDICATE_PATH_SETS = [
8615
8674
  paths: UIAPI_PRIVATE_PATHS,
8616
8675
  },
8617
8676
  // Content document + version creation. Excluded on Aura Sites for the same
8618
- // broken-CSRF reason as the UIAPI paths (W-23092947); LEX / One Runtime are
8619
- // unaffected.
8677
+ // broken-CSRF reason as the UIAPI paths (W-23092947); every other runtime
8678
+ // that boots this package (including non-LEX LWR apps) is unaffected.
8620
8679
  {
8621
8680
  predicate: () => !isAuraSite(),
8622
8681
  paths: [CONTENT_DOCUMENTS_VERSIONS_PATH],
@@ -9505,13 +9564,13 @@ function initializeOneStore(luvio) {
9505
9564
  buildServiceDescriptor$b(),
9506
9565
  featureFlagsServiceDescriptor,
9507
9566
  retryServiceDescriptor,
9508
- buildServiceDescriptor$6(),
9509
9567
  buildServiceDescriptor$5(),
9510
9568
  buildServiceDescriptor$4(),
9569
+ buildServiceDescriptor$7(),
9511
9570
  buildServiceDescriptor$3$1(),
9512
9571
  buildServiceDescriptor$2$1(),
9513
9572
  buildServiceDescriptor$1$2(),
9514
- buildServiceDescriptor$7(),
9573
+ buildServiceDescriptor$6(),
9515
9574
  buildLWCWireBindingsServiceDescriptor(),
9516
9575
  buildLWCGraphQLWireBindingsServiceDescriptor(),
9517
9576
  configServiceDescriptor,
@@ -9542,4 +9601,4 @@ function ldsEngineCreator() {
9542
9601
  }
9543
9602
 
9544
9603
  export { PDL_ENGINE_REGISTRATION_ID, buildPredictorForContext, configService, ldsEngineCreator as default, initializeLDS, initializeOneStore, notifyUpdateAvailableFactory };
9545
- // version: 1.467.0-4f065d2a2a
9604
+ // version: 1.469.0-efd4e5a180
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-aura",
3
- "version": "1.467.0",
3
+ "version": "1.469.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Aura runtime.",
6
6
  "main": "dist/ldsEngineCreator.js",
@@ -34,54 +34,54 @@
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.34.0",
38
- "@conduit-client/tools-core": "3.34.0",
39
- "@salesforce/lds-adapters-apex": "^1.467.0",
40
- "@salesforce/lds-adapters-uiapi": "^1.467.0",
41
- "@salesforce/lds-ads-bridge": "^1.467.0",
42
- "@salesforce/lds-aura-storage": "^1.467.0",
43
- "@salesforce/lds-bindings": "^1.467.0",
44
- "@salesforce/lds-instrumentation": "^1.467.0",
45
- "@salesforce/lds-network-adapter": "^1.467.0",
46
- "@salesforce/lds-network-aura": "^1.467.0",
47
- "@salesforce/lds-network-fetch": "^1.467.0",
48
- "@salesforce/lds-runtime-shared": "^1.467.0",
37
+ "@conduit-client/service-provisioner": "3.35.1",
38
+ "@conduit-client/tools-core": "3.35.1",
39
+ "@salesforce/lds-adapters-apex": "^1.469.0",
40
+ "@salesforce/lds-adapters-uiapi": "^1.469.0",
41
+ "@salesforce/lds-ads-bridge": "^1.469.0",
42
+ "@salesforce/lds-aura-storage": "^1.469.0",
43
+ "@salesforce/lds-bindings": "^1.469.0",
44
+ "@salesforce/lds-instrumentation": "^1.469.0",
45
+ "@salesforce/lds-network-adapter": "^1.469.0",
46
+ "@salesforce/lds-network-aura": "^1.469.0",
47
+ "@salesforce/lds-network-fetch": "^1.469.0",
48
+ "@salesforce/lds-runtime-shared": "^1.469.0",
49
49
  "jwt-encode": "1.0.1"
50
50
  },
51
51
  "dependencies": {
52
- "@conduit-client/command-aura-graphql-normalized-cache-control": "3.34.0",
53
- "@conduit-client/command-aura-network": "3.34.0",
54
- "@conduit-client/command-aura-normalized-cache-control": "3.34.0",
55
- "@conduit-client/command-fetch-network": "3.34.0",
56
- "@conduit-client/command-http-graphql-normalized-cache-control": "3.34.0",
57
- "@conduit-client/command-http-normalized-cache-control": "3.34.0",
58
- "@conduit-client/command-ndjson": "3.34.0",
59
- "@conduit-client/command-network": "3.34.0",
60
- "@conduit-client/command-sse": "3.34.0",
61
- "@conduit-client/command-streaming": "3.34.0",
62
- "@conduit-client/jwt-manager": "3.34.0",
63
- "@conduit-client/service-aura-network": "3.34.0",
64
- "@conduit-client/service-bindings-imperative": "3.34.0",
65
- "@conduit-client/service-bindings-lwc": "3.34.0",
66
- "@conduit-client/service-cache": "3.34.0",
67
- "@conduit-client/service-cache-control": "3.34.0",
68
- "@conduit-client/service-cache-inclusion-policy": "3.34.0",
69
- "@conduit-client/service-config": "3.34.0",
70
- "@conduit-client/service-feature-flags": "3.34.0",
71
- "@conduit-client/service-fetch-network": "3.34.0",
72
- "@conduit-client/service-instrument-command": "3.34.0",
73
- "@conduit-client/service-pubsub": "3.34.0",
74
- "@conduit-client/service-renewable-resource-manager": "3.34.0",
75
- "@conduit-client/service-store": "3.34.0",
76
- "@conduit-client/utils": "3.34.0",
52
+ "@conduit-client/command-aura-graphql-normalized-cache-control": "3.35.1",
53
+ "@conduit-client/command-aura-network": "3.35.1",
54
+ "@conduit-client/command-aura-normalized-cache-control": "3.35.1",
55
+ "@conduit-client/command-fetch-network": "3.35.1",
56
+ "@conduit-client/command-http-graphql-normalized-cache-control": "3.35.1",
57
+ "@conduit-client/command-http-normalized-cache-control": "3.35.1",
58
+ "@conduit-client/command-ndjson": "3.35.1",
59
+ "@conduit-client/command-network": "3.35.1",
60
+ "@conduit-client/command-sse": "3.35.1",
61
+ "@conduit-client/command-streaming": "3.35.1",
62
+ "@conduit-client/jwt-manager": "3.35.1",
63
+ "@conduit-client/service-aura-network": "3.35.1",
64
+ "@conduit-client/service-bindings-imperative": "3.35.1",
65
+ "@conduit-client/service-bindings-lwc": "3.35.1",
66
+ "@conduit-client/service-cache": "3.35.1",
67
+ "@conduit-client/service-cache-control": "3.35.1",
68
+ "@conduit-client/service-cache-inclusion-policy": "3.35.1",
69
+ "@conduit-client/service-config": "3.35.1",
70
+ "@conduit-client/service-feature-flags": "3.35.1",
71
+ "@conduit-client/service-fetch-network": "3.35.1",
72
+ "@conduit-client/service-instrument-command": "3.35.1",
73
+ "@conduit-client/service-pubsub": "3.35.1",
74
+ "@conduit-client/service-renewable-resource-manager": "3.35.1",
75
+ "@conduit-client/service-store": "3.35.1",
76
+ "@conduit-client/utils": "3.35.1",
77
77
  "@luvio/network-adapter-composable": "0.161.2",
78
78
  "@luvio/network-adapter-fetch": "0.161.2",
79
79
  "@lwc/state": "^0.29.0",
80
- "@salesforce/lds-adapters-onestore-graphql": "^1.467.0",
80
+ "@salesforce/lds-adapters-onestore-graphql": "^1.469.0",
81
81
  "@salesforce/lds-adapters-uiapi-lex": "^1.415.0",
82
- "@salesforce/lds-durable-storage": "^1.467.0",
83
- "@salesforce/lds-luvio-service": "^1.467.0",
84
- "@salesforce/lds-luvio-uiapi-records-service": "^1.467.0"
82
+ "@salesforce/lds-durable-storage": "^1.469.0",
83
+ "@salesforce/lds-luvio-service": "^1.469.0",
84
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.469.0"
85
85
  },
86
86
  "luvioBundlesize": [
87
87
  {