@salesforce/lds-runtime-aura 1.433.0 → 1.434.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.
@@ -21,9 +21,9 @@ import { GetApexWireAdapterFactory, registerPrefetcher as registerPrefetcher$1 }
21
21
  import { instrument, getRecordAvatarsAdapterFactory, getRecordAdapterFactory, coerceFieldIdArray, coerceLayoutTypeArray, coerceLayoutModeArray, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getObjectInfosAdapterFactory, coerceObjectIdArray, getObjectInfoAdapterFactory, coerceObjectId, getRelatedListsActionsAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getListRecordsByNameAdapterFactory, getListObjectInfoAdapterFactory, getRelatedListsInfoAdapterFactory, getRelatedListActionsAdapterFactory, getRecordId18Array, buildRecordRepKeyFromId, configuration, InMemoryRecordRepresentationQueryEvaluator, UiApiNamespace, RecordRepresentationRepresentationType, registerPrefetcher, RecordRepresentationVersion } from 'force/ldsAdaptersUiapi';
22
22
  import { getInstrumentation } from 'o11y/client';
23
23
  import { findExecutableOperation, buildGraphQLInputExtension, addTypenameToDocument } from 'force/luvioGraphqlNormalization';
24
- import { print, resolveAndValidateGraphQLConfig } from 'force/luvioOnestoreGraphqlParser';
24
+ import { print, resolveAndValidateGraphQLConfig, toGraphQLErrorResponse } from 'force/luvioOnestoreGraphqlParser';
25
25
  import { setServices } from 'force/luvioServiceProvisioner1';
26
- import { assertIsValid, MissingRequiredPropertyError, JsonSchemaViolationError } from 'force/luvioJsonschemaValidate5';
26
+ import { assertIsValid, JsonSchemaViolationError, MissingRequiredPropertyError } from 'force/luvioJsonschemaValidate5';
27
27
  import { dispatchGlobalEvent, executeGlobalControllerRawResponse } from 'aura';
28
28
  import auraNetworkAdapter, { dispatchAuraAction, defaultActionConfig, instrument as instrument$1, forceRecordTransactionsDisabled as forceRecordTransactionsDisabled$1, ldsNetworkAdapterInstrument, CrudEventState, CrudEventType, UIAPI_RECORDS_PATH, UIAPI_RELATED_LIST_RECORDS_BATCH_PATH, UIAPI_RELATED_LIST_RECORDS_PATH } from 'force/ldsNetwork';
29
29
  import { ThirdPartyTracker } from 'instrumentation:thirdPartyTracker';
@@ -2759,7 +2759,7 @@ function buildServiceDescriptor$d(luvio) {
2759
2759
  },
2760
2760
  };
2761
2761
  }
2762
- // version: 1.433.0-db129b48d2
2762
+ // version: 1.434.0-6aa2dd15e3
2763
2763
 
