fumadocs-core 16.3.2 → 16.4.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.
@@ -20,8 +20,7 @@ import {
20
20
  rehypeCodeDefaultOptions,
21
21
  transformerIcon,
22
22
  transformerTab
23
- } from "../chunk-QJRXMG4S.js";
24
- import "../chunk-XN2LKXFZ.js";
23
+ } from "../chunk-X2HFD5QJ.js";
25
24
  import {
26
25
  rehypeToc
27
26
  } from "../chunk-EFVXL2PP.js";
@@ -44,6 +43,7 @@ import {
44
43
  generateCodeBlockTabs,
45
44
  parseCodeBlockAttributes
46
45
  } from "../chunk-TWIDBWFG.js";
46
+ import "../chunk-XN2LKXFZ.js";
47
47
  import {
48
48
  remarkHeading
49
49
  } from "../chunk-MA6O2UUE.js";
@@ -3,9 +3,9 @@ import {
3
3
  rehypeCodeDefaultOptions,
4
4
  transformerIcon,
5
5
  transformerTab
6
- } from "../chunk-QJRXMG4S.js";
7
- import "../chunk-XN2LKXFZ.js";
6
+ } from "../chunk-X2HFD5QJ.js";
8
7
  import "../chunk-TWIDBWFG.js";
8
+ import "../chunk-XN2LKXFZ.js";
9
9
  import "../chunk-U67V476Y.js";
10
10
  export {
11
11
  rehypeCode,
@@ -70,13 +70,13 @@ function extractHeadingTitle(text) {
70
70
  return "";
71
71
  }
72
72
  async function search(query, options) {
73
- const { client, vectorStoreId, tag } = options;
73
+ const { client, storeIdentifier, tag } = options;
74
74
  if (!query.trim()) {
75
75
  return [];
76
76
  }
77
77
  const res = await client.stores.search({
78
78
  query,
79
- store_identifiers: [vectorStoreId],
79
+ store_identifiers: [storeIdentifier],
80
80
  top_k: 10,
81
81
  filters: {
82
82
  key: "generated_metadata.tag",
@@ -80,9 +80,9 @@ interface OramaCloudOptions {
80
80
 
81
81
  interface MixedbreadOptions {
82
82
  /**
83
- * The ID of the vector store to search in
83
+ * The identifier of the store to search in
84
84
  */
85
- vectorStoreId: string;
85
+ storeIdentifier: string;
86
86
  /**
87
87
  * The Mixedbread SDK client instance
88
88
  */
@@ -75,7 +75,7 @@ function useDocsSearch(clientOptions, deps) {
75
75
  return search2(debouncedValue, client);
76
76
  }
77
77
  if (client.type === "mixedbread") {
78
- const { search: search2 } = await import("../mixedbread-2ZQZ32QK.js");
78
+ const { search: search2 } = await import("../mixedbread-A3WLENES.js");
79
79
  return search2(debouncedValue, client);
80
80
  }
81
81
  throw new Error("unknown search client");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-core",
3
- "version": "16.3.2",
3
+ "version": "16.4.1",
4
4
  "description": "The React.js library for building a documentation website",
5
5
  "keywords": [
6
6
  "Fumadocs",
@@ -110,7 +110,7 @@
110
110
  ],
111
111
  "dependencies": {
112
112
  "@formatjs/intl-localematcher": "^0.7.2",
113
- "@orama/orama": "^3.1.17",
113
+ "@orama/orama": "^3.1.18",
114
114
  "@shikijs/rehype": "^3.20.0",
115
115
  "@shikijs/transformers": "^3.20.0",
116
116
  "estree-util-value-to-estree": "^3.5.0",
@@ -131,7 +131,7 @@
131
131
  "devDependencies": {
132
132
  "@mdx-js/mdx": "^3.1.1",
133
133
  "@mixedbread/sdk": "^0.46.0",
134
- "@orama/core": "^1.2.14",
134
+ "@orama/core": "^1.2.15",
135
135
  "@tanstack/react-router": "1.136.18",
136
136
  "@types/estree-jsx": "^1.0.5",
137
137
  "@types/hast": "^3.0.4",
@@ -140,11 +140,11 @@
140
140
  "@types/node": "24.10.2",
141
141
  "@types/react": "^19.2.7",
142
142
  "@types/react-dom": "^19.2.3",
143
- "algoliasearch": "5.46.1",
143
+ "algoliasearch": "5.46.2",
144
144
  "lucide-react": "^0.562.0",
145
145
  "mdast-util-mdx-jsx": "^3.2.0",
146
146
  "mdast-util-mdxjs-esm": "^2.0.1",
147
- "next": "16.1.0",
147
+ "next": "16.1.1",
148
148
  "react-router": "^7.11.0",
149
149
  "remark-directive": "^4.0.0",
150
150
  "remark-mdx": "^3.1.1",
@@ -158,7 +158,7 @@
158
158
  "tsconfig": "0.0.0"
159
159
  },
160
160
  "peerDependencies": {
161
- "@mixedbread/sdk": "^0.19.0",
161
+ "@mixedbread/sdk": "^0.46.0",
162
162
  "@orama/core": "1.x.x",
163
163
  "@tanstack/react-router": "1.x.x",
164
164
  "@types/react": "*",
@@ -1,10 +1,10 @@
1
+ import {
2
+ parseCodeBlockAttributes
3
+ } from "./chunk-TWIDBWFG.js";
1
4
  import {
2
5
  defaultThemes,
3
6
  getHighlighter
4
7
  } from "./chunk-XN2LKXFZ.js";
5
- import {
6
- parseCodeBlockAttributes
7
- } from "./chunk-TWIDBWFG.js";
8
8
 
9
9
  // src/mdx-plugins/rehype-code.ts
10
10
  import rehypeShikiFromHighlighter from "@shikijs/rehype/core";