@salesforce/lds-network-aura 1.444.0 → 1.446.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.
@@ -1120,6 +1120,7 @@ const INDUSTRIES_CONTEXT_NODE_LIST_PATH = new RegExp(`${CONNECT_BASE_URI}/contex
1120
1120
  const INDUSTRIES_CONTEXT_SERVICE_NODE_PATH = new RegExp(`${CONNECT_BASE_URI}/context-definitions/([A-Za-z0-9]){15,18}/context-nodes/([A-Za-z0-9]){15,18}$`, 'i');
1121
1121
  const INDUSTRIES_CONTEXT_ATTRIBUTE_LIST_PATH = new RegExp(`${CONNECT_BASE_URI}/context-nodes/([A-Za-z0-9/_-]+)/context-attributes`, 'i');
1122
1122
  const INDUSTRIES_CONTEXT_SERVICE_ATTRIBUTE_PATH = new RegExp(`${CONNECT_BASE_URI}/context-nodes/([A-Za-z0-9]){15,18}/context-attributes/([A-Za-z0-9]){15,18}$`, 'i');
1123
+ const DELETE_CONTEXT_ATTRIBUTES_PATTERN = new RegExp(`${CONNECT_BASE_URI}/context-nodes/([^/]+)/context-attributes/delete$`, 'i');
1123
1124
  const INDUSTRIES_CONTEXT_SERVICE_NODE_MAPPING_PATH = new RegExp(`${CONNECT_BASE_URI}/context-mappings/([A-Z0-9]){15,18}/context-node-mappings/([A-Z0-9]){1,28}$`, 'i');
1124
1125
  const CREATE_INDUSTRIES_CONTEXT_NODE_MAPPINGS_PATH = new RegExp(`${CONNECT_BASE_URI}/context-mappings/([A-Za-z0-9]){15,18}/context-node-mappings$`, 'i');
1125
1126
  const INDUSTRIES_CONTEXT_DEFINITION_CLONE_TRANSFORMATIONS = new RegExp(`${CONNECT_BASE_URI}/context-definitions/([A-Za-z_0-9]){15,18}/context-transformations/clone`, 'i');
@@ -2892,6 +2893,10 @@ const industriesContext = [
2892
2893
  generateAdapter('post', CONNECT_BASE_URI, INDUSTRIES_CONTEXT_NODE_LIST_PATH, 'ContextResourceFamilyController.createContextNodes'),
2893
2894
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
2894
2895
  generateAdapter('patch', CONNECT_BASE_URI, INDUSTRIES_CONTEXT_ATTRIBUTE_LIST_PATH, 'ContextResourceFamilyController.updateContextServiceAttributes'),
2896
+ // More-specific route first: /delete sub-resource
2897
+ // eslint-disable-next-line @salesforce/lds/oas-body-name-required
2898
+ generateAdapter('post', CONNECT_BASE_URI, DELETE_CONTEXT_ATTRIBUTES_PATTERN, 'ContextResourceFamilyController.deleteContextServiceAttributes'),
2899
+ // Less-specific route: base /context-attributes
2895
2900
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
2896
2901
  generateAdapter('post', CONNECT_BASE_URI, INDUSTRIES_CONTEXT_ATTRIBUTE_LIST_PATH, 'ContextResourceFamilyController.createContextAttributes'),
2897
2902
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
@@ -5851,4 +5856,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
5851
5856
  var main = platformNetworkAdapter(auraNetworkAdapter);
5852
5857
 
5853
5858
  export { CrudEventState, CrudEventType, UIAPI_GET_LAYOUT, UIAPI_GET_LAYOUT_USER_STATE, UIAPI_OBJECT_INFO_BATCH_PATH, UIAPI_OBJECT_INFO_PATH, UIAPI_RECORDS_PATH$1 as UIAPI_RECORDS_PATH, UIAPI_RELATED_LIST_RECORDS_BATCH_PATH, UIAPI_RELATED_LIST_RECORDS_PATH, createOkResponse$1 as createOkResponse, main as default, defaultActionConfig, dispatchAction as dispatchAuraAction, forceRecordTransactionsDisabled, getTransactionKey, instrument$1 as instrument, layoutStorage, layoutStorageStatsLogger, layoutUserStateStorage, layoutUserStateStorageStatsLogger, instrument as ldsNetworkAdapterInstrument, objectInfoStorage, objectInfoStorageStatsLogger, registerSubRequestNetworkAdapter, shouldForceRefresh };
5854
- // version: 1.444.0-a7f42f9edf
5859
+ // version: 1.446.0-f73bd65030
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-network-aura",
3
- "version": "1.444.0",
3
+ "version": "1.446.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS Network Adapter for Aura Runtime",
6
6
  "main": "dist/ldsNetwork.js",
@@ -37,11 +37,11 @@
37
37
  "@luvio/engine": "0.161.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@salesforce/lds-adapters-uiapi": "^1.444.0",
41
- "@salesforce/lds-durable-storage": "^1.444.0",
42
- "@salesforce/lds-environment-settings": "^1.444.0",
43
- "@salesforce/lds-instrumentation": "^1.444.0",
44
- "@salesforce/lds-network-adapter": "^1.444.0"
40
+ "@salesforce/lds-adapters-uiapi": "^1.446.0",
41
+ "@salesforce/lds-durable-storage": "^1.446.0",
42
+ "@salesforce/lds-environment-settings": "^1.446.0",
43
+ "@salesforce/lds-instrumentation": "^1.446.0",
44
+ "@salesforce/lds-network-adapter": "^1.446.0"
45
45
  },
46
46
  "volta": {
47
47
  "extends": "../../package.json"