bookish-press 0.6.53 → 0.6.54

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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="svelte" />
1
2
  import type { Writable } from 'svelte/store';
2
3
  import type Chapter from '../../models/book/Chapter';
3
4
  type ChapterContext = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="svelte" />
1
2
  import { type Writable } from 'svelte/store';
2
3
  import type Book from '../../models/book/Book';
3
4
  import type Chapter from '../../models/book/Chapter';
@@ -9,7 +9,7 @@ declare const __propDef: {
9
9
  print?: boolean | undefined;
10
10
  tags?: string[] | undefined;
11
11
  getImage?: undefined | (() => string | null);
12
- setImage?: ((embed: string | null) => Promise<void> | void) | undefined;
12
+ setImage?: undefined | ((embed: string | null) => Promise<void> | void);
13
13
  save?: ((text: string) => Promise<void> | void) | null | undefined;
14
14
  };
15
15
  events: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bookish-press",
3
3
  "private": false,
4
- "version": "0.6.53",
4
+ "version": "0.6.54",
5
5
  "type": "module",
6
6
  "description": "A platform for reading and writing readable, accessible, beautiful online books.",
7
7
  "license": "MIT",
@@ -47,9 +47,9 @@
47
47
  "dependencies": {
48
48
  "@sveltejs/kit": "^2.0.0",
49
49
  "ajv": "^8",
50
- "ajv-formats": "^2",
50
+ "ajv-formats": "^3",
51
51
  "firebase": "^10.8.1",
52
- "firebase-functions": "latest",
52
+ "firebase-functions": "^5",
53
53
  "prismjs": "^1.29",
54
54
  "smoothscroll-polyfill": "^0.4",
55
55
  "svelte": "^4.2",