@lobehub/market-sdk 0.28.0 → 0.28.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/index.d.mts +2 -2
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -255,7 +255,7 @@ interface AgentListQuery {
|
|
|
255
255
|
/** Search query string */
|
|
256
256
|
q?: string;
|
|
257
257
|
/** Sort field */
|
|
258
|
-
sort?: 'createdAt' | 'updatedAt' | 'name';
|
|
258
|
+
sort?: 'createdAt' | 'updatedAt' | 'name' | 'tokenUsage' | 'knowledgeCount' | 'pluginCount' | 'recommended';
|
|
259
259
|
/** Publication status filter */
|
|
260
260
|
status?: 'published' | 'unpublished' | 'archived' | 'deprecated' | 'all';
|
|
261
261
|
/** Visibility filter */
|
|
@@ -1071,7 +1071,7 @@ interface PluginQueryParams {
|
|
|
1071
1071
|
/** Search query string */
|
|
1072
1072
|
q?: string;
|
|
1073
1073
|
/** Field to sort by */
|
|
1074
|
-
sort?: 'installCount' | 'createdAt' | 'updatedAt' | 'ratingAverage' | 'ratingCount' | 'isFeatured' | 'isValidated';
|
|
1074
|
+
sort?: 'installCount' | 'createdAt' | 'updatedAt' | 'ratingAverage' | 'ratingCount' | 'isFeatured' | 'isValidated' | 'recommended';
|
|
1075
1075
|
/** Filter by tags (comma-separated) */
|
|
1076
1076
|
tags?: string;
|
|
1077
1077
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -2297,7 +2297,10 @@ var ConnectService = class extends BaseSDK {
|
|
|
2297
2297
|
* ```
|
|
2298
2298
|
*/
|
|
2299
2299
|
getAuthorizeUrl(provider, params) {
|
|
2300
|
-
log12(
|
|
2300
|
+
log12(
|
|
2301
|
+
"Generating authorize URL for provider: %s (deprecated, use authorize() instead)",
|
|
2302
|
+
provider
|
|
2303
|
+
);
|
|
2301
2304
|
const queryParams = new URLSearchParams();
|
|
2302
2305
|
if ((params == null ? void 0 : params.scopes) && params.scopes.length > 0) {
|
|
2303
2306
|
queryParams.set("scope", params.scopes.join(","));
|