@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/index.js CHANGED
@@ -893,7 +893,8 @@ function layoutProviderCacheKey(opts) {
893
893
  opts.preview ? "1" : "0",
894
894
  opts.working ? "1" : "0",
895
895
  opts.zoneId || "",
896
- opts.compositionId || ""
896
+ opts.compositionId || "",
897
+ opts.layoutId || ""
897
898
  ].join("|");
898
899
  }
899
900
  function getSettledLayoutProvider(key) {
@@ -2328,6 +2329,8 @@ Available Console Commands:
2328
2329
  const compositionId = pageSearch.get("compositionId");
2329
2330
  if (zoneId) params.set("zoneId", zoneId);
2330
2331
  if (compositionId) params.set("compositionId", compositionId);
2332
+ const layoutId = pageSearch.get("layoutId");
2333
+ if (layoutId) params.set("layoutId", layoutId);
2331
2334
  }
2332
2335
  }
2333
2336
  if (isOnOrchestratorOrigin) {
@@ -2348,7 +2351,8 @@ Available Console Commands:
2348
2351
  preview,
2349
2352
  working: pageSearch ? isWorkingContentRequest(pageSearch) : false,
2350
2353
  zoneId: pageSearch?.get("zoneId"),
2351
- compositionId: pageSearch?.get("compositionId")
2354
+ compositionId: pageSearch?.get("compositionId"),
2355
+ layoutId: pageSearch?.get("layoutId")
2352
2356
  });
2353
2357
  return dedupeLayoutProviderFetch(cacheKey, async () => {
2354
2358
  const startedAt = Date.now();