@salesforce/lds-adapters-cms-delivery 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.
- package/dist/es/es2018/cms-delivery.js +1 -1
- package/package.json +4 -4
- package/sfdc/index.js +2 -2
|
@@ -1448,7 +1448,7 @@ function validate(obj, path = 'ManagedContentVersionInternalCollectionRepresenta
|
|
|
1448
1448
|
for (let i = 0; i < obj_items.length; i++) {
|
|
1449
1449
|
const obj_items_item = obj_items[i];
|
|
1450
1450
|
const path_items_item = path_items + '[' + i + ']';
|
|
1451
|
-
if (typeof obj_items_item !== 'object') {
|
|
1451
|
+
if (typeof obj_items_item !== 'object' || Array.isArray(obj_items_item)) {
|
|
1452
1452
|
return new TypeError('Expected "object" but received "' + typeof obj_items_item + '" (at "' + path_items_item + '")');
|
|
1453
1453
|
}
|
|
1454
1454
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cms-delivery",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.361.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for CMS endpoints",
|
|
6
6
|
"main": "dist/es/es2018/cms-delivery.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-cms-delivery"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@salesforce/lds-bindings": "^1.
|
|
32
|
+
"@salesforce/lds-bindings": "^1.361.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
36
|
-
"@salesforce/lds-karma": "^1.
|
|
35
|
+
"@salesforce/lds-compiler-plugins": "^1.361.0",
|
|
36
|
+
"@salesforce/lds-karma": "^1.361.0"
|
|
37
37
|
},
|
|
38
38
|
"nx": {
|
|
39
39
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1751,7 +1751,7 @@ function validate(obj, path = 'ManagedContentVersionInternalCollectionRepresenta
|
|
|
1751
1751
|
for (let i = 0; i < obj_items.length; i++) {
|
|
1752
1752
|
const obj_items_item = obj_items[i];
|
|
1753
1753
|
const path_items_item = path_items + '[' + i + ']';
|
|
1754
|
-
if (typeof obj_items_item !== 'object') {
|
|
1754
|
+
if (typeof obj_items_item !== 'object' || Array.isArray(obj_items_item)) {
|
|
1755
1755
|
return new TypeError('Expected "object" but received "' + typeof obj_items_item + '" (at "' + path_items_item + '")');
|
|
1756
1756
|
}
|
|
1757
1757
|
}
|
|
@@ -2068,4 +2068,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2068
2068
|
});
|
|
2069
2069
|
|
|
2070
2070
|
export { getCollectionItemsForChannel, getCollectionItemsForChannel_imperative, getCollectionItemsForSite, getCollectionItemsForSite_imperative, getCollectionMetadataForChannel, getCollectionMetadataForChannel_imperative, getCollectionMetadataForSite, getCollectionMetadataForSite_imperative, listContent, listContentInternal, listContentInternal_imperative, listContent_imperative };
|
|
2071
|
-
// version: 1.
|
|
2071
|
+
// version: 1.361.0-eb406138cb
|