@amplifyup/sdk 0.1.36 → 0.1.38
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 +32 -5
- package/dist/AmplifyRenderer.js.map +1 -1
- package/dist/AmplifyRenderer.mjs +32 -5
- package/dist/AmplifyRenderer.mjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react.js +32 -5
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +32 -5
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1986,6 +1986,12 @@ Available Console Commands:
|
|
|
1986
1986
|
);
|
|
1987
1987
|
return;
|
|
1988
1988
|
}
|
|
1989
|
+
if (event.data?.type === "AMPLIFYUP_PROPS_PATCH") {
|
|
1990
|
+
window.dispatchEvent(
|
|
1991
|
+
new CustomEvent("amplifyup:props-patch", { detail: event.data })
|
|
1992
|
+
);
|
|
1993
|
+
return;
|
|
1994
|
+
}
|
|
1989
1995
|
if (event.data?.type === "COMPONENT_DELETABLE_STATUS") {
|
|
1990
1996
|
const { componentId, deletable, nodeId } = event.data;
|
|
1991
1997
|
const element = document.querySelector(`[data-component-id="${componentId}"]`);
|