2764
2764
  /*!
2765
2765
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3112,7 +3112,7 @@ function buildServiceDescriptor$9(notifyRecordUpdateAvailable, getNormalizedLuvi
3112
3112
  },
3113
3113
  };
3114
3114
  }
3115
- // version: 1.433.0-db129b48d2
3115
+ // version: 1.434.0-6aa2dd15e3
3116
3116
 
3117
3117
  /*!
3118
3118
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3519,13 +3519,7 @@ class GraphQLImperativeBindingsService {
3519
3519
  }
3520
3520
  return await buildBaseImperativeInvoker(getCommand, (result) => this.transformResult(result, exposeRefresh))(...params);
3521
3521
  } catch (error) {
3522
- logError$1(error);
3523
- return {
3524
- data: void 0,
3525
- errors: [
3526
- { message: "Internal error in GraphQL adapter occurred", locations: [] }
3527
- ]
3528
- };
3522
+ return toGraphQLErrorResponse(error);
3529
3523
  }
3530
3524
  };
3531
3525
  }
@@ -3619,8 +3613,8 @@ class GraphQLLegacyImperativeBindingsService {
3619
3613
  config = result.value;
3620
3614
  }
3621
3615
  }
3622
- const command = getCommand({ config, assertIsValid });
3623
3616
  try {
3617
+ const command = getCommand({ config, assertIsValid });
3624
3618
  const overrides = getOverridesForLegacyRequestContext(requestContext);
3625
3619
  const result = await command.execute(overrides);
3626
3620
  const consumerEmittedData = {
@@ -3637,13 +3631,7 @@ class GraphQLLegacyImperativeBindingsService {
3637
3631
  }
3638
3632
  callback(consumerEmittedData);
3639
3633
  } catch (error) {
3640
- logError$1(error);
3641
- callback({
3642
- data: void 0,
3643
- errors: [
3644
- { message: "Internal error in GraphQL adapter occurred", locations: [] }
3645
- ]
3646
- });
3634
+ callback(toGraphQLErrorResponse(error));
3647
3635
  }
3648
3636
  };
3649
3637
  const subscribe = (config, requestContext, callback) => {
@@ -3661,35 +3649,41 @@ class GraphQLLegacyImperativeBindingsService {
3661
3649
  config = result.value;
3662
3650
  }
3663
3651
  }
3664
- const command = getCommand({ config, assertIsValid });
3665
3652
  let unsubscribe = () => {
3666
3653
  };
3667
- const overrides = getOverridesForLegacyRequestContext(requestContext);
3668
- command.execute(overrides).then((result) => {
3669
- const consumerEmittedData = {
3670
- data: void 0,
3671
- errors: void 0
3672
- };
3673
- if (result.isOk()) {
3674
- deepFreeze(result.value);
3675
- consumerEmittedData.data = result.value.data.data;
3676
- unsubscribe = result.value.subscribe(
3677
- (res) => {
3678
- handleEmit(res, callback);
3679
- }
3680
- );
3681
- } else {
3682
- const { data, errors } = toGraphQLResponseFromFailure$1(result.error.failure);
3683
- consumerEmittedData.data = data;
3684
- consumerEmittedData.errors = errors;
3685
- unsubscribe = result.error.subscribe(
3686
- (res) => {
3687
- handleEmit(res, callback);
3688
- }
3689
- );
3690
- }
3691
- callback(consumerEmittedData);
3692
- });
3654
+ try {
3655
+ const command = getCommand({ config, assertIsValid });
3656
+ const overrides = getOverridesForLegacyRequestContext(requestContext);
3657
+ command.execute(overrides).then((result) => {
3658
+ const consumerEmittedData = {
3659
+ data: void 0,
3660
+ errors: void 0
3661
+ };
3662
+ if (result.isOk()) {
3663
+ deepFreeze(result.value);
3664
+ consumerEmittedData.data = result.value.data.data;
3665
+ unsubscribe = result.value.subscribe(
3666
+ (res) => {
3667
+ handleEmit(res, callback);
3668
+ }
3669
+ );
3670
+ } else {
3671
+ const { data, errors } = toGraphQLResponseFromFailure$1(
3672
+ result.error.failure
3673
+ );
3674
+ consumerEmittedData.data = data;
3675
+ consumerEmittedData.errors = errors;
3676
+ unsubscribe = result.error.subscribe(
3677
+ (res) => {
3678
+ handleEmit(res, callback);
3679
+ }
3680
+ );
3681
+ }
3682
+ callback(consumerEmittedData);
3683
+ });
3684
+ } catch (error) {
3685
+ callback(toGraphQLErrorResponse(error));
3686
+ }
3693
3687
  return () => {
3694
3688
  unsubscribe();
3695
3689
  };
@@ -3732,13 +3726,7 @@ class GraphQLMutationBindingsService {
3732
3726
  return toGraphQLResponseFromFailure$1(result.error.failure);
3733
3727
  }
3734
3728
  } catch (error) {
3735
- logError$1(error);
3736
- return {
3737
- data: void 0,
3738
- errors: [
3739
- { message: "Internal error in GraphQL adapter occurred", locations: [] }
3740
- ]
3741
- };
3729
+ return toGraphQLErrorResponse(error);
3742
3730
  }
3743
3731
  };
3744
3732
  }
@@ -3898,6 +3886,10 @@ class CommandWireAdapterConstructor {
3898
3886
  if (isIncompleteConfigError(err)) {
3899
3887
  return;
3900
3888
  }
3889
+ if (err instanceof JsonSchemaViolationError) {
3890
+ this.handleConfigSchemaViolation(err);
3891
+ return;
3892
+ }
3901
3893
  throw err;
3902
3894
  }
3903
3895
  }
@@ -3950,6 +3942,16 @@ class CommandWireAdapterConstructor {
3950
3942
  handleExecutionThrow(error) {
3951
3943
  emitError(this.callback, error);
3952
3944
  }
3945
+ /**
3946
+ * Hook for subclasses to handle a JsonSchemaViolationError from the config
3947
+ * schema assertion. The default re-throws so legacy non-GraphQL wire
3948
+ * adapters keep their existing throw behavior. Overrides are expected to
3949
+ * either emit an error result or re-throw — silently returning will
3950
+ * swallow the error.
3951
+ */
3952
+ handleConfigSchemaViolation(error) {
3953
+ throw error;
3954
+ }
3953
3955
  unsubscribe() {
3954
3956
  if (this.unsubscriber) {
3955
3957
  this.unsubscriber();
@@ -4042,16 +4044,14 @@ class GraphQLCommandWireAdapterConstructor extends CommandWireAdapterConstructor
4042
4044
  this.callback(consumerEmittedData);
4043
4045
  }
4044
4046
  } catch (e) {
4045
- logError$1(e);
4046
4047
  this.handleExecutionThrow(e);
4047
4048
  }
