@salesforce/lds-network-aura 1.148.0 → 1.149.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.
@@ -459,7 +459,6 @@ const DATAFLOW_JOB_NODE_PATH = new RegExp(`${WAVE_BASE_URI}/dataflowjobs/([A-Z0-
459
459
  const EXECUTE_QUERY_PATH = new RegExp(`${WAVE_BASE_URI}/query`, 'i');
460
460
  const EXECUTE_SOQL_QUERY_PATH = new RegExp(`${WAVE_BASE_URI}/soql`, 'i');
461
461
  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
462
  const GET_EAS_TABLEAU_EMBEDDING = new RegExp(`${TABLEAU_EMBEDDING_BASE_URI}/eas`, 'i');
464
463
  const RECIPES_PATH = new RegExp(`${WAVE_BASE_URI}/recipes$`, 'i');
465
464
  const RECIPE_PATH = new RegExp(`${WAVE_BASE_URI}/recipes/([A-Z0-9]){15,18}$`, 'i');
@@ -1078,7 +1077,6 @@ const analyticsPrivate = [
1078
1077
  generateAdapter('post', WAVE_BASE_URI, EXECUTE_SOQL_QUERY_PATH, 'WaveController.executeSoqlQueryPost'),
1079
1078
  ];
1080
1079
  const tableauEmbedding = [
1081
- generateAdapter('post', TABLEAU_EMBEDDING_BASE_URI, POST_JWT_TABLEAU_EMBEDDING, 'TableauEmbeddingController.postJWT'),
1082
1080
  generateAdapter('get', TABLEAU_EMBEDDING_BASE_URI, GET_JWT_TABLEAU_EMBEDDING, 'TableauEmbeddingController.getJWT'),
1083
1081
  generateAdapter('get', TABLEAU_EMBEDDING_BASE_URI, GET_EAS_TABLEAU_EMBEDDING, 'TableauEmbeddingController.getEAS'),
1084
1082
  ];
@@ -2481,6 +2479,15 @@ router.get((path) => path.startsWith(UIAPI_NAV_ITEMS_PATH), getNavItems);
2481
2479
  router.get((path) => path === UIAPI_APPS_PATH, getAllApps);
2482
2480
  router.get((path) => path.startsWith(UIAPI_APPS_PATH), getAppDetails);
2483
2481
 
2482
+ function postJWT(resourceRequest) {
2483
+ const { body } = resourceRequest;
2484
+ const params = buildUiApiParams({
2485
+ tableauJwtArgs: body,
2486
+ }, resourceRequest);
2487
+ return dispatchAction('TableauEmbeddingController.postJWT', params, undefined);
2488
+ }
2489
+ router.post((path) => path.startsWith(`${TABLEAU_EMBEDDING_BASE_URI}/jwt`), postJWT);
2490
+
2484
2491
  /**
2485
2492
  * Copyright (c) 2022, Salesforce, Inc.,
2486
2493
  * All rights reserved.
@@ -2997,4 +3004,4 @@ function auraNetworkAdapter(resourceRequest) {
2997
3004
  var main = platformNetworkAdapter(auraNetworkAdapter);
2998
3005
 
2999
3006
  export { main as default, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
3000
- // version: 1.148.0-1f49ddf66
3007
+ // version: 1.149.0-45cf21bcc
@@ -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.149.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS Network Adapter for Aura Runtime",
6
6
  "main": "dist/ldsNetwork.js",