@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.
- package/dist/AmplifyRenderer.js +6 -2
- package/dist/AmplifyRenderer.js.map +1 -1
- package/dist/AmplifyRenderer.mjs +6 -2
- package/dist/AmplifyRenderer.mjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/dist/react.js +9 -2
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +9 -2
- package/dist/react.mjs.map +1 -1
- package/dist/server.js +2 -0
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +2 -0
- package/dist/server.mjs.map +1 -1
- package/package.json +1 -1
package/dist/AmplifyRenderer.js
CHANGED
|
@@ -1034,7 +1034,8 @@ function layoutProviderCacheKey(opts) {
|
|
|
1034
1034
|
opts.preview ? "1" : "0",
|
|
1035
1035
|
opts.working ? "1" : "0",
|
|
1036
1036
|
opts.zoneId || "",
|
|
1037
|
-
opts.compositionId || ""
|
|
1037
|
+
opts.compositionId || "",
|
|
1038
|
+
opts.layoutId || ""
|
|
1038
1039
|
].join("|");
|
|
1039
1040
|
}
|
|
1040
1041
|
function getSettledLayoutProvider(key) {
|
|
@@ -2111,6 +2112,8 @@ Available Console Commands:
|
|
|
2111
2112
|
const compositionId = pageSearch.get("compositionId");
|
|
2112
2113
|
if (zoneId) params.set("zoneId", zoneId);
|
|
2113
2114
|
if (compositionId) params.set("compositionId", compositionId);
|
|
2115
|
+
const layoutId = pageSearch.get("layoutId");
|
|
2116
|
+
if (layoutId) params.set("layoutId", layoutId);
|
|
2114
2117
|
}
|
|
2115
2118
|
}
|
|
2116
2119
|
if (isOnOrchestratorOrigin) {
|
|
@@ -2131,7 +2134,8 @@ Available Console Commands:
|
|
|
2131
2134
|
preview,
|
|
2132
2135
|
working: pageSearch ? isWorkingContentRequest(pageSearch) : false,
|
|
2133
2136
|
zoneId: pageSearch?.get("zoneId"),
|
|
2134
|
-
compositionId: pageSearch?.get("compositionId")
|
|
2137
|
+
compositionId: pageSearch?.get("compositionId"),
|
|
2138
|
+
layoutId: pageSearch?.get("layoutId")
|
|
2135
2139
|
});
|
|
2136
2140
|
return dedupeLayoutProviderFetch(cacheKey, async () => {
|
|
2137
2141
|
const startedAt = Date.now();
|