@nadohq/mobile-client 0.57.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 (189) hide show
  1. package/README.md +6 -1
  2. package/dist/{MobileClient-DjNpN7Dw.cjs → MobileClient-aDxiM_Kf.cjs} +47 -1
  3. package/dist/MobileClient-aDxiM_Kf.cjs.map +1 -0
  4. package/dist/MobileClient.cjs +1 -1
  5. package/dist/MobileClient.d.cts +40 -6
  6. package/dist/MobileClient.d.cts.map +1 -1
  7. package/dist/MobileClient.d.ts +40 -6
  8. package/dist/MobileClient.d.ts.map +1 -1
  9. package/dist/MobileClient.js +47 -1
  10. package/dist/MobileClient.js.map +1 -1
  11. package/dist/{MobileServerFailureError-kbMi1Ntc.d.cts → MobileServerFailureError-Bpa_WA9f.d.cts} +3 -3
  12. package/dist/{MobileServerFailureError-kbMi1Ntc.d.cts.map → MobileServerFailureError-Bpa_WA9f.d.cts.map} +1 -1
  13. package/dist/{MobileServerFailureError-DvtkMAVX.d.ts → MobileServerFailureError-Dd3c6P_Z.d.ts} +3 -3
  14. package/dist/{MobileServerFailureError-DvtkMAVX.d.ts.map → MobileServerFailureError-Dd3c6P_Z.d.ts.map} +1 -1
  15. package/dist/{buildSignedMobileRequest-lSIJmG6D.d.ts → buildSignedMobileRequest-Cb1T74xV.d.ts} +2 -2
  16. package/dist/{buildSignedMobileRequest-lSIJmG6D.d.ts.map → buildSignedMobileRequest-Cb1T74xV.d.ts.map} +1 -1
  17. package/dist/{buildSignedMobileRequest-DBWN0z0u.d.cts → buildSignedMobileRequest-NHbMAPzd.d.cts} +2 -2
  18. package/dist/{buildSignedMobileRequest-DBWN0z0u.d.cts.map → buildSignedMobileRequest-NHbMAPzd.d.cts.map} +1 -1
  19. package/dist/{canonicalize-Cx3lCVpm.d.ts → canonicalize-BBYGh17w.d.ts} +2 -2
  20. package/dist/canonicalize-BBYGh17w.d.ts.map +1 -0
  21. package/dist/{canonicalize-DNgB8Jsm.d.cts → canonicalize-BF_SiNvO.d.cts} +2 -2
  22. package/dist/canonicalize-BF_SiNvO.d.cts.map +1 -0
  23. package/dist/{clientTypes-DnPE1zZO.d.cts → clientTypes-BWFKo9oE.d.cts} +63 -2
  24. package/dist/clientTypes-BWFKo9oE.d.cts.map +1 -0
  25. package/dist/{clientTypes-ws9CDHw4.d.ts → clientTypes-DCTiUV0H.d.ts} +63 -2
  26. package/dist/clientTypes-DCTiUV0H.d.ts.map +1 -0
  27. package/dist/dataMappers.cjs +34 -0
  28. package/dist/dataMappers.cjs.map +1 -1
  29. package/dist/dataMappers.d.cts +18 -5
  30. package/dist/dataMappers.d.cts.map +1 -1
  31. package/dist/dataMappers.d.ts +18 -5
  32. package/dist/dataMappers.d.ts.map +1 -1
  33. package/dist/dataMappers.js +32 -1
  34. package/dist/dataMappers.js.map +1 -1
  35. package/dist/{eip712MethodByType-T7dfjmC_.d.cts → eip712MethodByType-BSx11xG-.d.cts} +2 -2
  36. package/dist/eip712MethodByType-BSx11xG-.d.cts.map +1 -0
  37. package/dist/{eip712MethodByType-Bmu9PYx6.d.ts → eip712MethodByType-DkiAjCLs.d.ts} +2 -2
  38. package/dist/eip712MethodByType-DkiAjCLs.d.ts.map +1 -0
  39. package/dist/{follow-D6Mg8GHx.d.ts → follow-B3CZ04c0.d.cts} +7 -2
  40. package/dist/{follow-D6Mg8GHx.d.cts.map → follow-B3CZ04c0.d.cts.map} +1 -1
  41. package/dist/{follow-D6Mg8GHx.d.cts → follow-B3CZ04c0.d.ts} +7 -2
  42. package/dist/{follow-D6Mg8GHx.d.ts.map → follow-B3CZ04c0.d.ts.map} +1 -1
  43. package/dist/index.cjs +6 -1
  44. package/dist/index.d.cts +17 -16
  45. package/dist/index.d.ts +17 -16
  46. package/dist/index.js +4 -3
  47. package/dist/{mobileErrorCodes-B3kTLit_.d.ts → mobileErrorCodes-3LtreeZM.d.cts} +14 -3
  48. package/dist/mobileErrorCodes-3LtreeZM.d.cts.map +1 -0
  49. package/dist/{mobileErrorCodes-B3kTLit_.d.cts → mobileErrorCodes-3LtreeZM.d.ts} +14 -3
  50. package/dist/mobileErrorCodes-3LtreeZM.d.ts.map +1 -0
  51. package/dist/patterns-3UKIG5IS.d.cts +13 -0
  52. package/dist/patterns-3UKIG5IS.d.cts.map +1 -0
  53. package/dist/patterns-3UKIG5IS.d.ts +13 -0
  54. package/dist/patterns-3UKIG5IS.d.ts.map +1 -0
  55. package/dist/{payloadHash-Brc5ceFq.d.cts → payloadHash-BOWGjqdb.d.cts} +2 -2
  56. package/dist/payloadHash-BOWGjqdb.d.cts.map +1 -0
  57. package/dist/{payloadHash-cZgv7NSo.d.ts → payloadHash-Bzf4CtjV.d.ts} +2 -2
  58. package/dist/payloadHash-Bzf4CtjV.d.ts.map +1 -0
  59. package/dist/profileSearch-DCuB-IKD.d.cts +14 -0
  60. package/dist/profileSearch-DCuB-IKD.d.cts.map +1 -0
  61. package/dist/profileSearch-DCuB-IKD.d.ts +14 -0
  62. package/dist/profileSearch-DCuB-IKD.d.ts.map +1 -0
  63. package/dist/{serverBaseTypes-CWBdZomv.d.ts → serverBaseTypes-DWf3iGWy.d.ts} +2 -2
  64. package/dist/{serverBaseTypes-CWBdZomv.d.ts.map → serverBaseTypes-DWf3iGWy.d.ts.map} +1 -1
  65. package/dist/{serverBaseTypes-CcWT_ZBe.d.cts → serverBaseTypes-KREDe2M9.d.cts} +2 -2
  66. package/dist/{serverBaseTypes-CcWT_ZBe.d.cts.map → serverBaseTypes-KREDe2M9.d.cts.map} +1 -1
  67. package/dist/{serverExecuteTypes-CgjzwBaA.d.cts → serverExecuteTypes-DVRa6ifu.d.cts} +26 -6
  68. package/dist/serverExecuteTypes-DVRa6ifu.d.cts.map +1 -0
  69. package/dist/{serverExecuteTypes-jyr5aO5q.d.ts → serverExecuteTypes-DlYZCp1f.d.ts} +26 -6
  70. package/dist/serverExecuteTypes-DlYZCp1f.d.ts.map +1 -0
  71. package/dist/{serverQueryTypes-DPRP61yA.d.ts → serverQueryTypes-BFdwq0Z2.d.ts} +14 -4
  72. package/dist/serverQueryTypes-BFdwq0Z2.d.ts.map +1 -0
  73. package/dist/{serverQueryTypes-H_mI6fPl.d.cts → serverQueryTypes-DNdMpmDr.d.cts} +14 -4
  74. package/dist/serverQueryTypes-DNdMpmDr.d.cts.map +1 -0
  75. package/dist/{serverRequestTypes-BY0f5woc.d.ts → serverRequestTypes-BNA7FCY6.d.ts} +20 -3
  76. package/dist/serverRequestTypes-BNA7FCY6.d.ts.map +1 -0
  77. package/dist/{serverRequestTypes-DGGqQMK3.d.cts → serverRequestTypes-CxDRFKfv.d.cts} +20 -3
  78. package/dist/serverRequestTypes-CxDRFKfv.d.cts.map +1 -0
  79. package/dist/{serverResponseGuards-BGHTBbtz.d.ts → serverResponseGuards-BU1Xv_tG.d.ts} +2 -2
  80. package/dist/{serverResponseGuards-BGHTBbtz.d.ts.map → serverResponseGuards-BU1Xv_tG.d.ts.map} +1 -1
  81. package/dist/{serverResponseGuards-DGhrUL_c.d.cts → serverResponseGuards-Dkdok0Sm.d.cts} +2 -2
  82. package/dist/{serverResponseGuards-DGhrUL_c.d.cts.map → serverResponseGuards-Dkdok0Sm.d.cts.map} +1 -1
  83. package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
  84. package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
  85. package/dist/signing/canonicalize.cjs +5 -0
  86. package/dist/signing/canonicalize.cjs.map +1 -1
  87. package/dist/signing/canonicalize.d.cts +1 -1
  88. package/dist/signing/canonicalize.d.ts +1 -1
  89. package/dist/signing/canonicalize.js +5 -0
  90. package/dist/signing/canonicalize.js.map +1 -1
  91. package/dist/signing/eip712MethodByType.cjs +2 -1
  92. package/dist/signing/eip712MethodByType.cjs.map +1 -1
  93. package/dist/signing/eip712MethodByType.d.cts +1 -1
  94. package/dist/signing/eip712MethodByType.d.ts +1 -1
  95. package/dist/signing/eip712MethodByType.js +2 -1
  96. package/dist/signing/eip712MethodByType.js.map +1 -1
  97. package/dist/signing/index.d.cts +5 -5
  98. package/dist/signing/index.d.ts +5 -5
  99. package/dist/signing/payloadHash.d.cts +1 -1
  100. package/dist/signing/payloadHash.d.ts +1 -1
  101. package/dist/signing/types.d.cts +1 -1
  102. package/dist/signing/types.d.ts +1 -1
  103. package/dist/types/MobileServerFailureError.d.cts +1 -1
  104. package/dist/types/MobileServerFailureError.d.ts +1 -1
  105. package/dist/types/clientTypes.d.cts +2 -2
  106. package/dist/types/clientTypes.d.ts +2 -2
  107. package/dist/types/index.d.cts +8 -8
  108. package/dist/types/index.d.ts +8 -8
  109. package/dist/types/mobileErrorCodes.cjs +12 -0
  110. package/dist/types/mobileErrorCodes.cjs.map +1 -1
  111. package/dist/types/mobileErrorCodes.d.cts +1 -1
  112. package/dist/types/mobileErrorCodes.d.ts +1 -1
  113. package/dist/types/mobileErrorCodes.js +12 -0
  114. package/dist/types/mobileErrorCodes.js.map +1 -1
  115. package/dist/types/serverBaseTypes.d.cts +1 -1
  116. package/dist/types/serverBaseTypes.d.ts +1 -1
  117. package/dist/types/serverExecuteTypes.d.cts +2 -2
  118. package/dist/types/serverExecuteTypes.d.ts +2 -2
  119. package/dist/types/serverQueryTypes.d.cts +2 -2
  120. package/dist/types/serverQueryTypes.d.ts +2 -2
  121. package/dist/types/serverRequestTypes.d.cts +2 -2
  122. package/dist/types/serverRequestTypes.d.ts +2 -2
  123. package/dist/{types-l47aSWtA.d.cts → types-BCr2G5gS.d.cts} +6 -2
  124. package/dist/types-BCr2G5gS.d.cts.map +1 -0
  125. package/dist/{types-B021odcS.d.ts → types-C18k-9Vy.d.ts} +6 -2
  126. package/dist/types-C18k-9Vy.d.ts.map +1 -0
  127. package/dist/utils/follow.cjs +6 -0
  128. package/dist/utils/follow.cjs.map +1 -1
  129. package/dist/utils/follow.d.cts +2 -2
  130. package/dist/utils/follow.d.ts +2 -2
  131. package/dist/utils/follow.js +6 -1
  132. package/dist/utils/follow.js.map +1 -1
  133. package/dist/utils/index.cjs +5 -0
  134. package/dist/utils/index.d.cts +5 -4
  135. package/dist/utils/index.d.ts +5 -4
  136. package/dist/utils/index.js +4 -3
  137. package/dist/utils/patterns.cjs +6 -0
  138. package/dist/utils/patterns.cjs.map +1 -1
  139. package/dist/utils/patterns.d.cts +2 -2
  140. package/dist/utils/patterns.d.ts +2 -2
  141. package/dist/utils/patterns.js +6 -1
  142. package/dist/utils/patterns.js.map +1 -1
  143. package/dist/utils/profileSearch.cjs +17 -0
  144. package/dist/utils/profileSearch.cjs.map +1 -0
  145. package/dist/utils/profileSearch.d.cts +2 -0
  146. package/dist/utils/profileSearch.d.ts +2 -0
  147. package/dist/utils/profileSearch.js +15 -0
  148. package/dist/utils/profileSearch.js.map +1 -0
  149. package/dist/utils/serverResponseGuards.d.cts +1 -1
  150. package/dist/utils/serverResponseGuards.d.ts +1 -1
  151. package/package.json +3 -3
  152. package/src/MobileClient.ts +65 -0
  153. package/src/dataMappers.ts +48 -0
  154. package/src/signing/canonicalize.ts +6 -0
  155. package/src/signing/eip712MethodByType.ts +1 -0
  156. package/src/signing/signing.test.ts +34 -0
  157. package/src/signing/types.ts +7 -0
  158. package/src/types/clientTypes.ts +65 -0
  159. package/src/types/mobileErrorCodes.ts +12 -0
  160. package/src/types/serverExecuteTypes.ts +24 -2
  161. package/src/types/serverQueryTypes.ts +11 -0
  162. package/src/types/serverRequestTypes.ts +18 -0
  163. package/src/utils/follow.ts +6 -0
  164. package/src/utils/index.ts +1 -0
  165. package/src/utils/patterns.ts +7 -0
  166. package/src/utils/profileSearch.ts +11 -0
  167. package/dist/MobileClient-DjNpN7Dw.cjs.map +0 -1
  168. package/dist/canonicalize-Cx3lCVpm.d.ts.map +0 -1
  169. package/dist/canonicalize-DNgB8Jsm.d.cts.map +0 -1
  170. package/dist/clientTypes-DnPE1zZO.d.cts.map +0 -1
  171. package/dist/clientTypes-ws9CDHw4.d.ts.map +0 -1
  172. package/dist/eip712MethodByType-Bmu9PYx6.d.ts.map +0 -1
  173. package/dist/eip712MethodByType-T7dfjmC_.d.cts.map +0 -1
  174. package/dist/mobileErrorCodes-B3kTLit_.d.cts.map +0 -1
  175. package/dist/mobileErrorCodes-B3kTLit_.d.ts.map +0 -1
  176. package/dist/patterns-BE0Audp5.d.cts +0 -8
  177. package/dist/patterns-BE0Audp5.d.cts.map +0 -1
  178. package/dist/patterns-BE0Audp5.d.ts +0 -8
  179. package/dist/patterns-BE0Audp5.d.ts.map +0 -1
  180. package/dist/payloadHash-Brc5ceFq.d.cts.map +0 -1
  181. package/dist/payloadHash-cZgv7NSo.d.ts.map +0 -1
  182. package/dist/serverExecuteTypes-CgjzwBaA.d.cts.map +0 -1
  183. package/dist/serverExecuteTypes-jyr5aO5q.d.ts.map +0 -1
  184. package/dist/serverQueryTypes-DPRP61yA.d.ts.map +0 -1
  185. package/dist/serverQueryTypes-H_mI6fPl.d.cts.map +0 -1
  186. package/dist/serverRequestTypes-BY0f5woc.d.ts.map +0 -1
  187. package/dist/serverRequestTypes-DGGqQMK3.d.cts.map +0 -1
  188. package/dist/types-B021odcS.d.ts.map +0 -1
  189. package/dist/types-l47aSWtA.d.cts.map +0 -1
