@nadohq/mobile-client 0.58.0 → 0.59.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.
Files changed (155) hide show
  1. package/dist/{MobileClient-Bltb06E-.cjs → MobileClient-aDxiM_Kf.cjs} +24 -1
  2. package/dist/MobileClient-aDxiM_Kf.cjs.map +1 -0
  3. package/dist/MobileClient.cjs +1 -1
  4. package/dist/MobileClient.d.cts +23 -6
  5. package/dist/MobileClient.d.cts.map +1 -1
  6. package/dist/MobileClient.d.ts +23 -6
  7. package/dist/MobileClient.d.ts.map +1 -1
  8. package/dist/MobileClient.js +24 -1
  9. package/dist/MobileClient.js.map +1 -1
  10. package/dist/{MobileServerFailureError-LEYxdWGL.d.cts → MobileServerFailureError-Bpa_WA9f.d.cts} +3 -3
  11. package/dist/{MobileServerFailureError-LEYxdWGL.d.cts.map → MobileServerFailureError-Bpa_WA9f.d.cts.map} +1 -1
  12. package/dist/{MobileServerFailureError-DDiGBLVv.d.ts → MobileServerFailureError-Dd3c6P_Z.d.ts} +3 -3
  13. package/dist/{MobileServerFailureError-DDiGBLVv.d.ts.map → MobileServerFailureError-Dd3c6P_Z.d.ts.map} +1 -1
  14. package/dist/{buildSignedMobileRequest-OV00zmTJ.d.ts → buildSignedMobileRequest-Cb1T74xV.d.ts} +2 -2
  15. package/dist/{buildSignedMobileRequest-OV00zmTJ.d.ts.map → buildSignedMobileRequest-Cb1T74xV.d.ts.map} +1 -1
  16. package/dist/{buildSignedMobileRequest-D-xPmHni.d.cts → buildSignedMobileRequest-NHbMAPzd.d.cts} +2 -2
  17. package/dist/{buildSignedMobileRequest-D-xPmHni.d.cts.map → buildSignedMobileRequest-NHbMAPzd.d.cts.map} +1 -1
  18. package/dist/{canonicalize-B7Kp4CTE.d.ts → canonicalize-BBYGh17w.d.ts} +2 -2
  19. package/dist/canonicalize-BBYGh17w.d.ts.map +1 -0
  20. package/dist/{canonicalize-Bh1RMrfB.d.cts → canonicalize-BF_SiNvO.d.cts} +2 -2
  21. package/dist/canonicalize-BF_SiNvO.d.cts.map +1 -0
  22. package/dist/{clientTypes-vRRpGXH2.d.cts → clientTypes-BWFKo9oE.d.cts} +26 -2
  23. package/dist/clientTypes-BWFKo9oE.d.cts.map +1 -0
  24. package/dist/{clientTypes-B-Ssakq7.d.ts → clientTypes-DCTiUV0H.d.ts} +26 -2
  25. package/dist/clientTypes-DCTiUV0H.d.ts.map +1 -0
  26. package/dist/dataMappers.cjs +11 -0
  27. package/dist/dataMappers.cjs.map +1 -1
  28. package/dist/dataMappers.d.cts +9 -5
  29. package/dist/dataMappers.d.cts.map +1 -1
  30. package/dist/dataMappers.d.ts +9 -5
  31. package/dist/dataMappers.d.ts.map +1 -1
  32. package/dist/dataMappers.js +11 -1
  33. package/dist/dataMappers.js.map +1 -1
  34. package/dist/{eip712MethodByType-DV6V5S-K.d.cts → eip712MethodByType-BSx11xG-.d.cts} +2 -2
  35. package/dist/eip712MethodByType-BSx11xG-.d.cts.map +1 -0
  36. package/dist/{eip712MethodByType-Bfquut0v.d.ts → eip712MethodByType-DkiAjCLs.d.ts} +2 -2
  37. package/dist/eip712MethodByType-DkiAjCLs.d.ts.map +1 -0
  38. package/dist/{follow-D6Mg8GHx.d.ts → follow-B3CZ04c0.d.cts} +7 -2
  39. package/dist/{follow-D6Mg8GHx.d.cts.map → follow-B3CZ04c0.d.cts.map} +1 -1
  40. package/dist/{follow-D6Mg8GHx.d.cts → follow-B3CZ04c0.d.ts} +7 -2
  41. package/dist/{follow-D6Mg8GHx.d.ts.map → follow-B3CZ04c0.d.ts.map} +1 -1
  42. package/dist/index.cjs +2 -1
  43. package/dist/index.d.cts +15 -15
  44. package/dist/index.d.ts +15 -15
  45. package/dist/index.js +2 -2
  46. package/dist/{mobileErrorCodes-BMUSM6_y.d.ts → mobileErrorCodes-3LtreeZM.d.cts} +3 -2
  47. package/dist/mobileErrorCodes-3LtreeZM.d.cts.map +1 -0
  48. package/dist/{mobileErrorCodes-BMUSM6_y.d.cts → mobileErrorCodes-3LtreeZM.d.ts} +3 -2
  49. package/dist/mobileErrorCodes-3LtreeZM.d.ts.map +1 -0
  50. package/dist/{payloadHash-BVvJEnYe.d.cts → payloadHash-BOWGjqdb.d.cts} +2 -2
  51. package/dist/payloadHash-BOWGjqdb.d.cts.map +1 -0
  52. package/dist/{payloadHash-DBmPAfe8.d.ts → payloadHash-Bzf4CtjV.d.ts} +2 -2
  53. package/dist/payloadHash-Bzf4CtjV.d.ts.map +1 -0
  54. package/dist/{serverBaseTypes-D-e6DGVM.d.ts → serverBaseTypes-DWf3iGWy.d.ts} +2 -2
  55. package/dist/{serverBaseTypes-D-e6DGVM.d.ts.map → serverBaseTypes-DWf3iGWy.d.ts.map} +1 -1
  56. package/dist/{serverBaseTypes-BhTeyS87.d.cts → serverBaseTypes-KREDe2M9.d.cts} +2 -2
  57. package/dist/{serverBaseTypes-BhTeyS87.d.cts.map → serverBaseTypes-KREDe2M9.d.cts.map} +1 -1
  58. package/dist/{serverExecuteTypes-RH2dTjJu.d.ts → serverExecuteTypes-DVRa6ifu.d.cts} +26 -6
  59. package/dist/serverExecuteTypes-DVRa6ifu.d.cts.map +1 -0
  60. package/dist/{serverExecuteTypes-BeKywZYP.d.cts → serverExecuteTypes-DlYZCp1f.d.ts} +26 -6
  61. package/dist/serverExecuteTypes-DlYZCp1f.d.ts.map +1 -0
  62. package/dist/{serverQueryTypes-tm8LMIsw.d.ts → serverQueryTypes-BFdwq0Z2.d.ts} +3 -3
  63. package/dist/{serverQueryTypes-tm8LMIsw.d.ts.map → serverQueryTypes-BFdwq0Z2.d.ts.map} +1 -1
  64. package/dist/{serverQueryTypes-CxvEM3U6.d.cts → serverQueryTypes-DNdMpmDr.d.cts} +3 -3
  65. package/dist/{serverQueryTypes-CxvEM3U6.d.cts.map → serverQueryTypes-DNdMpmDr.d.cts.map} +1 -1
  66. package/dist/{serverRequestTypes-zPUjncGt.d.ts → serverRequestTypes-BNA7FCY6.d.ts} +2 -2
  67. package/dist/{serverRequestTypes-zPUjncGt.d.ts.map → serverRequestTypes-BNA7FCY6.d.ts.map} +1 -1
  68. package/dist/{serverRequestTypes-BgM1pWSL.d.cts → serverRequestTypes-CxDRFKfv.d.cts} +2 -2
  69. package/dist/{serverRequestTypes-BgM1pWSL.d.cts.map → serverRequestTypes-CxDRFKfv.d.cts.map} +1 -1
  70. package/dist/{serverResponseGuards-B9VaCkxy.d.ts → serverResponseGuards-BU1Xv_tG.d.ts} +2 -2
  71. package/dist/{serverResponseGuards-B9VaCkxy.d.ts.map → serverResponseGuards-BU1Xv_tG.d.ts.map} +1 -1
  72. package/dist/{serverResponseGuards-21nhldS2.d.cts → serverResponseGuards-Dkdok0Sm.d.cts} +2 -2
  73. package/dist/{serverResponseGuards-21nhldS2.d.cts.map → serverResponseGuards-Dkdok0Sm.d.cts.map} +1 -1
  74. package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
  75. package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
  76. package/dist/signing/canonicalize.cjs +5 -0
  77. package/dist/signing/canonicalize.cjs.map +1 -1
  78. package/dist/signing/canonicalize.d.cts +1 -1
  79. package/dist/signing/canonicalize.d.ts +1 -1
  80. package/dist/signing/canonicalize.js +5 -0
  81. package/dist/signing/canonicalize.js.map +1 -1
  82. package/dist/signing/eip712MethodByType.cjs +2 -1
  83. package/dist/signing/eip712MethodByType.cjs.map +1 -1
  84. package/dist/signing/eip712MethodByType.d.cts +1 -1
  85. package/dist/signing/eip712MethodByType.d.ts +1 -1
  86. package/dist/signing/eip712MethodByType.js +2 -1
  87. package/dist/signing/eip712MethodByType.js.map +1 -1
  88. package/dist/signing/index.d.cts +5 -5
  89. package/dist/signing/index.d.ts +5 -5
  90. package/dist/signing/payloadHash.d.cts +1 -1
  91. package/dist/signing/payloadHash.d.ts +1 -1
  92. package/dist/signing/types.d.cts +1 -1
  93. package/dist/signing/types.d.ts +1 -1
  94. package/dist/types/MobileServerFailureError.d.cts +1 -1
  95. package/dist/types/MobileServerFailureError.d.ts +1 -1
  96. package/dist/types/clientTypes.d.cts +2 -2
  97. package/dist/types/clientTypes.d.ts +2 -2
  98. package/dist/types/index.d.cts +8 -8
  99. package/dist/types/index.d.ts +8 -8
  100. package/dist/types/mobileErrorCodes.cjs +2 -0
  101. package/dist/types/mobileErrorCodes.cjs.map +1 -1
  102. package/dist/types/mobileErrorCodes.d.cts +1 -1
  103. package/dist/types/mobileErrorCodes.d.ts +1 -1
  104. package/dist/types/mobileErrorCodes.js +2 -0
  105. package/dist/types/mobileErrorCodes.js.map +1 -1
  106. package/dist/types/serverBaseTypes.d.cts +1 -1
  107. package/dist/types/serverBaseTypes.d.ts +1 -1
  108. package/dist/types/serverExecuteTypes.d.cts +2 -2
  109. package/dist/types/serverExecuteTypes.d.ts +2 -2
  110. package/dist/types/serverQueryTypes.d.cts +1 -1
  111. package/dist/types/serverQueryTypes.d.ts +1 -1
  112. package/dist/types/serverRequestTypes.d.cts +1 -1
  113. package/dist/types/serverRequestTypes.d.ts +1 -1
  114. package/dist/{types-B8CkR6QU.d.cts → types-BCr2G5gS.d.cts} +6 -2
  115. package/dist/types-BCr2G5gS.d.cts.map +1 -0
  116. package/dist/{types-Cfwd50ls.d.ts → types-C18k-9Vy.d.ts} +6 -2
  117. package/dist/types-C18k-9Vy.d.ts.map +1 -0
  118. package/dist/utils/follow.cjs +6 -0
  119. package/dist/utils/follow.cjs.map +1 -1
  120. package/dist/utils/follow.d.cts +2 -2
  121. package/dist/utils/follow.d.ts +2 -2
  122. package/dist/utils/follow.js +6 -1
  123. package/dist/utils/follow.js.map +1 -1
  124. package/dist/utils/index.cjs +1 -0
  125. package/dist/utils/index.d.cts +3 -3
  126. package/dist/utils/index.d.ts +3 -3
  127. package/dist/utils/index.js +2 -2
  128. package/dist/utils/serverResponseGuards.d.cts +1 -1
  129. package/dist/utils/serverResponseGuards.d.ts +1 -1
  130. package/package.json +3 -3
  131. package/src/MobileClient.ts +34 -0
  132. package/src/dataMappers.ts +15 -0
  133. package/src/signing/canonicalize.ts +6 -0
  134. package/src/signing/eip712MethodByType.ts +1 -0
  135. package/src/signing/signing.test.ts +34 -0
  136. package/src/signing/types.ts +7 -0
  137. package/src/types/clientTypes.ts +26 -0
  138. package/src/types/mobileErrorCodes.ts +2 -0
  139. package/src/types/serverExecuteTypes.ts +24 -2
  140. package/src/utils/follow.ts +6 -0
  141. package/dist/MobileClient-Bltb06E-.cjs.map +0 -1
  142. package/dist/canonicalize-B7Kp4CTE.d.ts.map +0 -1
  143. package/dist/canonicalize-Bh1RMrfB.d.cts.map +0 -1
  144. package/dist/clientTypes-B-Ssakq7.d.ts.map +0 -1
  145. package/dist/clientTypes-vRRpGXH2.d.cts.map +0 -1
  146. package/dist/eip712MethodByType-Bfquut0v.d.ts.map +0 -1
  147. package/dist/eip712MethodByType-DV6V5S-K.d.cts.map +0 -1
  148. package/dist/mobileErrorCodes-BMUSM6_y.d.cts.map +0 -1
  149. package/dist/mobileErrorCodes-BMUSM6_y.d.ts.map +0 -1
  150. package/dist/payloadHash-BVvJEnYe.d.cts.map +0 -1
  151. package/dist/payloadHash-DBmPAfe8.d.ts.map +0 -1
  152. package/dist/serverExecuteTypes-BeKywZYP.d.cts.map +0 -1
  153. package/dist/serverExecuteTypes-RH2dTjJu.d.ts.map +0 -1
  154. package/dist/types-B8CkR6QU.d.cts.map +0 -1
  155. package/dist/types-Cfwd50ls.d.ts.map +0 -1
