@salesforce/lds-network-aura 1.150.4 → 1.150.5

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.
@@ -333,6 +333,7 @@ const LWR_APEX_BASE_URI = '/lwr/apex/v59.0';
333
333
  const ApexController = 'ApexActionController.execute';
334
334
  const CACHE_CONTROL = 'Cache-Control';
335
335
  const X_SFDC_ALLOW_CONTINUATION = 'X-SFDC-Allow-Continuation';
336
+ const X_SFDC_LDS_ENDPOINTS = 'X-SFDC-LDS-Endpoints';
336
337
  function splitNamespaceClassname(classname) {
337
338
  const split = classname.split('__');
338
339
  return split.length > 1 ? [split[0], split[1]] : ['', split[0]];
@@ -372,7 +373,10 @@ function executeGetApex(resourceRequest) {
372
373
  });
373
374
  }
374
375
  function dispatchApexAction(endpoint, params, config) {
375
- config.headers = { ...config.headers, 'X-SFDC-LDS-Endpoints': endpoint };
376
+ config.headers = {
377
+ ...config.headers,
378
+ [X_SFDC_LDS_ENDPOINTS]: `${endpoint}:${params.classname}.${params.method}`,
379
+ };
376
380
  return executeGlobalControllerRawResponse(endpoint, params, config).then((body) => {
377
381
  // Get return value from body
378
382
  const returnValue = body.getReturnValue();
@@ -3002,4 +3006,4 @@ function auraNetworkAdapter(resourceRequest) {
3002
3006
  var main = platformNetworkAdapter(auraNetworkAdapter);
3003
3007
 
3004
3008
  export { main as default, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
3005
- // version: 1.150.4-fc4aa92e4
3009
+ // version: 1.150.5-14bbd5b27
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-network-aura",
3
- "version": "1.150.4",
3
+ "version": "1.150.5",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS Network Adapter for Aura Runtime",
6
6
  "main": "dist/ldsNetwork.js",