@salesforce/lds-adapters-cdp-document-processing 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.
@@ -1795,7 +1795,7 @@ function validate(obj, path = 'IdpExtractedDataRepresentation') {
1795
1795
  for (let i = 0; i < obj_data.length; i++) {
1796
1796
  const obj_data_item = obj_data[i];
1797
1797
  const path_data_item = path_data + '[' + i + ']';
1798
- if (typeof obj_data_item !== 'object') {
1798
+ if (typeof obj_data_item !== 'object' || Array.isArray(obj_data_item)) {
1799
1799
  return new TypeError('Expected "object" but received "' + typeof obj_data_item + '" (at "' + path_data_item + '")');
1800
1800
  }
1801
1801
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-document-processing",
3
- "version": "1.360.1",
3
+ "version": "1.362.0",
4
4
  "description": "",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/cdp-document-processing.js",
@@ -42,10 +42,10 @@
42
42
  "test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
43
43
  },
44
44
  "dependencies": {
45
- "@salesforce/lds-bindings": "^1.360.1"
45
+ "@salesforce/lds-bindings": "^1.362.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@salesforce/lds-compiler-plugins": "^1.360.1"
48
+ "@salesforce/lds-compiler-plugins": "^1.362.0"
49
49
  },
50
50
  "nx": {
51
51
  "targets": {
package/sfdc/index.js CHANGED
@@ -551,7 +551,7 @@ function validate$a(obj, path = 'IdpExtractedDataRepresentation') {
551
551
  for (let i = 0; i < obj_data.length; i++) {
552
552
  const obj_data_item = obj_data[i];
553
553
  const path_data_item = path_data + '[' + i + ']';
554
- if (typeof obj_data_item !== 'object') {
554
+ if (typeof obj_data_item !== 'object' || Array.isArray(obj_data_item)) {
555
555
  return new TypeError('Expected "object" but received "' + typeof obj_data_item + '" (at "' + path_data_item + '")');
556
556
  }
557
557
  }
@@ -2167,4 +2167,4 @@ withDefaultLuvio((luvio) => {
2167
2167
  });
2168
2168
 
2169
2169
  export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, extractDataUsingIdpConfiguration_imperative, generateIdpConfigurationSchema, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfiguration_imperative, getIdpConfigurations, getIdpConfigurations_imperative, getIdpGlobalConfig, getIdpGlobalConfig_imperative, updateIdpConfiguration };
2170
- // version: 1.360.1-0f1676c606
2170
+ // version: 1.362.0-d2e818ae61