@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.js CHANGED
@@ -1069,7 +1069,8 @@ function layoutProviderCacheKey(opts) {
1069
1069
  opts.preview ? "1" : "0",
1070
1070
  opts.working ? "1" : "0",
1071
1071
  opts.zoneId || "",
1072
- opts.compositionId || ""
1072
+ opts.compositionId || "",
1073
+ opts.layoutId || ""
1073
1074
  ].join("|");
1074
1075
  }
1075
1076
  function getSettledLayoutProvider(key) {
@@ -2503,6 +2504,8 @@ Available Console Commands:
2503
2504
  const compositionId = pageSearch.get("compositionId");
2504
2505
  if (zoneId) params.set("zoneId", zoneId);
2505
2506
  if (compositionId) params.set("compositionId", compositionId);
2507
+ const layoutId = pageSearch.get("layoutId");
2508
+ if (layoutId) params.set("layoutId", layoutId);
2506
2509
  }
2507
2510
  }
2508
2511
  if (isOnOrchestratorOrigin) {
@@ -2523,7 +2526,8 @@ Available Console Commands:
2523
2526
  preview,
2524
2527
  working: pageSearch ? isWorkingContentRequest(pageSearch) : false,
2525
2528
  zoneId: pageSearch?.get("zoneId"),
2526
- compositionId: pageSearch?.get("compositionId")
2529
+ compositionId: pageSearch?.get("compositionId"),
2530
+ layoutId: pageSearch?.get("layoutId")
2527
2531
  });
2528
2532
  return dedupeLayoutProviderFetch(cacheKey, async () => {
2529
2533
  const startedAt = Date.now();