@salesforce/lds-network-aura 1.235.0 → 1.237.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
|
@@ -720,8 +720,8 @@ const OAUTH_CREDENTIAL_AUTH_URL_PATH = new RegExp(`${NAMED_CREDENTIAL_BASE_URI}/
|
|
|
720
720
|
const EXTERNAL_CREDENTIAL_PATH = new RegExp(`${NAMED_CREDENTIAL_BASE_URI}/external-credentials$`, 'i');
|
|
721
721
|
const EXTERNAL_SERVICES_DATA_SHAPE_PATH = new RegExp(`${EXTERNAL_SERVICES_BASE_URI}/inference/datashape/([A-Za-z0-9]){1,15}$`, 'i');
|
|
722
722
|
const EXTERNAL_SERVICES_OPENAPI_SPEC_PATH = new RegExp(`${EXTERNAL_SERVICES_BASE_URI}/inference/openapispec/([A-Za-z0-9_]){1,15}$`, 'i');
|
|
723
|
-
// actionName = externalServiceRegistrationName.operationName. Up to 510 characters, with a minimum of 3 characters.
|
|
724
|
-
const EXTERNAL_SERVICES_ACTION_DETAILS_PATH = new RegExp(`${EXTERNAL_SERVICES_BASE_URI}/actions/services/(
|
|
723
|
+
// actionName = externalServiceRegistrationName.operationName. Up to 510 characters, with a minimum of 3 characters., the operation name can have special characters that aren't escpaed so have to match everything.
|
|
724
|
+
const EXTERNAL_SERVICES_ACTION_DETAILS_PATH = new RegExp(`${EXTERNAL_SERVICES_BASE_URI}/actions/services/(.){3,510}$`, 'i');
|
|
725
725
|
const EXTERNAL_SERVICES_STATISTICS_PATH = new RegExp(`${EXTERNAL_SERVICES_BASE_URI}/statistics/services$`, 'i');
|
|
726
726
|
// upper limit for registrationName is 97 = 15 (namespace prefix) + 2 ("__" separator) + 80 (external service developer name)
|
|
727
727
|
const EXTERNAL_SERVICES_STATISTICS_FOR_SERVICE_PATH = new RegExp(`${EXTERNAL_SERVICES_BASE_URI}/statistics/services/([A-Z0-9_]){1,97}$`, 'i');
|
|
@@ -839,7 +839,7 @@ const CPQ_POST_CART_ITEM = new RegExp(`${CPQ_BASE_URI}/carts/([A-Za-z0-9]+(-[A-Z
|
|
|
839
839
|
const CPQ_PATCH_CART_ITEM = new RegExp(`${CPQ_BASE_URI}/carts/([A-Za-z0-9]+(-[A-Za-z0-9]+)+)/items$`, 'i');
|
|
840
840
|
const CPQ_DELETE_CART_ITEM = new RegExp(`${CPQ_BASE_URI}/carts/([A-Za-z0-9]+(-[A-Za-z0-9]+)+)/items/([A-Za-z0-9]+(-[A-Za-z0-9]+)+)`, 'i');
|
|
841
841
|
const CPQ_PRICE_CART = new RegExp(`${CPQ_BASE_URI}/carts/([A-Za-z0-9]+(-[A-Za-z0-9]+)+)/price`, 'i');
|
|
842
|
-
const FUNDRAISING_GIFT_COMMITMENT_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/donor/[a-zA-Z0-9]{15,18}/
|
|
842
|
+
const FUNDRAISING_GIFT_COMMITMENT_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/donor/[a-zA-Z0-9]{15,18}/commitments$`, 'i');
|
|
843
843
|
const FUNDRAISING_CAMPAIGN_DEFAULT_DESIGNATION_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/campaign/[a-zA-Z0-9]{15,18}/default-designations$`, 'i');
|
|
844
844
|
const FUNDRAISING_COMMITMENT_DEFAULT_DESIGNATION_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/commitment/[a-zA-Z0-9]{15,18}/default-designations$`, 'i');
|
|
845
845
|
const FUNDRAISING_GIFT_TRANSACTION_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/gift-commitments/[a-zA-Z0-9]{15,18}/gift-transactions$`, 'i');
|
|
@@ -2333,6 +2333,7 @@ function updateListInfoByName(resourceRequest) {
|
|
|
2333
2333
|
label: body.label,
|
|
2334
2334
|
scope: body.scope,
|
|
2335
2335
|
visibility: body.visibility,
|
|
2336
|
+
displayColumns: body.displayColumns,
|
|
2336
2337
|
},
|
|
2337
2338
|
}, resourceRequest);
|
|
2338
2339
|
return dispatchAction(UiApiListsController.UpdateListInfoByName, params);
|
|
@@ -2746,6 +2747,7 @@ router.post((path) => path.startsWith(`${TABLEAU_EMBEDDING_BASE_URI}/jwt`), post
|
|
|
2746
2747
|
* For full license text, see the LICENSE.txt file
|
|
2747
2748
|
*/
|
|
2748
2749
|
|
|
2750
|
+
|
|
2749
2751
|
const { parse, stringify } = JSON;
|
|
2750
2752
|
const { join, push, unshift } = Array.prototype;
|
|
2751
2753
|
const { isArray } = Array;
|
|
@@ -3255,5 +3257,5 @@ function auraNetworkAdapter(resourceRequest) {
|
|
|
3255
3257
|
}
|
|
3256
3258
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
3257
3259
|
|
|
3258
|
-
export { main as default, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
|
|
3259
|
-
// version: 1.
|
|
3260
|
+
export { main as default, defaultActionConfig, dispatchAction as dispatchAuraAction, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
|
|
3261
|
+
// version: 1.237.0-5cc894ce9
|
package/dist/types/main.d.ts
CHANGED
|
@@ -4,3 +4,6 @@ export default _default;
|
|
|
4
4
|
export { instrument, AuraNetworkInstrumentation } from './instrumentation';
|
|
5
5
|
export { instrument as ldsNetworkAdapterInstrument } from '@salesforce/lds-network-adapter';
|
|
6
6
|
export { forceRecordTransactionsDisabled } from './middlewares/event-logging';
|
|
7
|
+
export { dispatchAction as dispatchAuraAction, defaultActionConfig } from './middlewares/utils';
|
|
8
|
+
export type { DispatchActionConfig, ConnectInJavaError } from './middlewares/utils';
|
|
9
|
+
export type { AuraFetchResponse } from './AuraFetchResponse';
|
|
@@ -31,7 +31,7 @@ interface UiApiError {
|
|
|
31
31
|
errorCode: number;
|
|
32
32
|
message: string;
|
|
33
33
|
}
|
|
34
|
-
interface ConnectInJavaError {
|
|
34
|
+
export interface ConnectInJavaError {
|
|
35
35
|
data: {
|
|
36
36
|
errorCode: string;
|
|
37
37
|
message: string;
|
|
@@ -61,6 +61,7 @@ export interface InstrumentationResolveConfig extends InstrumentationConfig {
|
|
|
61
61
|
export interface InstrumentationRejectConfig extends InstrumentationConfig {
|
|
62
62
|
err?: UiApiError | ConnectInJavaError;
|
|
63
63
|
}
|
|
64
|
+
export declare const defaultActionConfig: ActionConfig;
|
|
64
65
|
export type InstrumentationResolveCallback = (config: InstrumentationResolveConfig) => void;
|
|
65
66
|
export type InstrumentationRejectCallback = (config: InstrumentationRejectConfig) => void;
|
|
66
67
|
export interface InstrumentationCallbacks {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-aura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.237.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS Network Adapter for Aura Runtime",
|
|
6
6
|
"main": "dist/ldsNetwork.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"prepare": "yarn build",
|
|
29
|
-
"build": "rollup --config rollup.config.js",
|
|
29
|
+
"build": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
30
30
|
"clean": "rm -rf dist",
|
|
31
31
|
"test:perf": "best",
|
|
32
32
|
"test:unit": "jest",
|
|
@@ -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.
|
|
37
|
+
"@luvio/engine": "0.148.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@salesforce/lds-adapters-uiapi": "*",
|