@@ -1,9 +1,9 @@
1
1
  import { $ as MobileSocialFeedTradeSizeChangeAction, A as MobileServerSocialFeedMarket, B as MobileSocialFeedCohortStatus, C as MobileServerSocialFeedCohort, D as MobileServerSocialFeedItem, E as MobileServerSocialFeedInteraction, F as MobileServerSocialFeedTradeCard, G as MobileSocialFeedPnlMode, H as MobileSocialFeedLeverage, I as MobileServerSocialFeedTradeRow, J as MobileSocialFeedPositionState, K as MobileSocialFeedPnlQuality, L as MobileServerSocialFeedTradeRowBase, M as MobileServerSocialFeedPositionCard, N as MobileServerSocialFeedPositionPatch, O as MobileServerSocialFeedItemBase, P as MobileServerSocialFeedReadSession, Q as MobileSocialFeedTradeCardAction, R as MobileServerSocialFeedTraderBadge, S as MobileServerSocialFeedCapabilities, T as MobileServerSocialFeedCommentPreview, U as MobileSocialFeedMarketCategory, V as MobileSocialFeedHistoryQuality, W as MobileSocialFeedPnlBasis, X as MobileSocialFeedSourceCategory, Y as MobileSocialFeedReadSessionMode, Z as MobileSocialFeedTargetType, _ as MobileServerNotificationCategoryPreference, a as MobileFeedTradePosition, b as MobileServerProfile, c as MobileNotificationCategory, d as MobileServerAvatarSelection, et as MobileSocialFeedTraderBadgeCode, f as MobileServerFeedMargin, g as MobileServerIdentitySummary, h as MobileServerFollowSummary, i as MobileFeedMarginMode, j as MobileServerSocialFeedPnl, k as MobileServerSocialFeedItemPatch, l as MobileNotificationPlatform, m as MobileServerFollowListAccount, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileSocialFeedType, o as MobileFeedTradePositionDirection, p as MobileServerFeedTrade, q as MobileSocialFeedPositionDisplayBasis, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileSocialFeedUnavailableTarget, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, tt as MobileSocialFeedTraderDataStatus, u as MobileServerAvatarPreset, v as MobileServerNotificationPreferenceScope, w as MobileServerSocialFeedCohortCoverage, x as MobileServerSocialFeedAuthor, y as MobileServerNotificationPreferences, z as MobileServerSocialFeedViewTracking } from "../serverModelTypes-DAqEyYtB.cjs";
