ydb-qdrant 8.1.0 → 8.1.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.
@@ -103,7 +103,11 @@ pointsRouter.post("/:collection/points/query", async (req, res) => {
103
103
  apiKey: req.header("api-key") ?? undefined,
104
104
  userAgent: req.header("User-Agent") ?? undefined,
105
105
  }, req.body);
106
- res.json({ status: "ok", result: points.map(toQdrantScoredPoint) });
106
+ // Qdrant-compatible: /points/query returns QueryResponse with { points: ScoredPoint[] }.
107
+ res.json({
108
+ status: "ok",
109
+ result: { points: points.map(toQdrantScoredPoint) },
110
+ });
107
111
  }
108
112
  catch (err) {
109
113
  if (err instanceof QdrantServiceError) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-qdrant",
3
- "version": "8.1.0",
3
+ "version": "8.1.1",
4
4
  "main": "dist/package/api.js",
5
5
  "types": "dist/package/api.d.ts",
6
6
  "exports": {