@salesforce/lds-adapters-service-serviceplan 1.360.1 → 1.361.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.
|
@@ -192,7 +192,7 @@ function validate$4(obj, path = 'ServicePlanExecutionOutputRepresentation') {
|
|
|
192
192
|
for (let i = 0; i < obj_planSteps.length; i++) {
|
|
193
193
|
const obj_planSteps_item = obj_planSteps[i];
|
|
194
194
|
const path_planSteps_item = path_planSteps + '[' + i + ']';
|
|
195
|
-
if (typeof obj_planSteps_item !== 'object') {
|
|
195
|
+
if (typeof obj_planSteps_item !== 'object' || Array.isArray(obj_planSteps_item)) {
|
|
196
196
|
return new TypeError('Expected "object" but received "' + typeof obj_planSteps_item + '" (at "' + path_planSteps_item + '")');
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -1227,7 +1227,7 @@ function validate(obj, path = 'ServicePlanDetailsOutputRepresentation') {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
const obj_plan = obj.plan;
|
|
1229
1229
|
const path_plan = path + '.plan';
|
|
1230
|
-
if (typeof obj_plan !== 'object') {
|
|
1230
|
+
if (typeof obj_plan !== 'object' || Array.isArray(obj_plan)) {
|
|
1231
1231
|
return new TypeError('Expected "object" but received "' + typeof obj_plan + '" (at "' + path_plan + '")');
|
|
1232
1232
|
}
|
|
1233
1233
|
const obj_planRequestId = obj.planRequestId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-serviceplan",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.361.0",
|
|
4
4
|
"description": "collectionof service plan apis",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-serviceplan.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.361.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.361.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -202,7 +202,7 @@ function validate$4(obj, path = 'ServicePlanExecutionOutputRepresentation') {
|
|
|
202
202
|
for (let i = 0; i < obj_planSteps.length; i++) {
|
|
203
203
|
const obj_planSteps_item = obj_planSteps[i];
|
|
204
204
|
const path_planSteps_item = path_planSteps + '[' + i + ']';
|
|
205
|
-
if (typeof obj_planSteps_item !== 'object') {
|
|
205
|
+
if (typeof obj_planSteps_item !== 'object' || Array.isArray(obj_planSteps_item)) {
|
|
206
206
|
return new TypeError('Expected "object" but received "' + typeof obj_planSteps_item + '" (at "' + path_planSteps_item + '")');
|
|
207
207
|
}
|
|
208
208
|
}
|
|
@@ -1237,7 +1237,7 @@ function validate(obj, path = 'ServicePlanDetailsOutputRepresentation') {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
const obj_plan = obj.plan;
|
|
1239
1239
|
const path_plan = path + '.plan';
|
|
1240
|
-
if (typeof obj_plan !== 'object') {
|
|
1240
|
+
if (typeof obj_plan !== 'object' || Array.isArray(obj_plan)) {
|
|
1241
1241
|
return new TypeError('Expected "object" but received "' + typeof obj_plan + '" (at "' + path_plan + '")');
|
|
1242
1242
|
}
|
|
1243
1243
|
const obj_planRequestId = obj.planRequestId;
|
|
@@ -1639,4 +1639,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1639
1639
|
});
|
|
1640
1640
|
|
|
1641
1641
|
export { executeServicePlan, generateServicePlan, getGenerationRequest, getGenerationRequest_imperative, getServicePlan, getServicePlanNotifyChange, getServicePlan_imperative, notifyServicePlanDetailsUpdateAvailable, notifyServicePlanGenerationUpdateAvailable };
|
|
1642
|
-
// version: 1.
|
|
1642
|
+
// version: 1.361.0-eb406138cb
|