2
- import { $ as MobileSocialFeedItemResponse, A as MobileNotificationPreferenceScope, B as MobileSetPrivateModeParams, C as MobileFeedTrade, D as MobileFollowSummary, E as MobileFollowMutationResult, F as MobileRegisterExpoTokenParams, G as MobileSocialFeedCategorizedParams, H as MobileSignedRequestParams, I as MobileRegisteredWallet, J as MobileSocialFeedCommentPreview, K as MobileSocialFeedCohort, L as MobileSetAvatarParams, M as MobileProfileSearchPage, N as MobileProfilesInclude, O as MobileIdentitySummary, P as MobilePublicProfile, Q as MobileSocialFeedItemPatch, R as MobileSetBioParams, S as MobileFeedPage, T as MobileFollowListPage, U as MobileSocialFeedAuthor, V as MobileSetUsernameParams, W as MobileSocialFeedCapabilities, X as MobileSocialFeedItem, Y as MobileSocialFeedInteraction, Z as MobileSocialFeedItemBase, _ as MobileAvatarPreset, _t as MobileUpdateNotificationPreferencesParams, a as GetMobileFollowersParams, at as MobileSocialFeedPositionPatch, b as MobileCreateAvatarUploadParams, bt as SearchMobileProfilesParams, c as GetMobileFriendsFeedParams, ct as MobileSocialFeedReadSession, d as GetMobilePositionFeedParams, dt as MobileSocialFeedTradeRow, et as MobileSocialFeedListParams, f as GetMobileProfileFeedParams, ft as MobileSocialFeedTradeRowBase, g as GetMobileUsernameAvailabilityParams, gt as MobileUnregisterExpoTokenParams, h as GetMobileTopTradersFeedParams, ht as MobileSocialFeedViewTracking, i as GetMobileFollowListParams, it as MobileSocialFeedPositionCard, j as MobileNotificationPreferences, k as MobileNotificationCategoryPreference, l as GetMobileMarketFeedParams, lt as MobileSocialFeedTopTradersPage, m as GetMobileRegisteredWalletParams, mt as MobileSocialFeedUpdates, n as GetMobileFeedParams, nt as MobileSocialFeedPage, o as GetMobileFollowingParams, ot as MobileSocialFeedRankedPage, p as GetMobileProfilesParams, pt as MobileSocialFeedTraderBadge, q as MobileSocialFeedCohortCoverage, r as GetMobileFeedUpdatesParams, rt as MobileSocialFeedPnl, s as GetMobileForYouFeedParams, st as MobileSocialFeedReadParams, t as GetMobileFeedItemParams, tt as MobileSocialFeedMarket, u as GetMobileNotificationPreferencesParams, ut as MobileSocialFeedTradeCard, v as MobileAvatarSelection, vt as MobileUsernameAvailability, w as MobileFollowListAccount, x as MobileFeedMargin, y as MobileAvatarUpload, yt as MobileWithExpoTokenParams, z as MobileSetFollowParams } from "../clientTypes-vRRpGXH2.cjs";
3
- import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-BgM1pWSL.cjs";
4
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-BhTeyS87.cjs";
5
- import { a as MobileServerExecuteSuccessResponse, i as MobileServerExecuteResult, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerPublicExecuteRequest, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-BeKywZYP.cjs";
6
- import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-CxvEM3U6.cjs";
7
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-BMUSM6_y.cjs";
8
- import { t as MobileServerFailureError } from "../MobileServerFailureError-LEYxdWGL.cjs";
9
- export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedHistoryQuality, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionCard, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionPatch, MobileSocialFeedPositionState, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, SearchMobileProfilesParams };
2
+ import { $ as MobileSocialFeedItemBase, A as MobileNotificationCategoryPreference, B as MobileSetFollowBatchParams, C as MobileFeedTrade, D as MobileFollowMutationResult, E as MobileFollowListPage, F as MobilePublicProfile, G as MobileSocialFeedAuthor, H as MobileSetPrivateModeParams, I as MobileRegisterExpoTokenParams, J as MobileSocialFeedCohort, K as MobileSocialFeedCapabilities, L as MobileRegisteredWallet, M as MobileNotificationPreferences, N as MobileProfileSearchPage, O as MobileFollowSummary, P as MobileProfilesInclude, Q as MobileSocialFeedItem, R as MobileSetAvatarParams, S as MobileFeedPage, St as SearchMobileProfilesParams, T as MobileFollowListAccount, U as MobileSetUsernameParams, V as MobileSetFollowParams, W as MobileSignedRequestParams, X as MobileSocialFeedCommentPreview, Y as MobileSocialFeedCohortCoverage, Z as MobileSocialFeedInteraction, _ as MobileAvatarPreset, _t as MobileSocialFeedViewTracking, a as GetMobileFollowersParams, at as MobileSocialFeedPnl, b as MobileCreateAvatarUploadParams, bt as MobileUsernameAvailability, c as GetMobileFriendsFeedParams, ct as MobileSocialFeedRankedPage, d as GetMobilePositionFeedParams, dt as MobileSocialFeedTopTradersPage, et as MobileSocialFeedItemPatch, f as GetMobileProfileFeedParams, ft as MobileSocialFeedTradeCard, g as GetMobileUsernameAvailabilityParams, gt as MobileSocialFeedUpdates, h as GetMobileTopTradersFeedParams, ht as MobileSocialFeedTraderBadge, i as GetMobileFollowListParams, it as MobileSocialFeedPage, j as MobileNotificationPreferenceScope, k as MobileIdentitySummary, l as GetMobileMarketFeedParams, lt as MobileSocialFeedReadParams, m as GetMobileRegisteredWalletParams, mt as MobileSocialFeedTradeRowBase, n as GetMobileFeedParams, nt as MobileSocialFeedListParams, o as GetMobileFollowingParams, ot as MobileSocialFeedPositionCard, p as GetMobileProfilesParams, pt as MobileSocialFeedTradeRow, q as MobileSocialFeedCategorizedParams, r as GetMobileFeedUpdatesParams, rt as MobileSocialFeedMarket, s as GetMobileForYouFeedParams, st as MobileSocialFeedPositionPatch, t as GetMobileFeedItemParams, tt as MobileSocialFeedItemResponse, u as GetMobileNotificationPreferencesParams, ut as MobileSocialFeedReadSession, v as MobileAvatarSelection, vt as MobileUnregisterExpoTokenParams, w as MobileFollowBatchResultItem, x as MobileFeedMargin, xt as MobileWithExpoTokenParams, y as MobileAvatarUpload, yt as MobileUpdateNotificationPreferencesParams, z as MobileSetBioParams } from "../clientTypes-BWFKo9oE.cjs";
3
+ import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-CxDRFKfv.cjs";
4
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-KREDe2M9.cjs";
5
+ import { a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-DVRa6ifu.cjs";
6
+ import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-DNdMpmDr.cjs";
7
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-3LtreeZM.cjs";
8
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-Bpa_WA9f.cjs";
9
+ export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedHistoryQuality, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionCard, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionPatch, MobileSocialFeedPositionState, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, SearchMobileProfilesParams };
@@ -1,9 +1,9 @@
1
1
  import { $ as MobileSocialFeedTradeSizeChangeAction, A as MobileServerSocialFeedMarket, B as MobileSocialFeedCohortStatus, C as MobileServerSocialFeedCohort, D as MobileServerSocialFeedItem, E as MobileServerSocialFeedInteraction, F as MobileServerSocialFeedTradeCard, G as MobileSocialFeedPnlMode, H as MobileSocialFeedLeverage, I as MobileServerSocialFeedTradeRow, J as MobileSocialFeedPositionState, K as MobileSocialFeedPnlQuality, L as MobileServerSocialFeedTradeRowBase, M as MobileServerSocialFeedPositionCard, N as MobileServerSocialFeedPositionPatch, O as MobileServerSocialFeedItemBase, P as MobileServerSocialFeedReadSession, Q as MobileSocialFeedTradeCardAction, R as MobileServerSocialFeedTraderBadge, S as MobileServerSocialFeedCapabilities, T as MobileServerSocialFeedCommentPreview, U as MobileSocialFeedMarketCategory, V as MobileSocialFeedHistoryQuality, W as MobileSocialFeedPnlBasis, X as MobileSocialFeedSourceCategory, Y as MobileSocialFeedReadSessionMode, Z as MobileSocialFeedTargetType, _ as MobileServerNotificationCategoryPreference, a as MobileFeedTradePosition, b as MobileServerProfile, c as MobileNotificationCategory, d as MobileServerAvatarSelection, et as MobileSocialFeedTraderBadgeCode, f as MobileServerFeedMargin, g as MobileServerIdentitySummary, h as MobileServerFollowSummary, i as MobileFeedMarginMode, j as MobileServerSocialFeedPnl, k as MobileServerSocialFeedItemPatch, l as MobileNotificationPlatform, m as MobileServerFollowListAccount, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileSocialFeedType, o as MobileFeedTradePositionDirection, p as MobileServerFeedTrade, q as MobileSocialFeedPositionDisplayBasis, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileSocialFeedUnavailableTarget, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, tt as MobileSocialFeedTraderDataStatus, u as MobileServerAvatarPreset, v as MobileServerNotificationPreferenceScope, w as MobileServerSocialFeedCohortCoverage, x as MobileServerSocialFeedAuthor, y as MobileServerNotificationPreferences, z as MobileServerSocialFeedViewTracking } from "../serverModelTypes-DAqEyYtB.js";
