@salesforce/lwc-adapters-uiapi 1.130.10 → 1.131.1

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.
Files changed (2) hide show
  1. package/dist/main.js +15 -12
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -8251,7 +8251,7 @@ function deepFreeze$M(input) {
8251
8251
  }
8252
8252
 
8253
8253
  const TTL$C = 900000;
8254
- const VERSION$1V = "ce51760eb46b65c484f42de806102162";
8254
+ const VERSION$1V = "8f469cbf563d2ed6b2d3a7b2ee422e1f";
8255
8255
  function validate$1z(obj, path = 'ListInfoRepresentation') {
8256
8256
  const v_error = (() => {
8257
8257
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -8367,16 +8367,18 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
8367
8367
  message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8368
8368
  return new TypeError(message);
8369
8369
  }
8370
- const obj_objectApiNames = obj.objectApiNames;
8371
- const path_objectApiNames = path + '.objectApiNames';
8372
- if (!ArrayIsArray(obj_objectApiNames)) {
8373
- return new TypeError('Expected "array" but received "' + typeof obj_objectApiNames + '" (at "' + path_objectApiNames + '")');
8374
- }
8375
- for (let i = 0; i < obj_objectApiNames.length; i++) {
8376
- const obj_objectApiNames_item = obj_objectApiNames[i];
8377
- const path_objectApiNames_item = path_objectApiNames + '[' + i + ']';
8378
- if (typeof obj_objectApiNames_item !== 'string') {
8379
- return new TypeError('Expected "string" but received "' + typeof obj_objectApiNames_item + '" (at "' + path_objectApiNames_item + '")');
8370
+ if (obj.objectApiNames !== undefined) {
8371
+ const obj_objectApiNames = obj.objectApiNames;
8372
+ const path_objectApiNames = path + '.objectApiNames';
8373
+ if (!ArrayIsArray(obj_objectApiNames)) {
8374
+ return new TypeError('Expected "array" but received "' + typeof obj_objectApiNames + '" (at "' + path_objectApiNames + '")');
8375
+ }
8376
+ for (let i = 0; i < obj_objectApiNames.length; i++) {
8377
+ const obj_objectApiNames_item = obj_objectApiNames[i];
8378
+ const path_objectApiNames_item = path_objectApiNames + '[' + i + ']';
8379
+ if (typeof obj_objectApiNames_item !== 'string') {
8380
+ return new TypeError('Expected "string" but received "' + typeof obj_objectApiNames_item + '" (at "' + path_objectApiNames_item + '")');
8381
+ }
8380
8382
  }
8381
8383
  }
8382
8384
  const obj_orderedByInfo = obj.orderedByInfo;
@@ -8488,7 +8490,8 @@ const select$2p = function ListInfoRepresentationSelect() {
8488
8490
  {
8489
8491
  name: 'objectApiNames',
8490
8492
  kind: 'Scalar',
8491
- plural: true
8493
+ plural: true,
8494
+ required: false
8492
8495
  },
8493
8496
  {
8494
8497
  name: 'orderedByInfo',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lwc-adapters-uiapi",
3
- "version": "1.130.10",
3
+ "version": "1.131.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "UIAPI adapters with LWC bindings",
6
6
  "module": "dist/main.js",