@salesforce/lwc-adapters-uiapi 1.136.3 → 1.136.4

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 +29 -8
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -24597,7 +24597,7 @@ function getTypeCacheKeys$1d(luvio, input, fullPathFactory) {
24597
24597
  }
24598
24598
 
24599
24599
  const TTL$q = 300000;
24600
- const VERSION$1y = "f0c7134ce18a20d9eb4ae8e4e8ebb0fe";
24600
+ const VERSION$1y = "38ee38ead5262047cfa7604e8bf72d4b";
24601
24601
  function validate$11(obj, path = 'AppRepresentation') {
24602
24602
  const v_error = (() => {
24603
24603
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -24663,8 +24663,29 @@ function validate$11(obj, path = 'AppRepresentation') {
24663
24663
  }
24664
24664
  const obj_iconUrl = obj.iconUrl;
24665
24665
  const path_iconUrl = path + '.iconUrl';
24666
- if (typeof obj_iconUrl !== 'string') {
24667
- return new TypeError('Expected "string" but received "' + typeof obj_iconUrl + '" (at "' + path_iconUrl + '")');
24666
+ let obj_iconUrl_union0 = null;
24667
+ const obj_iconUrl_union0_error = (() => {
24668
+ if (typeof obj_iconUrl !== 'string') {
24669
+ return new TypeError('Expected "string" but received "' + typeof obj_iconUrl + '" (at "' + path_iconUrl + '")');
24670
+ }
24671
+ })();
24672
+ if (obj_iconUrl_union0_error != null) {
24673
+ obj_iconUrl_union0 = obj_iconUrl_union0_error.message;
24674
+ }
24675
+ let obj_iconUrl_union1 = null;
24676
+ const obj_iconUrl_union1_error = (() => {
24677
+ if (obj_iconUrl !== null) {
24678
+ return new TypeError('Expected "null" but received "' + typeof obj_iconUrl + '" (at "' + path_iconUrl + '")');
24679
+ }
24680
+ })();
24681
+ if (obj_iconUrl_union1_error != null) {
24682
+ obj_iconUrl_union1 = obj_iconUrl_union1_error.message;
24683
+ }
24684
+ if (obj_iconUrl_union0 && obj_iconUrl_union1) {
24685
+ let message = 'Object doesn\'t match union (at "' + path_iconUrl + '")';
24686
+ message += '\n' + obj_iconUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
24687
+ message += '\n' + obj_iconUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
24688
+ return new TypeError(message);
24668
24689
  }
24669
24690
  const obj_isNavAutoTempTabsDisabled = obj.isNavAutoTempTabsDisabled;
24670
24691
  const path_isNavAutoTempTabsDisabled = path + '.isNavAutoTempTabsDisabled';
@@ -24929,11 +24950,6 @@ function equals$E(existing, incoming) {
24929
24950
  if (!(existing_headerColor === incoming_headerColor)) {
24930
24951
  return false;
24931
24952
  }
24932
- const existing_iconUrl = existing.iconUrl;
24933
- const incoming_iconUrl = incoming.iconUrl;
24934
- if (!(existing_iconUrl === incoming_iconUrl)) {
24935
- return false;
24936
- }
24937
24953
  const existing_label = existing.label;
24938
24954
  const incoming_label = incoming.label;
24939
24955
  if (!(existing_label === incoming_label)) {
@@ -24969,6 +24985,11 @@ function equals$E(existing, incoming) {
24969
24985
  if (equals_formFactors_items === false) {
24970
24986
  return false;
24971
24987
  }
24988
+ const existing_iconUrl = existing.iconUrl;
24989
+ const incoming_iconUrl = incoming.iconUrl;
24990
+ if (!(existing_iconUrl === incoming_iconUrl)) {
24991
+ return false;
24992
+ }
24972
24993
  const existing_mobileStartUrl = existing.mobileStartUrl;
24973
24994
  const incoming_mobileStartUrl = incoming.mobileStartUrl;
24974
24995
  if (!(existing_mobileStartUrl === incoming_mobileStartUrl)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lwc-adapters-uiapi",
3
- "version": "1.136.3",
3
+ "version": "1.136.4",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "UIAPI adapters with LWC bindings",
6
6
  "module": "dist/main.js",