@oxyhq/core 3.13.0 → 3.14.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.
@@ -590,6 +590,27 @@ export function OxyServicesUserMixin(Base) {
590
590
  throw this.handleError(error);
591
591
  }
592
592
  }
593
+ /**
594
+ * Get user mutuals ("followers you know" — users the authenticated viewer
595
+ * follows who also follow `userId`). The viewer is derived server-side from auth.
596
+ */
597
+ async getUserMutuals(userId, pagination) {
598
+ try {
599
+ const params = buildPaginationParams(pagination || {});
600
+ const response = await this.makeRequest('GET', `/users/${userId}/mutuals`, params, {
601
+ cache: true,
602
+ cacheTTL: 2 * 60 * 1000, // 2 minutes cache
603
+ });
604
+ return {
605
+ mutuals: response.data || [],
606
+ total: response.pagination.total,
607
+ hasMore: response.pagination.hasMore,
608
+ };
609
+ }
610
+ catch (error) {
611
+ throw this.handleError(error);
612
+ }
613
+ }
593
614
  /**
594
615
  * Get notifications
595
616
  */