@salesforce/lds-runtime-aura 1.468.0 → 1.470.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.
@@ -30,12 +30,12 @@ import { instrument as instrument$4 } from 'force/adsBridge';
30
30
  import { instrument as instrument$5 } from '@lwc/state';
31
31
  import { withRegistration, register, setDefaultLuvio } from 'force/ldsEngine';
32
32
  import { ThirdPartyTracker } from 'instrumentation:thirdPartyTracker';
33
+ import { createStorage, clearStorages } from 'force/ldsDurableStorage';
33
34
  import lightningConnectEnabled from '@salesforce/gate/ui.services.LightningConnect.enabled';
34
35
  import bypassAppRestrictionEnabled from '@salesforce/gate/ui.services.LightningConnect.BypassAppRestriction.enabled';
35
36
  import csrfValidationEnabled from '@salesforce/gate/ui.services.LightningConnect.CsrfValidation.enabled';
36
37
  import sessionApiEnabled from '@salesforce/gate/ui.uisdk.session.api.enabled';
37
38
  import { pageScopedCache } from 'instrumentation/utility';
38
- import { createStorage, clearStorages } from 'force/ldsDurableStorage';
39
39
  import useHttpUiapiAuraSites from '@salesforce/gate/lds.usehttpuiapiaurasites';
40
40
  import auraBasedRequestsEnabled from '@salesforce/gate/ui.services.auraBasedRequests.enabled';
41
41
  import { registerSubRequestNetworkAdapter } from 'force/ldsNetwork';
@@ -2783,7 +2783,7 @@ function buildServiceDescriptor$d(luvio) {
2783
2783
  },
2784
2784
  };
2785
2785
  }
2786
- // version: 1.468.0-9ef0fbdaee
2786
+ // version: 1.470.0-ba8b11db3a
2787
2787
 
2788
2788
  class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheControlCommand {
2789
2789
  constructor(config, documentRootType, services) {
@@ -3122,7 +3122,7 @@ function buildServiceDescriptor$9(notifyRecordUpdateAvailable, getNormalizedLuvi
3122
3122
  },
3123
3123
  };
3124
3124
  }
3125
- // version: 1.468.0-9ef0fbdaee
3125
+ // version: 1.470.0-ba8b11db3a
3126
3126
 
