@salesforce/lds-adapters-platform-enablement 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.
|
@@ -1114,7 +1114,7 @@ function validate$1(obj, path = 'EnablementProgramSummaryListRepresentation') {
|
|
|
1114
1114
|
for (let i = 0; i < obj_programSummaryList.length; i++) {
|
|
1115
1115
|
const obj_programSummaryList_item = obj_programSummaryList[i];
|
|
1116
1116
|
const path_programSummaryList_item = path_programSummaryList + '[' + i + ']';
|
|
1117
|
-
if (typeof obj_programSummaryList_item !== 'object') {
|
|
1117
|
+
if (typeof obj_programSummaryList_item !== 'object' || Array.isArray(obj_programSummaryList_item)) {
|
|
1118
1118
|
return new TypeError('Expected "object" but received "' + typeof obj_programSummaryList_item + '" (at "' + path_programSummaryList_item + '")');
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-enablement",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.361.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for enablement APIs",
|
|
6
6
|
"main": "dist/es/es2018/platform-enablement.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.361.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.361.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.361.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1265,7 +1265,7 @@ function validate$1(obj, path = 'EnablementProgramSummaryListRepresentation') {
|
|
|
1265
1265
|
for (let i = 0; i < obj_programSummaryList.length; i++) {
|
|
1266
1266
|
const obj_programSummaryList_item = obj_programSummaryList[i];
|
|
1267
1267
|
const path_programSummaryList_item = path_programSummaryList + '[' + i + ']';
|
|
1268
|
-
if (typeof obj_programSummaryList_item !== 'object') {
|
|
1268
|
+
if (typeof obj_programSummaryList_item !== 'object' || Array.isArray(obj_programSummaryList_item)) {
|
|
1269
1269
|
return new TypeError('Expected "object" but received "' + typeof obj_programSummaryList_item + '" (at "' + path_programSummaryList_item + '")');
|
|
1270
1270
|
}
|
|
1271
1271
|
}
|
|
@@ -1954,4 +1954,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1954
1954
|
});
|
|
1955
1955
|
|
|
1956
1956
|
export { getEnablementProgramSummary, getEnablementProgramSummary_imperative, getProgramSummaryCollection, getProgramSummaryCollectionForCommunity, getProgramSummaryCollectionForCommunity_imperative, getProgramSummaryCollection_imperative, notifyEnablementProgramSummaryUpdateAvailable, selfEnrollInEnablementProgram, unenrollFromEnablementProgram };
|
|
1957
|
-
// version: 1.
|
|
1957
|
+
// version: 1.361.0-eb406138cb
|