@@ -1,4 +1,4 @@
1
- import { n as MobileSignedInner } from "./types-l47aSWtA.cjs";
1
+ import { n as MobileSignedInner } from "./types-BCr2G5gS.cjs";
2
2
 
3
3
  //#region src/signing/eip712MethodByType.d.ts
4
4
  /**
@@ -7,4 +7,4 @@ import { n as MobileSignedInner } from "./types-l47aSWtA.cjs";
7
7
  declare const MOBILE_EIP712_METHOD_BY_TYPE: Record<MobileSignedInner['type'], string>;
8
8
  //#endregion
9
9
  export { MOBILE_EIP712_METHOD_BY_TYPE as t };
10
- //# sourceMappingURL=eip712MethodByType-T7dfjmC_.d.cts.map
10
+ //# sourceMappingURL=eip712MethodByType-BSx11xG-.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eip712MethodByType-BSx11xG-.d.cts","names":[],"sources":["../src/signing/src/signing/eip712MethodByType.ts"],"mappings":";;;;;AAKA;cAAa,4BAAA,EAA8B,MAAM,CAC/C,iBAAA"}
@@ -1,4 +1,4 @@
1
- import { n as MobileSignedInner } from "./types-B021odcS.js";
1
+ import { n as MobileSignedInner } from "./types-C18k-9Vy.js";
2
2
 
3
3
  //#region src/signing/eip712MethodByType.d.ts
4
4
  /**
@@ -7,4 +7,4 @@ import { n as MobileSignedInner } from "./types-B021odcS.js";
7
7
  declare const MOBILE_EIP712_METHOD_BY_TYPE: Record<MobileSignedInner['type'], string>;
8
8
  //#endregion
9
9
  export { MOBILE_EIP712_METHOD_BY_TYPE as t };
10
- //# sourceMappingURL=eip712MethodByType-Bmu9PYx6.d.ts.map
10
+ //# sourceMappingURL=eip712MethodByType-DkiAjCLs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eip712MethodByType-DkiAjCLs.d.ts","names":[],"sources":["../src/signing/src/signing/eip712MethodByType.ts"],"mappings":";;;;;AAKA;cAAa,4BAAA,EAA8B,MAAM,CAC/C,iBAAA"}
@@ -18,6 +18,11 @@ declare const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;
18
18
  * this many fail with `INVALID_PROFILES_REQUEST`.
19
19
  */
