@nadohq/mobile-client 0.56.0 → 0.58.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 (161) hide show
  1. package/README.md +6 -1
  2. package/dist/{MobileClient-DjNpN7Dw.cjs → MobileClient-Bltb06E-.cjs} +24 -1
  3. package/dist/MobileClient-Bltb06E-.cjs.map +1 -0
  4. package/dist/MobileClient.cjs +1 -1
  5. package/dist/MobileClient.d.cts +23 -6
  6. package/dist/MobileClient.d.cts.map +1 -1
  7. package/dist/MobileClient.d.ts +23 -6
  8. package/dist/MobileClient.d.ts.map +1 -1
  9. package/dist/MobileClient.js +24 -1
  10. package/dist/MobileClient.js.map +1 -1
  11. package/dist/{MobileServerFailureError-DvtkMAVX.d.ts → MobileServerFailureError-DDiGBLVv.d.ts} +3 -3
  12. package/dist/{MobileServerFailureError-DvtkMAVX.d.ts.map → MobileServerFailureError-DDiGBLVv.d.ts.map} +1 -1
  13. package/dist/{MobileServerFailureError-kbMi1Ntc.d.cts → MobileServerFailureError-LEYxdWGL.d.cts} +3 -3
  14. package/dist/{MobileServerFailureError-kbMi1Ntc.d.cts.map → MobileServerFailureError-LEYxdWGL.d.cts.map} +1 -1
  15. package/dist/{buildSignedMobileRequest-DBWN0z0u.d.cts → buildSignedMobileRequest-D-xPmHni.d.cts} +2 -2
  16. package/dist/{buildSignedMobileRequest-DBWN0z0u.d.cts.map → buildSignedMobileRequest-D-xPmHni.d.cts.map} +1 -1
  17. package/dist/{buildSignedMobileRequest-lSIJmG6D.d.ts → buildSignedMobileRequest-OV00zmTJ.d.ts} +2 -2
  18. package/dist/{buildSignedMobileRequest-lSIJmG6D.d.ts.map → buildSignedMobileRequest-OV00zmTJ.d.ts.map} +1 -1
  19. package/dist/{canonicalize-Cx3lCVpm.d.ts → canonicalize-B7Kp4CTE.d.ts} +2 -2
  20. package/dist/canonicalize-B7Kp4CTE.d.ts.map +1 -0
  21. package/dist/{canonicalize-DNgB8Jsm.d.cts → canonicalize-Bh1RMrfB.d.cts} +2 -2
  22. package/dist/canonicalize-Bh1RMrfB.d.cts.map +1 -0
  23. package/dist/{clientTypes-ws9CDHw4.d.ts → clientTypes-B-Ssakq7.d.ts} +39 -2
  24. package/dist/clientTypes-B-Ssakq7.d.ts.map +1 -0
  25. package/dist/{clientTypes-DnPE1zZO.d.cts → clientTypes-vRRpGXH2.d.cts} +39 -2
  26. package/dist/clientTypes-vRRpGXH2.d.cts.map +1 -0
  27. package/dist/dataMappers.cjs +23 -0
  28. package/dist/dataMappers.cjs.map +1 -1
  29. package/dist/dataMappers.d.cts +14 -5
  30. package/dist/dataMappers.d.cts.map +1 -1
  31. package/dist/dataMappers.d.ts +14 -5
  32. package/dist/dataMappers.d.ts.map +1 -1
  33. package/dist/dataMappers.js +22 -1
  34. package/dist/dataMappers.js.map +1 -1
  35. package/dist/{eip712MethodByType-Bmu9PYx6.d.ts → eip712MethodByType-Bfquut0v.d.ts} +2 -2
  36. package/dist/eip712MethodByType-Bfquut0v.d.ts.map +1 -0
  37. package/dist/{eip712MethodByType-T7dfjmC_.d.cts → eip712MethodByType-DV6V5S-K.d.cts} +2 -2
  38. package/dist/eip712MethodByType-DV6V5S-K.d.cts.map +1 -0
  39. package/dist/index.cjs +5 -1
  40. package/dist/index.d.cts +16 -15
  41. package/dist/index.d.ts +16 -15
  42. package/dist/index.js +3 -2
  43. package/dist/{mobileErrorCodes-B3kTLit_.d.ts → mobileErrorCodes-BMUSM6_y.d.cts} +12 -2
  44. package/dist/mobileErrorCodes-BMUSM6_y.d.cts.map +1 -0
  45. package/dist/{mobileErrorCodes-B3kTLit_.d.cts → mobileErrorCodes-BMUSM6_y.d.ts} +12 -2
  46. package/dist/mobileErrorCodes-BMUSM6_y.d.ts.map +1 -0
  47. package/dist/patterns-3UKIG5IS.d.cts +13 -0
  48. package/dist/patterns-3UKIG5IS.d.cts.map +1 -0
  49. package/dist/patterns-3UKIG5IS.d.ts +13 -0
  50. package/dist/patterns-3UKIG5IS.d.ts.map +1 -0
  51. package/dist/{payloadHash-Brc5ceFq.d.cts → payloadHash-BVvJEnYe.d.cts} +2 -2
  52. package/dist/payloadHash-BVvJEnYe.d.cts.map +1 -0
  53. package/dist/{payloadHash-cZgv7NSo.d.ts → payloadHash-DBmPAfe8.d.ts} +2 -2
  54. package/dist/payloadHash-DBmPAfe8.d.ts.map +1 -0
  55. package/dist/profileSearch-DCuB-IKD.d.cts +14 -0
  56. package/dist/profileSearch-DCuB-IKD.d.cts.map +1 -0
  57. package/dist/profileSearch-DCuB-IKD.d.ts +14 -0
  58. package/dist/profileSearch-DCuB-IKD.d.ts.map +1 -0
  59. package/dist/{serverBaseTypes-CcWT_ZBe.d.cts → serverBaseTypes-BhTeyS87.d.cts} +2 -2
  60. package/dist/{serverBaseTypes-CcWT_ZBe.d.cts.map → serverBaseTypes-BhTeyS87.d.cts.map} +1 -1
  61. package/dist/{serverBaseTypes-CWBdZomv.d.ts → serverBaseTypes-D-e6DGVM.d.ts} +2 -2
  62. package/dist/{serverBaseTypes-CWBdZomv.d.ts.map → serverBaseTypes-D-e6DGVM.d.ts.map} +1 -1
  63. package/dist/{serverExecuteTypes-CgjzwBaA.d.cts → serverExecuteTypes-BeKywZYP.d.cts} +3 -3
  64. package/dist/{serverExecuteTypes-CgjzwBaA.d.cts.map → serverExecuteTypes-BeKywZYP.d.cts.map} +1 -1
  65. package/dist/{serverExecuteTypes-jyr5aO5q.d.ts → serverExecuteTypes-RH2dTjJu.d.ts} +3 -3
  66. package/dist/{serverExecuteTypes-jyr5aO5q.d.ts.map → serverExecuteTypes-RH2dTjJu.d.ts.map} +1 -1
  67. package/dist/{serverQueryTypes-H_mI6fPl.d.cts → serverQueryTypes-CxvEM3U6.d.cts} +14 -4
  68. package/dist/serverQueryTypes-CxvEM3U6.d.cts.map +1 -0
  69. package/dist/{serverQueryTypes-DPRP61yA.d.ts → serverQueryTypes-tm8LMIsw.d.ts} +14 -4
  70. package/dist/serverQueryTypes-tm8LMIsw.d.ts.map +1 -0
  71. package/dist/{serverRequestTypes-DGGqQMK3.d.cts → serverRequestTypes-BgM1pWSL.d.cts} +20 -3
  72. package/dist/serverRequestTypes-BgM1pWSL.d.cts.map +1 -0
  73. package/dist/{serverRequestTypes-BY0f5woc.d.ts → serverRequestTypes-zPUjncGt.d.ts} +20 -3
  74. package/dist/serverRequestTypes-zPUjncGt.d.ts.map +1 -0
  75. package/dist/{serverResponseGuards-DGhrUL_c.d.cts → serverResponseGuards-21nhldS2.d.cts} +2 -2
  76. package/dist/{serverResponseGuards-DGhrUL_c.d.cts.map → serverResponseGuards-21nhldS2.d.cts.map} +1 -1
  77. package/dist/{serverResponseGuards-BGHTBbtz.d.ts → serverResponseGuards-B9VaCkxy.d.ts} +2 -2
  78. package/dist/{serverResponseGuards-BGHTBbtz.d.ts.map → serverResponseGuards-B9VaCkxy.d.ts.map} +1 -1
  79. package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
  80. package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
  81. package/dist/signing/canonicalize.d.cts +1 -1
  82. package/dist/signing/canonicalize.d.ts +1 -1
  83. package/dist/signing/eip712MethodByType.d.cts +1 -1
  84. package/dist/signing/eip712MethodByType.d.ts +1 -1
  85. package/dist/signing/index.d.cts +5 -5
  86. package/dist/signing/index.d.ts +5 -5
  87. package/dist/signing/payloadHash.d.cts +1 -1
  88. package/dist/signing/payloadHash.d.ts +1 -1
  89. package/dist/signing/types.d.cts +1 -1
  90. package/dist/signing/types.d.ts +1 -1
  91. package/dist/types/MobileServerFailureError.d.cts +1 -1
  92. package/dist/types/MobileServerFailureError.d.ts +1 -1
  93. package/dist/types/clientTypes.d.cts +2 -2
  94. package/dist/types/clientTypes.d.ts +2 -2
  95. package/dist/types/index.d.cts +8 -8
  96. package/dist/types/index.d.ts +8 -8
  97. package/dist/types/mobileErrorCodes.cjs +10 -0
  98. package/dist/types/mobileErrorCodes.cjs.map +1 -1
  99. package/dist/types/mobileErrorCodes.d.cts +1 -1
  100. package/dist/types/mobileErrorCodes.d.ts +1 -1
  101. package/dist/types/mobileErrorCodes.js +10 -0
  102. package/dist/types/mobileErrorCodes.js.map +1 -1
  103. package/dist/types/serverBaseTypes.d.cts +1 -1
  104. package/dist/types/serverBaseTypes.d.ts +1 -1
  105. package/dist/types/serverExecuteTypes.d.cts +1 -1
  106. package/dist/types/serverExecuteTypes.d.ts +1 -1
  107. package/dist/types/serverQueryTypes.d.cts +2 -2
  108. package/dist/types/serverQueryTypes.d.ts +2 -2
  109. package/dist/types/serverRequestTypes.d.cts +2 -2
  110. package/dist/types/serverRequestTypes.d.ts +2 -2
  111. package/dist/{types-l47aSWtA.d.cts → types-B8CkR6QU.d.cts} +2 -2
  112. package/dist/{types-l47aSWtA.d.cts.map → types-B8CkR6QU.d.cts.map} +1 -1
  113. package/dist/{types-B021odcS.d.ts → types-Cfwd50ls.d.ts} +2 -2
  114. package/dist/{types-B021odcS.d.ts.map → types-Cfwd50ls.d.ts.map} +1 -1
  115. package/dist/utils/index.cjs +4 -0
  116. package/dist/utils/index.d.cts +4 -3
  117. package/dist/utils/index.d.ts +4 -3
  118. package/dist/utils/index.js +3 -2
  119. package/dist/utils/patterns.cjs +6 -0
  120. package/dist/utils/patterns.cjs.map +1 -1
  121. package/dist/utils/patterns.d.cts +2 -2
  122. package/dist/utils/patterns.d.ts +2 -2
  123. package/dist/utils/patterns.js +6 -1
  124. package/dist/utils/patterns.js.map +1 -1
  125. package/dist/utils/profileSearch.cjs +17 -0
  126. package/dist/utils/profileSearch.cjs.map +1 -0
  127. package/dist/utils/profileSearch.d.cts +2 -0
  128. package/dist/utils/profileSearch.d.ts +2 -0
  129. package/dist/utils/profileSearch.js +15 -0
  130. package/dist/utils/profileSearch.js.map +1 -0
  131. package/dist/utils/serverResponseGuards.d.cts +1 -1
  132. package/dist/utils/serverResponseGuards.d.ts +1 -1
  133. package/package.json +3 -3
  134. package/src/MobileClient.ts +31 -0
  135. package/src/dataMappers.ts +33 -0
  136. package/src/types/clientTypes.ts +39 -0
  137. package/src/types/mobileErrorCodes.ts +10 -0
  138. package/src/types/serverQueryTypes.ts +11 -0
  139. package/src/types/serverRequestTypes.ts +18 -0
  140. package/src/utils/index.ts +1 -0
  141. package/src/utils/patterns.ts +7 -0
  142. package/src/utils/profileSearch.ts +11 -0
  143. package/dist/MobileClient-DjNpN7Dw.cjs.map +0 -1
  144. package/dist/canonicalize-Cx3lCVpm.d.ts.map +0 -1
  145. package/dist/canonicalize-DNgB8Jsm.d.cts.map +0 -1
  146. package/dist/clientTypes-DnPE1zZO.d.cts.map +0 -1
  147. package/dist/clientTypes-ws9CDHw4.d.ts.map +0 -1
  148. package/dist/eip712MethodByType-Bmu9PYx6.d.ts.map +0 -1
  149. package/dist/eip712MethodByType-T7dfjmC_.d.cts.map +0 -1
  150. package/dist/mobileErrorCodes-B3kTLit_.d.cts.map +0 -1
  151. package/dist/mobileErrorCodes-B3kTLit_.d.ts.map +0 -1
  152. package/dist/patterns-BE0Audp5.d.cts +0 -8
  153. package/dist/patterns-BE0Audp5.d.cts.map +0 -1
  154. package/dist/patterns-BE0Audp5.d.ts +0 -8
  155. package/dist/patterns-BE0Audp5.d.ts.map +0 -1
  156. package/dist/payloadHash-Brc5ceFq.d.cts.map +0 -1
  157. package/dist/payloadHash-cZgv7NSo.d.ts.map +0 -1
  158. package/dist/serverQueryTypes-DPRP61yA.d.ts.map +0 -1
  159. package/dist/serverQueryTypes-H_mI6fPl.d.cts.map +0 -1
  160. package/dist/serverRequestTypes-BY0f5woc.d.ts.map +0 -1
  161. package/dist/serverRequestTypes-DGGqQMK3.d.cts.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.js";
