@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 CHANGED
@@ -1002,7 +1002,7 @@ class Document$1 extends NextDocument__default["default"] {
1002
1002
  });
1003
1003
  }
1004
1004
  }
1005
- const version = "0.2.8";
1005
+ const version = "0.2.9";
1006
1006
  function isErrorWithMessage(error) {
1007
1007
  return typeof error === "object" && error !== null && "message" in error && typeof error.message === "string";
1008
1008
  }
@@ -3156,6 +3156,7 @@ function pollBoxModel({
3156
3156
  let animationFrameHandle = requestAnimationFrame(handleAnimationFrameRequest);
3157
3157
  return () => {
3158
3158
  cancelAnimationFrame(animationFrameHandle);
3159
+ onBoxModelChange(null);
3159
3160
  };
3160
3161
  }
3161
3162
  function useDeviceMode() {