@farming-labs/svelte 0.2.14 → 0.2.15

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/server.d.ts CHANGED
@@ -47,6 +47,7 @@ export interface DocsServer {
47
47
  description?: string;
48
48
  html: string;
49
49
  readingTime?: number | null;
50
+ readingTimeFormat?: "long" | "short";
50
51
  entry?: string;
51
52
  locale?: string;
52
53
  slug?: string;
package/dist/server.js CHANGED
@@ -593,6 +593,7 @@ export function createDocsServer(config = {}) {
593
593
  description,
594
594
  html,
595
595
  readingTime,
596
+ readingTimeFormat: readingTimeOptions.format,
596
597
  entry,
597
598
  locale: ctx.locale,
598
599
  ...(isIndex ? {} : { slug }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/svelte",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "SvelteKit adapter for @farming-labs/docs — content loading and navigation utilities",
5
5
  "keywords": [
6
6
  "docs",
@@ -56,7 +56,7 @@
56
56
  "devDependencies": {
57
57
  "@types/node": "^22.10.0",
58
58
  "typescript": "^5.9.3",
59
- "@farming-labs/docs": "0.2.14"
59
+ "@farming-labs/docs": "0.2.15"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@farming-labs/docs": "*"