@salesforce/lwc-adapters-uiapi 1.229.0-dev6 → 1.229.0-dev8

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 +2 -2
  2. package/package.json +3 -3
package/dist/main.js CHANGED
@@ -12299,7 +12299,7 @@ function extractTrackedFieldsToTrie(recordId, node, root, config, visitedRecordI
12299
12299
  extractTrackedFieldsToTrie(spanningLink.data.__ref, spanning, next, config, spanningVisitedRecordIds, depth + 1);
12300
12300
  // For a spanning record that is detected to be a circular reference, we add the field along with Id and Name.
12301
12301
  // It's possible for spanning record lookup fields to sometimes be circular, and sometimes not - depending on the value of the lookup field.
12302
- // For more information on scenarios that caused this fix: https://salesforce.quip.com/OvzNAh3eNIWY
12302
+ // For more information on scenarios that caused this fix: search "LDS Recursive Spanning Fields Problem" in Quip
12303
12303
  if (keys(next.children).length === 0) {
12304
12304
  addScalarFieldId(next);
12305
12305
  addScalarFieldName(next);
@@ -19628,7 +19628,7 @@ function getLayoutMapAndObjectInfo(recordId, data) {
19628
19628
  // Temp fix until we can mimic the server behavior for non-layoutable entities.
19629
19629
  let layoutMap = {};
19630
19630
  if (hasOwnProperty.call(layouts, apiName)) {
19631
- layoutMap = layouts[apiName][recordTypeId];
19631
+ layoutMap = layouts[apiName][recordTypeId] || {};
19632
19632
  }
19633
19633
  return {
19634
19634
  layoutMap,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lwc-adapters-uiapi",
3
- "version": "1.229.0-dev6",
3
+ "version": "1.229.0-dev8",
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.229.0-dev6"
34
+ "@salesforce/lds-adapters-uiapi": "1.229.0-dev8"
35
35
  },
36
36
  "dependencies": {
37
37
  "@luvio/lwc-luvio": "0.146.0-dev4",
38
- "@salesforce/lds-default-luvio": "1.229.0-dev6"
38
+ "@salesforce/lds-default-luvio": "1.229.0-dev8"
39
39
  }
40
40
  }