@salesforce/lds-adapters-industries-epc 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.
@@ -3914,7 +3914,7 @@ function validate$g(obj, path = 'ProductComponentGroupOutputRepresentation') {
3914
3914
  for (let i = 0; i < obj_components.length; i++) {
3915
3915
  const obj_components_item = obj_components[i];
3916
3916
  const path_components_item = path_components + '[' + i + ']';
3917
- if (typeof obj_components_item !== 'object') {
3917
+ if (typeof obj_components_item !== 'object' || Array.isArray(obj_components_item)) {
3918
3918
  return new TypeError('Expected "object" but received "' + typeof obj_components_item + '" (at "' + path_components_item + '")');
3919
3919
  }
3920
3920
  }
@@ -4410,7 +4410,7 @@ function validate$c(obj, path = 'ProductsOutputRepresentation') {
4410
4410
  for (let i = 0; i < obj_products.length; i++) {
4411
4411
  const obj_products_item = obj_products[i];
4412
4412
  const path_products_item = path_products + '[' + i + ']';
4413
- if (typeof obj_products_item !== 'object') {
4413
+ if (typeof obj_products_item !== 'object' || Array.isArray(obj_products_item)) {
4414
4414
  return new TypeError('Expected "object" but received "' + typeof obj_products_item + '" (at "' + path_products_item + '")');
4415
4415
  }
4416
4416
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-epc",
3
- "version": "1.360.1",
3
+ "version": "1.361.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "APIs for EPCNext project",
6
6
  "main": "dist/es/es2018/industries-epc.js",
@@ -44,11 +44,11 @@
44
44
  "test:unit": "jest --config=./jest.config.js"
45
45
  },
46
46
  "dependencies": {
47
- "@salesforce/lds-bindings": "^1.360.1"
47
+ "@salesforce/lds-bindings": "^1.361.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.360.1",
51
- "@salesforce/lds-karma": "^1.360.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
@@ -3712,7 +3712,7 @@ function validate$d(obj, path = 'ProductComponentGroupOutputRepresentation') {
3712
3712
  for (let i = 0; i < obj_components.length; i++) {
3713
3713
  const obj_components_item = obj_components[i];
3714
3714
  const path_components_item = path_components + '[' + i + ']';
3715
- if (typeof obj_components_item !== 'object') {
3715
+ if (typeof obj_components_item !== 'object' || Array.isArray(obj_components_item)) {
3716
3716
  return new TypeError('Expected "object" but received "' + typeof obj_components_item + '" (at "' + path_components_item + '")');
3717
3717
  }
3718
3718
  }
@@ -4208,7 +4208,7 @@ function validate$9(obj, path = 'ProductsOutputRepresentation') {
4208
4208
  for (let i = 0; i < obj_products.length; i++) {
4209
4209
  const obj_products_item = obj_products[i];
4210
4210
  const path_products_item = path_products + '[' + i + ']';
4211
- if (typeof obj_products_item !== 'object') {
4211
+ if (typeof obj_products_item !== 'object' || Array.isArray(obj_products_item)) {
4212
4212
  return new TypeError('Expected "object" but received "' + typeof obj_products_item + '" (at "' + path_products_item + '")');
4213
4213
  }
4214
4214
  }
@@ -5795,4 +5795,4 @@ withDefaultLuvio((luvio) => {
5795
5795
  });
5796
5796
 
5797
5797
  export { createProductAttributeDefinition, deactivate, deploySnapshotIndex, fetchRelatedRecords, getConfigRuleMetadata, getConfigRuleMetadata_imperative, getContextDefinitionInfoById, getContextDefinitionInfoById_imperative, getIndexConfigurations, getIndexConfigurations_imperative, getIndexError, getIndexError_imperative, getIndexSetting, getIndexSetting_imperative, getProductAttributesByProductId, getProductAttributesByProductId_imperative, getProductById, getProductById_imperative, getProductFlowByProductId, getProductFlowByProductId_imperative, getSnapshots, getSnapshots_imperative, patchIndexSetting, pcmCatalogUpdate, updateIndexConfigurations };
5798
- // version: 1.360.1-0f1676c606
5798
+ // version: 1.361.0-eb406138cb