@salesforce/lds-worker-api 1.441.0 → 1.443.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.
@@ -1373,4 +1373,4 @@ if (process.env.NODE_ENV !== 'production') {
1373
1373
  }
1374
1374
 
1375
1375
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
1376
- // version: 1.441.0-5e7d04c146
1376
+ // version: 1.443.0-be70f6bb6e
@@ -4276,7 +4276,7 @@ function withDefaultLuvio(callback) {
4276
4276
  }
4277
4277
  callbacks.push(callback);
4278
4278
  }
4279
- // version: 1.441.0-5e7d04c146
4279
+ // version: 1.443.0-be70f6bb6e
4280
4280
 
4281
4281
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4282
4282
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -5320,7 +5320,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
5320
5320
  const { apiFamily, name } = metadata;
5321
5321
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
5322
5322
  }
5323
- // version: 1.441.0-5e7d04c146
5323
+ // version: 1.443.0-be70f6bb6e
5324
5324
 
5325
5325
  function isSupportedEntity(_objectApiName) {
5326
5326
  return true;
@@ -14373,7 +14373,7 @@ function coerceFormFactor$1(form) {
14373
14373
  return undefined;
14374
14374
  }
14375
14375
 
14376
- const VERSION$10$2 = "3f49d751896cf66e6e29788d8880e2cc";
14376
+ const VERSION$10$2 = "885c858e27ff690e5f69edc41d68c32b";
14377
14377
  const RepresentationType$G = 'PlatformActionRepresentation';
14378
14378
  function keyBuilder$1P$1(luvio, config) {
14379
14379
  return keyPrefix$3 + '::' + RepresentationType$G + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
@@ -14433,6 +14433,10 @@ const select$1G$2 = function PlatformActionRepresentationSelect() {
14433
14433
  name: 'lwcComponent',
14434
14434
  kind: 'Scalar'
14435
14435
  },
14436
+ {
14437
+ name: 'pageDeveloperName',
14438
+ kind: 'Scalar'
14439
+ },
14436
14440
  {
14437
14441
  name: 'primaryColor',
14438
14442
  kind: 'Scalar'
@@ -14461,6 +14465,10 @@ const select$1G$2 = function PlatformActionRepresentationSelect() {
14461
14465
  name: 'targetObject',
14462
14466
  kind: 'Scalar'
14463
14467
  },
14468
+ {
14469
+ name: 'targetParentField',
14470
+ kind: 'Scalar'
14471
+ },
14464
14472
  {
14465
14473
  name: 'targetUrl',
14466
14474
  kind: 'Scalar'
@@ -14533,6 +14541,11 @@ function equals$S(existing, incoming) {
14533
14541
  if (!(existing_lwcComponent === incoming_lwcComponent)) {
14534
14542
  return false;
14535
14543
  }
14544
+ const existing_pageDeveloperName = existing.pageDeveloperName;
14545
+ const incoming_pageDeveloperName = incoming.pageDeveloperName;
14546
+ if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
14547
+ return false;
14548
+ }
14536
14549
  const existing_primaryColor = existing.primaryColor;
14537
14550
  const incoming_primaryColor = incoming.primaryColor;
14538
14551
  if (!(existing_primaryColor === incoming_primaryColor)) {
@@ -14563,6 +14576,11 @@ function equals$S(existing, incoming) {
14563
14576
  if (!(existing_targetObject === incoming_targetObject)) {
14564
14577
  return false;
14565
14578
  }
14579
+ const existing_targetParentField = existing.targetParentField;
14580
+ const incoming_targetParentField = incoming.targetParentField;
14581
+ if (!(existing_targetParentField === incoming_targetParentField)) {
14582
+ return false;
14583
+ }
14566
14584
  const existing_targetUrl = existing.targetUrl;
14567
14585
  const incoming_targetUrl = incoming.targetUrl;
14568
14586
  if (!(existing_targetUrl === incoming_targetUrl)) {
@@ -32520,7 +32538,7 @@ withDefaultLuvio((luvio) => {
32520
32538
  throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
32521
32539
  throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
32522
32540
  });
32523
- // version: 1.441.0-0055bd971e
32541
+ // version: 1.443.0-3de9a44799
32524
32542
 
32525
32543
  var allowUpdatesForNonCachedRecords = {
32526
32544
  isOpen: function (e) {
@@ -96510,7 +96528,7 @@ function buildServiceDescriptor$b(luvio) {
96510
96528
  },
96511
96529
  };
96512
96530
  }
96513
- // version: 1.441.0-5e7d04c146
96531
+ // version: 1.443.0-be70f6bb6e
96514
96532
 
96515
96533
  /**
96516
96534
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -96536,7 +96554,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
96536
96554
  },
96537
96555
  };
96538
96556
  }
96539
- // version: 1.441.0-5e7d04c146
96557
+ // version: 1.443.0-be70f6bb6e
96540
96558
 
96541
96559
  function findExecutableOperation$1(input) {
96542
96560
  const operations = input.query.definitions.filter(
@@ -99213,7 +99231,7 @@ register$1({
99213
99231
  id: '@salesforce/lds-network-adapter',
99214
99232
  instrument: instrument$2,
99215
99233
  });
99216
- // version: 1.441.0-5e7d04c146
99234
+ // version: 1.443.0-be70f6bb6e
99217
99235
 
99218
99236
  const { create: create$2, keys: keys$2 } = Object;
99219
99237
  const { stringify, parse } = JSON;
@@ -106533,26 +106551,6 @@ function cloneConfig(config) {
106533
106551
  return cloned;
106534
106552
  }
106535
106553
 
106536
- const requiredKeys = ['query'];
106537
- const optionalKeys = ['variables', 'operationName'];
106538
- /**
106539
- * Factory that builds the graphql adapter-state-manager from a `getCommand`
106540
- * function. Used on-core (with the platform-supplied command constructor that
106541
- * provisions services from `_conduit_client_service_provisioner_v1`) and reused
106542
- * off-core (with a host-provided command, e.g. an MCP-backed command synthesized
106543
- * by `vite-plugin-lwc-ui-bundle`'s runtime).
106544
- *
106545
- * Mirrors the shape of `createSmRecord` / `createSmObjectInfo` in
106546
- * `@salesforce/state-managers-uiapi`: factory + fixed config-key contract,
106547
- * adapter supplied by the caller.
106548
- *
106549
- * @param getCommand - Function that takes a config and returns a `GraphQLCommand`
106550
- * @returns The graphql adapter-state-manager definition
106551
- */
106552
- function createSmGraphQL(getCommand) {
106553
- return createStateManager(getCommand, requiredKeys, optionalKeys);
106554
- }
106555
-
106556
106554
  let graphql$1;
106557
106555
  let graphql_v1_import;
106558
106556
  let graphql_imperative$1;
@@ -106693,7 +106691,7 @@ getServices(serviceRequirements).then((services) => {
106693
106691
  }
106694
106692
  return new graphql_state_manager_ctor(validatedConfig.value, documentRootType, services);
106695
106693
  };
106696
- graphql_state_manager = createSmGraphQL(factory);
106694
+ graphql_state_manager = createStateManager(factory, ['query'], ['variables', 'operationName']);
106697
106695
  const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
106698
106696
  services.graphQLMutationBindings.bind(({ params, assertIsValid }) => {
106699
106697
  const config = params[0];
@@ -106716,7 +106714,7 @@ function registerCallback(cb) {
106716
106714
  cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
106717
106715
  }
106718
106716
  }
106719
- // version: 1.441.0-0055bd971e
106717
+ // version: 1.443.0-3de9a44799
106720
106718
 
106721
106719
  function createFragmentMap(documentNode) {
106722
106720
  const fragments = {};
@@ -135923,7 +135921,7 @@ register$1({
135923
135921
  configuration: { ...configurationForGraphQLAdapters$1 },
135924
135922
  instrument: instrument$1,
135925
135923
  });
135926
- // version: 1.441.0-0055bd971e
135924
+ // version: 1.443.0-3de9a44799
135927
135925
 
135928
135926
  // On core the unstable adapters are re-exported with different names,
135929
135927
  // we want to match them here.
@@ -136075,7 +136073,7 @@ withDefaultLuvio((luvio) => {
136075
136073
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
136076
136074
  graphQLImperative = ldsAdapter;
136077
136075
  });
136078
- // version: 1.441.0-0055bd971e
136076
+ // version: 1.443.0-3de9a44799
136079
136077
 
136080
136078
  var gqlApi = /*#__PURE__*/Object.freeze({
136081
136079
  __proto__: null,
@@ -136874,7 +136872,7 @@ const callbacks$1 = [];
136874
136872
  function register(r) {
136875
136873
  callbacks$1.forEach((callback) => callback(r));
136876
136874
  }
136877
- // version: 1.441.0-5e7d04c146
136875
+ // version: 1.443.0-be70f6bb6e
136878
136876
 
136879
136877
  /**
136880
136878
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -138163,4 +138161,4 @@ const { luvio } = getRuntime();
138163
138161
  setDefaultLuvio({ luvio });
138164
138162
 
138165
138163
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
138166
- // version: 1.441.0-5e7d04c146
138164
+ // version: 1.443.0-be70f6bb6e
@@ -4282,7 +4282,7 @@
4282
4282
  }
4283
4283
  callbacks.push(callback);
4284
4284
  }
4285
- // version: 1.441.0-5e7d04c146
4285
+ // version: 1.443.0-be70f6bb6e
4286
4286
 
4287
4287
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4288
4288
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -5326,7 +5326,7 @@
5326
5326
  const { apiFamily, name } = metadata;
5327
5327
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
5328
5328
  }
5329
- // version: 1.441.0-5e7d04c146
5329
+ // version: 1.443.0-be70f6bb6e
5330
5330
 
5331
5331
  function isSupportedEntity(_objectApiName) {
5332
5332
  return true;
@@ -14379,7 +14379,7 @@
14379
14379
  return undefined;
14380
14380
  }
14381
14381
 
14382
- const VERSION$10$2 = "3f49d751896cf66e6e29788d8880e2cc";
14382
+ const VERSION$10$2 = "885c858e27ff690e5f69edc41d68c32b";
14383
14383
  const RepresentationType$G = 'PlatformActionRepresentation';
14384
14384
  function keyBuilder$1P$1(luvio, config) {
14385
14385
  return keyPrefix$3 + '::' + RepresentationType$G + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
@@ -14439,6 +14439,10 @@
14439
14439
  name: 'lwcComponent',
14440
14440
  kind: 'Scalar'
14441
14441
  },
14442
+ {
14443
+ name: 'pageDeveloperName',
14444
+ kind: 'Scalar'
14445
+ },
14442
14446
  {
14443
14447
  name: 'primaryColor',
14444
14448
  kind: 'Scalar'
@@ -14467,6 +14471,10 @@
14467
14471
  name: 'targetObject',
14468
14472
  kind: 'Scalar'
14469
14473
  },
14474
+ {
14475
+ name: 'targetParentField',
14476
+ kind: 'Scalar'
14477
+ },
14470
14478
  {
14471
14479
  name: 'targetUrl',
14472
14480
  kind: 'Scalar'
@@ -14539,6 +14547,11 @@
14539
14547
  if (!(existing_lwcComponent === incoming_lwcComponent)) {
14540
14548
  return false;
14541
14549
  }
14550
+ const existing_pageDeveloperName = existing.pageDeveloperName;
14551
+ const incoming_pageDeveloperName = incoming.pageDeveloperName;
14552
+ if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
14553
+ return false;
14554
+ }
14542
14555
  const existing_primaryColor = existing.primaryColor;
14543
14556
  const incoming_primaryColor = incoming.primaryColor;
14544
14557
  if (!(existing_primaryColor === incoming_primaryColor)) {
@@ -14569,6 +14582,11 @@
14569
14582
  if (!(existing_targetObject === incoming_targetObject)) {
14570
14583
  return false;
14571
14584
  }
14585
+ const existing_targetParentField = existing.targetParentField;
14586
+ const incoming_targetParentField = incoming.targetParentField;
14587
+ if (!(existing_targetParentField === incoming_targetParentField)) {
14588
+ return false;
14589
+ }
14572
14590
  const existing_targetUrl = existing.targetUrl;
14573
14591
  const incoming_targetUrl = incoming.targetUrl;
14574
14592
  if (!(existing_targetUrl === incoming_targetUrl)) {
@@ -32526,7 +32544,7 @@
32526
32544
  throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
32527
32545
  throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
32528
32546
  });
32529
- // version: 1.441.0-0055bd971e
32547
+ // version: 1.443.0-3de9a44799
32530
32548
 
32531
32549
  var allowUpdatesForNonCachedRecords = {
32532
32550
  isOpen: function (e) {
@@ -96516,7 +96534,7 @@
96516
96534
  },
96517
96535
  };
96518
96536
  }
96519
- // version: 1.441.0-5e7d04c146
96537
+ // version: 1.443.0-be70f6bb6e
96520
96538
 
96521
96539
  /**
96522
96540
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -96542,7 +96560,7 @@
96542
96560
  },
96543
96561
  };
96544
96562
  }
96545
- // version: 1.441.0-5e7d04c146
96563
+ // version: 1.443.0-be70f6bb6e
96546
96564
 
96547
96565
  function findExecutableOperation$1(input) {
96548
96566
  const operations = input.query.definitions.filter(
@@ -99219,7 +99237,7 @@
99219
99237
  id: '@salesforce/lds-network-adapter',
99220
99238
  instrument: instrument$2,
99221
99239
  });
99222
- // version: 1.441.0-5e7d04c146
99240
+ // version: 1.443.0-be70f6bb6e
99223
99241
 
99224
99242
  const { create: create$2, keys: keys$2 } = Object;
99225
99243
  const { stringify, parse } = JSON;
@@ -106539,26 +106557,6 @@
106539
106557
  return cloned;
106540
106558
  }
106541
106559
 
106542
- const requiredKeys = ['query'];
106543
- const optionalKeys = ['variables', 'operationName'];
106544
- /**
106545
- * Factory that builds the graphql adapter-state-manager from a `getCommand`
106546
- * function. Used on-core (with the platform-supplied command constructor that
106547
- * provisions services from `_conduit_client_service_provisioner_v1`) and reused
106548
- * off-core (with a host-provided command, e.g. an MCP-backed command synthesized
106549
- * by `vite-plugin-lwc-ui-bundle`'s runtime).
106550
- *
106551
- * Mirrors the shape of `createSmRecord` / `createSmObjectInfo` in
106552
- * `@salesforce/state-managers-uiapi`: factory + fixed config-key contract,
106553
- * adapter supplied by the caller.
106554
- *
106555
- * @param getCommand - Function that takes a config and returns a `GraphQLCommand`
106556
- * @returns The graphql adapter-state-manager definition
106557
- */
106558
- function createSmGraphQL(getCommand) {
106559
- return createStateManager(getCommand, requiredKeys, optionalKeys);
106560
- }
106561
-
106562
106560
  let graphql$1;
106563
106561
  let graphql_v1_import;
106564
106562
  let graphql_imperative$1;
@@ -106699,7 +106697,7 @@
106699
106697
  }
106700
106698
  return new graphql_state_manager_ctor(validatedConfig.value, documentRootType, services);
106701
106699
  };
106702
- graphql_state_manager = createSmGraphQL(factory);
106700
+ graphql_state_manager = createStateManager(factory, ['query'], ['variables', 'operationName']);
106703
106701
  const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
106704
106702
  services.graphQLMutationBindings.bind(({ params, assertIsValid }) => {
106705
106703
  const config = params[0];
@@ -106722,7 +106720,7 @@
106722
106720
  cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
106723
106721
  }
106724
106722
  }
106725
- // version: 1.441.0-0055bd971e
106723
+ // version: 1.443.0-3de9a44799
106726
106724
 
106727
106725
  function createFragmentMap(documentNode) {
106728
106726
  const fragments = {};
@@ -135929,7 +135927,7 @@
135929
135927
  configuration: { ...configurationForGraphQLAdapters$1 },
135930
135928
  instrument: instrument$1,
135931
135929
  });
135932
- // version: 1.441.0-0055bd971e
135930
+ // version: 1.443.0-3de9a44799
135933
135931
 
135934
135932
  // On core the unstable adapters are re-exported with different names,
135935
135933
  // we want to match them here.
@@ -136081,7 +136079,7 @@
136081
136079
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
136082
136080
  graphQLImperative = ldsAdapter;
136083
136081
  });
136084
- // version: 1.441.0-0055bd971e
136082
+ // version: 1.443.0-3de9a44799
136085
136083
 
136086
136084
  var gqlApi = /*#__PURE__*/Object.freeze({
136087
136085
  __proto__: null,
@@ -136880,7 +136878,7 @@
136880
136878
  function register(r) {
136881
136879
  callbacks$1.forEach((callback) => callback(r));
136882
136880
  }
136883
- // version: 1.441.0-5e7d04c146
136881
+ // version: 1.443.0-be70f6bb6e
136884
136882
 
136885
136883
  /**
136886
136884
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -138190,4 +138188,4 @@
138190
138188
  exports.subscribeToAdapter = subscribeToAdapter;
138191
138189
 
138192
138190
  }));
138193
- // version: 1.441.0-5e7d04c146
138191
+ // version: 1.443.0-be70f6bb6e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.441.0",
3
+ "version": "1.443.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",
@@ -35,14 +35,14 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@oat-sa/rollup-plugin-wildcard-external": "^1.0.0",
38
- "@salesforce/lds-adapters-graphql": "^1.441.0",
39
- "@salesforce/lds-adapters-uiapi": "^1.441.0",
40
- "@salesforce/lds-default-luvio": "^1.441.0",
41
- "@salesforce/lds-drafts": "^1.441.0",
42
- "@salesforce/lds-graphql-parser": "^1.441.0",
43
- "@salesforce/lds-luvio-engine": "^1.441.0",
44
- "@salesforce/lds-runtime-mobile": "^1.441.0",
45
- "@salesforce/nimbus-plugin-lds": "^1.441.0",
38
+ "@salesforce/lds-adapters-graphql": "^1.443.0",
39
+ "@salesforce/lds-adapters-uiapi": "^1.443.0",
40
+ "@salesforce/lds-default-luvio": "^1.443.0",
41
+ "@salesforce/lds-drafts": "^1.443.0",
42
+ "@salesforce/lds-graphql-parser": "^1.443.0",
43
+ "@salesforce/lds-luvio-engine": "^1.443.0",
44
+ "@salesforce/lds-runtime-mobile": "^1.443.0",
45
+ "@salesforce/nimbus-plugin-lds": "^1.443.0",
46
46
  "ajv": "^8.11.0",
47
47
  "glob": "^7.1.5",
48
48
  "nimbus-types": "^2.0.0-alpha1",