@salesforce/lwc-adapters-uiapi 1.452.0 → 1.454.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.
Files changed (2) hide show
  1. package/dist/main.js +24 -3
  2. package/package.json +4 -4
package/dist/main.js CHANGED
@@ -575,7 +575,7 @@ function createResourceParamsImpl(config, configMetadata) {
575
575
  }
576
576
  return resourceParams;
577
577
  }
578
- // engine version: 0.161.0-fe06f180
578
+ // engine version: 0.161.2-bd1bd38a
579
579
 
580
580
  /**
581
581
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -17438,8 +17438,29 @@ function validate$1N(obj, path = 'RecordLayoutSaveOptionRepresentation') {
17438
17438
  }
17439
17439
  const obj_restHeaderName = obj.restHeaderName;
17440
17440
  const path_restHeaderName = path + '.restHeaderName';
17441
- if (typeof obj_restHeaderName !== 'string') {
17442
- return new TypeError('Expected "string" but received "' + typeof obj_restHeaderName + '" (at "' + path_restHeaderName + '")');
17441
+ let obj_restHeaderName_union0 = null;
17442
+ const obj_restHeaderName_union0_error = (() => {
17443
+ if (typeof obj_restHeaderName !== 'string') {
17444
+ return new TypeError('Expected "string" but received "' + typeof obj_restHeaderName + '" (at "' + path_restHeaderName + '")');
17445
+ }
17446
+ })();
17447
+ if (obj_restHeaderName_union0_error != null) {
17448
+ obj_restHeaderName_union0 = obj_restHeaderName_union0_error.message;
17449
+ }
17450
+ let obj_restHeaderName_union1 = null;
17451
+ const obj_restHeaderName_union1_error = (() => {
17452
+ if (obj_restHeaderName !== null) {
17453
+ return new TypeError('Expected "null" but received "' + typeof obj_restHeaderName + '" (at "' + path_restHeaderName + '")');
17454
+ }
17455
+ })();
17456
+ if (obj_restHeaderName_union1_error != null) {
17457
+ obj_restHeaderName_union1 = obj_restHeaderName_union1_error.message;
17458
+ }
17459
+ if (obj_restHeaderName_union0 && obj_restHeaderName_union1) {
17460
+ let message = 'Object doesn\'t match union (at "' + path_restHeaderName + '")';
17461
+ message += '\n' + obj_restHeaderName_union0.split('\n').map((line) => '\t' + line).join('\n');
17462
+ message += '\n' + obj_restHeaderName_union1.split('\n').map((line) => '\t' + line).join('\n');
17463
+ return new TypeError(message);
17443
17464
  }
17444
17465
  const obj_soapHeaderName = obj.soapHeaderName;
17445
17466
  const path_soapHeaderName = path + '.soapHeaderName';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lwc-adapters-uiapi",
3
- "version": "1.452.0",
3
+ "version": "1.454.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "UIAPI adapters with LWC bindings",
6
6
  "module": "dist/main.js",
@@ -31,10 +31,10 @@
31
31
  "clean": "rm -rf dist src/generated"
32
32
  },
33
33
  "devDependencies": {
34
- "@salesforce/lds-adapters-uiapi": "^1.452.0"
34
+ "@salesforce/lds-adapters-uiapi": "^1.454.0"
35
35
  },
36
36
  "dependencies": {
37
- "@luvio/lwc-luvio": "0.161.0",
38
- "@salesforce/lds-default-luvio": "^1.452.0"
37
+ "@luvio/lwc-luvio": "0.161.2",
38
+ "@salesforce/lds-default-luvio": "^1.454.0"
39
39
  }
40
40
  }