@lobehub/market-sdk 0.2.3 → 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.
Files changed (2) hide show
  1. package/dist/index.d.mts +10 -5
  2. package/package.json +3 -3
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { PluginManifest, MarketItemBase, ConnectionType, AdminPluginItem, AdminPluginItemDetail, PluginVersion, AdminDeploymentOption, InstallationDetails, SystemDependency, PluginItemDetail } from '@lobehub/market-types';
1
+ import { PluginManifest, MarketItemBase, PluginConnectionType, AdminPluginItem, AdminPluginItemDetail, PluginVersion, AdminDeploymentOption, InstallationDetails, SystemDependency, PluginItemDetail } from '@lobehub/market-types';
2
2
  export * from '@lobehub/market-types';
3
3
  import { z } from 'zod';
4
4
 
@@ -204,8 +204,15 @@ interface PluginItem extends MarketItemBase {
204
204
  };
205
205
  /** Number of comments on this plugin */
206
206
  commentCount?: number;
207
- /** Connection type for communicating with the plugin */
208
- connectionType?: ConnectionType;
207
+ /** Connection type strategy for communicating with the plugin */
208
+ connectionType?: PluginConnectionType;
209
+ /** GitHub repository information */
210
+ github?: {
211
+ language?: string;
212
+ license?: string;
213
+ stars?: number;
214
+ url: string;
215
+ };
209
216
  /** Number of installations */
210
217
  installCount?: number;
211
218
  /** Installation method required by the plugin's recommended deployment option */
@@ -238,8 +245,6 @@ interface PluginListResponse {
238
245
  items: PluginItem[];
239
246
  /** Number of items per page */
240
247
  pageSize: number;
241
- /** Available tags for filtering */
242
- tags: string[];
243
248
  /** Total number of items across all pages */
244
249
  totalCount: number;
245
250
  /** Total number of pages */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/market-sdk",
3
- "version": "0.2.3",
3
+ "version": "0.3.1",
4
4
  "description": "LobeHub Market JavaScript SDK",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -25,11 +25,11 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@lobehub/market-types": "1.3.1",
28
+ "@lobehub/market-types": "1.4.1",
29
29
  "debug": "^4.4.1"
30
30
  },
31
31
  "peerDependencies": {
32
- "@lobehub/market-types": "1.3.1",
32
+ "@lobehub/market-types": "1.4.1",
33
33
  "zod": "^3.24.4"
34
34
  }
35
35
  }