2
- import { $ as MobileSocialFeedListParams, A as MobileNotificationPreferenceScope, B as MobileSetUsernameParams, C as MobileFeedTrade, D as MobileFollowSummary, E as MobileFollowMutationResult, F as MobileRegisteredWallet, G as MobileSocialFeedCohort, H as MobileSocialFeedAuthor, I as MobileSetAvatarParams, J as MobileSocialFeedInteraction, K as MobileSocialFeedCohortCoverage, L as MobileSetBioParams, M as MobileProfilesInclude, N as MobilePublicProfile, O as MobileIdentitySummary, P as MobileRegisterExpoTokenParams, Q as MobileSocialFeedItemResponse, R as MobileSetFollowParams, S as MobileFeedPage, T as MobileFollowListPage, U as MobileSocialFeedCapabilities, V as MobileSignedRequestParams, W as MobileSocialFeedCategorizedParams, X as MobileSocialFeedItemBase, Y as MobileSocialFeedItem, Z as MobileSocialFeedItemPatch, _ as MobileAvatarPreset, _t as MobileUsernameAvailability, a as GetMobileFollowersParams, at as MobileSocialFeedRankedPage, b as MobileCreateAvatarUploadParams, c as GetMobileFriendsFeedParams, ct as MobileSocialFeedTopTradersPage, d as GetMobilePositionFeedParams, dt as MobileSocialFeedTradeRowBase, et as MobileSocialFeedMarket, f as GetMobileProfileFeedParams, ft as MobileSocialFeedTraderBadge, g as GetMobileUsernameAvailabilityParams, gt as MobileUpdateNotificationPreferencesParams, h as GetMobileTopTradersFeedParams, ht as MobileUnregisterExpoTokenParams, i as GetMobileFollowListParams, it as MobileSocialFeedPositionPatch, j as MobileNotificationPreferences, k as MobileNotificationCategoryPreference, l as GetMobileMarketFeedParams, lt as MobileSocialFeedTradeCard, m as GetMobileRegisteredWalletParams, mt as MobileSocialFeedViewTracking, n as GetMobileFeedParams, nt as MobileSocialFeedPnl, o as GetMobileFollowingParams, ot as MobileSocialFeedReadParams, p as GetMobileProfilesParams, pt as MobileSocialFeedUpdates, q as MobileSocialFeedCommentPreview, r as GetMobileFeedUpdatesParams, rt as MobileSocialFeedPositionCard, s as GetMobileForYouFeedParams, st as MobileSocialFeedReadSession, t as GetMobileFeedItemParams, tt as MobileSocialFeedPage, u as GetMobileNotificationPreferencesParams, ut as MobileSocialFeedTradeRow, v as MobileAvatarSelection, vt as MobileWithExpoTokenParams, w as MobileFollowListAccount, x as MobileFeedMargin, y as MobileAvatarUpload, z as MobileSetPrivateModeParams } from "../clientTypes-ws9CDHw4.js";
3
- import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSocialFeedCategorizedParams, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedListParams } from "../serverRequestTypes-BY0f5woc.js";
4
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-CWBdZomv.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-jyr5aO5q.js";
6
- import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedRankedResponse, f as MobileServerSocialFeedResponse, h as MobileServerUsernameAvailabilityResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedUpdatesResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedTopTradersResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSocialFeedItemResponse } from "../serverQueryTypes-DPRP61yA.js";
7
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-B3kTLit_.js";
8
- import { t as MobileServerFailureError } from "../MobileServerFailureError-DvtkMAVX.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, 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, 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 };
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 };
@@ -15,6 +15,16 @@ const MOBILE_ERROR_CODES = {
15
15
  PROFILE_NOT_FOUND: 6106,
16
16
  /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
17
17
  INVALID_PROFILES_REQUEST: 6107,
18
+ /**
19
+ * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not
20
+ * retry unchanged.
21
+ */
22
+ INVALID_PROFILE_SEARCH_REQUEST: 6108,
23
+ /**
24
+ * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from
25
+ * `cursor: undefined`.
26
+ */
27
+ INVALID_PROFILE_SEARCH_CURSOR: 6109,
18
28
  /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */
19
29
  INVALID_FOLLOW_TARGET: 6110,
20
30
  /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */
@@ -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 /** 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;;CAE1B,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 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,2 +1,2 @@
1
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-B3kTLit_.cjs";
1
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-BMUSM6_y.cjs";
2
2
  export { MOBILE_ERROR_CODES, MobileErrorCode };
@@ -1,2 +1,2 @@
1
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-B3kTLit_.js";
1
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-BMUSM6_y.js";
2
2
  export { MOBILE_ERROR_CODES, MobileErrorCode };
@@ -15,6 +15,16 @@ const MOBILE_ERROR_CODES = {
15
15
  PROFILE_NOT_FOUND: 6106,
16
16
  /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
17
17
  INVALID_PROFILES_REQUEST: 6107,
18
+ /**
19
+ * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not
20
+ * retry unchanged.
21
+ */
22
+ INVALID_PROFILE_SEARCH_REQUEST: 6108,
23
+ /**
24
+ * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from
25
+ * `cursor: undefined`.
26
+ */
27
+ INVALID_PROFILE_SEARCH_CURSOR: 6109,
18
28
  /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */
19
29
  INVALID_FOLLOW_TARGET: 6110,
20
30
  /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */
@@ -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 /** 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;;CAE1B,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 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,2 +1,2 @@
1
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-CcWT_ZBe.cjs";
1
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-BhTeyS87.cjs";
2
2
  export { MobileServerFailureResponse, MobileServerSuccessResponse };
@@ -1,2 +1,2 @@
1
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-CWBdZomv.js";
1
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-D-e6DGVM.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-CgjzwBaA.cjs";
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
2
  export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, 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-jyr5aO5q.js";
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
2
  export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest };
@@ -1,2 +1,2 @@
1
- import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedRankedResponse, f as MobileServerSocialFeedResponse, h as MobileServerUsernameAvailabilityResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedUpdatesResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedTopTradersResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSocialFeedItemResponse } from "../serverQueryTypes-H_mI6fPl.cjs";
2
- export { MobileServerAvatarPresetsResponse, MobileServerFeedResponse, MobileServerFollowListResponse, MobileServerNotificationPreferencesResponse, MobileServerProfilesResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerSocialFeedItemResponse, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedUpdatesResponse, MobileServerUsernameAvailabilityResponse };
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";
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 MobileServerSocialFeedRankedResponse, f as MobileServerSocialFeedResponse, h as MobileServerUsernameAvailabilityResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedUpdatesResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedTopTradersResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSocialFeedItemResponse } from "../serverQueryTypes-DPRP61yA.js";
2
- export { MobileServerAvatarPresetsResponse, MobileServerFeedResponse, MobileServerFollowListResponse, MobileServerNotificationPreferencesResponse, MobileServerProfilesResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerSocialFeedItemResponse, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedUpdatesResponse, MobileServerUsernameAvailabilityResponse };
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";
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 MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSocialFeedCategorizedParams, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedListParams } from "../serverRequestTypes-DGGqQMK3.cjs";
2
- export { MobileServerExecuteRequestType, MobileServerFollowListRequest, MobileServerProfilesInclude, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerRequestType, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedListParams, MobileServerSocialFeedReadParams };
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";
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 MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSocialFeedCategorizedParams, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedListParams } from "../serverRequestTypes-BY0f5woc.js";
2
- export { MobileServerExecuteRequestType, MobileServerFollowListRequest, MobileServerProfilesInclude, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerRequestType, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedListParams, MobileServerSocialFeedReadParams };
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";
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 { V as MobileSignedRequestParams } from "./clientTypes-DnPE1zZO.cjs";
2
+ import { H as MobileSignedRequestParams } from "./clientTypes-vRRpGXH2.cjs";
3
3
  import { WalletClientWithAccount } from "@nadohq/shared";
4
4
  import { Hex } from "viem";
5
5
 
@@ -77,4 +77,4 @@ interface BuildSignedMobileRequestParams extends MobileSignedRequestParams {
77
77
  }
78
78
  //#endregion
79
79
  export { MobileSignedRequest as a, MobileSignedInnerParams as i, MobileSignedInner as n, MobileSignedInnerByType as r, BuildSignedMobileRequestParams as t };
80
- //# sourceMappingURL=types-l47aSWtA.d.cts.map
80
+ //# sourceMappingURL=types-B8CkR6QU.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-l47aSWtA.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,EASmB;EAP/B,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
+ {"version":3,"file":"types-B8CkR6QU.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,EASmB;EAP/B,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 { V as MobileSignedRequestParams } from "./clientTypes-ws9CDHw4.js";
2
+ import { H as MobileSignedRequestParams } from "./clientTypes-B-Ssakq7.js";
3
3
  import { WalletClientWithAccount } from "@nadohq/shared";
4
4
  import { Hex } from "viem";
5
5
 
@@ -77,4 +77,4 @@ interface BuildSignedMobileRequestParams extends MobileSignedRequestParams {
77
77
  }
78
78
  //#endregion
79
79
  export { MobileSignedRequest as a, MobileSignedInnerParams as i, MobileSignedInner as n, MobileSignedInnerByType as r, BuildSignedMobileRequestParams as t };
80
- //# sourceMappingURL=types-B021odcS.d.ts.map
80
+ //# sourceMappingURL=types-Cfwd50ls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-B021odcS.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,EASmB;EAP/B,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
+ {"version":3,"file":"types-Cfwd50ls.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,EASmB;EAP/B,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"}
@@ -4,6 +4,7 @@ const require_utils_feed = require("./feed.cjs");
4
4
  const require_utils_follow = require("./follow.cjs");
5
5
  const require_utils_patterns = require("./patterns.cjs");
6
6
  const require_utils_profile = require("./profile.cjs");
7
+ const require_utils_profileSearch = require("./profileSearch.cjs");
7
8
  exports.MOBILE_AVATAR_MAX_UPLOAD_BYTES = require_utils_profile.MOBILE_AVATAR_MAX_UPLOAD_BYTES;
8
9
  exports.MOBILE_BIO_MAX_LENGTH = require_utils_profile.MOBILE_BIO_MAX_LENGTH;
9
10
  exports.MOBILE_DISPLAY_NAME_PATTERN = require_utils_patterns.MOBILE_DISPLAY_NAME_PATTERN;
@@ -13,6 +14,9 @@ exports.MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = require_utils_follow.MOBILE_FOLLOWED_
13
14
  exports.MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = require_utils_follow.MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE;
14
15
  exports.MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = require_utils_follow.MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE;
15
16
  exports.MOBILE_PROFILES_MAX_BATCH_SIZE = require_utils_follow.MOBILE_PROFILES_MAX_BATCH_SIZE;
17
+ exports.MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = require_utils_profileSearch.MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE;
18
+ exports.MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = require_utils_profileSearch.MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE;
19
+ exports.MOBILE_PROFILE_SEARCH_QUERY_PATTERN = require_utils_patterns.MOBILE_PROFILE_SEARCH_QUERY_PATTERN;
16
20
  exports.isMobileServerFailureResponse = require_utils_serverResponseGuards.isMobileServerFailureResponse;
17
21
  exports.isMobileServerSuccessResponse = require_utils_serverResponseGuards.isMobileServerSuccessResponse;
18
22
  exports.isValidMobileBio = require_utils_profile.isValidMobileBio;
@@ -1,6 +1,7 @@
1
1
  import { n as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_MAX_PAGE_SIZE } from "../feed-DTJlsg8W.cjs";
2
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";
3
- import { t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-BE0Audp5.cjs";
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
- import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-DGhrUL_c.cjs";
6
- 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, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
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 };
@@ -1,6 +1,7 @@
1
1
  import { n as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_MAX_PAGE_SIZE } from "../feed-DTJlsg8W.js";
2
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";
3
- import { t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-BE0Audp5.js";
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
- import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-BGHTBbtz.js";
6
- 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, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
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 };
@@ -1,6 +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
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";
4
- import { MOBILE_DISPLAY_NAME_PATTERN } from "./patterns.js";
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
- 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, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
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 };
@@ -4,7 +4,13 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.
5
5
  */
6
6
  const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;
7
+ /**
8
+ * Validates a profile search query: 1-20 ASCII characters, a letter or digit first, then letters, digits, `_`
9
+ * or `.`. The backend lowercases letters and trims nothing, so a prefix shorter than a full username matches.
10
+ */
11
+ const MOBILE_PROFILE_SEARCH_QUERY_PATTERN = /^[A-Za-z0-9][A-Za-z0-9_.]{0,19}$/;
7
12
  //#endregion
8
13
  exports.MOBILE_DISPLAY_NAME_PATTERN = MOBILE_DISPLAY_NAME_PATTERN;
14
+ exports.MOBILE_PROFILE_SEARCH_QUERY_PATTERN = MOBILE_PROFILE_SEARCH_QUERY_PATTERN;
9
15
 
10
16
  //# sourceMappingURL=patterns.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"patterns.cjs","names":[],"sources":["../../src/utils/patterns.ts"],"sourcesContent":["/**\n * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.\n */\nexport const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;\n"],"mappings":";;;;;AAGA,MAAa,8BAA8B"}
1
+ {"version":3,"file":"patterns.cjs","names":[],"sources":["../../src/utils/patterns.ts"],"sourcesContent":["/**\n * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.\n */\nexport const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;\n\n/**\n * Validates a profile search query: 1-20 ASCII characters, a letter or digit first, then letters, digits, `_`\n * or `.`. The backend lowercases letters and trims nothing, so a prefix shorter than a full username matches.\n */\nexport const MOBILE_PROFILE_SEARCH_QUERY_PATTERN =\n /^[A-Za-z0-9][A-Za-z0-9_.]{0,19}$/;\n"],"mappings":";;;;;AAGA,MAAa,8BAA8B;;;;;AAM3C,MAAa,sCACX"}
@@ -1,2 +1,2 @@
1
- import { t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-BE0Audp5.cjs";
2
- export { MOBILE_DISPLAY_NAME_PATTERN };
1
+ import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-3UKIG5IS.cjs";
2
+ export { MOBILE_DISPLAY_NAME_PATTERN, MOBILE_PROFILE_SEARCH_QUERY_PATTERN };
@@ -1,2 +1,2 @@
1
- import { t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-BE0Audp5.js";
2
- export { MOBILE_DISPLAY_NAME_PATTERN };
1
+ import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-3UKIG5IS.js";
2
+ export { MOBILE_DISPLAY_NAME_PATTERN, MOBILE_PROFILE_SEARCH_QUERY_PATTERN };
@@ -3,7 +3,12 @@
3
3
  * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.
4
4
  */
5
5
  const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;
6
+ /**
7
+ * Validates a profile search query: 1-20 ASCII characters, a letter or digit first, then letters, digits, `_`
8
+ * or `.`. The backend lowercases letters and trims nothing, so a prefix shorter than a full username matches.
9
+ */
10
+ const MOBILE_PROFILE_SEARCH_QUERY_PATTERN = /^[A-Za-z0-9][A-Za-z0-9_.]{0,19}$/;
6
11
  //#endregion
7
- export { MOBILE_DISPLAY_NAME_PATTERN };
12
+ export { MOBILE_DISPLAY_NAME_PATTERN, MOBILE_PROFILE_SEARCH_QUERY_PATTERN };
8
13
 
9
14
  //# sourceMappingURL=patterns.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"patterns.js","names":[],"sources":["../../src/utils/patterns.ts"],"sourcesContent":["/**\n * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.\n */\nexport const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;\n"],"mappings":";;;;AAGA,MAAa,8BAA8B"}
1
+ {"version":3,"file":"patterns.js","names":[],"sources":["../../src/utils/patterns.ts"],"sourcesContent":["/**\n * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.\n */\nexport const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;\n\n/**\n * Validates a profile search query: 1-20 ASCII characters, a letter or digit first, then letters, digits, `_`\n * or `.`. The backend lowercases letters and trims nothing, so a prefix shorter than a full username matches.\n */\nexport const MOBILE_PROFILE_SEARCH_QUERY_PATTERN =\n /^[A-Za-z0-9][A-Za-z0-9_.]{0,19}$/;\n"],"mappings":";;;;AAGA,MAAa,8BAA8B;;;;;AAM3C,MAAa,sCACX"}
@@ -0,0 +1,17 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region src/utils/profileSearch.ts
3
+ /**
4
+ * Maximum profile search page size without an `include`. Requests outside 1-50 fail with
5
+ * `INVALID_PROFILE_SEARCH_REQUEST`.
6
+ */
7
+ const MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = 50;
8
+ /**
9
+ * Maximum profile search page size when `include` asks for follow data, matching
10
+ * `MOBILE_PROFILES_MAX_BATCH_SIZE`. Requests outside 1-25 fail with `INVALID_PROFILE_SEARCH_REQUEST`.
11
+ */
12
+ const MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = 25;
13
+ //#endregion
14
+ exports.MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE;
15
+ exports.MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE;
16
+
17
+ //# sourceMappingURL=profileSearch.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profileSearch.cjs","names":[],"sources":["../../src/utils/profileSearch.ts"],"sourcesContent":["/**\n * Maximum profile search page size without an `include`. Requests outside 1-50 fail with\n * `INVALID_PROFILE_SEARCH_REQUEST`.\n */\nexport const MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = 50;\n\n/**\n * Maximum profile search page size when `include` asks for follow data, matching\n * `MOBILE_PROFILES_MAX_BATCH_SIZE`. Requests outside 1-25 fail with `INVALID_PROFILE_SEARCH_REQUEST`.\n */\nexport const MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = 25;\n"],"mappings":";;;;;;AAIA,MAAa,sCAAsC;;;;;AAMnD,MAAa,+CAA+C"}
@@ -0,0 +1,2 @@
1
+ import { n as MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, t as MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE } from "../profileSearch-DCuB-IKD.cjs";
2
+ export { MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE };
@@ -0,0 +1,2 @@
1
+ import { n as MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, t as MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE } from "../profileSearch-DCuB-IKD.js";
2
+ export { MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE };
@@ -0,0 +1,15 @@
1
+ //#region src/utils/profileSearch.ts
2
+ /**
3
+ * Maximum profile search page size without an `include`. Requests outside 1-50 fail with
4
+ * `INVALID_PROFILE_SEARCH_REQUEST`.
5
+ */
6
+ const MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = 50;
7
+ /**
8
+ * Maximum profile search page size when `include` asks for follow data, matching
9
+ * `MOBILE_PROFILES_MAX_BATCH_SIZE`. Requests outside 1-25 fail with `INVALID_PROFILE_SEARCH_REQUEST`.
10
+ */
11
+ const MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = 25;
12
+ //#endregion
13
+ export { MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE };
14
+
15
+ //# sourceMappingURL=profileSearch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profileSearch.js","names":[],"sources":["../../src/utils/profileSearch.ts"],"sourcesContent":["/**\n * Maximum profile search page size without an `include`. Requests outside 1-50 fail with\n * `INVALID_PROFILE_SEARCH_REQUEST`.\n */\nexport const MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = 50;\n\n/**\n * Maximum profile search page size when `include` asks for follow data, matching\n * `MOBILE_PROFILES_MAX_BATCH_SIZE`. Requests outside 1-25 fail with `INVALID_PROFILE_SEARCH_REQUEST`.\n */\nexport const MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = 25;\n"],"mappings":";;;;;AAIA,MAAa,sCAAsC;;;;;AAMnD,MAAa,+CAA+C"}
@@ -1,2 +1,2 @@
1
- import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-DGhrUL_c.cjs";
1
+ import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-21nhldS2.cjs";
2
2
  export { isMobileServerFailureResponse, isMobileServerSuccessResponse };
@@ -1,2 +1,2 @@
1
- import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-BGHTBbtz.js";
1
+ import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-B9VaCkxy.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.56.0",
3
+ "version": "0.58.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.56.0",
45
+ "@nadohq/shared": "^0.58.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": "1b86723bc243f149ddf9e0d70a6be6d4bf3960a3"
57
+ "gitHead": "59c09b8ef7b6ed29a9fa58c1d86981a3c2ac7f8c"
58
58
  }
@@ -15,6 +15,8 @@ import {
15
15
  mapMobileFollowMutationResult,
16
16
  mapMobileNotificationPreferences,
17
17
  mapMobileNotificationPreferencesToServer,
18
+ mapMobileProfileSearchPage,
19
+ mapMobileProfileSearchParamsToServer,
18
20
  mapMobileProfilesIncludeToServer,
19
21
  mapMobilePublicProfile,
20
22
  mapMobileRegisteredWallet,
@@ -56,6 +58,7 @@ import {
56
58
  MobileFollowListPage,
57
59
  MobileFollowMutationResult,
58
60
  MobileNotificationPreferences,
61
+ MobileProfileSearchPage,
59
62
  MobilePublicProfile,
60
63
  MobileRegisteredWallet,
61
64
  MobileRegisterExpoTokenParams,
@@ -73,6 +76,7 @@ import {
73
76
  MobileUnregisterExpoTokenParams,
74
77
  MobileUpdateNotificationPreferencesParams,
75
78
  MobileUsernameAvailability,
79
+ SearchMobileProfilesParams,
76
80
  } from './types/clientTypes';
77
81
  import { MobileServerFailureError } from './types/MobileServerFailureError';
78
82
  import { MobileServerSuccessResponse } from './types/serverBaseTypes';
@@ -206,6 +210,33 @@ export class MobileClient {
206
210
  return data.profiles.map(mapMobilePublicProfile);
207
211
  }
208
212
 
213
+ /**
214
+ * Searches claimed profiles by the start of their username, in ascending username order with an exact
215
+ * match first. Only current claimed identities match: an unnamed profile never does, and Private Mode does
216
+ * not hide one. Takes the same `include` as {@link MobileClient.getProfiles}, so a page can carry follower
217
+ * totals and a follow summary without a second request; as there, `include.followSummary.viewAs` is an
218
+ * unauthenticated claim on an unsigned route.
219
+ *
220
+ * Pagination is live rather than snapshot, so deduplicate matches by subaccount across pages. A cursor is
221
+ * bound to the query alone, so `include` and `limit` may change between pages.
222
+ *
223
+ * @throws {MobileServerFailureError} With error code `INVALID_PROFILE_SEARCH_REQUEST` if `query` is outside
224
+ * the username alphabet or length or `limit` is out of range (1-50, or 1-25 with an include),
225
+ * `INVALID_PROFILE_SEARCH_CURSOR` if the cursor is malformed or was issued for a different query (discard
226
+ * it and restart from the first page), or `PROFILE_NOT_FOUND` if `include.followSummary.viewAs` is in the
227
+ * engine-created isolated namespace.
228
+ */
229
+ async searchProfiles(
230
+ params: SearchMobileProfilesParams,
231
+ ): Promise<MobileProfileSearchPage> {
232
+ const body: MobileServerPublicQueryRequest<'search_profiles'> = {
233
+ type: 'search_profiles',
234
+ ...mapMobileProfileSearchParamsToServer(params),
235
+ };
236
+ const data = await this.publicQuery(body);
237
+ return mapMobileProfileSearchPage(data);
238
+ }
239
+
209
240
  /**
210
241
  * Fetches a page of the accounts that follow the given Profile.
211
242
  *
@@ -12,6 +12,7 @@ import {
12
12
  MobileIdentitySummary,
13
13
  MobileNotificationPreferenceScope,
14
14
  MobileNotificationPreferences,
15
+ MobileProfileSearchPage,
15
16
  MobileProfilesInclude,
16
17
  MobilePublicProfile,
17
18
  MobileRegisteredWallet,
@@ -36,6 +37,7 @@ import {
36
37
  MobileSocialFeedTradeRowBase,
37
38
  MobileSocialFeedTraderBadge,
38
39
  MobileSocialFeedUpdates,
40
+ SearchMobileProfilesParams,
39
41
  } from './types/clientTypes';
40
42
  import {
41
43
  MobileServerAvatarUploadResponse,
@@ -69,6 +71,7 @@ import {
69
71
  MobileServerFeedResponse,
70
72
  MobileServerFollowListResponse,
71
73
  MobileServerRegisteredWalletResponse,
74
+ MobileServerSearchProfilesResponse,
72
75
  MobileServerSocialFeedItemResponse,
73
76
  MobileServerSocialFeedRankedResponse,
74
77
  MobileServerSocialFeedResponse,
@@ -78,6 +81,7 @@ import {
78
81
  import {
79
82
  MobileServerFollowListRequest,
80
83
  MobileServerProfilesInclude,
84
+ MobileServerSearchProfilesRequest,
81
85
  MobileServerSocialFeedListParams,
82
86
  MobileServerSocialFeedReadParams,
83
87
  } from './types/serverRequestTypes';
@@ -184,6 +188,19 @@ export function mapMobileFollowListPage(
184
188
  };
185
189
  }
186
190
 
191
+ /**
192
+ * Maps a server-side profile search page (snake_case) to its client-side (camelCase) representation. Each
193
+ * match goes through {@link mapMobilePublicProfile}, so include-gated fields stay `undefined` when omitted.
194
+ */
195
+ export function mapMobileProfileSearchPage(
196
+ server: MobileServerSearchProfilesResponse,
197
+ ): MobileProfileSearchPage {
198
+ return {
199
+ profiles: server.profiles.map(mapMobilePublicProfile),
200
+ nextCursor: server.next_cursor,
201
+ };
202
+ }
203
+
187
204
  /**
188
205
  * Maps a server-side follow or unfollow response to its client-side representation.
189
206
  */
@@ -250,6 +267,22 @@ export function mapMobileFollowListParamsToServer(
250
267
  };
251
268
  }
252
269
 
270
+ /**
271
+ * Maps the client-side params of a profile search page to the server-side wire shape.
272
+ */
273
+ export function mapMobileProfileSearchParamsToServer(
274
+ params: SearchMobileProfilesParams,
275
+ ): MobileServerSearchProfilesRequest {
276
+ return {
277
+ query: params.query,
278
+ include: params.include
279
+ ? mapMobileProfilesIncludeToServer(params.include)
280
+ : undefined,
281
+ cursor: params.cursor,
282
+ limit: params.limit,
283
+ };
284
+ }
285
+
253
286
  /**
254
287
  * Maps client-side notification preferences (camelCase) to the server-side (snake_case) wire shape.
255
288
  */