@novely/solid-renderer 0.23.0 → 0.23.1

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.
Files changed (2) hide show
  1. package/dist/index.jsx +10 -0
  2. package/package.json +1 -1
package/dist/index.jsx CHANGED
@@ -5047,6 +5047,16 @@ var Save = (props) => {
5047
5047
  contentDocument.body.removeEventListener("click", onIframeClick);
5048
5048
  }
5049
5049
  }
5050
+ const state = useContextState(KEY);
5051
+ for (const custom of Object.values(state.get().custom)) {
5052
+ if (!custom)
5053
+ continue;
5054
+ try {
5055
+ custom.clear();
5056
+ } catch {
5057
+ }
5058
+ }
5059
+ removeContextState(KEY);
5050
5060
  removeContext(KEY);
5051
5061
  options.removeContext(KEY);
5052
5062
  removeShared(KEY);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novely/solid-renderer",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"