20
20
  declare 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
+ declare const MOBILE_FOLLOW_BATCH_MAX_SIZE = 25;
21
26
  //#endregion
22
- export { MOBILE_PROFILES_MAX_BATCH_SIZE as i, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE as n, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE as r, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT as t };
23
- //# sourceMappingURL=follow-D6Mg8GHx.d.ts.map
27
+ export { MOBILE_PROFILES_MAX_BATCH_SIZE as a, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE as i, MOBILE_FOLLOW_BATCH_MAX_SIZE as n, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE as r, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT as t };
28
+ //# sourceMappingURL=follow-B3CZ04c0.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"follow-D6Mg8GHx.d.cts","names":[],"sources":["../src/utils/src/utils/follow.ts"],"mappings":";;AAIA;;;cAAa,gCAAA;AAAgC;AAK7C;;AAL6C,cAKhC,oCAAA;;AAAoC;AAMjD;;cAAa,gCAAA;;AAAgC;AAM7C;;cAAa,8BAAA"}
1
+ {"version":3,"file":"follow-B3CZ04c0.d.cts","names":[],"sources":["../src/utils/src/utils/follow.ts"],"mappings":";;AAIA;;;cAAa,gCAAA;AAAgC;AAK7C;;AAL6C,cAKhC,oCAAA;;AAAoC;AAMjD;;cAAa,gCAAA;;AAAgC;AAM7C;;cAAa,8BAAA;;AAA8B;AAM3C;;cAAa,4BAAA"}
@@ -18,6 +18,11 @@ declare const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;
18
18
  * this many fail with `INVALID_PROFILES_REQUEST`.
