@amplifyup/sdk 0.2.2 → 0.2.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.
@@ -1032,7 +1032,8 @@ function layoutProviderCacheKey(opts) {
1032
1032
  opts.preview ? "1" : "0",
1033
1033
  opts.working ? "1" : "0",
1034
1034
  opts.zoneId || "",
1035
- opts.compositionId || ""
1035
+ opts.compositionId || "",
1036
+ opts.layoutId || ""
1036
1037
  ].join("|");
1037
1038
  }
1038
1039
  function getSettledLayoutProvider(key) {
@@ -2109,6 +2110,8 @@ Available Console Commands:
2109
2110
  const compositionId = pageSearch.get("compositionId");
2110
2111
  if (zoneId) params.set("zoneId", zoneId);
2111
2112
  if (compositionId) params.set("compositionId", compositionId);
2113
+ const layoutId = pageSearch.get("layoutId");
2114
+ if (layoutId) params.set("layoutId", layoutId);
2112
2115
  }
2113
2116
  }
2114
2117
  if (isOnOrchestratorOrigin) {
@@ -2129,7 +2132,8 @@ Available Console Commands:
2129
2132
  preview,
2130
2133
  working: pageSearch ? isWorkingContentRequest(pageSearch) : false,
2131
2134
  zoneId: pageSearch?.get("zoneId"),
2132
- compositionId: pageSearch?.get("compositionId")
2135
+ compositionId: pageSearch?.get("compositionId"),
2136
+ layoutId: pageSearch?.get("layoutId")
2133
2137
  });
2134
2138
  return dedupeLayoutProviderFetch(cacheKey, async () => {
2135
2139
  const startedAt = Date.now();