@findlane/server 0.24.0 → 0.25.0
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/index.cjs +2 -0
- package/dist/index.d.cts +2188 -0
- package/dist/index.d.ts +2188 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -395,6 +395,8 @@ class SearchServerClient {
|
|
|
395
395
|
await pause(Math.min(options.intervalMs ?? 1000, deadline - Date.now()), options.signal);
|
|
396
396
|
}
|
|
397
397
|
},
|
|
398
|
+
subindex: (subindex) => this.index(`${name}.${subindex}`),
|
|
399
|
+
listSubindexes: async (signal) => (await request("/subindexes", "GET", undefined, signal)).subindexes,
|
|
398
400
|
getPublicSearchAccess: (signal) => request("/public-access", "GET", undefined, signal),
|
|
399
401
|
setPublicSearchPolicy: (policy, signal) => request("/public-access/policy", "PUT", { policy }, signal),
|
|
400
402
|
usePublicIndexDefaults: (signal) => request("/public-access/policy", "DELETE", undefined, signal),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@findlane/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Findlane server SDK: upload catalogs, manage index settings, and search with a secret workspace API key.",
|
|
5
5
|
"keywords": ["findlane", "search", "full-text search", "typo tolerance", "ecommerce search", "search api", "sdk"],
|
|
6
6
|
"license": "MIT",
|