@treeseed/sdk 0.8.9 → 0.8.10

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.
@@ -4,7 +4,7 @@ import { parse as parseYaml } from "yaml";
4
4
  import { getTenantContentRoot } from "./tenant-config.js";
5
5
  import { RUNTIME_PROJECT_ROOT, RUNTIME_TENANT } from "./tenant/runtime-config.js";
6
6
  function fallbackTenantBookRuntime(options = {}) {
7
- const docsHomePath = options.docsHomePath ?? "/knowledge/";
7
+ const docsHomePath = options.docsHomePath ?? "/books/";
8
8
  const docsLibraryDownload = options.docsLibraryDownload ?? {
9
9
  downloadFileName: "treeseed-knowledge.md",
10
10
  downloadHref: "/books/treeseed-knowledge.md",
@@ -72,7 +72,7 @@ function buildTenantBookRuntime(tenantConfig, options = {}) {
72
72
  id: path.basename(filePath, path.extname(filePath))
73
73
  };
74
74
  }).sort((left, right) => left.order - right.order);
75
- const docsHomePath = options.docsHomePath ?? "/knowledge/";
75
+ const docsHomePath = options.docsHomePath ?? "/books/";
76
76
  const docsLibraryDownload = options.docsLibraryDownload ?? inferDocsLibraryDownload(tenantConfig);
77
77
  return {
78
78
  BOOKS: books,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.8.9",
3
+ "version": "0.8.10",
4
4
  "description": "Shared Treeseed SDK for content-backed and D1-backed object models.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {