@salesforce/lds-network-aura 1.136.8 → 1.138.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.
@@ -362,6 +362,7 @@ function executeGetApex(resourceRequest) {
362
362
  });
363
363
  }
364
364
  function dispatchApexAction(endpoint, params, config) {
365
+ config.headers = { ...config.headers, 'X-SFDC-LDS-Endpoints': endpoint };
365
366
  return executeGlobalControllerRawResponse(endpoint, params, config).then((body) => {
366
367
  // Get return value from body
367
368
  const returnValue = body.getReturnValue();
@@ -420,7 +421,6 @@ const GET_LEARNING_ITEM_PROGRESS_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_
420
421
  const EVALUATE_LEARNING_ITEM_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/evaluate$`, 'i');
421
422
  const GET_LEARNING_TEXT_LESSON_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/textlesson/([A-Z0-9_]){2,80}$`, 'i');
422
423
  const GET_LEARNING_PRACTICE_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/practice/([A-Z0-9_]){2,80}$`, 'i');
423
- const GET_FEEDBACK_RESULT_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/feedbackresult/([A-Z0-9_]){2,80}$`, 'i');
424
424
  const GET_LEARNING_MODEL_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/model/([A-Z0-9_]){2,80}$`, 'i');
425
425
  const GET_MODULE_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/module/([A-Z0-9_]){2,80}$`, 'i');
426
426
  const GET_GUIDANCE_ASSISTANT_TARGET_PATH = new RegExp(`${GUIDANCE_BASE_URI}/([A-Z0-9_]){2,80}/info$`, 'i');
@@ -716,7 +716,7 @@ const INDUSTRIES_CONTEXT_NODE_MAPPING_PATH = new RegExp(`${CONNECT_BASE_URI}/con
716
716
  const DATALOADING_FEATURE_OBJECTS_PATH = new RegExp(`${CONNECT_BASE_URI}/industries/([A-Za-z0-9_]){5,255}/objects`, 'i');
717
717
  const GET_INDUSTRIES_PRICING_RECIPES_MAPPING_PATH = new RegExp(`${CONNECT_BASE_URI}/industries/pricing/recipe`, 'i');
718
718
  const CREATE_INDUSTRIES_PRICING_RECIPES_MAPPING_PATH = new RegExp(`${CONNECT_BASE_URI}/industries/pricing/recipe/mapping`, 'i');
719
- const GET_INDUSTRIES_PRICING_SYNC_PARAM_PATH = new RegExp(`${CONNECT_BASE_URI}/industries/pricing/sync/([A-Za-z0-9_]){5,255}/syncInputParam/([A-Za-z0-9_]){5,255}`, 'i');
719
+ const GET_INDUSTRIES_PRICING_SYNC_PARAM_PATH = new RegExp(`${CONNECT_BASE_URI}/industries/pricing/sync/([A-Za-z0-9_]){5,255}`, 'i');
720
720
  function generateAdapter(method, baseUri, pathRegex, controller) {
721
721
  return {
722
722
  method,
@@ -976,7 +976,6 @@ const learningContentPlatform = [
976
976
  generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_LEARNING_MODEL_PATH, 'LearningContentPlatformController.getLearningModel'),
977
977
  generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_MODULE_PATH, 'LearningContentPlatformController.getModule'),
978
978
  generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_LEARNING_PRACTICE_PATH, 'LearningContentPlatformController.getLearningPractice'),
979
- generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_FEEDBACK_RESULT_PATH, 'LearningContentPlatformController.getFeedbackResult'),
980
979
  ];
981
980
  const guidance = [
982
981
  {
@@ -2975,4 +2974,4 @@ function auraNetworkAdapter(resourceRequest) {
2975
2974
  var main = platformNetworkAdapter(auraNetworkAdapter);
2976
2975
 
2977
2976
  export { main as default, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
2978
- // version: 1.136.8-1a1062e42
2977
+ // version: 1.138.0-040b690de
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-network-aura",
3
- "version": "1.136.8",
3
+ "version": "1.138.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS Network Adapter for Aura Runtime",
6
6
  "main": "dist/ldsNetwork.js",
@@ -34,7 +34,7 @@
34
34
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-network-aura"
35
35
  },
36
36
  "dependencies": {
37
- "@luvio/engine": "0.140.2"
37
+ "@luvio/engine": "0.140.3"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@salesforce/lds-adapters-uiapi": "*",