@aipm-registry/cli 0.3.0 → 0.3.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.
- package/dist/bin.cjs +1 -0
- package/dist/bin.cjs.map +2 -2
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -8071,6 +8071,7 @@ async function searchPackages(registry, query, limit = 20, token) {
|
|
|
8071
8071
|
const params = new URLSearchParams();
|
|
8072
8072
|
if (query) params.set("q", query);
|
|
8073
8073
|
params.set("limit", String(limit));
|
|
8074
|
+
if (token) params.set("includePrivate", "true");
|
|
8074
8075
|
const res = await registryFetch(`${base}/v1/packages?${params}`, base, {
|
|
8075
8076
|
headers: registryAuthHeaders(token)
|
|
8076
8077
|
});
|