bookish-press 0.5.194 → 0.5.195

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.
@@ -34,7 +34,7 @@ afterUpdate(() => {
34
34
  }
35
35
  });
36
36
  function skulptLoaded() {
37
- return window.hasOwnProperty('Sk');
37
+ return typeof window !== 'undefined' && window.hasOwnProperty('Sk');
38
38
  }
39
39
  function reset() {
40
40
  code = startCode;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bookish-press",
3
3
  "private": false,
4
- "version": "0.5.194",
4
+ "version": "0.5.195",
5
5
  "type": "module",
6
6
  "description": "A platform for reading and writing readable, accessible, beautiful online books.",
7
7
  "license": "MIT",