@medialane/sdk 0.12.0 → 0.13.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 +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -7
- package/dist/index.d.ts +3 -7
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4326,11 +4326,10 @@ var ApiClient = class {
|
|
|
4326
4326
|
);
|
|
4327
4327
|
}
|
|
4328
4328
|
// ─── Collections ───────────────────────────────────────────────────────────
|
|
4329
|
-
getCollections(page = 1, limit = 20, isKnown, sort,
|
|
4329
|
+
getCollections(page = 1, limit = 20, isKnown, sort, service) {
|
|
4330
4330
|
const params = new URLSearchParams({ page: String(page), limit: String(limit) });
|
|
4331
4331
|
if (isKnown !== void 0) params.set("isKnown", String(isKnown));
|
|
4332
4332
|
if (sort) params.set("sort", sort);
|
|
4333
|
-
if (source) params.set("source", source);
|
|
4334
4333
|
if (service) params.set("service", service);
|
|
4335
4334
|
return this.get(`/v1/collections?${params}`);
|
|
4336
4335
|
}
|