@salesforce/lds-adapters-analytics-smart-data-discovery 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.
|
@@ -633,7 +633,7 @@ function validate(obj, path = 'StoryCollectionRepresentation') {
|
|
|
633
633
|
for (let i = 0; i < obj_stories.length; i++) {
|
|
634
634
|
const obj_stories_item = obj_stories[i];
|
|
635
635
|
const path_stories_item = path_stories + '[' + i + ']';
|
|
636
|
-
if (typeof obj_stories_item !== 'object') {
|
|
636
|
+
if (typeof obj_stories_item !== 'object' || Array.isArray(obj_stories_item)) {
|
|
637
637
|
return new TypeError('Expected "object" but received "' + typeof obj_stories_item + '" (at "' + path_stories_item + '")');
|
|
638
638
|
}
|
|
639
639
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-smart-data-discovery",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.362.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "The Einstein Discovery family of APIs",
|
|
6
6
|
"main": "dist/es/es2018/analytics-smart-data-discovery.js",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@salesforce/lds-bindings": "^1.
|
|
54
|
+
"@salesforce/lds-bindings": "^1.362.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
58
|
-
"@salesforce/lds-karma": "^1.
|
|
57
|
+
"@salesforce/lds-compiler-plugins": "^1.362.0",
|
|
58
|
+
"@salesforce/lds-karma": "^1.362.0"
|
|
59
59
|
},
|
|
60
60
|
"volta": {
|
|
61
61
|
"extends": "../../package.json"
|
package/sfdc/index.js
CHANGED
|
@@ -643,7 +643,7 @@ function validate(obj, path = 'StoryCollectionRepresentation') {
|
|
|
643
643
|
for (let i = 0; i < obj_stories.length; i++) {
|
|
644
644
|
const obj_stories_item = obj_stories[i];
|
|
645
645
|
const path_stories_item = path_stories + '[' + i + ']';
|
|
646
|
-
if (typeof obj_stories_item !== 'object') {
|
|
646
|
+
if (typeof obj_stories_item !== 'object' || Array.isArray(obj_stories_item)) {
|
|
647
647
|
return new TypeError('Expected "object" but received "' + typeof obj_stories_item + '" (at "' + path_stories_item + '")');
|
|
648
648
|
}
|
|
649
649
|
}
|
|
@@ -936,4 +936,4 @@ withDefaultLuvio((luvio) => {
|
|
|
936
936
|
});
|
|
937
937
|
|
|
938
938
|
export { getStories, getStories_imperative };
|
|
939
|
-
// version: 1.
|
|
939
|
+
// version: 1.362.0-d2e818ae61
|