@salesforce/lds-adapters-platform-external-connectivity 1.360.1 → 1.362.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.
|
@@ -318,7 +318,7 @@ function validate$j(obj, path = 'ExternalConnectivityConnectionRepresentation')
|
|
|
318
318
|
}
|
|
319
319
|
const obj_externalConnectorMetadata = obj.externalConnectorMetadata;
|
|
320
320
|
const path_externalConnectorMetadata = path + '.externalConnectorMetadata';
|
|
321
|
-
if (typeof obj_externalConnectorMetadata !== 'object') {
|
|
321
|
+
if (typeof obj_externalConnectorMetadata !== 'object' || Array.isArray(obj_externalConnectorMetadata)) {
|
|
322
322
|
return new TypeError('Expected "object" but received "' + typeof obj_externalConnectorMetadata + '" (at "' + path_externalConnectorMetadata + '")');
|
|
323
323
|
}
|
|
324
324
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
@@ -540,7 +540,7 @@ function validate$i(obj, path = 'ExternalConnectivityConnectionListRepresentatio
|
|
|
540
540
|
for (let i = 0; i < obj_connections.length; i++) {
|
|
541
541
|
const obj_connections_item = obj_connections[i];
|
|
542
542
|
const path_connections_item = path_connections + '[' + i + ']';
|
|
543
|
-
if (typeof obj_connections_item !== 'object') {
|
|
543
|
+
if (typeof obj_connections_item !== 'object' || Array.isArray(obj_connections_item)) {
|
|
544
544
|
return new TypeError('Expected "object" but received "' + typeof obj_connections_item + '" (at "' + path_connections_item + '")');
|
|
545
545
|
}
|
|
546
546
|
}
|
|
@@ -3545,7 +3545,7 @@ function validate(obj, path = 'ExternalConnectivityInvocableActionListRepresenta
|
|
|
3545
3545
|
for (let i = 0; i < obj_invocableActions.length; i++) {
|
|
3546
3546
|
const obj_invocableActions_item = obj_invocableActions[i];
|
|
3547
3547
|
const path_invocableActions_item = path_invocableActions + '[' + i + ']';
|
|
3548
|
-
if (typeof obj_invocableActions_item !== 'object') {
|
|
3548
|
+
if (typeof obj_invocableActions_item !== 'object' || Array.isArray(obj_invocableActions_item)) {
|
|
3549
3549
|
return new TypeError('Expected "object" but received "' + typeof obj_invocableActions_item + '" (at "' + path_invocableActions_item + '")');
|
|
3550
3550
|
}
|
|
3551
3551
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-external-connectivity",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.362.0",
|
|
4
4
|
"description": "A set of API for external connectivity",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-external-connectivity.js",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@salesforce/lds-bindings": "^1.
|
|
44
|
+
"@salesforce/lds-bindings": "^1.362.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.362.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1202,7 +1202,7 @@ function validate$c(obj, path = 'ExternalConnectivityConnectionRepresentation')
|
|
|
1202
1202
|
}
|
|
1203
1203
|
const obj_externalConnectorMetadata = obj.externalConnectorMetadata;
|
|
1204
1204
|
const path_externalConnectorMetadata = path + '.externalConnectorMetadata';
|
|
1205
|
-
if (typeof obj_externalConnectorMetadata !== 'object') {
|
|
1205
|
+
if (typeof obj_externalConnectorMetadata !== 'object' || Array.isArray(obj_externalConnectorMetadata)) {
|
|
1206
1206
|
return new TypeError('Expected "object" but received "' + typeof obj_externalConnectorMetadata + '" (at "' + path_externalConnectorMetadata + '")');
|
|
1207
1207
|
}
|
|
1208
1208
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
@@ -1424,7 +1424,7 @@ function validate$b(obj, path = 'ExternalConnectivityConnectionListRepresentatio
|
|
|
1424
1424
|
for (let i = 0; i < obj_connections.length; i++) {
|
|
1425
1425
|
const obj_connections_item = obj_connections[i];
|
|
1426
1426
|
const path_connections_item = path_connections + '[' + i + ']';
|
|
1427
|
-
if (typeof obj_connections_item !== 'object') {
|
|
1427
|
+
if (typeof obj_connections_item !== 'object' || Array.isArray(obj_connections_item)) {
|
|
1428
1428
|
return new TypeError('Expected "object" but received "' + typeof obj_connections_item + '" (at "' + path_connections_item + '")');
|
|
1429
1429
|
}
|
|
1430
1430
|
}
|
|
@@ -3022,7 +3022,7 @@ function validate$2(obj, path = 'ExternalConnectivityInvocableActionListRepresen
|
|
|
3022
3022
|
for (let i = 0; i < obj_invocableActions.length; i++) {
|
|
3023
3023
|
const obj_invocableActions_item = obj_invocableActions[i];
|
|
3024
3024
|
const path_invocableActions_item = path_invocableActions + '[' + i + ']';
|
|
3025
|
-
if (typeof obj_invocableActions_item !== 'object') {
|
|
3025
|
+
if (typeof obj_invocableActions_item !== 'object' || Array.isArray(obj_invocableActions_item)) {
|
|
3026
3026
|
return new TypeError('Expected "object" but received "' + typeof obj_invocableActions_item + '" (at "' + path_invocableActions_item + '")');
|
|
3027
3027
|
}
|
|
3028
3028
|
}
|
|
@@ -3892,4 +3892,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3892
3892
|
});
|
|
3893
3893
|
|
|
3894
3894
|
export { createConnection, deleteConnection, getConnectionDetails, getConnectionDetails_imperative, getConnections, getConnections_imperative, getConnectorDetails, getConnectorDetails_imperative, getConnectors, getConnectors_imperative, getExternalConnectivityConnectionReferencedFlows, getExternalConnectivityConnectionReferencedFlows_imperative, getExternalIdentityProviders, getExternalIdentityProviders_imperative, getInvocableActions, getInvocableActions_imperative, refreshMetadata, testConnection, updateConnection };
|
|
3895
|
-
// version: 1.
|
|
3895
|
+
// version: 1.362.0-d2e818ae61
|