@salesforce/lds-network-aura 1.119.4 → 1.121.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.
package/dist/ldsNetwork.js
CHANGED
|
@@ -24,6 +24,7 @@ const { parse: parse$1, stringify: stringify$1 } = JSON;
|
|
|
24
24
|
const BASE_URI = '/services/data/v58.0';
|
|
25
25
|
const CONNECT_BASE_URI = `${BASE_URI}/connect`;
|
|
26
26
|
const COMMERCE_BASE_URI = `${BASE_URI}/commerce`;
|
|
27
|
+
const COMMERCE_EXTENSION_BASE_URI = `${COMMERCE_BASE_URI}/extension`;
|
|
27
28
|
const GUIDANCE_BASE_URI = `${BASE_URI}/assistant-platform`;
|
|
28
29
|
const WAVE_BASE_URI = `${BASE_URI}/wave`;
|
|
29
30
|
const SMART_DATA_DISCOVERY_BASE_URI = `${BASE_URI}/smartdatadiscovery`;
|
|
@@ -404,6 +405,10 @@ const GET_PRODUCT_PATH = new RegExp(`${COMMERCE_BASE_URI}/webstores/([A-Z0-9]){1
|
|
|
404
405
|
const GET_PRODUCT_CATEGORY_PATH_PATH = new RegExp(`${COMMERCE_BASE_URI}/webstores/([A-Z0-9]){15,18}/product-category-path/product-categories/([A-Z0-9]){15,18}`, 'i');
|
|
405
406
|
const PRODUCT_SEARCH_PATH = new RegExp(`${COMMERCE_BASE_URI}/webstores/([A-Z0-9]){15,18}/search/product-search`, 'i');
|
|
406
407
|
const GET_PRODUCT_PRICE_PATH = new RegExp(`${COMMERCE_BASE_URI}/webstores/([A-Z0-9]){15,18}/pricing/products/([A-Z0-9]){15,18}`, 'i');
|
|
408
|
+
const GET_EXTENSIONS_PATH = new RegExp(`${COMMERCE_EXTENSION_BASE_URI}/extensions$`, 'i');
|
|
409
|
+
const GET_MAPPINGS_PATH = new RegExp(`${COMMERCE_EXTENSION_BASE_URI}/mappings(\\?.*)?$`, 'i');
|
|
410
|
+
const GET_MAPPING_PATH = new RegExp(`${COMMERCE_EXTENSION_BASE_URI}/mappings/([A-Z0-9]){15,18}$`, 'i');
|
|
411
|
+
const GET_PROVIDERS_PATH = new RegExp(`${COMMERCE_EXTENSION_BASE_URI}/providers(\\?.*)?$`, 'i');
|
|
407
412
|
const GET_GUIDANCE_ASSISTANT_PATH = new RegExp(`${GUIDANCE_BASE_URI}/([A-Z0-9_]){2,80}$`, 'i');
|
|
408
413
|
const GET_LEARNING_CONTENT_PLATFORM_RELATED_LIST_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/featured-item/list/related$`, 'i');
|
|
409
414
|
const GET_LEARNING_CONTENT_PLATFORM_RECOMMENDED_LIST_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/featured-item/list/recommended$`, 'i');
|
|
@@ -873,6 +878,15 @@ const commerce = [
|
|
|
873
878
|
generateAdapter('get', COMMERCE_BASE_URI, GET_PRODUCT_PRICE_PATH, 'CommerceStorePricingController.getProductPrice'),
|
|
874
879
|
generateAdapter('post', COMMERCE_BASE_URI, PRODUCT_SEARCH_PATH, 'CommerceProductSearchController.productSearch'),
|
|
875
880
|
];
|
|
881
|
+
const commerce_extension = [
|
|
882
|
+
generateAdapter('get', COMMERCE_EXTENSION_BASE_URI, GET_EXTENSIONS_PATH, 'CommerceExtensionFamilyController.getExtensions'),
|
|
883
|
+
generateAdapter('get', COMMERCE_EXTENSION_BASE_URI, GET_MAPPINGS_PATH, 'CommerceExtensionFamilyController.getExtensionMappings'),
|
|
884
|
+
generateAdapter('post', COMMERCE_EXTENSION_BASE_URI, GET_MAPPINGS_PATH, 'CommerceExtensionFamilyController.mapExtension'),
|
|
885
|
+
generateAdapter('get', COMMERCE_EXTENSION_BASE_URI, GET_MAPPING_PATH, 'CommerceExtensionFamilyController.getExtensionMapping'),
|
|
886
|
+
generateAdapter('put', COMMERCE_EXTENSION_BASE_URI, GET_MAPPING_PATH, 'CommerceExtensionFamilyController.remapExtension'),
|
|
887
|
+
generateAdapter('delete', COMMERCE_EXTENSION_BASE_URI, GET_MAPPING_PATH, 'CommerceExtensionFamilyController.unmapExtension'),
|
|
888
|
+
generateAdapter('get', COMMERCE_EXTENSION_BASE_URI, GET_PROVIDERS_PATH, 'CommerceExtensionFamilyController.getProviders'),
|
|
889
|
+
];
|
|
876
890
|
const scalecenter = [
|
|
877
891
|
{
|
|
878
892
|
method: 'get',
|
|
@@ -1249,6 +1263,7 @@ registerApiFamilyRoutes(updateQuote);
|
|
|
1249
1263
|
registerApiFamilyRoutes(connect);
|
|
1250
1264
|
registerApiFamilyRoutes(connectInternal);
|
|
1251
1265
|
registerApiFamilyRoutes(commerce);
|
|
1266
|
+
registerApiFamilyRoutes(commerce_extension);
|
|
1252
1267
|
registerApiFamilyRoutes(guidance);
|
|
1253
1268
|
registerApiFamilyRoutes(analytics);
|
|
1254
1269
|
registerApiFamilyRoutes(analyticsPrivate);
|
|
@@ -2885,4 +2900,4 @@ function auraNetworkAdapter(resourceRequest) {
|
|
|
2885
2900
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
2886
2901
|
|
|
2887
2902
|
export { main as default, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
|
|
2888
|
-
// version: 1.
|
|
2903
|
+
// version: 1.121.0-f722acdeb
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const BASE_URI = "/services/data/v58.0";
|
|
2
2
|
export declare const CONNECT_BASE_URI: string;
|
|
3
3
|
export declare const COMMERCE_BASE_URI: string;
|
|
4
|
+
export declare const COMMERCE_EXTENSION_BASE_URI: string;
|
|
4
5
|
export declare const GUIDANCE_BASE_URI: string;
|
|
5
6
|
export declare const WAVE_BASE_URI: string;
|
|
6
7
|
export declare const SMART_DATA_DISCOVERY_BASE_URI: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-aura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.121.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.137.
|
|
37
|
+
"@luvio/engine": "0.137.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@salesforce/lds-adapters-uiapi": "*",
|