3127
3127
  class RetryService {
3128
3128
  constructor(defaultRetryPolicy) {
@@ -6203,7 +6203,7 @@ function createActionEndMark(responseStatus, responseStatusText, serverTiming, u
6203
6203
  const ctx = {
6204
6204
  id: instrumentationId,
6205
6205
  state: responseStatusText || getResponseStatusText(responseStatus.toString()),
6206
- def: url,
6206
+ def: toMarkDef(url),
6207
6207
  };
6208
6208
  // this step adds the serverTime to the base object, as opposed to being in the context field
6209
6209
  const receiveCtx = { ...ctx, serverTime: getServerTimeObject(serverTiming) };
@@ -6211,6 +6211,18 @@ function createActionEndMark(responseStatus, responseStatusText, serverTiming, u
6211
6211
  mark('actions', 'finishStart', ctx);
6212
6212
  mark('actions', 'finishEnd', ctx);
6213
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
+ }
6214
6226
  const seenResources = new WeakSet();
6215
6227
  function createTransportEndMark(responseStatus, responseStatusText, url, context, errorMessage) {
6216
6228
  if (context && context.instrumentationId) {
@@ -6692,6 +6704,116 @@ function buildLuvioActionMarksSendInterceptor() {
6692
6704
  };
6693
6705
  }
6694
6706
 
6707
+ const CSRF_TOKEN_KEY = 'salesforce_csrf_token';
6708
+ const CSRF_STORAGE_NAME = 'ldsCSRFToken';
6709
+ const BASE_URI = '/services/data/v69.0';
6710
+ const UI_API_BASE_URI = `${BASE_URI}/ui-api`;
6711
+ const CSRF_TOKEN_ENDPOINT = `${UI_API_BASE_URI}/session/csrf`;
6712
+ const CSRF_STORAGE_CONFIG = {
6713
+ name: CSRF_STORAGE_NAME,
6714
+ persistent: true,
6715
+ secure: true,
6716
+ maxSize: 1024,
6717
+ expiration: 24 * 60 * 60,
6718
+ clearOnInit: false,
6719
+ debugLogging: false,
6720
+ };
6721
+ function readPreloadedToken(getPreloadedToken) {
6722
+ try {
6723
+ const token = getPreloadedToken?.();
6724
+ return typeof token === 'string' && token ? token : undefined;
6725
+ }
6726
+ catch {
6727
+ return undefined;
6728
+ }
6729
+ }
6730
+ /**
6731
+ * Fetches a fresh CSRF token from the server. Resolves `undefined` (not a
6732
+ * rejection) on any non-ok response, missing token, or network/parse error so
6733
+ * the manager treats it as "no value" and leaves any cached token intact. The
6734
+ * CSRF retry policy — not this fetch — owns retry semantics.
6735
+ */
6736
+ async function fetchFreshToken() {
6737
+ try {
6738
+ const response = await fetch(CSRF_TOKEN_ENDPOINT, {
6739
+ method: 'GET',
6740
+ credentials: 'same-origin',
6741
+ });
6742
+ if (!response.ok) {
6743
+ return undefined;
6744
+ }
6745
+ const data = await response.json();
6746
+ const token = data.csrfToken;
6747
+ return typeof token === 'string' && token ? token : undefined;
6748
+ }
6749
+ catch {
6750
+ return undefined;
6751
+ }
6752
+ }
6753
+ /**
6754
+ * Durable store fronted by memory so `get()` is sync once loaded (W-24883855).
6755
+ * No TTL: a stale token is replaced via the CSRF retry policy's `refresh()`.
6756
+ */
6757
+ function buildCsrfResourceStorage(getPreloadedToken) {
6758
+ const storage = createStorage(CSRF_STORAGE_CONFIG);
6759
+ let currentToken;
6760
+ let loaded = false;
6761
+ // Seed once (stored, else preloaded) so a later clear() isn't resurrected by
6762
+ // the preload. A set()/clear() during the read wins.
6763
+ const seeded = (async () => {
6764
+ const preloadedToken = readPreloadedToken(getPreloadedToken);
6765
+ let existing;
6766
+ try {
6767
+ const cached = await storage?.get(CSRF_TOKEN_KEY);
6768
+ existing = typeof cached === 'string' && cached ? cached : undefined;
6769
+ }
6770
+ catch {
6771
+ // Treated as a miss; the manager fetches.
6772
+ }
6773
+ if (loaded) {
6774
+ return;
6775
+ }
6776
+ currentToken = existing ?? preloadedToken;
6777
+ loaded = true;
6778
+ if (storage && !existing && preloadedToken) {
6779
+ try {
6780
+ await storage.set(CSRF_TOKEN_KEY, preloadedToken);
6781
+ }
6782
+ catch {
6783
+ // Still usable from memory.
6784
+ }
6785
+ }
6786
+ })();
6787
+ // Durable writes wait for the seed so they land after its preload write.
6788
+ // Failures are ignored; memory stays authoritative.
6789
+ const afterSeed = (write) => seeded.then(write).then(() => { }, () => { });
6790
+ return {
6791
+ get: () => (loaded ? resolvedPromiseLike$2(currentToken) : seeded.then(() => currentToken)),
6792
+ set: (value) => {
6793
+ currentToken = value;
6794
+ loaded = true;
6795
+ return afterSeed(() => storage?.set(CSRF_TOKEN_KEY, value));
6796
+ },
6797
+ clear: () => {
6798
+ currentToken = undefined;
6799
+ loaded = true;
6800
+ return afterSeed(() => storage?.remove(CSRF_TOKEN_KEY));
6801
+ },
6802
+ };
6803
+ }
6804
+ /**
6805
+ * Builds the CSRF token manager: a {@link BasicRenewableResourceManager} that
6806
+ * lazily caches the token in durable storage, coalesces concurrent fetches onto
6807
+ * a single in-flight request, and dedups refresh storms. Registered as a
6808
+ * provisioner service (`csrfTokenManager`) by `initializeOneStore`.
6809
+ */
6810
+ function buildCsrfTokenManager(options = {}) {
6811
+ return new BasicRenewableResourceManager({
6812
+ fetch: fetchFreshToken,
6813
+ storage: buildCsrfResourceStorage(options.getPreloadedToken),
6814
+ });
6815
+ }
6816
+
6695
6817
  /**
6696
6818
  * Service name the CSRF token manager is registered under by
6697
6819
  * `initializeOneStore` (see `buildRenewableResourceManagerDescriptor`).
@@ -6704,6 +6826,11 @@ const CSRF_TOKEN_MANAGER_REQUEST = {
6704
6826
  },
6705
6827
  };
6706
6828
  let cached;
6829
+ let resolvedManager;
6830
+ /** The manager if {@link getCsrfTokenManager} has resolved it, else `undefined`. */
6831
+ function peekCsrfTokenManager() {
6832
+ return resolvedManager;
6833
+ }
6707
6834
  /**
6708
6835
  * Resolves the CSRF token manager from the service provisioner.
6709
6836
  *
@@ -6719,7 +6846,10 @@ let cached;
6719
6846
  function getCsrfTokenManager() {
6720
6847
  if (!cached) {
6721
6848
  cached = Promise.resolve(getServices(CSRF_TOKEN_MANAGER_REQUEST))
6722
- .then((services) => services[CSRF_TOKEN_MANAGER_SERVICE])
6849
+ .then((services) => {
6850
+ resolvedManager = services[CSRF_TOKEN_MANAGER_SERVICE];
6851
+ return resolvedManager;
6852
+ })
6723
6853
  .catch((error) => {
6724
6854
  cached = undefined;
6725
6855
  throw error;
@@ -6733,14 +6863,18 @@ const CSRF_TOKEN_HEADER = 'X-CSRF-Token';
6733
6863
  * Resolves the CSRF token manager and returns the current token. Returns
6734
6864
  * `undefined` if the manager cannot be resolved (service not yet provisioned)
6735
6865
  * or has no token, so a request is never blocked by token resolution.
6866
+ * Synchronous once the manager has resolved and the token is loaded (W-24883855).
6736
6867
  */
6737
- async function getCsrfToken() {
6868
+ function getCsrfToken() {
6738
6869
  try {
6739
- const manager = await getCsrfTokenManager();
6740
- return await manager.get();
6870
+ const manager = peekCsrfTokenManager();
6871
+ const token = manager
6872
+ ? manager.get()
6873
+ : getCsrfTokenManager().then((resolved) => resolved.get());
6874
+ return token.then((value) => value, () => undefined);
6741
6875
  }
6742
6876
  catch {
6743
- return undefined;
6877
+ return resolvedPromiseLike$2(undefined);
6744
6878
  }
6745
6879
  }
6746
6880
  /**
@@ -6792,7 +6926,8 @@ function buildCsrfTokenInterceptor() {
6792
6926
  * @returns A request interceptor function for Luvio ResourceRequest objects
6793
6927
  */
6794
6928
  function buildLuvioCsrfTokenInterceptor() {
6795
- return async (resourceRequest) => {
6929
+ // Sync on purpose (W-24883855).
6930
+ return (resourceRequest) => {
6796
6931
  // Check if all required gates are enabled before running
6797
6932
  if (!areCsrfGatesEnabled()) {
6798
6933
  return resolvedPromiseLike$2(resourceRequest);
@@ -6801,17 +6936,20 @@ function buildLuvioCsrfTokenInterceptor() {
6801
6936
  if (!resourceRequest.headers) {
6802
6937
  resourceRequest.headers = {};
6803
6938
  }
6804
- // Only add CSRF token for mutating operations
6805
- if (isMutatingMethod(resourceRequest.method)) {
6806
- // Don't overwrite existing CSRF token header if it already exists
6807
- if (!resourceRequest.headers[CSRF_TOKEN_HEADER]) {
6808
- const token = await getCsrfToken();
6809
- if (token) {
6810
- resourceRequest.headers[CSRF_TOKEN_HEADER] = token;
6811
- }
6812
- }
6939
+ if (!peekCsrfTokenManager()) {
6940
+ // Warm it (GETs too) so mutations attach the token synchronously.
6941
+ getCsrfTokenManager().catch(() => { });
6813
6942
  }
6814
- return resolvedPromiseLike$2(resourceRequest);
6943
+ if (!isMutatingMethod(resourceRequest.method) ||
6944
+ resourceRequest.headers[CSRF_TOKEN_HEADER]) {
6945
+ return resolvedPromiseLike$2(resourceRequest);
6946
+ }
6947
+ return getCsrfToken().then((token) => {
6948
+ if (token) {
6949
+ resourceRequest.headers[CSRF_TOKEN_HEADER] = token;
6950
+ }
6951
+ return resourceRequest;
6952
+ });
6815
6953
  };
6816
6954
  }
6817
6955
 
@@ -6867,7 +7005,8 @@ function buildFirstPartyHeaderInterceptor() {
6867
7005
  * @returns A request interceptor for Luvio ResourceRequest objects
6868
7006
  */
6869
7007
  function buildLuvioFirstPartyHeaderInterceptor() {
6870
- return async (resourceRequest) => {
7008
+ // Sync on purpose (W-24883855).
7009
+ return (resourceRequest) => {
6871
7010
  if (!resourceRequest.headers) {
6872
7011
  resourceRequest.headers = {};
6873
7012
  }
@@ -6912,7 +7051,8 @@ function mintIdempotencyKey() {
6912
7051
  * registry flag can never cause an unsafe replay.
6913
7052
  */
6914
7053
  function buildLuvioIdempotencyKeyInterceptor() {
6915
- return async (resourceRequest) => {
7054
+ // Sync on purpose (W-24883855).
7055
+ return (resourceRequest) => {
6916
7056
  if (!resourceRequest.headers) {
6917
7057
  resourceRequest.headers = {};
6918
7058
  }
@@ -8147,7 +8287,7 @@ function getEnvironmentSetting(name) {
8147
8287
  }
8148
8288
  return undefined;
8149
8289
  }
8150
- // version: 1.468.0-c060a9b9c6
8290
+ // version: 1.470.0-41a8c88685
8151
8291
 
8152
8292
  const auraClientService = getAuraClientService();
8153
8293
  const defaultConfig = {
@@ -9234,149 +9374,6 @@ function buildLexRuntimeCompressedFetchServiceDescriptor(logger, retryService) {
9234
9374
  };
9235
9375
  }
9236
9376
 
9237
- const CSRF_TOKEN_KEY = 'salesforce_csrf_token';
9238
- const CSRF_STORAGE_NAME = 'ldsCSRFToken';
9239
- const BASE_URI = '/services/data/v69.0';
9240
- const UI_API_BASE_URI = `${BASE_URI}/ui-api`;
9241
- const CSRF_TOKEN_ENDPOINT = `${UI_API_BASE_URI}/session/csrf`;
9242
- const CSRF_STORAGE_CONFIG = {
9243
- name: CSRF_STORAGE_NAME,
9244
- persistent: true,
9245
- secure: true,
9246
- maxSize: 1024,
9247
- expiration: 24 * 60 * 60,
9248
- clearOnInit: false,
9249
- debugLogging: false,
9250
- };
9251
- /**
9252
- * Reads the CSRF token Aura preloads onto the bootstrap payload. When the
9253
- * Connect Framework CSRF token is minted at template-render time it is exposed
9254
- * via `$A.clientService.getConnectCsrfToken()`. Reading it here lets the first
9255
- * state-changing request skip the cold `/ui-api/session/csrf` round trip.
9256
- *
9257
- * Defensive against a missing getter or server killswitch: returns `undefined`,
9258
- * never throws.
9259
- */
9260
- function readPreloadedToken() {
9261
- const clientService = getAuraClientService();
9262
- if (typeof clientService?.getConnectCsrfToken !== 'function') {
9263
- return undefined;
9264
- }
9265
- try {
9266
- const token = clientService.getConnectCsrfToken();
9267
- return typeof token === 'string' && token ? token : undefined;
9268
- }
9269
- catch {
9270
- return undefined;
9271
- }
9272
- }
9273
- /**
9274
- * Fetches a fresh CSRF token from the server. Resolves `undefined` (not a
9275
- * rejection) on any non-ok response, missing token, or network/parse error so
9276
- * the manager treats it as "no value" and leaves any cached token intact. The
9277
- * CSRF retry policy — not this fetch — owns retry semantics.
9278
- */
9279
- async function fetchFreshToken() {
9280
- try {
9281
- const response = await fetch(CSRF_TOKEN_ENDPOINT, {
9282
- method: 'GET',
9283
- credentials: 'same-origin',
9284
- });
9285
- if (!response.ok) {
9286
- return undefined;
9287
- }
9288
- const data = await response.json();
9289
- const token = data.csrfToken;
9290
- return typeof token === 'string' && token ? token : undefined;
9291
- }
9292
- catch {
9293
- return undefined;
9294
- }
9295
- }
9296
- /**
9297
- * Adapts the durable AuraStorage backing store to the {@link ResourceStorage}
9298
- * contract the renewable-resource manager expects.
9299
- *
9300
- * The Aura-preloaded token is written into the store **once at creation** (only
9301
- * when the store is otherwise empty), so the first `get()` finds it and the
9302
- * first mutation skips the network. Seeding the store — rather than having
9303
- * `get()` fall back to the preload on every empty read — means a later
9304
- * `clear()` (logout / org switch) is not silently resurrected by the preload.
9305
- *
9306
- * Every operation awaits the one-time seed so reads and writes observe a
9307
- * consistent store. Storage read/write failures are non-fatal.
9308
- */
9309
- function buildCsrfResourceStorage() {
9310
- const storage = createStorage(CSRF_STORAGE_CONFIG);
9311
- // Pre-seed the preloaded token into the store, once, if the store is empty.
9312
- const seeded = (async () => {
9313
- const preloadedToken = readPreloadedToken();
9314
- if (!storage || !preloadedToken) {
9315
- return;
9316
- }
9317
- try {
9318
- const existing = await storage.get(CSRF_TOKEN_KEY);
9319
- if (typeof existing !== 'string' || !existing) {
9320
- await storage.set(CSRF_TOKEN_KEY, preloadedToken);
9321
- }
9322
- }
9323
- catch {
9324
- // Non-fatal: fall back to fetching a fresh token on first use.
9325
- }
9326
- })();
9327
- return {
9328
- get: async () => {
9329
- await seeded;
9330
- if (storage) {
9331
- try {
9332
- const cached = await storage.get(CSRF_TOKEN_KEY);
9333
- if (typeof cached === 'string' && cached) {
9334
- return cached;
9335
- }
9336
- }
9337
- catch {
9338
- // Non-fatal: treat as a cache miss so the manager fetches.
9339
- }
9340
- }
9341
- return undefined;
9342
- },
9343
- set: async (value) => {
9344
- await seeded;
9345
- if (storage) {
9346
- try {
9347
- await storage.set(CSRF_TOKEN_KEY, value);
9348
- }
9349
- catch {
9350
- // Non-fatal: token is still usable even if caching fails.
9351
- }
9352
- }
9353
- },
9354
- clear: async () => {
9355
- await seeded;
9356
- if (storage) {
9357
- try {
9358
- await storage.remove(CSRF_TOKEN_KEY);
9359
- }
9360
- catch {
9361
- // Non-fatal: continue even if the clear fails.
9362
- }
9363
- }
9364
- },
9365
- };
9366
- }
9367
- /**
9368
- * Builds the CSRF token manager: a {@link BasicRenewableResourceManager} that
9369
- * lazily caches the token in durable storage, coalesces concurrent fetches onto
9370
- * a single in-flight request, and dedups refresh storms. Registered as a
9371
- * provisioner service (`csrfTokenManager`) by `initializeOneStore`.
9372
- */
9373
- function buildCsrfTokenManager() {
9374
- return new BasicRenewableResourceManager({
9375
- fetch: fetchFreshToken,
9376
- storage: buildCsrfResourceStorage(),
9377
- });
9378
- }
9379
-
9380
9377
  // Registration published on the force/ldsEngine bus so shared (cross-runtime) laf
9381
9378
  // loaders can read buildPredictorForContext without importing a bootstrap bundle.
9382
9379
  const PDL_ENGINE_REGISTRATION_ID = '@salesforce/lds-pdl-engine';
@@ -9509,7 +9506,9 @@ function initializeOneStore(luvio) {
9509
9506
  // loudly in development instead.
9510
9507
  const retryServiceDescriptor = buildServiceDescriptor$8(new UnconfiguredRetryPolicy());
9511
9508
  const retryService = retryServiceDescriptor.service;
9512
- const csrfTokenManagerServiceDescriptor = buildRenewableResourceManagerDescriptor(CSRF_TOKEN_MANAGER_SERVICE, buildCsrfTokenManager());
9509
+ const csrfTokenManagerServiceDescriptor = buildRenewableResourceManagerDescriptor(CSRF_TOKEN_MANAGER_SERVICE, buildCsrfTokenManager({
9510
+ getPreloadedToken: () => getAuraClientService()?.getConnectCsrfToken?.(),
9511
+ }));
9513
9512
  const prefetchSfapJwtServiceDescriptor = {
9514
9513
  type: 'prefetchSfapJwt',
9515
9514
  version: '1.0',
@@ -9589,4 +9588,4 @@ function ldsEngineCreator() {
9589
9588
  }
9590
9589
 
9591
9590
  export { PDL_ENGINE_REGISTRATION_ID, buildPredictorForContext, configService, ldsEngineCreator as default, initializeLDS, initializeOneStore, notifyUpdateAvailableFactory };
9592
- // version: 1.468.0-9ef0fbdaee
9591
+ // version: 1.470.0-ba8b11db3a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-aura",
3
- "version": "1.468.0",
3
+ "version": "1.470.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.35.0",
38
- "@conduit-client/tools-core": "3.35.0",
39
- "@salesforce/lds-adapters-apex": "^1.468.0",
40
- "@salesforce/lds-adapters-uiapi": "^1.468.0",
41
- "@salesforce/lds-ads-bridge": "^1.468.0",
42
- "@salesforce/lds-aura-storage": "^1.468.0",
43
- "@salesforce/lds-bindings": "^1.468.0",
44
- "@salesforce/lds-instrumentation": "^1.468.0",
45
- "@salesforce/lds-network-adapter": "^1.468.0",
46
- "@salesforce/lds-network-aura": "^1.468.0",
47
- "@salesforce/lds-network-fetch": "^1.468.0",
48
- "@salesforce/lds-runtime-shared": "^1.468.0",
37
+ "@conduit-client/service-provisioner": "3.35.1",
38
+ "@conduit-client/tools-core": "3.35.1",
39
+ "@salesforce/lds-adapters-apex": "^1.470.0",
40
+ "@salesforce/lds-adapters-uiapi": "^1.470.0",
41
+ "@salesforce/lds-ads-bridge": "^1.470.0",
42
+ "@salesforce/lds-aura-storage": "^1.470.0",
43
+ "@salesforce/lds-bindings": "^1.470.0",
44
+ "@salesforce/lds-instrumentation": "^1.470.0",
45
+ "@salesforce/lds-network-adapter": "^1.470.0",
46
+ "@salesforce/lds-network-aura": "^1.470.0",
47
+ "@salesforce/lds-network-fetch": "^1.470.0",
48
+ "@salesforce/lds-runtime-shared": "^1.470.0",
49
49
  "jwt-encode": "1.0.1"
50
50
  },
51
51
  "dependencies": {
52
- "@conduit-client/command-aura-graphql-normalized-cache-control": "3.35.0",
53
- "@conduit-client/command-aura-network": "3.35.0",
54
- "@conduit-client/command-aura-normalized-cache-control": "3.35.0",
55
- "@conduit-client/command-fetch-network": "3.35.0",
56
- "@conduit-client/command-http-graphql-normalized-cache-control": "3.35.0",
57
- "@conduit-client/command-http-normalized-cache-control": "3.35.0",
58
- "@conduit-client/command-ndjson": "3.35.0",
59
- "@conduit-client/command-network": "3.35.0",
60
- "@conduit-client/command-sse": "3.35.0",
61
- "@conduit-client/command-streaming": "3.35.0",
62
- "@conduit-client/jwt-manager": "3.35.0",
63
- "@conduit-client/service-aura-network": "3.35.0",
64
- "@conduit-client/service-bindings-imperative": "3.35.0",
65
- "@conduit-client/service-bindings-lwc": "3.35.0",
66
- "@conduit-client/service-cache": "3.35.0",
67
- "@conduit-client/service-cache-control": "3.35.0",
68
- "@conduit-client/service-cache-inclusion-policy": "3.35.0",
69
- "@conduit-client/service-config": "3.35.0",
70
- "@conduit-client/service-feature-flags": "3.35.0",
71
- "@conduit-client/service-fetch-network": "3.35.0",
72
- "@conduit-client/service-instrument-command": "3.35.0",
73
- "@conduit-client/service-pubsub": "3.35.0",
74
- "@conduit-client/service-renewable-resource-manager": "3.35.0",
75
- "@conduit-client/service-store": "3.35.0",
76
- "@conduit-client/utils": "3.35.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.468.0",
80
+ "@salesforce/lds-adapters-onestore-graphql": "^1.470.0",
81
81
  "@salesforce/lds-adapters-uiapi-lex": "^1.415.0",
82
- "@salesforce/lds-durable-storage": "^1.468.0",
83
- "@salesforce/lds-luvio-service": "^1.468.0",
84
- "@salesforce/lds-luvio-uiapi-records-service": "^1.468.0"
82
+ "@salesforce/lds-durable-storage": "^1.470.0",
83
+ "@salesforce/lds-luvio-service": "^1.470.0",
84
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.470.0"
85
85
  },
86
86
  "luvioBundlesize": [
87
87
  {
@@ -1,8 +0,0 @@
1
- import { type RenewableResourceManager } from '@conduit-client/service-renewable-resource-manager/v1';
2
- /**
3
- * Builds the CSRF token manager: a {@link BasicRenewableResourceManager} that
4
- * lazily caches the token in durable storage, coalesces concurrent fetches onto
5
- * a single in-flight request, and dedups refresh storms. Registered as a
6
- * provisioner service (`csrfTokenManager`) by `initializeOneStore`.
7
- */
8
- export declare function buildCsrfTokenManager(): RenewableResourceManager<string>;