@lobehub/market-sdk 0.38.0 → 0.39.0-beta.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.d.mts CHANGED
@@ -2796,6 +2796,7 @@ interface TaskTemplateRecommendationQuery {
2796
2796
  interestKeys: string[];
2797
2797
  locale?: string;
2798
2798
  refreshSeed?: string;
2799
+ seedKey?: string;
2799
2800
  }
2800
2801
  interface TaskTemplateRecommendationResponse {
2801
2802
  items: TaskTemplateItem[];
@@ -7064,8 +7065,9 @@ declare class MarketTaskTemplateService extends BaseSDK {
7064
7065
  /**
7065
7066
  * Retrieves personalized task template recommendations.
7066
7067
  *
7067
- * Recommendations require user authentication on the Market API. Results are
7068
- * deterministic for the same account, UTC day, and refresh seed.
7068
+ * Recommendations use authenticated account identity when available, or the
7069
+ * provided anonymous seed key when calling without Market authentication.
7070
+ * Results are deterministic for the same seed, UTC day, and refresh seed.
7069
7071
  *
7070
7072
  * @param params - Recommendation inputs such as interests, count, enabled connectors, and refresh seed
7071
7073
  * @param options - Optional request options
package/dist/index.mjs CHANGED
@@ -4413,8 +4413,9 @@ var MarketTaskTemplateService = class extends BaseSDK {
4413
4413
  /**
4414
4414
  * Retrieves personalized task template recommendations.
4415
4415
  *
4416
- * Recommendations require user authentication on the Market API. Results are
4417
- * deterministic for the same account, UTC day, and refresh seed.
4416
+ * Recommendations use authenticated account identity when available, or the
4417
+ * provided anonymous seed key when calling without Market authentication.
4418
+ * Results are deterministic for the same seed, UTC day, and refresh seed.
4418
4419
  *
4419
4420
  * @param params - Recommendation inputs such as interests, count, enabled connectors, and refresh seed
4420
4421
  * @param options - Optional request options
@@ -4428,7 +4429,8 @@ var MarketTaskTemplateService = class extends BaseSDK {
4428
4429
  excludeIds: params.excludeIds,
4429
4430
  interestKeys: params.interestKeys,
4430
4431
  locale,
4431
- refreshSeed: params.refreshSeed
4432
+ refreshSeed: params.refreshSeed,
4433
+ seedKey: params.seedKey
4432
4434
  };
4433
4435
  log22("Getting task template recommendations: %O", body);
4434
4436
  const result = await this.request(