@makeswift/runtime 0.2.8 → 0.2.9
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.cjs.js +2 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -1
- package/dist/index.es.js.map +1 -1
- package/dist/slot.cjs.js.map +1 -1
- package/dist/slot.es.js.map +1 -1
- package/dist/types/src/controls/slot.d.ts +4 -4
- package/dist/types/src/controls/slot.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -967,7 +967,7 @@ class Document$1 extends NextDocument {
|
|
|
967
967
|
});
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
|
-
const version = "0.2.
|
|
970
|
+
const version = "0.2.9";
|
|
971
971
|
function isErrorWithMessage(error) {
|
|
972
972
|
return typeof error === "object" && error !== null && "message" in error && typeof error.message === "string";
|
|
973
973
|
}
|
|
@@ -3095,6 +3095,7 @@ function pollBoxModel({
|
|
|
3095
3095
|
let animationFrameHandle = requestAnimationFrame(handleAnimationFrameRequest);
|
|
3096
3096
|
return () => {
|
|
3097
3097
|
cancelAnimationFrame(animationFrameHandle);
|
|
3098
|
+
onBoxModelChange(null);
|
|
3098
3099
|
};
|
|
3099
3100
|
}
|
|
3100
3101
|
function useDeviceMode() {
|