4048
4049
  }
4049
- handleExecutionThrow(e) {
4050
- logError$1(e);
4051
- this.callback({
4052
- data: void 0,
4053
- errors: [{ message: "Internal error in GraphQL adapter occurred", locations: [] }]
4054
- });
4050
+ handleExecutionThrow(error) {
4051
+ this.callback(toGraphQLErrorResponse(error));
4052
+ }
4053
+ handleConfigSchemaViolation(error) {
4054
+ this.handleExecutionThrow(error);
4055
4055
  }
4056
4056
  update(config, _context) {
4057
4057
  this.unsubscribe();
@@ -5742,7 +5742,7 @@ function getEnvironmentSetting(name) {
5742
5742
  }
5743
5743
  return undefined;
5744
5744
  }
5745
- // version: 1.433.0-db129b48d2
5745
+ // version: 1.434.0-6aa2dd15e3
5746
5746
 
5747
5747
  const environmentHasAura = typeof window !== 'undefined' && typeof window.$A !== 'undefined';
5748
5748
  const defaultConfig = {
@@ -6138,6 +6138,7 @@ function buildLexRuntime5xxStatusResponseInterceptor(logger) {
6138
6138
  // Throw a simple error to terminate the request completely
6139
6139
  // The consumer has NOT opted in to handle 5xx errors, so we don't return any response
6140
6140
  // The systemError event above will handle showing the gack dialog
6141
+ // eslint-disable-next-line @salesforce/lds/no-error-in-production
6141
6142
  throw new Error(error.message);
6142
6143
  }
6143
6144
  return response;
@@ -6180,6 +6181,7 @@ function buildLexRuntimeLuvio5xxStatusResponseInterceptor() {
6180
6181
  // Throw a simple error to terminate the request completely
6181
6182
  // The consumer has NOT opted in to handle 5xx errors, so we don't return any response
6182
6183
  // The systemError event above will handle showing the gack dialog
6184
+ // eslint-disable-next-line @salesforce/lds/no-error-in-production
6183
6185
  throw new Error(error.message);
6184
6186
  }
6185
6187
  return response;
@@ -6369,6 +6371,7 @@ function buildCsrfTokenInterceptor() {
6369
6371
  if (isCsrfMethod(method)) {
6370
6372
  const token = await csrfTokenManager.getToken();
6371
6373
  if (token) {
6374
+ // eslint-disable-next-line no-param-reassign
6372
6375
  fetchArgs = setHeader(CSRF_TOKEN_HEADER, token, fetchArgs);
6373
6376
  }
6374
6377
  }
@@ -6543,6 +6546,7 @@ function findCorrectResource(resources, url, context) {
6543
6546
  const matchingResources = [];
6544
6547
  if (context.queryParams) {
6545
6548
  const urlWithParams = buildUrlWithParams(url, context.queryParams);
6549
+ // eslint-disable-next-line guard-for-in
6546
6550
  for (let entry in resources) {
6547
6551
  const resource = resources[entry];
6548
6552
  if (resource.name === urlWithParams && !seenResources.has(resource)) {
@@ -6554,6 +6558,7 @@ function findCorrectResource(resources, url, context) {
6554
6558
  return matchingResources[0];
6555
6559
  }
6556
6560
  else if (matchingResources.length > 1) {
6561
+ // eslint-disable-next-line no-param-reassign
6557
6562
  resources = matchingResources;
6558
6563
  }
6559
6564
  // this means that we have multiple of the same request, and so we will fall back to timing. But this is only a best estimate,
@@ -6633,6 +6638,7 @@ function buildTransportMarksSendInterceptor() {
6633
6638
  // First set the requestId header. If there's not context, it means we won't be able to track the mark and something is hosed, and so not worth even trying
6634
6639
  if (context && context.instrumentationId) {
6635
6640
  const requestId = context.instrumentationId;
6641
+ // eslint-disable-next-line no-param-reassign
6636
6642
  fetchArgs = setHeader(SFDC_REQUEST_ID_KEY, requestId, fetchArgs);
6637
6643
  context.startTime = performance.now();
6638
6644
  createTransportStartMark(requestId);
@@ -6930,7 +6936,7 @@ class CsrfTokenRetryPolicy extends RetryPolicy {
6930
6936
  }
6931
6937
  // Check if this is a CSRF error by examining the response body
6932
6938
  // This avoids retrying all 400s (validation errors, bad requests, etc.)
6933
- return await isCsrfError(result);
6939
+ return isCsrfError(result);
6934
6940
  }
6935
6941
  /**
6936
6942
  * CSRF token refresh should happen immediately with no delay.
@@ -6990,7 +6996,7 @@ async function isCsrfError(response) {
6990
6996
  }
6991
6997
 
6992
6998
  function buildCsrfRetryInterceptor() {
6993
- return async (fetchArgs, retryService, context) => {
6999
+ return async (fetchArgs, retryService, _context) => {
6994
7000
  if (retryService) {
6995
7001
  // Create mutable context for CSRF retry policy
6996
7002
  const mutableRequest = { args: fetchArgs };
@@ -7009,7 +7015,7 @@ function buildCsrfRetryInterceptor() {
7009
7015
  }
7010
7016
  // Retry service will call prepareRetry hook which updates mutableRequest.args
7011
7017
  return retryService.applyRetry(async () => {
7012
- return await fetch(...mutableRequest.args);
7018
+ return fetch(...mutableRequest.args);
7013
7019
  });
7014
7020
  }
7015
7021
  return fetch(...fetchArgs);
@@ -9915,6 +9921,7 @@ class FetchThrottlingRetryPolicy extends RetryPolicy {
9915
9921
  }
9916
9922
  }
9917
9923
 
9924
+ /* eslint-disable no-console */
9918
9925
  /**
9919
9926
  * Default storage configuration for the durable cache
9920
9927
  */
@@ -10209,6 +10216,7 @@ class AuraDurableCacheInclusionPolicy extends DurableCacheInclusionPolicy {
10209
10216
  buildUpdate(update, existing) {
10210
10217
  switch (update.type) {
10211
10218
  case 'invalidate':
10219
+ // eslint-disable-next-line no-case-declarations
10212
10220
  const updatedCacheControl = this.buildInvalidatedCacheControl(existing.metadata.cacheControl);
10213
10221
  return updatedCacheControl !== undefined
10214
10222
  ? { type: 'metadata', metadata: updatedCacheControl }
@@ -10217,6 +10225,7 @@ class AuraDurableCacheInclusionPolicy extends DurableCacheInclusionPolicy {
10217
10225
  // Eviction removes the entry entirely from storage
10218
10226
  return { type: 'delete' };
10219
10227
  default:
10228
+ // eslint-disable-next-line @salesforce/lds/no-error-in-production
10220
10229
  throw new Error(`Invalid update operation: ${update.type}`);
10221
10230
  }
10222
10231
  }
@@ -10267,12 +10276,10 @@ register({
10267
10276
  id: '@salesforce/lds-network-adapter',
10268
10277
  instrument: ldsNetworkAdapterInstrument,
10269
10278
  });
10270
- function setTrackedFieldsConfig(includeLeafNodeIdAndNameOnly) {
10271
- const depth = includeLeafNodeIdAndNameOnly ? 1 : 5;
10272
- configuration.setTrackedFieldLeafNodeIdAndNameOnly(includeLeafNodeIdAndNameOnly);
10273
- configuration.setTrackedFieldDepthOnCacheMiss(depth);
10274
- configuration.setTrackedFieldDepthOnCacheMergeConflict(depth);
10275
- configuration.setTrackedFieldDepthOnNotifyChange(depth);
10279
+ function setTrackedFieldsConfig() {
10280
+ configuration.setTrackedFieldDepthOnCacheMiss(1);
10281
+ configuration.setTrackedFieldDepthOnCacheMergeConflict(1);
10282
+ configuration.setTrackedFieldDepthOnNotifyChange(1);
10276
10283
  }
10277
10284
  function setupQueryEvaluators(luvio, store) {
10278
10285
  const baseQueryEvaluator = new InMemoryStoreQueryEvaluator(store);
@@ -10464,7 +10471,7 @@ function initializeLDS() {
10464
10471
  setupMetadataWatcher(luvio);
10465
10472
  setupQueryEvaluators(luvio, store);
10466
10473
  setDefaultLuvio({ luvio });
10467
- setTrackedFieldsConfig(true);
10474
+ setTrackedFieldsConfig();
10468
10475
  if (usePredictiveLoading.isOpen({ fallback: false })) {
10469
10476
  setupPredictivePrefetcher(luvio);
10470
10477
  }
@@ -10574,4 +10581,4 @@ function ldsEngineCreator() {
10574
10581
  }
10575
10582
 
10576
10583
  export { LexRequestStrategy, PdlPrefetcherEventType, PdlRequestPriority, buildPredictorForContext, configService, ldsEngineCreator as default, initializeLDS, initializeOneStore, notifyUpdateAvailableFactory, registerRequestStrategy, saveRequestAsPrediction, subscribeToPrefetcherEvents, unregisterRequestStrategy, whenPredictionsReady };
10577
- // version: 1.433.0-8a15a98f24
10584
+ // version: 1.434.0-d8deb0d4ea
@@ -1,6 +1,6 @@
1
1
  import { type LoggerService } from '@conduit-client/utils';
2
2
  import { type FetchServiceDescriptor } from '@conduit-client/service-fetch-network/v1';
3
- import { RetryService } from '@conduit-client/service-retry/v1';
3
+ import type { RetryService } from '@conduit-client/service-retry/v1';
4
4
  export declare function buildLexRuntimeDefaultFetchServiceDescriptor(logger: LoggerService, retryService?: RetryService<Response>): FetchServiceDescriptor;
5
5
  export declare function buildLexRuntimeAllow5xxFetchServiceDescriptor(logger: LoggerService, retryService?: RetryService<Response>): FetchServiceDescriptor;
6
6
  export declare function buildLexRuntimeCompressedFetchServiceDescriptor(logger: LoggerService, retryService?: RetryService<Response>): FetchServiceDescriptor;
@@ -1,2 +1,2 @@
1
- import { FinallyInterceptor } from '@conduit-client/service-fetch-network/v1';
1
+ import type { FinallyInterceptor } from '@conduit-client/service-fetch-network/v1';
2
2
  export declare function buildThirdPartyTrackerFinishInterceptor(): FinallyInterceptor;
@@ -1,6 +1,7 @@
1
1
  import { Luvio } from '@luvio/engine';
2
- import { KeyParamsRecord } from '@salesforce/lds-adapters-uiapi';
3
- import { ObjectHomePageContext, PdlPrefetcherEventType, PrefetcherEventMap, type RecordHomePageContext } from './predictive-loading';
2
+ import type { KeyParamsRecord } from '@salesforce/lds-adapters-uiapi';
3
+ import type { ObjectHomePageContext, PdlPrefetcherEventType, PrefetcherEventMap } from './predictive-loading';
4
+ import { type RecordHomePageContext } from './predictive-loading';
4
5
  import type { LexRequestStrategy } from './predictive-loading/request-strategy/lex-request-strategy';
5
6
  import { type LexRequest } from './predictive-loading/lex';
6
7
  export { PdlRequestPriority, PdlPrefetcherEventType } from './predictive-loading';
@@ -1,6 +1,6 @@
1
1
  import { type ResourceRequest } from '@luvio/engine';
2
2
  import type { RequestLogger } from '@salesforce/lds-network-fetch';
3
- import { RequestTracker } from './instrumentation-utils';
3
+ import type { RequestTracker } from './instrumentation-utils';
4
4
  /**
5
5
  * Base set of url paths that this adapter can serve via HTTP when enabled.
6
6
  * Extend this list to support additional endpoints (see predicate wiring below).
@@ -5,7 +5,7 @@ import type { PrefetchRepository } from '../repository';
5
5
  import type { RequestEntry } from '../common';
6
6
  import type { LexContext, LexPrefetcherOptions, LexRequest } from '../lex';
7
7
  import type { RequestStrategyManager } from '../request-strategy-manager/request-strategy-manager';
8
- import { PrefetcherEventEmitter } from './events';
8
+ import type { PrefetcherEventEmitter } from './events';
9
9
  export declare class LexPredictivePrefetcher extends ApplicationPredictivePrefetcher<LexRequest, LexContext, LexDefaultPage<LexRequest, LexContext>> {
10
10
  protected options: LexPrefetcherOptions;
11
11
  page: LexDefaultPage<LexRequest, LexContext>;
@@ -2,7 +2,8 @@ import type { PrefetchRepository } from '../repository';
2
2
  import type { PredictivePrefetchPage } from '../pages';
3
3
  import type { RequestRunner } from '../request-runner';
4
4
  import type { BaseAdapterRequest } from '../request-strategy';
5
- import { PrefetcherEventEmitter, PdlPrefetcherEventType, PrefetcherEventMap } from './events';
5
+ import type { PrefetcherEventEmitter, PrefetcherEventMap } from './events';
6
+ import { PdlPrefetcherEventType } from './events';
6
7
  export declare abstract class ApplicationPredictivePrefetcher<Request extends BaseAdapterRequest, Context extends Record<string, any>, Page extends PredictivePrefetchPage<Request, Context>> {
7
8
  protected repository: PrefetchRepository<Request>;
8
9
  protected requestRunner: RequestRunner<Request>;
@@ -1,4 +1,4 @@
1
- import { StorageOptions } from './aura-prefetch-storage';
1
+ import type { StorageOptions } from './aura-prefetch-storage';
2
2
  export type PrefetchStorage = {
3
3
  get<T>(key: string): T | undefined;
4
4
  set<T>(key: string, value: T): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
2
- import { ResourceRequest } from '@luvio/engine';
1
+ import type { RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
2
+ import type { ResourceRequest } from '@luvio/engine';
3
3
  export declare function buildActionMarksSendInterceptor(): RequestInterceptor;
4
4
  export declare function buildLuvioActionMarksSendInterceptor(): (resourceRequest: ResourceRequest, context?: any) => PromiseLike<ResourceRequest>;
@@ -1,5 +1,5 @@
1
- import { RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
2
- import { ResourceRequest } from '@luvio/engine';
1
+ import type { RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
2
+ import type { ResourceRequest } from '@luvio/engine';
3
3
  /**
4
4
  * Builds a request interceptor that adds CSRF token headers to mutating requests.
5
5
  * The CSRF token is fetched once and cached for subsequent requests.
@@ -1,2 +1,2 @@
1
- import { ResourceRequest } from '@luvio/engine';
1
+ import type { ResourceRequest } from '@luvio/engine';
2
2
  export declare function buildLuvioThirdPartyTrackerRegisterInterceptor(): (resourceRequest: ResourceRequest, context?: any) => PromiseLike<ResourceRequest>;
@@ -1,2 +1,2 @@
1
- import { RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
1
+ import type { RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
2
2
  export declare function buildPageScopedCacheRequestInterceptor(): RequestInterceptor;
@@ -1,2 +1,2 @@
1
- import { RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
1
+ import type { RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
2
2
  export declare function buildThirdPartyTrackerRegisterInterceptor(): RequestInterceptor;
@@ -1,5 +1,5 @@
1
- import { RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
2
- import { ResourceRequest } from '@luvio/engine';
1
+ import type { RequestInterceptor } from '@conduit-client/service-fetch-network/v1';
2
+ import type { ResourceRequest } from '@luvio/engine';
3
3
  export declare const SFDC_REQUEST_ID_KEY = "X-SFDC-Request-Id";
4
4
  export declare function buildTransportMarksSendInterceptor(): RequestInterceptor;
5
5
  export declare function buildLuvioTransportMarksSendInterceptor(): (resourceRequest: ResourceRequest, context?: any) => PromiseLike<ResourceRequest>;
@@ -1,4 +1,4 @@
1
- import { ResponseInterceptor } from '@conduit-client/service-fetch-network/v1';
2
- import { ResponseInterceptor as LuvioResponseInterceptor } from '@salesforce/lds-network-fetch';
1
+ import type { ResponseInterceptor } from '@conduit-client/service-fetch-network/v1';
2
+ import type { ResponseInterceptor as LuvioResponseInterceptor } from '@salesforce/lds-network-fetch';
3
3
  export declare function buildActionMarksReceiveInterceptor(): ResponseInterceptor;
4
4
  export declare function buildLuvioActionMarksReceiveInterceptor(): LuvioResponseInterceptor;
@@ -1,6 +1,6 @@
1
- import { LoggerService } from '@conduit-client/utils';
2
- import { ResponseInterceptor } from '@conduit-client/service-fetch-network/v1';
3
- import { ResponseInterceptor as LuvioResponseInterceptor } from '@salesforce/lds-network-fetch';
1
+ import type { LoggerService } from '@conduit-client/utils';
2
+ import type { ResponseInterceptor } from '@conduit-client/service-fetch-network/v1';
3
+ import type { ResponseInterceptor as LuvioResponseInterceptor } from '@salesforce/lds-network-fetch';
4
4
  export type LexRuntimeError = {
5
5
  message: string;
6
6
  severity: string;
@@ -1,5 +1,5 @@
1
- import { LoggerService } from '@conduit-client/utils';
2
- import { ResponseInterceptor } from '@conduit-client/service-fetch-network/v1';
3
- import { ResponseInterceptor as LuvioResponseInterceptor } from '@salesforce/lds-network-fetch';
1
+ import type { LoggerService } from '@conduit-client/utils';
2
+ import type { ResponseInterceptor } from '@conduit-client/service-fetch-network/v1';
3
+ import type { ResponseInterceptor as LuvioResponseInterceptor } from '@salesforce/lds-network-fetch';
4
4
  export declare function buildLexRuntimeAuthExpirationRedirectResponseInterceptor(logger: LoggerService): ResponseInterceptor;
5
5
  export declare function buildLexRuntimeLuvioAuthExpirationRedirectResponseInterceptor(): LuvioResponseInterceptor;
@@ -1,4 +1,4 @@
1
- import { ResponseInterceptor } from '@conduit-client/service-fetch-network/v1';
2
- import { ResponseInterceptor as LuvioResponseInterceptor } from '@salesforce/lds-network-fetch';
1
+ import type { ResponseInterceptor } from '@conduit-client/service-fetch-network/v1';
2
+ import type { ResponseInterceptor as LuvioResponseInterceptor } from '@salesforce/lds-network-fetch';
3
3
  export declare function buildTransportMarksReceiveInterceptor(): ResponseInterceptor;
4
4
  export declare function buildLuvioTransportMarksReceiveInterceptor(): LuvioResponseInterceptor;
@@ -1,2 +1,2 @@
1
- import { RetryInterceptor } from '@conduit-client/service-fetch-network/v1';
1
+ import type { RetryInterceptor } from '@conduit-client/service-fetch-network/v1';
2
2
  export declare function buildCsrfRetryInterceptor(): RetryInterceptor;
@@ -1,4 +1,5 @@
1
- import { RetryPolicy, RetryContext } from '@conduit-client/service-retry/v1';
1
+ import type { RetryContext } from '@conduit-client/service-retry/v1';
2
+ import { RetryPolicy } from '@conduit-client/service-retry/v1';
2
3
  import type { FetchParameters } from '@conduit-client/service-fetch-network/v1';
3
4
  type CsrfTokenRetryPolicyConfig = {
4
5
  /**
@@ -1,4 +1,5 @@
1
- import { RetryPolicy, RetryContext } from '@conduit-client/service-retry/v1';
1
+ import type { RetryContext } from '@conduit-client/service-retry/v1';
2
+ import { RetryPolicy } from '@conduit-client/service-retry/v1';
2
3
  type FetchThrottlingRetryPolicyConfig = {
3
4
  maxRetries: number;
4
5
  maxTimeToRetry: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-aura",
3
- "version": "1.433.0",
3
+ "version": "1.434.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.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",
37
+ "@conduit-client/service-provisioner": "3.19.4",
38
+ "@conduit-client/tools-core": "3.19.4",
39
+ "@salesforce/lds-adapters-apex": "^1.434.0",
40
+ "@salesforce/lds-adapters-uiapi": "^1.434.0",
41
+ "@salesforce/lds-ads-bridge": "^1.434.0",
42
+ "@salesforce/lds-aura-storage": "^1.434.0",
43
+ "@salesforce/lds-bindings": "^1.434.0",
44
+ "@salesforce/lds-instrumentation": "^1.434.0",
45
+ "@salesforce/lds-network-aura": "^1.434.0",
46
+ "@salesforce/lds-network-fetch": "^1.434.0",
47
47
  "jwt-encode": "1.0.1"
48
48
  },
49
49
  "dependencies": {
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",
50
+ "@conduit-client/command-aura-graphql-normalized-cache-control": "3.19.4",
51
+ "@conduit-client/command-aura-network": "3.19.4",
52
+ "@conduit-client/command-aura-normalized-cache-control": "3.19.4",
53
+ "@conduit-client/command-aura-resource-cache-control": "3.19.4",
54
+ "@conduit-client/command-fetch-network": "3.19.4",
55
+ "@conduit-client/command-http-graphql-normalized-cache-control": "3.19.4",
56
+ "@conduit-client/command-http-normalized-cache-control": "3.19.4",
57
+ "@conduit-client/command-ndjson": "3.19.4",
58
+ "@conduit-client/command-network": "3.19.4",
59
+ "@conduit-client/command-sse": "3.19.4",
60
+ "@conduit-client/command-streaming": "3.19.4",
61
+ "@conduit-client/service-aura-network": "3.19.4",
62
+ "@conduit-client/service-bindings-imperative": "3.19.4",
63
+ "@conduit-client/service-bindings-lwc": "3.19.4",
64
+ "@conduit-client/service-cache": "3.19.4",
65
+ "@conduit-client/service-cache-control": "3.19.4",
66
+ "@conduit-client/service-cache-inclusion-policy": "3.19.4",
67
+ "@conduit-client/service-config": "3.19.4",
68
+ "@conduit-client/service-feature-flags": "3.19.4",
69
+ "@conduit-client/service-fetch-network": "3.19.4",
70
+ "@conduit-client/service-instrument-command": "3.19.4",
71
+ "@conduit-client/service-pubsub": "3.19.4",
72
+ "@conduit-client/service-store": "3.19.4",
73
+ "@conduit-client/utils": "3.19.4",
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.433.0",
77
+ "@salesforce/lds-adapters-onestore-graphql": "^1.434.0",
78
78
  "@salesforce/lds-adapters-uiapi-lex": "^1.415.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"
79
+ "@salesforce/lds-durable-storage": "^1.434.0",
80
+ "@salesforce/lds-luvio-service": "^1.434.0",
81
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.434.0"
82
82
  },
83
83
  "luvioBundlesize": [
84
84
  {