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