@semiont/vectors 0.5.3 → 0.5.5

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +6 -4
package/dist/index.d.ts CHANGED
@@ -214,4 +214,5 @@ declare const DEFAULT_CHUNKING_CONFIG: ChunkingConfig;
214
214
  */
215
215
  declare function chunkText(text: string, config?: ChunkingConfig): string[];
216
216
 
217
- export { type AnnotationPayload, type ChunkingConfig, DEFAULT_CHUNKING_CONFIG, type EmbeddingChunk, type EmbeddingConfig, type EmbeddingProvider, MemoryVectorStore, type OllamaEmbeddingConfig, OllamaEmbeddingProvider, type QdrantConfig, QdrantVectorStore, type SearchOptions, type VectorSearchResult, type VectorStore, type VectorStoreConfig, type VoyageConfig, VoyageEmbeddingProvider, chunkText, createEmbeddingProvider, createVectorStore, getVectorStore };
217
+ export { DEFAULT_CHUNKING_CONFIG, MemoryVectorStore, OllamaEmbeddingProvider, QdrantVectorStore, VoyageEmbeddingProvider, chunkText, createEmbeddingProvider, createVectorStore, getVectorStore };
218
+ export type { AnnotationPayload, ChunkingConfig, EmbeddingChunk, EmbeddingConfig, EmbeddingProvider, OllamaEmbeddingConfig, QdrantConfig, SearchOptions, VectorSearchResult, VectorStore, VectorStoreConfig, VoyageConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semiont/vectors",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "type": "module",
5
5
  "description": "Vector storage, embedding, and semantic search for Semiont",
6
6
  "main": "dist/index.js",
@@ -13,9 +13,9 @@
13
13
  }
14
14
  },
15
15
  "scripts": {
16
- "build": "npm run typecheck && tsup",
16
+ "build": "npm run typecheck && tsup && tsc -p tsconfig.build.json && rollup -c rollup.dts.config.mjs && rm -rf dist-types",
17
17
  "typecheck": "tsc --noEmit",
18
- "clean": "rm -rf dist",
18
+ "clean": "rm -rf dist dist-types",
19
19
  "test": "vitest run",
20
20
  "test:watch": "vitest"
21
21
  },
@@ -24,8 +24,10 @@
24
24
  "@semiont/core": "*"
25
25
  },
26
26
  "devDependencies": {
27
+ "rollup": "^4.60.3",
28
+ "rollup-plugin-dts": "^6.4.1",
27
29
  "tsup": "^8.5.1",
28
- "typescript": "^5.6.3"
30
+ "typescript": "^6.0.2"
29
31
  },
30
32
  "files": [
31
33
  "dist",