@salesforce/lds-runtime-aura 1.374.0 → 1.376.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,7 +21,6 @@ import useRelatedListPlus from '@salesforce/gate/lds.pdl.useRelatedListPlus';
21
21
  import useCmpDefPredictions from '@salesforce/gate/lds.pdl.useCmpDefPredictions';
22
22
  import applyPredictionRequestLimit from '@salesforce/gate/lds.pdl.applyRequestLimit';
23
23
  import useLocalStorage from '@salesforce/gate/lds.pdl.useLocalStorage';
24
- import useOneStoreGraphql from '@salesforce/gate/lds.oneStoreGraphqlEnabled';
25
24
  import { GetApexWireAdapterFactory, registerPrefetcher as registerPrefetcher$1 } from 'force/ldsAdaptersApex';
26
25
  import { getRecordAvatarsAdapterFactory, getRecordAdapterFactory, coerceFieldIdArray, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getObjectInfosAdapterFactory, coerceObjectIdArray, getObjectInfoAdapterFactory, coerceObjectId, getRelatedListsActionsAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getListRecordsByNameAdapterFactory, getListObjectInfoAdapterFactory, getRelatedListsInfoAdapterFactory, getRelatedListActionsAdapterFactory, getRecordId18Array, instrument, configuration, InMemoryRecordRepresentationQueryEvaluator, UiApiNamespace, RecordRepresentationRepresentationType, registerPrefetcher } from 'force/ldsAdaptersUiapi';
27
26
  import { getInstrumentation } from 'o11y/client';
@@ -40,7 +39,6 @@ import useHotspotLimit from '@salesforce/gate/lds.pdl.useHotspotLimit';
40
39
  import { createStorage, clearStorages } from 'force/ldsStorage';
41
40
  import useHttpInsteadAuraTransport from '@salesforce/gate/lds.useHttpInsteadAuraTransport';
42
41
  import { ThirdPartyTracker } from 'instrumentation:beaconLib';
43
- import { graphql, graphql_imperative } from 'force/ldsAdaptersOnestoreGraphql';
44
42
 
45
43
  /*!
46
44
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -2310,7 +2308,7 @@ function buildServiceDescriptor$3(luvio) {
2310
2308
  },
2311
2309
  };
2312
2310
  }
2313
- // version: 1.374.0-263fb4e123
2311
+ // version: 1.376.0-328016ba31
2314
2312
 
2315
2313
  /*!
2316
2314
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -6914,7 +6912,7 @@ function getEnvironmentSetting(name) {
6914
6912
  }
6915
6913
  return undefined;
6916
6914
  }
6917
- // version: 1.374.0-263fb4e123
6915
+ // version: 1.376.0-328016ba31
6918
6916
 
6919
6917
  const forceRecordTransactionsDisabled = getEnvironmentSetting(EnvironmentSettings.ForceRecordTransactionsDisabled);
6920
6918
  //TODO: Some duplication here that can be most likely moved to a util class
@@ -7825,15 +7823,6 @@ function initializeOneStore(luvio) {
7825
7823
  ];
7826
7824
  setServices(services);
7827
7825
  }
7828
- function initializeOnestoreUiApiAdapters() {
7829
- // W-17577671 - UIAPI adapters need to be updated to new onestore spec
7830
- // ldsAdaptersUiapiConfig.setGetObjectInfoAdapter(getObjectInfo);
7831
- // ldsAdaptersUiapiConfig.setGetObjectInfosAdapter(getObjectInfos);
7832
- if (useOneStoreGraphql.isOpen({ fallback: false })) {
7833
- configuration.setGraphQLWireAdapter(graphql);
7834
- configuration.setGraphQLImperativeQueryAdapter(graphql_imperative);
7835
- }
7836
- }
7837
7826
  function buildAuraNetworkService() {
7838
7827
  return {
7839
7828
  type: 'auraNetwork',
@@ -7846,11 +7835,9 @@ function ldsEngineCreator() {
7846
7835
  const luvio = initializeLDS();
7847
7836
  // One store initialization needs to happen first in order to set the one store adapter correctly in configuration object.
7848
7837
  initializeOneStore(luvio);
7849
- if (oneStoreUiapiEnabled.isOpen({ fallback: false })) {
7850
- initializeOnestoreUiApiAdapters();
7851
- }
7838
+ if (oneStoreUiapiEnabled.isOpen({ fallback: false })) ;
7852
7839
  return { name: 'ldsEngineCreator' };
7853
7840
  }
7854
7841
 
7855
7842
  export { LexRequestStrategy, PdlRequestPriority, buildPredictorForContext, ldsEngineCreator as default, initializeLDS, initializeOneStore, registerRequestStrategy, saveRequestAsPrediction, unregisterRequestStrategy, whenPredictionsReady };
7856
- // version: 1.374.0-e796f934b2
7843
+ // version: 1.376.0-cb776a38bb
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-aura",
3
- "version": "1.374.0",
3
+ "version": "1.376.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Aura runtime",
6
6
  "main": "dist/ldsEngineCreator.js",
@@ -36,15 +36,15 @@
36
36
  "devDependencies": {
37
37
  "@luvio/service-provisioner": "5.49.0",
38
38
  "@luvio/tools-core": "5.49.0",
39
- "@salesforce/lds-adapters-apex": "^1.374.0",
40
- "@salesforce/lds-adapters-uiapi": "^1.374.0",
39
+ "@salesforce/lds-adapters-apex": "^1.376.0",
40
+ "@salesforce/lds-adapters-uiapi": "^1.376.0",
41
41
  "@salesforce/lds-adapters-uiapi-lex": "^1.371.0",
42
- "@salesforce/lds-ads-bridge": "^1.374.0",
43
- "@salesforce/lds-aura-storage": "^1.374.0",
44
- "@salesforce/lds-bindings": "^1.374.0",
45
- "@salesforce/lds-instrumentation": "^1.374.0",
46
- "@salesforce/lds-network-aura": "^1.374.0",
47
- "@salesforce/lds-network-fetch": "^1.374.0",
42
+ "@salesforce/lds-ads-bridge": "^1.376.0",
43
+ "@salesforce/lds-aura-storage": "^1.376.0",
44
+ "@salesforce/lds-bindings": "^1.376.0",
45
+ "@salesforce/lds-instrumentation": "^1.376.0",
46
+ "@salesforce/lds-network-aura": "^1.376.0",
47
+ "@salesforce/lds-network-fetch": "^1.376.0",
48
48
  "jwt-encode": "1.0.1"
49
49
  },
50
50
  "dependencies": {
@@ -70,9 +70,9 @@
70
70
  "@luvio/service-pubsub": "5.49.0",
71
71
  "@luvio/service-store": "5.49.0",
72
72
  "@luvio/utils": "5.49.0",
73
- "@salesforce/lds-adapters-onestore-graphql": "^1.374.0",
74
- "@salesforce/lds-adapters-uiapi-lex": "^1.374.0",
75
- "@salesforce/lds-luvio-service": "^1.374.0"
73
+ "@salesforce/lds-adapters-onestore-graphql": "^1.376.0",
74
+ "@salesforce/lds-adapters-uiapi-lex": "^1.376.0",
75
+ "@salesforce/lds-luvio-service": "^1.376.0"
76
76
  },
77
77
  "luvioBundlesize": [
78
78
  {