19
19
  */
20
20
  declare 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
+ declare const MOBILE_FOLLOW_BATCH_MAX_SIZE = 25;
21
26
  //#endregion
22
- export { MOBILE_PROFILES_MAX_BATCH_SIZE as i, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE as n, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE as r, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT as t };
23
- //# sourceMappingURL=follow-D6Mg8GHx.d.cts.map
27
+ export { MOBILE_PROFILES_MAX_BATCH_SIZE as a, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE as i, MOBILE_FOLLOW_BATCH_MAX_SIZE as n, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE as r, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT as t };
28
+ //# sourceMappingURL=follow-B3CZ04c0.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"follow-D6Mg8GHx.d.ts","names":[],"sources":["../src/utils/src/utils/follow.ts"],"mappings":";;AAIA;;;cAAa,gCAAA;AAAgC;AAK7C;;AAL6C,cAKhC,oCAAA;;AAAoC;AAMjD;;cAAa,gCAAA;;AAAgC;AAM7C;;cAAa,8BAAA"}
1
+ {"version":3,"file":"follow-B3CZ04c0.d.ts","names":[],"sources":["../src/utils/src/utils/follow.ts"],"mappings":";;AAIA;;;cAAa,gCAAA;AAAgC;AAK7C;;AAL6C,cAKhC,oCAAA;;AAAoC;AAMjD;;cAAa,gCAAA;;AAAgC;AAM7C;;cAAa,8BAAA;;AAA8B;AAM3C;;cAAa,4BAAA"}
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_MobileClient = require("./MobileClient-DjNpN7Dw.cjs");
2
+ const require_MobileClient = require("./MobileClient-aDxiM_Kf.cjs");
3
3
  const require_signing_canonicalize = require("./signing/canonicalize.cjs");
4
4
  const require_signing_eip712MethodByType = require("./signing/eip712MethodByType.cjs");
5
5
  const require_signing_nonce = require("./signing/nonce.cjs");
@@ -16,6 +16,7 @@ const require_utils_feed = require("./utils/feed.cjs");
16
16
  const require_utils_follow = require("./utils/follow.cjs");
17
17
  const require_utils_patterns = require("./utils/patterns.cjs");
18
18
  const require_utils_profile = require("./utils/profile.cjs");
19
+ const require_utils_profileSearch = require("./utils/profileSearch.cjs");
19
20
  require("./utils/index.cjs");
20
21
  exports.MOBILE_AVATAR_MAX_UPLOAD_BYTES = require_utils_profile.MOBILE_AVATAR_MAX_UPLOAD_BYTES;
21
22
  exports.MOBILE_BIO_MAX_LENGTH = require_utils_profile.MOBILE_BIO_MAX_LENGTH;
@@ -29,9 +30,13 @@ exports.MOBILE_FEED_MIN_NOTIONAL_FLOOR = require_utils_feed.MOBILE_FEED_MIN_NOTI
29
30
  exports.MOBILE_FEED_TRADE_POSITION_DIRECTIONS = require_types_serverModelTypes.MOBILE_FEED_TRADE_POSITION_DIRECTIONS;
30
31
  exports.MOBILE_FEED_TRADE_POSITION_EFFECTS = require_types_serverModelTypes.MOBILE_FEED_TRADE_POSITION_EFFECTS;
31
32
  exports.MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = require_utils_follow.MOBILE_FOLLOWED_BY_PREVIEW_LIMIT;
33
+ exports.MOBILE_FOLLOW_BATCH_MAX_SIZE = require_utils_follow.MOBILE_FOLLOW_BATCH_MAX_SIZE;
32
34
  exports.MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = require_utils_follow.MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE;
33
35
  exports.MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = require_utils_follow.MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE;
34
36
  exports.MOBILE_PROFILES_MAX_BATCH_SIZE = require_utils_follow.MOBILE_PROFILES_MAX_BATCH_SIZE;
37
+ exports.MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = require_utils_profileSearch.MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE;
38
+ exports.MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = require_utils_profileSearch.MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE;
39
+ exports.MOBILE_PROFILE_SEARCH_QUERY_PATTERN = require_utils_patterns.MOBILE_PROFILE_SEARCH_QUERY_PATTERN;
35
40
  exports.MobileClient = require_MobileClient.MobileClient;
36
41
  exports.MobileServerFailureError = require_types_MobileServerFailureError.MobileServerFailureError;
37
42
  exports.buildSignedMobileRequest = require_signing_buildSignedMobileRequest.buildSignedMobileRequest;
package/dist/index.d.cts CHANGED
@@ -1,22 +1,23 @@
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 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-DnPE1zZO.cjs";
3
- import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "./types-l47aSWtA.cjs";
4
- import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-DBWN0z0u.cjs";
5
- import { t as canonicalizeMobileInner } from "./canonicalize-DNgB8Jsm.cjs";
6
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-T7dfjmC_.cjs";
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 MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "./types-BCr2G5gS.cjs";
4
+ import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-NHbMAPzd.cjs";
5
+ import { t as canonicalizeMobileInner } from "./canonicalize-BF_SiNvO.cjs";
6
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-BSx11xG-.cjs";
7
7
  import { t as getMobileNonce } from "./nonce-7swNuPgu.cjs";
