@amplifyup/sdk 0.2.2 → 0.2.3

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.
package/dist/react.mjs CHANGED
@@ -1063,7 +1063,8 @@ function layoutProviderCacheKey(opts) {
1063
1063
  opts.preview ? "1" : "0",
1064
1064
  opts.working ? "1" : "0",
1065
1065
  opts.zoneId || "",
1066
- opts.compositionId || ""
1066
+ opts.compositionId || "",
1067
+ opts.layoutId || ""
1067
1068
  ].join("|");
1068
1069
  }
1069
1070
  function getSettledLayoutProvider(key) {
@@ -2497,6 +2498,8 @@ Available Console Commands:
2497
2498
  const compositionId = pageSearch.get("compositionId");
2498
2499
  if (zoneId) params.set("zoneId", zoneId);
2499
2500
  if (compositionId) params.set("compositionId", compositionId);
2501
+ const layoutId = pageSearch.get("layoutId");
2502
+ if (layoutId) params.set("layoutId", layoutId);
2500
2503
  }
2501
2504
  }
2502
2505
  if (isOnOrchestratorOrigin) {
@@ -2517,7 +2520,8 @@ Available Console Commands:
2517
2520
  preview,
2518
2521
  working: pageSearch ? isWorkingContentRequest(pageSearch) : false,
2519
2522
  zoneId: pageSearch?.get("zoneId"),
2520
- compositionId: pageSearch?.get("compositionId")
2523
+ compositionId: pageSearch?.get("compositionId"),
2524
+ layoutId: pageSearch?.get("layoutId")
2521
2525
  });
2522
2526
  return dedupeLayoutProviderFetch(cacheKey, async () => {
2523
2527
  const startedAt = Date.now();