@salesforce/lds-adapters-platform-lightning-types 1.360.0 → 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.
|
@@ -418,7 +418,7 @@ function validate$d(obj, path = 'LightningTypeCollectionRepresentation') {
|
|
|
418
418
|
for (let i = 0; i < obj_lightningTypes.length; i++) {
|
|
419
419
|
const obj_lightningTypes_item = obj_lightningTypes[i];
|
|
420
420
|
const path_lightningTypes_item = path_lightningTypes + '[' + i + ']';
|
|
421
|
-
if (typeof obj_lightningTypes_item !== 'object') {
|
|
421
|
+
if (typeof obj_lightningTypes_item !== 'object' || Array.isArray(obj_lightningTypes_item)) {
|
|
422
422
|
return new TypeError('Expected "object" but received "' + typeof obj_lightningTypes_item + '" (at "' + path_lightningTypes_item + '")');
|
|
423
423
|
}
|
|
424
424
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-lightning-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.361.0",
|
|
4
4
|
"description": "wire adapter for lightning types",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-lightning-types.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
|
@@ -742,7 +742,7 @@ function validate$c(obj, path = 'LightningTypeCollectionRepresentation') {
|
|
|
742
742
|
for (let i = 0; i < obj_lightningTypes.length; i++) {
|
|
743
743
|
const obj_lightningTypes_item = obj_lightningTypes[i];
|
|
744
744
|
const path_lightningTypes_item = path_lightningTypes + '[' + i + ']';
|
|
745
|
-
if (typeof obj_lightningTypes_item !== 'object') {
|
|
745
|
+
if (typeof obj_lightningTypes_item !== 'object' || Array.isArray(obj_lightningTypes_item)) {
|
|
746
746
|
return new TypeError('Expected "object" but received "' + typeof obj_lightningTypes_item + '" (at "' + path_lightningTypes_item + '")');
|
|
747
747
|
}
|
|
748
748
|
}
|
|
@@ -1965,4 +1965,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1965
1965
|
});
|
|
1966
1966
|
|
|
1967
1967
|
export { getLightningType, getLightningType_imperative, getLightningTypes, getLightningTypes_imperative, getTypes, getTypes_imperative, validateLightningModel, validateLightningModel_imperative };
|
|
1968
|
-
// version: 1.
|
|
1968
|
+
// version: 1.361.0-eb406138cb
|