8
- import { t as getMobilePayloadHash } from "./payloadHash-Brc5ceFq.cjs";
9
- 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";
10
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-CcWT_ZBe.cjs";
11
- 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";
12
- 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";
8
+ import { t as getMobilePayloadHash } from "./payloadHash-BOWGjqdb.cjs";
9
+ 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";
10
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-KREDe2M9.cjs";
11
+ 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";
12
+ 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";
13
13
  import { MobileClient, MobileClientOpts } from "./MobileClient.cjs";
14
14
  import { MOBILE_CLIENT_ENDPOINTS } from "./endpoints.cjs";
15
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "./mobileErrorCodes-B3kTLit_.cjs";
16
- import { t as MobileServerFailureError } from "./MobileServerFailureError-kbMi1Ntc.cjs";
15
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "./mobileErrorCodes-3LtreeZM.cjs";
16
+ import { t as MobileServerFailureError } from "./MobileServerFailureError-Bpa_WA9f.cjs";
17
17
  import { n as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_MAX_PAGE_SIZE } from "./feed-DTJlsg8W.cjs";
18
- 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";
19
- import { t as MOBILE_DISPLAY_NAME_PATTERN } from "./patterns-BE0Audp5.cjs";
18
+ 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";
19
+ import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "./patterns-3UKIG5IS.cjs";
20
20
  import { n as MOBILE_BIO_MAX_LENGTH, r as isValidMobileBio, t as MOBILE_AVATAR_MAX_UPLOAD_BYTES } from "./profile-BozA3yVP.cjs";