2
- import { $ as MobileSocialFeedItemResponse, A as MobileNotificationPreferenceScope, B as MobileSetPrivateModeParams, C as MobileFeedTrade, D as MobileFollowSummary, E as MobileFollowMutationResult, F as MobileRegisterExpoTokenParams, G as MobileSocialFeedCategorizedParams, H as MobileSignedRequestParams, I as MobileRegisteredWallet, J as MobileSocialFeedCommentPreview, K as MobileSocialFeedCohort, L as MobileSetAvatarParams, M as MobileProfileSearchPage, N as MobileProfilesInclude, O as MobileIdentitySummary, P as MobilePublicProfile, Q as MobileSocialFeedItemPatch, R as MobileSetBioParams, S as MobileFeedPage, T as MobileFollowListPage, U as MobileSocialFeedAuthor, V as MobileSetUsernameParams, W as MobileSocialFeedCapabilities, X as MobileSocialFeedItem, Y as MobileSocialFeedInteraction, Z as MobileSocialFeedItemBase, _ as MobileAvatarPreset, _t as MobileUpdateNotificationPreferencesParams, a as GetMobileFollowersParams, at as MobileSocialFeedPositionPatch, b as MobileCreateAvatarUploadParams, bt as SearchMobileProfilesParams, c as GetMobileFriendsFeedParams, ct as MobileSocialFeedReadSession, d as GetMobilePositionFeedParams, dt as MobileSocialFeedTradeRow, et as MobileSocialFeedListParams, f as GetMobileProfileFeedParams, ft as MobileSocialFeedTradeRowBase, g as GetMobileUsernameAvailabilityParams, gt as MobileUnregisterExpoTokenParams, h as GetMobileTopTradersFeedParams, ht as MobileSocialFeedViewTracking, i as GetMobileFollowListParams, it as MobileSocialFeedPositionCard, j as MobileNotificationPreferences, k as MobileNotificationCategoryPreference, l as GetMobileMarketFeedParams, lt as MobileSocialFeedTopTradersPage, m as GetMobileRegisteredWalletParams, mt as MobileSocialFeedUpdates, n as GetMobileFeedParams, nt as MobileSocialFeedPage, o as GetMobileFollowingParams, ot as MobileSocialFeedRankedPage, p as GetMobileProfilesParams, pt as MobileSocialFeedTraderBadge, q as MobileSocialFeedCohortCoverage, r as GetMobileFeedUpdatesParams, rt as MobileSocialFeedPnl, s as GetMobileForYouFeedParams, st as MobileSocialFeedReadParams, t as GetMobileFeedItemParams, tt as MobileSocialFeedMarket, u as GetMobileNotificationPreferencesParams, ut as MobileSocialFeedTradeCard, v as MobileAvatarSelection, vt as MobileUsernameAvailability, w as MobileFollowListAccount, x as MobileFeedMargin, y as MobileAvatarUpload, yt as MobileWithExpoTokenParams, z as MobileSetFollowParams } from "../clientTypes-B-Ssakq7.js";
3
- import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-zPUjncGt.js";
4
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-D-e6DGVM.js";
5
- import { a as MobileServerExecuteSuccessResponse, i as MobileServerExecuteResult, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerPublicExecuteRequest, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-RH2dTjJu.js";
6
- import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-tm8LMIsw.js";
7
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-BMUSM6_y.js";
8
- import { t as MobileServerFailureError } from "../MobileServerFailureError-DDiGBLVv.js";
9
- export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedHistoryQuality, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionCard, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionPatch, MobileSocialFeedPositionState, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, SearchMobileProfilesParams };
2
+ import { $ as MobileSocialFeedItemBase, A as MobileNotificationCategoryPreference, B as MobileSetFollowBatchParams, C as MobileFeedTrade, D as MobileFollowMutationResult, E as MobileFollowListPage, F as MobilePublicProfile, G as MobileSocialFeedAuthor, H as MobileSetPrivateModeParams, I as MobileRegisterExpoTokenParams, J as MobileSocialFeedCohort, K as MobileSocialFeedCapabilities, L as MobileRegisteredWallet, M as MobileNotificationPreferences, N as MobileProfileSearchPage, O as MobileFollowSummary, P as MobileProfilesInclude, Q as MobileSocialFeedItem, R as MobileSetAvatarParams, S as MobileFeedPage, St as SearchMobileProfilesParams, T as MobileFollowListAccount, U as MobileSetUsernameParams, V as MobileSetFollowParams, W as MobileSignedRequestParams, X as MobileSocialFeedCommentPreview, Y as MobileSocialFeedCohortCoverage, Z as MobileSocialFeedInteraction, _ as MobileAvatarPreset, _t as MobileSocialFeedViewTracking, a as GetMobileFollowersParams, at as MobileSocialFeedPnl, b as MobileCreateAvatarUploadParams, bt as MobileUsernameAvailability, c as GetMobileFriendsFeedParams, ct as MobileSocialFeedRankedPage, d as GetMobilePositionFeedParams, dt as MobileSocialFeedTopTradersPage, et as MobileSocialFeedItemPatch, f as GetMobileProfileFeedParams, ft as MobileSocialFeedTradeCard, g as GetMobileUsernameAvailabilityParams, gt as MobileSocialFeedUpdates, h as GetMobileTopTradersFeedParams, ht as MobileSocialFeedTraderBadge, i as GetMobileFollowListParams, it as MobileSocialFeedPage, j as MobileNotificationPreferenceScope, k as MobileIdentitySummary, l as GetMobileMarketFeedParams, lt as MobileSocialFeedReadParams, m as GetMobileRegisteredWalletParams, mt as MobileSocialFeedTradeRowBase, n as GetMobileFeedParams, nt as MobileSocialFeedListParams, o as GetMobileFollowingParams, ot as MobileSocialFeedPositionCard, p as GetMobileProfilesParams, pt as MobileSocialFeedTradeRow, q as MobileSocialFeedCategorizedParams, r as GetMobileFeedUpdatesParams, rt as MobileSocialFeedMarket, s as GetMobileForYouFeedParams, st as MobileSocialFeedPositionPatch, t as GetMobileFeedItemParams, tt as MobileSocialFeedItemResponse, u as GetMobileNotificationPreferencesParams, ut as MobileSocialFeedReadSession, v as MobileAvatarSelection, vt as MobileUnregisterExpoTokenParams, w as MobileFollowBatchResultItem, x as MobileFeedMargin, xt as MobileWithExpoTokenParams, y as MobileAvatarUpload, yt as MobileUpdateNotificationPreferencesParams, z as MobileSetBioParams } from "../clientTypes-DCTiUV0H.js";
3
+ import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-BNA7FCY6.js";
4
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-DWf3iGWy.js";
5
+ import { a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-DlYZCp1f.js";
6
+ import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-BFdwq0Z2.js";
7
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-3LtreeZM.js";
8
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-Dd3c6P_Z.js";
9
+ export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedHistoryQuality, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionCard, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionPatch, MobileSocialFeedPositionState, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, SearchMobileProfilesParams };
@@ -39,6 +39,8 @@ const MOBILE_ERROR_CODES = {
39
39
  INVALID_BIO: 6115,
40
40
  /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */
41
41
  INVALID_AVATAR: 6116,
42
+ /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
43
+ INVALID_FOLLOW_BATCH: 6117,
42
44
  INVALID_EXPO_TOKEN: 6200,
43
45
  INVALID_DEVICE_METADATA: 6201,
44
46
  INVALID_PREFERENCES: 6202,
@@ -1 +1 @@
1
- {"version":3,"file":"mobileErrorCodes.cjs","names":["NADO_ERROR_CODES"],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /**\n * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not\n * retry unchanged.\n */\n INVALID_PROFILE_SEARCH_REQUEST: 6108,\n /**\n * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from\n * `cursor: undefined`.\n */\n INVALID_PROFILE_SEARCH_CURSOR: 6109,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,2BAAGA,EAAAA;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;;;;CAK1B,gCAAgC;;;;;CAKhC,+BAA+B;;CAE/B,uBAAuB;;CAEvB,uBAAuB;;CAEvB,qBAAqB;;CAErB,uBAAuB;;CAEvB,sBAAsB;;CAEtB,aAAa;;CAEb,gBAAgB;CAChB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,qBAAqB;;CAErB,qBAAqB;;CAErB,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,8BAA8B;;CAE9B,2BAA2B;AAC7B"}
1
+ {"version":3,"file":"mobileErrorCodes.cjs","names":["NADO_ERROR_CODES"],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /**\n * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not\n * retry unchanged.\n */\n INVALID_PROFILE_SEARCH_REQUEST: 6108,\n /**\n * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from\n * `cursor: undefined`.\n */\n INVALID_PROFILE_SEARCH_CURSOR: 6109,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_FOLLOW_BATCH: 6117,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,2BAAGA,EAAAA;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;;;;CAK1B,gCAAgC;;;;;CAKhC,+BAA+B;;CAE/B,uBAAuB;;CAEvB,uBAAuB;;CAEvB,qBAAqB;;CAErB,uBAAuB;;CAEvB,sBAAsB;;CAEtB,aAAa;;CAEb,gBAAgB;;CAEhB,sBAAsB;CACtB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,qBAAqB;;CAErB,qBAAqB;;CAErB,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,8BAA8B;;CAE9B,2BAA2B;AAC7B"}
@@ -1,2 +1,2 @@
1
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-BMUSM6_y.cjs";
1
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-3LtreeZM.cjs";
2
2
  export { MOBILE_ERROR_CODES, MobileErrorCode };
@@ -1,2 +1,2 @@
1
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-BMUSM6_y.js";
1
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-3LtreeZM.js";
2
2
  export { MOBILE_ERROR_CODES, MobileErrorCode };
@@ -39,6 +39,8 @@ const MOBILE_ERROR_CODES = {
39
39
  INVALID_BIO: 6115,
40
40
  /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */
41
41
  INVALID_AVATAR: 6116,
42
+ /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
43
+ INVALID_FOLLOW_BATCH: 6117,
42
44
  INVALID_EXPO_TOKEN: 6200,
43
45
  INVALID_DEVICE_METADATA: 6201,
44
46
  INVALID_PREFERENCES: 6202,
@@ -1 +1 @@
1
- {"version":3,"file":"mobileErrorCodes.js","names":[],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /**\n * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not\n * retry unchanged.\n */\n INVALID_PROFILE_SEARCH_REQUEST: 6108,\n /**\n * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from\n * `cursor: undefined`.\n */\n INVALID_PROFILE_SEARCH_CURSOR: 6109,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,GAAG;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;;;;CAK1B,gCAAgC;;;;;CAKhC,+BAA+B;;CAE/B,uBAAuB;;CAEvB,uBAAuB;;CAEvB,qBAAqB;;CAErB,uBAAuB;;CAEvB,sBAAsB;;CAEtB,aAAa;;CAEb,gBAAgB;CAChB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,qBAAqB;;CAErB,qBAAqB;;CAErB,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,8BAA8B;;CAE9B,2BAA2B;AAC7B"}
1
+ {"version":3,"file":"mobileErrorCodes.js","names":[],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /**\n * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not\n * retry unchanged.\n */\n INVALID_PROFILE_SEARCH_REQUEST: 6108,\n /**\n * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from\n * `cursor: undefined`.\n */\n INVALID_PROFILE_SEARCH_CURSOR: 6109,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_FOLLOW_BATCH: 6117,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,GAAG;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;;;;CAK1B,gCAAgC;;;;;CAKhC,+BAA+B;;CAE/B,uBAAuB;;CAEvB,uBAAuB;;CAEvB,qBAAqB;;CAErB,uBAAuB;;CAEvB,sBAAsB;;CAEtB,aAAa;;CAEb,gBAAgB;;CAEhB,sBAAsB;CACtB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,qBAAqB;;CAErB,qBAAqB;;CAErB,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,8BAA8B;;CAE9B,2BAA2B;AAC7B"}
@@ -1,2 +1,2 @@
1
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-BhTeyS87.cjs";
1
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-KREDe2M9.cjs";
2
2
  export { MobileServerFailureResponse, MobileServerSuccessResponse };
@@ -1,2 +1,2 @@
1
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-D-e6DGVM.js";
1
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-DWf3iGWy.js";
2
2
  export { MobileServerFailureResponse, MobileServerSuccessResponse };
@@ -1,2 +1,2 @@
1
- import { a as MobileServerExecuteSuccessResponse, i as MobileServerExecuteResult, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerPublicExecuteRequest, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-BeKywZYP.cjs";
2
- export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest };
1
+ import { a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-DVRa6ifu.cjs";
2
+ export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest };
@@ -1,2 +1,2 @@
1
- import { a as MobileServerExecuteSuccessResponse, i as MobileServerExecuteResult, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerPublicExecuteRequest, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-RH2dTjJu.js";
2
- export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest };
1
+ import { a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-DlYZCp1f.js";
2
+ export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest };
@@ -1,2 +1,2 @@
1
- import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-CxvEM3U6.cjs";
1
+ import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-DNdMpmDr.cjs";
2
2
  export { MobileServerAvatarPresetsResponse, MobileServerFeedResponse, MobileServerFollowListResponse, MobileServerNotificationPreferencesResponse, MobileServerProfilesResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerSearchProfilesResponse, MobileServerSocialFeedItemResponse, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedUpdatesResponse, MobileServerUsernameAvailabilityResponse };
@@ -1,2 +1,2 @@
1
- import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-tm8LMIsw.js";
1
+ import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-BFdwq0Z2.js";
2
2
  export { MobileServerAvatarPresetsResponse, MobileServerFeedResponse, MobileServerFollowListResponse, MobileServerNotificationPreferencesResponse, MobileServerProfilesResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerSearchProfilesResponse, MobileServerSocialFeedItemResponse, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedUpdatesResponse, MobileServerUsernameAvailabilityResponse };
@@ -1,2 +1,2 @@
1
- import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-BgM1pWSL.cjs";
1
+ import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-CxDRFKfv.cjs";
2
2
  export { MobileServerExecuteRequestType, MobileServerFollowListRequest, MobileServerProfilesInclude, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedListParams, MobileServerSocialFeedReadParams };
@@ -1,2 +1,2 @@
1
- import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-zPUjncGt.js";
1
+ import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-BNA7FCY6.js";
2
2
  export { MobileServerExecuteRequestType, MobileServerFollowListRequest, MobileServerProfilesInclude, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedListParams, MobileServerSocialFeedReadParams };
@@ -1,5 +1,5 @@
1
1
  import { d as MobileServerAvatarSelection, l as MobileNotificationPlatform } from "./serverModelTypes-DAqEyYtB.cjs";
2
- import { H as MobileSignedRequestParams } from "./clientTypes-vRRpGXH2.cjs";
2
+ import { W as MobileSignedRequestParams } from "./clientTypes-BWFKo9oE.cjs";
3
3
  import { WalletClientWithAccount } from "@nadohq/shared";
4
4
  import { Hex } from "viem";
5
5
 
@@ -43,6 +43,10 @@ type MobileSignedInner = {
43
43
  type: 'set_follow';
44
44
  subaccount: Hex; /** `true` follows the target, `false` unfollows it. Both directions are idempotent. */
45
45
  is_following: boolean;
46
+ } | {
47
+ type: 'set_follow_batch'; /** Distinct targets in request order; the response keeps this order. */
48
+ subaccounts: Hex[]; /** `true` follows every target, `false` unfollows every target. Both directions are idempotent. */
49
+ is_following: boolean;
46
50
  };
47
51
  /**
48
52
  * The single {@link MobileSignedInner} member carrying the given `type` tag.
@@ -77,4 +81,4 @@ interface BuildSignedMobileRequestParams extends MobileSignedRequestParams {
77
81
  }
78
82
  //#endregion
79
83
  export { MobileSignedRequest as a, MobileSignedInnerParams as i, MobileSignedInner as n, MobileSignedInnerByType as r, BuildSignedMobileRequestParams as t };
80
- //# sourceMappingURL=types-B8CkR6QU.d.cts.map
84
+ //# sourceMappingURL=types-BCr2G5gS.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-BCr2G5gS.d.cts","names":[],"sources":["../src/signing/src/signing/types.ts"],"mappings":";;;;;;;;AAsBA;;;;;;;;;;;;KAAY,iBAAA;EACN,IAAA;EAAiB,GAAA;AAAA;EACjB,IAAA;EAA8B,cAAA;AAAA;EAE9B,IAAA;EACA,MAAA,EAAQ,2BAAA;AAAA;EAER,IAAA;EAAsB,YAAA;AAAA;EACtB,IAAA;EAA0B,YAAA;AAAA;EAE1B,IAAA;EACA,UAAA;EACA,QAAA,EAAU,0BAAA;EAGV,MAAA;EACA,WAAA;AAAA;EAGA,IAAA;EACA,UAAA,EAAY,GAAA,EAeN;EAbN,YAAA;AAAA;EAGA,IAAA,sBAWI;EATJ,WAAA,EAAa,GAAA,IASjB;EAPI,YAAA;AAAA;;;;KAMM,uBAAA,WAAkC,iBAAA,YAC5C,OAAA,CAAQ,iBAAA;EAAqB,IAAA,EAAM,CAAA;AAAA;;AAAC;AAMtC;;KAAY,uBAAA,WAAkC,iBAAA,YAA6B,IAAA,CACzE,uBAAA,CAAwB,CAAA;;;;;KAQd,mBAAA,WACA,iBAAA,GAAoB,iBAAA,IAC5B,CAAA;EACF,SAAA,EAAW,GAAA;EACX,MAAA,EAAQ,GAAA;EACR,KAAA;AAAA;;;;UAMe,8BAAA,SAAuC,yBAAA;EACtD,YAAA,EAAc,uBAAA;EACd,KAAA,EAAO,iBAAA;EAbsB;;;EAiB7B,KAAA;AAAA"}
@@ -1,5 +1,5 @@
1
1
  import { d as MobileServerAvatarSelection, l as MobileNotificationPlatform } from "./serverModelTypes-DAqEyYtB.js";
2
- import { H as MobileSignedRequestParams } from "./clientTypes-B-Ssakq7.js";
2
+ import { W as MobileSignedRequestParams } from "./clientTypes-DCTiUV0H.js";
3
3
  import { WalletClientWithAccount } from "@nadohq/shared";
4
4
  import { Hex } from "viem";
5
5
 
@@ -43,6 +43,10 @@ type MobileSignedInner = {
43
43
  type: 'set_follow';
44
44
  subaccount: Hex; /** `true` follows the target, `false` unfollows it. Both directions are idempotent. */
45
45
  is_following: boolean;
46
+ } | {
47
+ type: 'set_follow_batch'; /** Distinct targets in request order; the response keeps this order. */
48
+ subaccounts: Hex[]; /** `true` follows every target, `false` unfollows every target. Both directions are idempotent. */
49
+ is_following: boolean;
46
50
  };
47
51
  /**
48
52
  * The single {@link MobileSignedInner} member carrying the given `type` tag.
@@ -77,4 +81,4 @@ interface BuildSignedMobileRequestParams extends MobileSignedRequestParams {
77
81
  }
78
82
  //#endregion
79
83
  export { MobileSignedRequest as a, MobileSignedInnerParams as i, MobileSignedInner as n, MobileSignedInnerByType as r, BuildSignedMobileRequestParams as t };
80
- //# sourceMappingURL=types-Cfwd50ls.d.ts.map
84
+ //# sourceMappingURL=types-C18k-9Vy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-C18k-9Vy.d.ts","names":[],"sources":["../src/signing/src/signing/types.ts"],"mappings":";;;;;;;;AAsBA;;;;;;;;;;;;KAAY,iBAAA;EACN,IAAA;EAAiB,GAAA;AAAA;EACjB,IAAA;EAA8B,cAAA;AAAA;EAE9B,IAAA;EACA,MAAA,EAAQ,2BAAA;AAAA;EAER,IAAA;EAAsB,YAAA;AAAA;EACtB,IAAA;EAA0B,YAAA;AAAA;EAE1B,IAAA;EACA,UAAA;EACA,QAAA,EAAU,0BAAA;EAGV,MAAA;EACA,WAAA;AAAA;EAGA,IAAA;EACA,UAAA,EAAY,GAAA,EAeN;EAbN,YAAA;AAAA;EAGA,IAAA,sBAWI;EATJ,WAAA,EAAa,GAAA,IASjB;EAPI,YAAA;AAAA;;;;KAMM,uBAAA,WAAkC,iBAAA,YAC5C,OAAA,CAAQ,iBAAA;EAAqB,IAAA,EAAM,CAAA;AAAA;;AAAC;AAMtC;;KAAY,uBAAA,WAAkC,iBAAA,YAA6B,IAAA,CACzE,uBAAA,CAAwB,CAAA;;;;;KAQd,mBAAA,WACA,iBAAA,GAAoB,iBAAA,IAC5B,CAAA;EACF,SAAA,EAAW,GAAA;EACX,MAAA,EAAQ,GAAA;EACR,KAAA;AAAA;;;;UAMe,8BAAA,SAAuC,yBAAA;EACtD,YAAA,EAAc,uBAAA;EACd,KAAA,EAAO,iBAAA;EAbsB;;;EAiB7B,KAAA;AAAA"}
@@ -19,8 +19,14 @@ const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;
19
19
  * this many fail with `INVALID_PROFILES_REQUEST`.
20
20
  */
21
21
  const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;
22
+ /**
23
+ * Maximum number of targets a single follow batch accepts. An empty list, a duplicate, or more than this many
24
+ * fail with `INVALID_FOLLOW_BATCH`.
25
+ */
26
+ const MOBILE_FOLLOW_BATCH_MAX_SIZE = 25;
22
27
  //#endregion
23
28
  exports.MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = MOBILE_FOLLOWED_BY_PREVIEW_LIMIT;
29
+ exports.MOBILE_FOLLOW_BATCH_MAX_SIZE = MOBILE_FOLLOW_BATCH_MAX_SIZE;
24
30
  exports.MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE;
25
31
  exports.MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE;
26
32
  exports.MOBILE_PROFILES_MAX_BATCH_SIZE = MOBILE_PROFILES_MAX_BATCH_SIZE;
@@ -1 +1 @@
1
- {"version":3,"file":"follow.cjs","names":[],"sources":["../../src/utils/follow.ts"],"sourcesContent":["/**\n * Maximum Followers/Following page size the backend accepts. Requests outside 1–50 fail with\n * `INVALID_FOLLOW_LIMIT`.\n */\nexport const MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = 50;\n\n/**\n * Page size the backend uses when `limit` is omitted from a Followers or Following request.\n */\nexport const MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = 25;\n\n/**\n * Number of Followed By preview identities a follow summary carries. Fixed by the backend rather than\n * requested, so use it to size the preview UI; `followedByCount` still reports the full intersection.\n */\nexport const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;\n\n/**\n * Maximum number of subaccounts a single profiles lookup accepts. An empty list, a duplicate, or more than\n * this many fail with `INVALID_PROFILES_REQUEST`.\n */\nexport const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;\n"],"mappings":";;;;;;AAIA,MAAa,mCAAmC;;;;AAKhD,MAAa,uCAAuC;;;;;AAMpD,MAAa,mCAAmC;;;;;AAMhD,MAAa,iCAAiC"}
1
+ {"version":3,"file":"follow.cjs","names":[],"sources":["../../src/utils/follow.ts"],"sourcesContent":["/**\n * Maximum Followers/Following page size the backend accepts. Requests outside 1–50 fail with\n * `INVALID_FOLLOW_LIMIT`.\n */\nexport const MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = 50;\n\n/**\n * Page size the backend uses when `limit` is omitted from a Followers or Following request.\n */\nexport const MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = 25;\n\n/**\n * Number of Followed By preview identities a follow summary carries. Fixed by the backend rather than\n * requested, so use it to size the preview UI; `followedByCount` still reports the full intersection.\n */\nexport const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;\n\n/**\n * Maximum number of subaccounts a single profiles lookup accepts. An empty list, a duplicate, or more than\n * this many fail with `INVALID_PROFILES_REQUEST`.\n */\nexport const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;\n\n/**\n * Maximum number of targets a single follow batch accepts. An empty list, a duplicate, or more than this many\n * fail with `INVALID_FOLLOW_BATCH`.\n */\nexport const MOBILE_FOLLOW_BATCH_MAX_SIZE = 25;\n"],"mappings":";;;;;;AAIA,MAAa,mCAAmC;;;;AAKhD,MAAa,uCAAuC;;;;;AAMpD,MAAa,mCAAmC;;;;;AAMhD,MAAa,iCAAiC;;;;;AAM9C,MAAa,+BAA+B"}
@@ -1,2 +1,2 @@
1
- import { i as MOBILE_PROFILES_MAX_BATCH_SIZE, n as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, r as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-D6Mg8GHx.cjs";
2
- export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
1
+ import { a as MOBILE_PROFILES_MAX_BATCH_SIZE, i as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, n as MOBILE_FOLLOW_BATCH_MAX_SIZE, r as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-B3CZ04c0.cjs";
2
+ export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
@@ -1,2 +1,2 @@
1
- import { i as MOBILE_PROFILES_MAX_BATCH_SIZE, n as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, r as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-D6Mg8GHx.js";
2
- export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
1
+ import { a as MOBILE_PROFILES_MAX_BATCH_SIZE, i as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, n as MOBILE_FOLLOW_BATCH_MAX_SIZE, r as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-B3CZ04c0.js";
2
+ export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
@@ -18,7 +18,12 @@ const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;
18
18
  * this many fail with `INVALID_PROFILES_REQUEST`.
19
19
  */
20
20
  const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;
21
+ /**
22
+ * Maximum number of targets a single follow batch accepts. An empty list, a duplicate, or more than this many
23
+ * fail with `INVALID_FOLLOW_BATCH`.
24
+ */
25
+ const MOBILE_FOLLOW_BATCH_MAX_SIZE = 25;
21
26
  //#endregion
22
- export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
27
+ export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
23
28
 
24
29
  //# sourceMappingURL=follow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"follow.js","names":[],"sources":["../../src/utils/follow.ts"],"sourcesContent":["/**\n * Maximum Followers/Following page size the backend accepts. Requests outside 1–50 fail with\n * `INVALID_FOLLOW_LIMIT`.\n */\nexport const MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = 50;\n\n/**\n * Page size the backend uses when `limit` is omitted from a Followers or Following request.\n */\nexport const MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = 25;\n\n/**\n * Number of Followed By preview identities a follow summary carries. Fixed by the backend rather than\n * requested, so use it to size the preview UI; `followedByCount` still reports the full intersection.\n */\nexport const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;\n\n/**\n * Maximum number of subaccounts a single profiles lookup accepts. An empty list, a duplicate, or more than\n * this many fail with `INVALID_PROFILES_REQUEST`.\n */\nexport const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;\n"],"mappings":";;;;;AAIA,MAAa,mCAAmC;;;;AAKhD,MAAa,uCAAuC;;;;;AAMpD,MAAa,mCAAmC;;;;;AAMhD,MAAa,iCAAiC"}
1
+ {"version":3,"file":"follow.js","names":[],"sources":["../../src/utils/follow.ts"],"sourcesContent":["/**\n * Maximum Followers/Following page size the backend accepts. Requests outside 1–50 fail with\n * `INVALID_FOLLOW_LIMIT`.\n */\nexport const MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = 50;\n\n/**\n * Page size the backend uses when `limit` is omitted from a Followers or Following request.\n */\nexport const MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = 25;\n\n/**\n * Number of Followed By preview identities a follow summary carries. Fixed by the backend rather than\n * requested, so use it to size the preview UI; `followedByCount` still reports the full intersection.\n */\nexport const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;\n\n/**\n * Maximum number of subaccounts a single profiles lookup accepts. An empty list, a duplicate, or more than\n * this many fail with `INVALID_PROFILES_REQUEST`.\n */\nexport const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;\n\n/**\n * Maximum number of targets a single follow batch accepts. An empty list, a duplicate, or more than this many\n * fail with `INVALID_FOLLOW_BATCH`.\n */\nexport const MOBILE_FOLLOW_BATCH_MAX_SIZE = 25;\n"],"mappings":";;;;;AAIA,MAAa,mCAAmC;;;;AAKhD,MAAa,uCAAuC;;;;;AAMpD,MAAa,mCAAmC;;;;;AAMhD,MAAa,iCAAiC;;;;;AAM9C,MAAa,+BAA+B"}
@@ -11,6 +11,7 @@ exports.MOBILE_DISPLAY_NAME_PATTERN = require_utils_patterns.MOBILE_DISPLAY_NAME
11
11
  exports.MOBILE_FEED_MAX_PAGE_SIZE = require_utils_feed.MOBILE_FEED_MAX_PAGE_SIZE;
12
12
  exports.MOBILE_FEED_MIN_NOTIONAL_FLOOR = require_utils_feed.MOBILE_FEED_MIN_NOTIONAL_FLOOR;
13
13
  exports.MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = require_utils_follow.MOBILE_FOLLOWED_BY_PREVIEW_LIMIT;
14
+ exports.MOBILE_FOLLOW_BATCH_MAX_SIZE = require_utils_follow.MOBILE_FOLLOW_BATCH_MAX_SIZE;
14
15
  exports.MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = require_utils_follow.MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE;
15
16
  exports.MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = require_utils_follow.MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE;
16
17
  exports.MOBILE_PROFILES_MAX_BATCH_SIZE = require_utils_follow.MOBILE_PROFILES_MAX_BATCH_SIZE;
@@ -1,7 +1,7 @@
1
1
  import { n as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_MAX_PAGE_SIZE } from "../feed-DTJlsg8W.cjs";
2
- import { i as MOBILE_PROFILES_MAX_BATCH_SIZE, n as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, r as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-D6Mg8GHx.cjs";
2
+ import { a as MOBILE_PROFILES_MAX_BATCH_SIZE, i as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, n as MOBILE_FOLLOW_BATCH_MAX_SIZE, r as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-B3CZ04c0.cjs";
3
3
  import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-3UKIG5IS.cjs";
4
4
  import { n as MOBILE_BIO_MAX_LENGTH, r as isValidMobileBio, t as MOBILE_AVATAR_MAX_UPLOAD_BYTES } from "../profile-BozA3yVP.cjs";
5
5
  import { n as MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, t as MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE } from "../profileSearch-DCuB-IKD.cjs";
6
- import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-21nhldS2.cjs";
7
- export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
6
+ import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-Dkdok0Sm.cjs";
7
+ export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
@@ -1,7 +1,7 @@
1
1
  import { n as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_MAX_PAGE_SIZE } from "../feed-DTJlsg8W.js";
2
- import { i as MOBILE_PROFILES_MAX_BATCH_SIZE, n as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, r as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-D6Mg8GHx.js";
2
+ import { a as MOBILE_PROFILES_MAX_BATCH_SIZE, i as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, n as MOBILE_FOLLOW_BATCH_MAX_SIZE, r as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-B3CZ04c0.js";
3
3
  import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-3UKIG5IS.js";
4
4
  import { n as MOBILE_BIO_MAX_LENGTH, r as isValidMobileBio, t as MOBILE_AVATAR_MAX_UPLOAD_BYTES } from "../profile-BozA3yVP.js";
5
5
  import { n as MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, t as MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE } from "../profileSearch-DCuB-IKD.js";
6
- import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-B9VaCkxy.js";
7
- export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
6
+ import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-BU1Xv_tG.js";
7
+ export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
@@ -1,7 +1,7 @@
1
1
  import { isMobileServerFailureResponse, isMobileServerSuccessResponse } from "./serverResponseGuards.js";
2
2
  import { MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR } from "./feed.js";
3
- import { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE } from "./follow.js";
3
+ import { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE } from "./follow.js";
4
4
  import { MOBILE_DISPLAY_NAME_PATTERN, MOBILE_PROFILE_SEARCH_QUERY_PATTERN } from "./patterns.js";
5
5
  import { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, isValidMobileBio } from "./profile.js";
6
6
  import { MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE } from "./profileSearch.js";
7
- export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
7
+ export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
@@ -1,2 +1,2 @@
1
- import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-21nhldS2.cjs";
1
+ import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-Dkdok0Sm.cjs";
2
2
  export { isMobileServerFailureResponse, isMobileServerSuccessResponse };
@@ -1,2 +1,2 @@
1
- import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-B9VaCkxy.js";
1
+ import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-BU1Xv_tG.js";
2
2
  export { isMobileServerFailureResponse, isMobileServerSuccessResponse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadohq/mobile-client",
3
- "version": "0.58.0",
3
+ "version": "0.59.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "HTTP client for the Nado mobile service API — username claims, profiles, privacy settings, and push notification devices & preferences",
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/index.d.ts",
43
43
  "dependencies": {
44
44
  "@msgpack/msgpack": "3.1.3",
45
- "@nadohq/shared": "^0.58.0",
45
+ "@nadohq/shared": "^0.59.0",
46
46
  "axios": "1.16.1"
47
47
  },
48
48
  "peerDependencies": {
@@ -54,5 +54,5 @@
54
54
  "bignumber.js": "11.1.1",
55
55
  "viem": "2.52.0"
56
56
  },
57
- "gitHead": "59c09b8ef7b6ed29a9fa58c1d86981a3c2ac7f8c"
57
+ "gitHead": "48af19e135f200eb240e406fdbdb26632970492b"
58
58
  }
@@ -10,6 +10,7 @@ import {
10
10
  mapMobileAvatarSelectionToServer,
11
11
  mapMobileAvatarUpload,
12
12
  mapMobileFeedPage,
13
+ mapMobileFollowBatchResult,
13
14
  mapMobileFollowListPage,
14
15
  mapMobileFollowListParamsToServer,
15
16
  mapMobileFollowMutationResult,
@@ -55,6 +56,7 @@ import {
55
56
  MobileAvatarUpload,
56
57
  MobileCreateAvatarUploadParams,
57
58
  MobileFeedPage,
59
+ MobileFollowBatchResultItem,
58
60
  MobileFollowListPage,
59
61
  MobileFollowMutationResult,
60
62
  MobileNotificationPreferences,
@@ -64,6 +66,7 @@ import {
64
66
  MobileRegisterExpoTokenParams,
65
67
  MobileSetAvatarParams,
66
68
  MobileSetBioParams,
69
+ MobileSetFollowBatchParams,
67
70
  MobileSetFollowParams,
68
71
  MobileSetPrivateModeParams,
69
72
  MobileSetUsernameParams,
@@ -706,6 +709,37 @@ export class MobileClient {
706
709
  return mapMobileFollowMutationResult(data);
707
710
  }
708
711
 
712
+ /**
713
+ * Sets whether the signing subaccount follows each of up to `MOBILE_FOLLOW_BATCH_MAX_SIZE` (25) Profiles in
714
+ * one signed request, which costs far less of the shared IP rate limit than one {@link MobileClient.setFollow}
715
+ * per target. The server validates the whole list before writing and commits every target in one database
716
+ * transaction, so the batch either fully applies or changes nothing. Each target has the same idempotent
717
+ * semantics as `setFollow`, so resending a batch is safe.
718
+ *
719
+ * Targets are lowercased before signing but not deduplicated, and two spellings of one subaccount are a
720
+ * duplicate. Longer lists must be split by the caller; each request commits on its own, so earlier chunks
721
+ * stay applied when a later one fails.
722
+ *
723
+ * @returns One result per target, in request order, carrying each target's post-commit follower count.
724
+ * @throws {MobileServerFailureError} With error code `INVALID_FOLLOW_BATCH` if `targets` is empty, holds
725
+ * duplicates, or exceeds the maximum, or `INVALID_FOLLOW_TARGET` if any target is the sender or either party
726
+ * is isolated. Either rejects the whole batch before any write, so do not retry it unchanged.
727
+ */
728
+ async setFollowBatch(
729
+ params: MobileSetFollowBatchParams,
730
+ ): Promise<MobileFollowBatchResultItem[]> {
731
+ const signedRequest = await this.getSignedRequest(
732
+ 'set_follow_batch',
733
+ params,
734
+ {
735
+ subaccounts: params.targets.map(subaccountToHex),
736
+ is_following: params.isFollowing,
737
+ },
738
+ );
739
+ const data = await this.execute(signedRequest);
740
+ return mapMobileFollowBatchResult(data);
741
+ }
742
+
709
743
  /*
710
744
  Base Fns
711
745
  */
@@ -6,6 +6,7 @@ import {
6
6
  MobileAvatarUpload,
7
7
  MobileFeedPage,
8
8
  MobileFeedTrade,
9
+ MobileFollowBatchResultItem,
9
10
  MobileFollowListPage,
10
11
  MobileFollowMutationResult,
11
12
  MobileFollowSummary,
@@ -41,6 +42,7 @@ import {
41
42
  } from './types/clientTypes';
42
43
  import {
43
44
  MobileServerAvatarUploadResponse,
45
+ MobileServerFollowBatchResponse,
44
46
  MobileServerFollowMutationResponse,
45
47
  } from './types/serverExecuteTypes';
46
48
  import {
@@ -213,6 +215,19 @@ export function mapMobileFollowMutationResult(
213
215
  };
214
216
  }
215
217
 
218
+ /**
219
+ * Maps a server-side batch follow or unfollow response to its client-side representation.
220
+ */
221
+ export function mapMobileFollowBatchResult(
222
+ server: MobileServerFollowBatchResponse,
223
+ ): MobileFollowBatchResultItem[] {
224
+ return server.results.map((result) => ({
225
+ subaccount: result.subaccount,
226
+ isFollowing: result.is_following,
227
+ followerCount: result.follower_count,
228
+ }));
229
+ }
230
+
216
231
  /**
217
232
  * Maps server-side notification preferences (snake_case) to their client-side (camelCase) representation.
218
233
  */
@@ -49,6 +49,12 @@ export function canonicalizeMobileInner(
49
49
  subaccount: inner.subaccount,
50
50
  is_following: inner.is_following,
51
51
  };
52
+ case 'set_follow_batch':
53
+ return {
54
+ type: 'set_follow_batch',
55
+ subaccounts: [...inner.subaccounts],
56
+ is_following: inner.is_following,
57
+ };
52
58
  default: {
53
59
  throw new Error(
54
60
  `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,