@salesforce/lds-network-aura 1.148.0 → 1.150.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.
@@ -423,8 +423,6 @@ const GET_PROVIDERS_PATH = new RegExp(`${COMMERCE_EXTENSION_BASE_URI}/providers(
423
423
  const GET_GUIDANCE_ASSISTANT_PATH = new RegExp(`${GUIDANCE_BASE_URI}/([A-Z0-9_]){2,80}$`, 'i');
424
424
  const GET_LEARNING_CONTENT_PLATFORM_RELATED_LIST_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/featured-item/list/related$`, 'i');
425
425
  const GET_LEARNING_CONTENT_PLATFORM_RECOMMENDED_LIST_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/featured-item/list/recommended$`, 'i');
426
- const GET_LEARNING_CONTENT_PLATFORM_SEARCH_DESCRIBE_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/search/describe$`, 'i');
427
- const GET_LEARNING_CONTENT_PLATFORM_SEARCH_RESULTS_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/search/type/([A-Z0-9_]){2,80}$`, 'i');
428
426
  const GET_LEARNING_CONFIG_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/config$`, 'i');
429
427
  const GET_LEARNING_ITEM_LIST_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/item/list$`, 'i');
430
428
  const GET_LEARNING_ITEM_PROGRESS_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/learning/item/progress$`, 'i');
@@ -459,7 +457,6 @@ const DATAFLOW_JOB_NODE_PATH = new RegExp(`${WAVE_BASE_URI}/dataflowjobs/([A-Z0-
459
457
  const EXECUTE_QUERY_PATH = new RegExp(`${WAVE_BASE_URI}/query`, 'i');
460
458
  const EXECUTE_SOQL_QUERY_PATH = new RegExp(`${WAVE_BASE_URI}/soql`, 'i');
461
459
  const GET_JWT_TABLEAU_EMBEDDING = new RegExp(`${TABLEAU_EMBEDDING_BASE_URI}/jwt`, 'i');
462
- const POST_JWT_TABLEAU_EMBEDDING = new RegExp(`${TABLEAU_EMBEDDING_BASE_URI}/jwt`, 'i');
463
460
  const GET_EAS_TABLEAU_EMBEDDING = new RegExp(`${TABLEAU_EMBEDDING_BASE_URI}/eas`, 'i');
464
461
  const RECIPES_PATH = new RegExp(`${WAVE_BASE_URI}/recipes$`, 'i');
465
462
  const RECIPE_PATH = new RegExp(`${WAVE_BASE_URI}/recipes/([A-Z0-9]){15,18}$`, 'i');
@@ -981,8 +978,6 @@ const serviceAutomationServiceCatalog = [
981
978
  const learningContentPlatform = [
982
979
  generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_LEARNING_CONTENT_PLATFORM_RELATED_LIST_PATH, 'LearningContentPlatformController.getFeaturedItemsRelatedList'),
983
980
  generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_LEARNING_CONTENT_PLATFORM_RECOMMENDED_LIST_PATH, 'LearningContentPlatformController.getFeaturedItemsRecommendedList'),
984
- generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_LEARNING_CONTENT_PLATFORM_SEARCH_DESCRIBE_PATH, 'LearningContentPlatformController.getLearningSearchDescribe'),
985
- generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_LEARNING_CONTENT_PLATFORM_SEARCH_RESULTS_PATH, 'LearningContentPlatformController.getLearningSearchResults'),
986
981
  generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_LEARNING_CONFIG_PATH, 'LearningContentPlatformController.getLearningConfig'),
987
982
  generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_LEARNING_ITEM_LIST_PATH, 'LearningContentPlatformController.getLearningItemsList'),
988
983
  generateAdapter('get', LEARNING_CONTENT_PLATFORM_BASE_URI, GET_LEARNING_ITEM_PROGRESS_PATH, 'LearningContentPlatformController.getLearningItemProgress'),
@@ -1078,7 +1073,6 @@ const analyticsPrivate = [
1078
1073
  generateAdapter('post', WAVE_BASE_URI, EXECUTE_SOQL_QUERY_PATH, 'WaveController.executeSoqlQueryPost'),
1079
1074
  ];
1080
1075
  const tableauEmbedding = [
1081
- generateAdapter('post', TABLEAU_EMBEDDING_BASE_URI, POST_JWT_TABLEAU_EMBEDDING, 'TableauEmbeddingController.postJWT'),
1082
1076
  generateAdapter('get', TABLEAU_EMBEDDING_BASE_URI, GET_JWT_TABLEAU_EMBEDDING, 'TableauEmbeddingController.getJWT'),
1083
1077
  generateAdapter('get', TABLEAU_EMBEDDING_BASE_URI, GET_EAS_TABLEAU_EMBEDDING, 'TableauEmbeddingController.getEAS'),
1084
1078
  ];
@@ -2481,6 +2475,15 @@ router.get((path) => path.startsWith(UIAPI_NAV_ITEMS_PATH), getNavItems);
2481
2475
  router.get((path) => path === UIAPI_APPS_PATH, getAllApps);
2482
2476
  router.get((path) => path.startsWith(UIAPI_APPS_PATH), getAppDetails);
2483
2477
 
2478
+ function postJWT(resourceRequest) {
2479
+ const { body } = resourceRequest;
2480
+ const params = buildUiApiParams({
2481
+ tableauJwtArgs: body,
2482
+ }, resourceRequest);
2483
+ return dispatchAction('TableauEmbeddingController.postJWT', params, undefined);
2484
+ }
2485
+ router.post((path) => path.startsWith(`${TABLEAU_EMBEDDING_BASE_URI}/jwt`), postJWT);
2486
+
2484
2487
  /**
2485
2488
  * Copyright (c) 2022, Salesforce, Inc.,
2486
2489
  * All rights reserved.
@@ -2997,4 +3000,4 @@ function auraNetworkAdapter(resourceRequest) {
2997
3000
  var main = platformNetworkAdapter(auraNetworkAdapter);
2998
3001
 
2999
3002
  export { main as default, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
3000
- // version: 1.148.0-1f49ddf66
3003
+ // version: 1.150.0-600e3f5a6
@@ -10,3 +10,4 @@ import './uiapi-mrulists';
10
10
  import './uiapi-relatedlist';
11
11
  import './uiapi-search';
12
12
  import './uiapi-apps';
13
+ import './tableau-embedding';
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-network-aura",
3
- "version": "1.148.0",
3
+ "version": "1.150.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS Network Adapter for Aura Runtime",
6
6
  "main": "dist/ldsNetwork.js",