21
- import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "./serverResponseGuards-DGhrUL_c.cjs";
22
- export { BuildSignedMobileRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileClient, MobileClientOpts, 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, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, 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, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
21
+ import { n as MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, t as MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE } from "./profileSearch-DCuB-IKD.cjs";
22
+ import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "./serverResponseGuards-Dkdok0Sm.cjs";
23
+ export { BuildSignedMobileRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, 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, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileClient, MobileClientOpts, 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, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, 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, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
package/dist/index.d.ts CHANGED
@@ -1,22 +1,23 @@
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 MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "./types-B021odcS.js";
4
- import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-lSIJmG6D.js";
5
- import { t as canonicalizeMobileInner } from "./canonicalize-Cx3lCVpm.js";
6
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-Bmu9PYx6.js";
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 MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "./types-C18k-9Vy.js";
4
+ import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-Cb1T74xV.js";
5
+ import { t as canonicalizeMobileInner } from "./canonicalize-BBYGh17w.js";
6
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-DkiAjCLs.js";
7
7
  import { t as getMobileNonce } from "./nonce-7swNuPgu.js";
8
- import { t as getMobilePayloadHash } from "./payloadHash-cZgv7NSo.js";
9
- 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";
10
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-CWBdZomv.js";
11
- 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";
12
- 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";
8
+ import { t as getMobilePayloadHash } from "./payloadHash-Bzf4CtjV.js";
9
+ 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";
10
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-DWf3iGWy.js";
11
+ 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";
12
+ 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";
13
13
  import { MobileClient, MobileClientOpts } from "./MobileClient.js";
14
14
  import { MOBILE_CLIENT_ENDPOINTS } from "./endpoints.js";
15
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "./mobileErrorCodes-B3kTLit_.js";
16
- import { t as MobileServerFailureError } from "./MobileServerFailureError-DvtkMAVX.js";
15
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "./mobileErrorCodes-3LtreeZM.js";
16
+ import { t as MobileServerFailureError } from "./MobileServerFailureError-Dd3c6P_Z.js";
17
17
  import { n as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_MAX_PAGE_SIZE } from "./feed-DTJlsg8W.js";
18
- 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";
19
- import { t as MOBILE_DISPLAY_NAME_PATTERN } from "./patterns-BE0Audp5.js";
18
+ 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";
19
+ import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "./patterns-3UKIG5IS.js";
20
20
  import { n as MOBILE_BIO_MAX_LENGTH, r as isValidMobileBio, t as MOBILE_AVATAR_MAX_UPLOAD_BYTES } from "./profile-BozA3yVP.js";
21
- import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "./serverResponseGuards-BGHTBbtz.js";
22
- export { BuildSignedMobileRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileClient, MobileClientOpts, 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, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, 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, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
21
+ import { n as MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, t as MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE } from "./profileSearch-DCuB-IKD.js";
22
+ import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "./serverResponseGuards-BU1Xv_tG.js";
23
+ export { BuildSignedMobileRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, 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, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileClient, MobileClientOpts, 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, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, 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, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
package/dist/index.js CHANGED
@@ -12,8 +12,9 @@ import { MOBILE_ERROR_CODES } from "./types/mobileErrorCodes.js";
12
12
  import { MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS } from "./types/serverModelTypes.js";
13
13
  import "./types/index.js";
14
14
  import { MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR } from "./utils/feed.js";
15
- import { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE } from "./utils/follow.js";
16
- import { MOBILE_DISPLAY_NAME_PATTERN } from "./utils/patterns.js";
15
+ 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 "./utils/follow.js";
16
+ import { MOBILE_DISPLAY_NAME_PATTERN, MOBILE_PROFILE_SEARCH_QUERY_PATTERN } from "./utils/patterns.js";
17
17
  import { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, isValidMobileBio } from "./utils/profile.js";
18
+ import { MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE } from "./utils/profileSearch.js";
18
19
  import "./utils/index.js";
19
- export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MobileClient, MobileServerFailureError, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
20
+ export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, 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, MobileClient, MobileServerFailureError, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
@@ -10,14 +10,25 @@ declare const MOBILE_ERROR_CODES: {
10
10
  readonly INVALID_IDENTITY_TARGET: 6104; /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */
11
11
  readonly STALE_IDENTITY_UPDATE: 6105;
12
12
  readonly PROFILE_NOT_FOUND: 6106; /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
13
- readonly INVALID_PROFILES_REQUEST: 6107; /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */
13
+ readonly INVALID_PROFILES_REQUEST: 6107;
14
+ /**
15
+ * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not
16
+ * retry unchanged.
17
+ */
18
+ readonly INVALID_PROFILE_SEARCH_REQUEST: 6108;
19
+ /**
20
+ * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from
21
+ * `cursor: undefined`.
22
+ */
23
+ readonly INVALID_PROFILE_SEARCH_CURSOR: 6109; /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */
14
24
  readonly INVALID_FOLLOW_TARGET: 6110; /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */
15
25
  readonly FOLLOWER_NOT_ELIGIBLE: 6111; /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */
16
26
  readonly FOLLOWING_NOT_FOUND: 6112; /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */
17
27
  readonly INVALID_FOLLOW_CURSOR: 6113; /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */
18
28
  readonly INVALID_FOLLOW_LIMIT: 6114; /** Biography exceeds the maximum length or contains a null character. */
19
29
  readonly INVALID_BIO: 6115; /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */
20
- readonly INVALID_AVATAR: 6116;
30
+ readonly INVALID_AVATAR: 6116; /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
31
+ readonly INVALID_FOLLOW_BATCH: 6117;
21
32
  readonly INVALID_EXPO_TOKEN: 6200;
22
33
  readonly INVALID_DEVICE_METADATA: 6201;
23
34
  readonly INVALID_PREFERENCES: 6202; /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */
@@ -50,4 +61,4 @@ declare const MOBILE_ERROR_CODES: {
50
61
  type MobileErrorCode = (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];
51
62
  //#endregion
52
63
  export { MobileErrorCode as n, MOBILE_ERROR_CODES as t };
53
- //# sourceMappingURL=mobileErrorCodes-B3kTLit_.d.ts.map
64
+ //# sourceMappingURL=mobileErrorCodes-3LtreeZM.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mobileErrorCodes-3LtreeZM.d.cts","names":[],"sources":["../src/types/src/types/mobileErrorCodes.ts"],"mappings":";;AAOA;;;;cAAa,kBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CA4Dc;EAAA,6CACjB;EAAA;;;;;;;;;;;;;;;;;;;;;;KADE,eAAA,WACF,kBAAA,eAAiC,kBAAkB"}
@@ -10,14 +10,25 @@ declare const MOBILE_ERROR_CODES: {
10
10
  readonly INVALID_IDENTITY_TARGET: 6104; /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */
11
11
  readonly STALE_IDENTITY_UPDATE: 6105;
12
12
  readonly PROFILE_NOT_FOUND: 6106; /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
13
- readonly INVALID_PROFILES_REQUEST: 6107; /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */
13
+ readonly INVALID_PROFILES_REQUEST: 6107;
14
+ /**
15
+ * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not
16
+ * retry unchanged.
17
+ */
18
+ readonly INVALID_PROFILE_SEARCH_REQUEST: 6108;
19
+ /**
20
+ * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from
21
+ * `cursor: undefined`.
22
+ */
23
+ readonly INVALID_PROFILE_SEARCH_CURSOR: 6109; /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */
14
24
  readonly INVALID_FOLLOW_TARGET: 6110; /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */
15
25
  readonly FOLLOWER_NOT_ELIGIBLE: 6111; /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */
16
26
  readonly FOLLOWING_NOT_FOUND: 6112; /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */
17
27
  readonly INVALID_FOLLOW_CURSOR: 6113; /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */
18
28
  readonly INVALID_FOLLOW_LIMIT: 6114; /** Biography exceeds the maximum length or contains a null character. */
19
29
  readonly INVALID_BIO: 6115; /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */
20
- readonly INVALID_AVATAR: 6116;
30
+ readonly INVALID_AVATAR: 6116; /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
31
+ readonly INVALID_FOLLOW_BATCH: 6117;
21
32
  readonly INVALID_EXPO_TOKEN: 6200;
22
33
  readonly INVALID_DEVICE_METADATA: 6201;
23
34
  readonly INVALID_PREFERENCES: 6202; /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */
@@ -50,4 +61,4 @@ declare const MOBILE_ERROR_CODES: {
50
61
  type MobileErrorCode = (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];
51
62
  //#endregion
52
63
  export { MobileErrorCode as n, MOBILE_ERROR_CODES as t };
53
- //# sourceMappingURL=mobileErrorCodes-B3kTLit_.d.cts.map
64
+ //# sourceMappingURL=mobileErrorCodes-3LtreeZM.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mobileErrorCodes-3LtreeZM.d.ts","names":[],"sources":["../src/types/src/types/mobileErrorCodes.ts"],"mappings":";;AAOA;;;;cAAa,kBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CA4Dc;EAAA,6CACjB;EAAA;;;;;;;;;;;;;;;;;;;;;;KADE,eAAA,WACF,kBAAA,eAAiC,kBAAkB"}
@@ -0,0 +1,13 @@
1
+ //#region src/utils/patterns.d.ts
2
+ /**
3
+ * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.
4
+ */
5
+ declare const MOBILE_DISPLAY_NAME_PATTERN: RegExp;
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
+ declare const MOBILE_PROFILE_SEARCH_QUERY_PATTERN: RegExp;
11
+ //#endregion
12
+ export { MOBILE_PROFILE_SEARCH_QUERY_PATTERN as n, MOBILE_DISPLAY_NAME_PATTERN as t };
13
+ //# sourceMappingURL=patterns-3UKIG5IS.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patterns-3UKIG5IS.d.cts","names":[],"sources":["../src/utils/src/utils/patterns.ts"],"mappings":";;AAGA;;cAAa,2BAAA,EAA2B,MAA0B;;AAAA;AAMlE;;cAAa,mCAAA,EAAmC,MACZ"}
@@ -0,0 +1,13 @@
1
+ //#region src/utils/patterns.d.ts
2
+ /**
3
+ * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.
4
+ */
5
+ declare const MOBILE_DISPLAY_NAME_PATTERN: RegExp;
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
+ declare const MOBILE_PROFILE_SEARCH_QUERY_PATTERN: RegExp;
11
+ //#endregion
12
+ export { MOBILE_PROFILE_SEARCH_QUERY_PATTERN as n, MOBILE_DISPLAY_NAME_PATTERN as t };
13
+ //# sourceMappingURL=patterns-3UKIG5IS.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patterns-3UKIG5IS.d.ts","names":[],"sources":["../src/utils/src/utils/patterns.ts"],"mappings":";;AAGA;;cAAa,2BAAA,EAA2B,MAA0B;;AAAA;AAMlE;;cAAa,mCAAA,EAAmC,MACZ"}
@@ -1,4 +1,4 @@
1
- import { n as MobileSignedInner } from "./types-l47aSWtA.cjs";
1
+ import { n as MobileSignedInner } from "./types-BCr2G5gS.cjs";
2
2
  import { Hex } from "viem";
3
3
 
4
4
  //#region src/signing/payloadHash.d.ts
@@ -10,4 +10,4 @@ import { Hex } from "viem";
10
10
  declare function getMobilePayloadHash(inner: MobileSignedInner): Hex;
11
11
  //#endregion
12
12
  export { getMobilePayloadHash as t };
13
- //# sourceMappingURL=payloadHash-Brc5ceFq.d.cts.map
13
+ //# sourceMappingURL=payloadHash-BOWGjqdb.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloadHash-BOWGjqdb.d.cts","names":[],"sources":["../src/signing/src/signing/payloadHash.ts"],"mappings":";;;;;;AASA;;;iBAAgB,oBAAA,CAAqB,KAAA,EAAO,iBAAA,GAAoB,GAAG"}
@@ -1,4 +1,4 @@
1
- import { n as MobileSignedInner } from "./types-B021odcS.js";
1
+ import { n as MobileSignedInner } from "./types-C18k-9Vy.js";
2
2
  import { Hex } from "viem";
3
3
 
4
4
  //#region src/signing/payloadHash.d.ts
@@ -10,4 +10,4 @@ import { Hex } from "viem";
10
10
  declare function getMobilePayloadHash(inner: MobileSignedInner): Hex;
11
11
  //#endregion
12
12
  export { getMobilePayloadHash as t };
13
- //# sourceMappingURL=payloadHash-cZgv7NSo.d.ts.map
13
+ //# sourceMappingURL=payloadHash-Bzf4CtjV.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloadHash-Bzf4CtjV.d.ts","names":[],"sources":["../src/signing/src/signing/payloadHash.ts"],"mappings":";;;;;;AASA;;;iBAAgB,oBAAA,CAAqB,KAAA,EAAO,iBAAA,GAAoB,GAAG"}
@@ -0,0 +1,14 @@
1
+ //#region src/utils/profileSearch.d.ts
2
+ /**
3
+ * Maximum profile search page size without an `include`. Requests outside 1-50 fail with
4
+ * `INVALID_PROFILE_SEARCH_REQUEST`.
5
+ */
6
+ declare 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
+ declare const MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = 25;
12
+ //#endregion
13
+ export { MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE as n, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE as t };
14
+ //# sourceMappingURL=profileSearch-DCuB-IKD.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profileSearch-DCuB-IKD.d.cts","names":[],"sources":["../src/utils/src/utils/profileSearch.ts"],"mappings":";;AAIA;;;cAAa,mCAAA;AAAmC;AAMhD;;;AANgD,cAMnC,4CAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/utils/profileSearch.d.ts
2
+ /**
3
+ * Maximum profile search page size without an `include`. Requests outside 1-50 fail with
4
+ * `INVALID_PROFILE_SEARCH_REQUEST`.
5
+ */
6
+ declare 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
+ declare const MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = 25;
12
+ //#endregion
13
+ export { MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE as n, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE as t };
14
+ //# sourceMappingURL=profileSearch-DCuB-IKD.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profileSearch-DCuB-IKD.d.ts","names":[],"sources":["../src/utils/src/utils/profileSearch.ts"],"mappings":";;AAIA;;;cAAa,mCAAA;AAAmC;AAMhD;;;AANgD,cAMnC,4CAAA"}
@@ -1,4 +1,4 @@
1
- import { c as MobileServerRequestType } from "./serverRequestTypes-BY0f5woc.js";
1
+ import { c as MobileServerRequestType } from "./serverRequestTypes-BNA7FCY6.js";
2
2
 
3
3
  //#region src/types/serverBaseTypes.d.ts
4
4
  /**
@@ -22,4 +22,4 @@ interface MobileServerFailureResponse {
22
22
  }
23
23
  //#endregion
24
24
  export { MobileServerSuccessResponse as n, MobileServerFailureResponse as t };
25
- //# sourceMappingURL=serverBaseTypes-CWBdZomv.d.ts.map
25
+ //# sourceMappingURL=serverBaseTypes-DWf3iGWy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverBaseTypes-CWBdZomv.d.ts","names":[],"sources":["../src/types/src/types/serverBaseTypes.ts"],"mappings":";;;;;AAQA;;;;UAAiB,2BAAA;EACf,MAAM;AAAA;;;;;UAOS,2BAAA;EACf,MAAA;EACA,KAAA;EACA,UAAA;EACA,YAAA,EAAc,uBAAuB;AAAA"}
1
+ {"version":3,"file":"serverBaseTypes-DWf3iGWy.d.ts","names":[],"sources":["../src/types/src/types/serverBaseTypes.ts"],"mappings":";;;;;AAQA;;;;UAAiB,2BAAA;EACf,MAAM;AAAA;;;;;UAOS,2BAAA;EACf,MAAA;EACA,KAAA;EACA,UAAA;EACA,YAAA,EAAc,uBAAuB;AAAA"}
@@ -1,4 +1,4 @@
1
- import { c as MobileServerRequestType } from "./serverRequestTypes-DGGqQMK3.cjs";
1
+ import { c as MobileServerRequestType } from "./serverRequestTypes-CxDRFKfv.cjs";
2
2
 
3
3
  //#region src/types/serverBaseTypes.d.ts
4
4
  /**
@@ -22,4 +22,4 @@ interface MobileServerFailureResponse {
22
22
  }
23
23
  //#endregion
24
24
  export { MobileServerSuccessResponse as n, MobileServerFailureResponse as t };
25
- //# sourceMappingURL=serverBaseTypes-CcWT_ZBe.d.cts.map
25
+ //# sourceMappingURL=serverBaseTypes-KREDe2M9.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverBaseTypes-CcWT_ZBe.d.cts","names":[],"sources":["../src/types/src/types/serverBaseTypes.ts"],"mappings":";;;;;AAQA;;;;UAAiB,2BAAA;EACf,MAAM;AAAA;;;;;UAOS,2BAAA;EACf,MAAA;EACA,KAAA;EACA,UAAA;EACA,YAAA,EAAc,uBAAuB;AAAA"}
1
+ {"version":3,"file":"serverBaseTypes-KREDe2M9.d.cts","names":[],"sources":["../src/types/src/types/serverBaseTypes.ts"],"mappings":";;;;;AAQA;;;;UAAiB,2BAAA;EACf,MAAM;AAAA;;;;;UAOS,2BAAA;EACf,MAAA;EACA,KAAA;EACA,UAAA;EACA,YAAA,EAAc,uBAAuB;AAAA"}
@@ -1,5 +1,6 @@
1
- import { a as MobileServerPublicExecuteRequestType, i as MobileServerPublicExecuteRequestByType, t as MobileServerExecuteRequestType } from "./serverRequestTypes-DGGqQMK3.cjs";
2
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-CcWT_ZBe.cjs";
1
+ import { a as MobileServerPublicExecuteRequestType, i as MobileServerPublicExecuteRequestByType, t as MobileServerExecuteRequestType } from "./serverRequestTypes-CxDRFKfv.cjs";
2
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-KREDe2M9.cjs";
3
+ import { Hex } from "viem";
3
4
 
4
5
  //#region src/types/serverExecuteTypes.d.ts
5
6
  /**
@@ -19,6 +20,24 @@ interface MobileServerFollowMutationResponse {
19
20
  /** The *target's* follower count after the mutation, not the sender's. */
20
21
  follower_count: number;
21
22
  }
23
+ /**
24
+ * One target's post-commit state in a `set_follow_batch` response.
25
+ */
26
+ interface MobileServerFollowBatchResultItem {
27
+ /** The requested target, as lowercase hex. */
28
+ subaccount: Hex;
29
+ is_following: boolean;
30
+ /** The *target's* follower count after the batch, not the sender's. */
31
+ follower_count: number;
32
+ }
33
+ /**
34
+ * Payload the `set_follow_batch` execute returns alongside the success envelope: one result per target, in
35
+ * request order. Every write and count runs in one database transaction, so the batch either fully applies or
36
+ * changes nothing, and these values are authoritative post-commit state.
37
+ */
38
+ interface MobileServerFollowBatchResponse {
39
+ results: MobileServerFollowBatchResultItem[];
40
+ }
22
41
  /**
23
42
  * Payload of an execute route that returns nothing beyond the success discriminant. Spelled `Record<never,
24
43
  * never>` rather than `Record<string, never>` because the latter's index signature would collapse `status` to
@@ -40,8 +59,8 @@ interface MobileServerAvatarUploadResponse {
40
59
  }
41
60
  /**
42
61
  * Success payloads for each signed `execute`, keyed by request `type`. Most execute routes carry no payload
43
- * beyond the success discriminant and so map to an empty object; `set_follow` returns its post-commit
44
- * relationship state, and `create_avatar_upload` returns a temporary upload grant.
62
+ * beyond the success discriminant and so map to an empty object; `set_follow` and `set_follow_batch` return
63
+ * their post-commit relationship state, and `create_avatar_upload` returns a temporary upload grant.
45
64
  */
46
65
  interface MobileServerExecuteResponseByType {
47
66
  /** Bio writes return only the success envelope. */
@@ -54,6 +73,7 @@ interface MobileServerExecuteResponseByType {
54
73
  set_private_mode: MobileServerEmptyExecuteResponse;
55
74
  register_expo_token: MobileServerEmptyExecuteResponse;
56
75
  set_follow: MobileServerFollowMutationResponse;
76
+ set_follow_batch: MobileServerFollowBatchResponse;
57
77
  }
58
78
  /**
59
79
  * Full success response for a signed `execute`: the {@link MobileServerSuccessResponse} envelope with the
@@ -65,5 +85,5 @@ type MobileServerExecuteSuccessResponse<T extends MobileServerExecuteRequestType
65
85
  */
66
86
  type MobileServerExecuteResult = MobileServerSuccessResponse | MobileServerFailureResponse;
67
87
  //#endregion
68
- export { MobileServerExecuteSuccessResponse as a, MobileServerExecuteResult as i, MobileServerEmptyExecuteResponse as n, MobileServerFollowMutationResponse as o, MobileServerExecuteResponseByType as r, MobileServerPublicExecuteRequest as s, MobileServerAvatarUploadResponse as t };
69
- //# sourceMappingURL=serverExecuteTypes-CgjzwBaA.d.cts.map
88
+ export { MobileServerExecuteSuccessResponse as a, MobileServerFollowMutationResponse as c, MobileServerExecuteResult as i, MobileServerPublicExecuteRequest as l, MobileServerEmptyExecuteResponse as n, MobileServerFollowBatchResponse as o, MobileServerExecuteResponseByType as r, MobileServerFollowBatchResultItem as s, MobileServerAvatarUploadResponse as t };
89
+ //# sourceMappingURL=serverExecuteTypes-DVRa6ifu.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverExecuteTypes-DVRa6ifu.d.cts","names":[],"sources":["../src/types/src/types/serverExecuteTypes.ts"],"mappings":";;;;;;;AAeA;;KAAY,gCAAA,WACA,oCAAA,GACR,oCAAA,YAEI,oCAAA;EACJ,IAAA,EAAM,CAAA;AAAA,IACJ,sCAAA,CAAuC,CAAA,IAC3C,CAAA;;;;;;UAOe,kCAAA;EACf,YAAA;EAbE;EAeF,cAAc;AAAA;;;;UAMC,iCAAA;EAhBf;EAkBA,UAAA,EAAY,GAAG;EACf,YAAA;EAZe;EAcf,cAAA;AAAA;;AAXc;AAMhB;;;UAaiB,+BAAA;EACf,OAAA,EAAS,iCAAiC;AAAA;;;;AAT5B;AAQhB;KASY,gCAAA,GAAmC,MAAM;;;AART;UAa3B,gCAAA;EAL2B;EAO1C,UAAA;EAPmD;EASnD,UAAA;EAJe;EAMf,OAAA,EAAS,MAAM;;EAEf,kBAAA;AAAA;;;;;;UAQe,iCAAA;EAAA;EAEf,OAAA,EAAS,gCAAA;;EAET,UAAA,EAAY,gCAAA;EAAA;EAEZ,oBAAA,EAAsB,gCAAA;EACtB,YAAA,EAAc,gCAAA;EACd,gBAAA,EAAkB,gCAAA;EAClB,mBAAA,EAAqB,gCAAA;EACrB,UAAA,EAAY,kCAAA;EACZ,gBAAA,EAAkB,+BAAA;AAAA;;;;;KAOR,kCAAA,WACA,8BAAA,GAAiC,8BAAA,IACzC,2BAAA,GAA8B,iCAAA,CAAkC,CAAA;;;;KAKxD,yBAAA,GACR,2BAAA,GACA,2BAA2B"}