@nadohq/mobile-client 0.28.0 → 0.30.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/dist/{MobileClient-9JSAzblH.cjs → MobileClient-CfDtaEeL.cjs} +21 -1
  2. package/dist/MobileClient-CfDtaEeL.cjs.map +1 -0
  3. package/dist/MobileClient.cjs +1 -1
  4. package/dist/MobileClient.d.cts +21 -9
  5. package/dist/MobileClient.d.cts.map +1 -1
  6. package/dist/MobileClient.d.ts +21 -9
  7. package/dist/MobileClient.d.ts.map +1 -1
  8. package/dist/MobileClient.js +21 -1
  9. package/dist/MobileClient.js.map +1 -1
  10. package/dist/{MobileServerFailureError-DUXjO_3w.d.ts → MobileServerFailureError-B11rr9O5.d.cts} +7 -12
  11. package/dist/MobileServerFailureError-B11rr9O5.d.cts.map +1 -0
  12. package/dist/{MobileServerFailureError-BfdqvDBi.d.cts → MobileServerFailureError-DoIvXqYV.d.ts} +7 -12
  13. package/dist/MobileServerFailureError-DoIvXqYV.d.ts.map +1 -0
  14. package/dist/{buildSignedMobileRequest-CDRsRNHm.d.ts → buildSignedMobileRequest-B4KJ6T1y.d.ts} +2 -2
  15. package/dist/{buildSignedMobileRequest-CDRsRNHm.d.ts.map → buildSignedMobileRequest-B4KJ6T1y.d.ts.map} +1 -1
  16. package/dist/{buildSignedMobileRequest-BsbBkU0K.d.cts → buildSignedMobileRequest-EEnDgZF8.d.cts} +2 -2
  17. package/dist/{buildSignedMobileRequest-BsbBkU0K.d.cts.map → buildSignedMobileRequest-EEnDgZF8.d.cts.map} +1 -1
  18. package/dist/{canonicalize-Dm7sXwPg.d.cts → canonicalize-CDdYnhL3.d.cts} +2 -2
  19. package/dist/canonicalize-CDdYnhL3.d.cts.map +1 -0
  20. package/dist/{canonicalize-PX6dTIdF.d.ts → canonicalize-Cc7hdZLJ.d.ts} +2 -2
  21. package/dist/canonicalize-Cc7hdZLJ.d.ts.map +1 -0
  22. package/dist/{clientTypes-DWW2N66c.d.ts → clientTypes-BsOps_pY.d.ts} +67 -3
  23. package/dist/clientTypes-BsOps_pY.d.ts.map +1 -0
  24. package/dist/{clientTypes-Et0PUa2d.d.cts → clientTypes-UFInIAQd.d.cts} +67 -3
  25. package/dist/clientTypes-UFInIAQd.d.cts.map +1 -0
  26. package/dist/dataMappers.cjs +33 -0
  27. package/dist/dataMappers.cjs.map +1 -1
  28. package/dist/dataMappers.d.cts +8 -3
  29. package/dist/dataMappers.d.cts.map +1 -1
  30. package/dist/dataMappers.d.ts +8 -3
  31. package/dist/dataMappers.d.ts.map +1 -1
  32. package/dist/dataMappers.js +33 -1
  33. package/dist/dataMappers.js.map +1 -1
  34. package/dist/{eip712MethodByType-DJgXal9r.d.ts → eip712MethodByType-B67XiwTu.d.ts} +2 -2
  35. package/dist/eip712MethodByType-B67XiwTu.d.ts.map +1 -0
  36. package/dist/{eip712MethodByType-DLh9MRsD.d.cts → eip712MethodByType-DCU415zf.d.cts} +2 -2
  37. package/dist/eip712MethodByType-DCU415zf.d.cts.map +1 -0
  38. package/dist/feed-BF5k6Ryu.d.ts +14 -0
  39. package/dist/feed-BF5k6Ryu.d.ts.map +1 -0
  40. package/dist/feed-CBIwOhTO.d.cts +14 -0
  41. package/dist/feed-CBIwOhTO.d.cts.map +1 -0
  42. package/dist/index.cjs +8 -1
  43. package/dist/index.d.cts +17 -15
  44. package/dist/index.d.ts +17 -15
  45. package/dist/index.js +3 -1
  46. package/dist/{mobileErrorCodes-QG5XbEY6.d.ts → mobileErrorCodes-Cj84nBnT.d.cts} +7 -5
  47. package/dist/mobileErrorCodes-Cj84nBnT.d.cts.map +1 -0
  48. package/dist/{mobileErrorCodes-BeyBKmwh.d.cts → mobileErrorCodes-Czmigq9x.d.ts} +7 -5
  49. package/dist/mobileErrorCodes-Czmigq9x.d.ts.map +1 -0
  50. package/dist/{patterns-BbxH3_VA.d.ts → patterns-B5gi7OfV.d.ts} +1 -1
  51. package/dist/patterns-B5gi7OfV.d.ts.map +1 -0
  52. package/dist/{patterns-B9J2ldpx.d.cts → patterns-Db6fgz8i.d.cts} +1 -1
  53. package/dist/patterns-Db6fgz8i.d.cts.map +1 -0
  54. package/dist/{payloadHash-nj8WuLUP.d.cts → payloadHash-BSoGv3Lz.d.cts} +2 -2
  55. package/dist/payloadHash-BSoGv3Lz.d.cts.map +1 -0
  56. package/dist/{payloadHash-Bmhzs78N.d.ts → payloadHash-BVP2v3p9.d.ts} +2 -2
  57. package/dist/payloadHash-BVP2v3p9.d.ts.map +1 -0
  58. package/dist/serverBaseTypes-A16onlPN.d.cts +25 -0
  59. package/dist/serverBaseTypes-A16onlPN.d.cts.map +1 -0
  60. package/dist/serverBaseTypes-m3zEi0X9.d.ts +25 -0
  61. package/dist/serverBaseTypes-m3zEi0X9.d.ts.map +1 -0
  62. package/dist/{serverExecuteTypes-DKYK1V7C.d.cts → serverExecuteTypes-C-bioiuQ.d.cts} +2 -2
  63. package/dist/serverExecuteTypes-C-bioiuQ.d.cts.map +1 -0
  64. package/dist/{serverExecuteTypes-CXnMjKnt.d.ts → serverExecuteTypes-DfzWOeIx.d.ts} +2 -2
  65. package/dist/serverExecuteTypes-DfzWOeIx.d.ts.map +1 -0
  66. package/dist/serverModelTypes-CPZUvVil.d.cts +143 -0
  67. package/dist/serverModelTypes-CPZUvVil.d.cts.map +1 -0
  68. package/dist/serverModelTypes-CqnqHY5F.d.ts +143 -0
  69. package/dist/serverModelTypes-CqnqHY5F.d.ts.map +1 -0
  70. package/dist/serverQueryTypes-CJLWWZBs.d.ts +91 -0
  71. package/dist/serverQueryTypes-CJLWWZBs.d.ts.map +1 -0
  72. package/dist/serverQueryTypes-C_cCx0Ac.d.cts +91 -0
  73. package/dist/serverQueryTypes-C_cCx0Ac.d.cts.map +1 -0
  74. package/dist/serverRequestTypes-DQDy3K9O.d.ts +62 -0
  75. package/dist/serverRequestTypes-DQDy3K9O.d.ts.map +1 -0
  76. package/dist/serverRequestTypes-DnU_FfMI.d.cts +62 -0
  77. package/dist/serverRequestTypes-DnU_FfMI.d.cts.map +1 -0
  78. package/dist/{serverResponseGuards-DjCNL3CR.d.cts → serverResponseGuards-BlvfJjsa.d.cts} +2 -2
  79. package/dist/{serverResponseGuards-DjCNL3CR.d.cts.map → serverResponseGuards-BlvfJjsa.d.cts.map} +1 -1
  80. package/dist/{serverResponseGuards-C_vZIgGl.d.ts → serverResponseGuards-gpHH8SHk.d.ts} +2 -2
  81. package/dist/{serverResponseGuards-C_vZIgGl.d.ts.map → serverResponseGuards-gpHH8SHk.d.ts.map} +1 -1
  82. package/dist/signing/buildSignedMobileRequest.cjs +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.d.cts +1 -1
  86. package/dist/signing/canonicalize.d.ts +1 -1
  87. package/dist/signing/eip712MethodByType.d.cts +1 -1
  88. package/dist/signing/eip712MethodByType.d.ts +1 -1
  89. package/dist/signing/index.d.cts +5 -5
  90. package/dist/signing/index.d.ts +5 -5
  91. package/dist/signing/payloadHash.cjs +1 -1
  92. package/dist/signing/payloadHash.d.cts +1 -1
  93. package/dist/signing/payloadHash.d.ts +1 -1
  94. package/dist/signing/types.d.cts +1 -1
  95. package/dist/signing/types.d.ts +1 -1
  96. package/dist/types/MobileServerFailureError.cjs +5 -7
  97. package/dist/types/MobileServerFailureError.cjs.map +1 -1
  98. package/dist/types/MobileServerFailureError.d.cts +1 -1
  99. package/dist/types/MobileServerFailureError.d.ts +1 -1
  100. package/dist/types/MobileServerFailureError.js +4 -7
  101. package/dist/types/MobileServerFailureError.js.map +1 -1
  102. package/dist/types/clientTypes.d.cts +2 -2
  103. package/dist/types/clientTypes.d.ts +2 -2
  104. package/dist/types/index.cjs +4 -0
  105. package/dist/types/index.d.cts +9 -8
  106. package/dist/types/index.d.ts +9 -8
  107. package/dist/types/index.js +2 -1
  108. package/dist/types/mobileErrorCodes.cjs +9 -5
  109. package/dist/types/mobileErrorCodes.cjs.map +1 -1
  110. package/dist/types/mobileErrorCodes.d.cts +1 -1
  111. package/dist/types/mobileErrorCodes.d.ts +1 -1
  112. package/dist/types/mobileErrorCodes.js +8 -4
  113. package/dist/types/mobileErrorCodes.js.map +1 -1
  114. package/dist/types/serverBaseTypes.d.cts +2 -2
  115. package/dist/types/serverBaseTypes.d.ts +2 -2
  116. package/dist/types/serverExecuteTypes.d.cts +1 -1
  117. package/dist/types/serverExecuteTypes.d.ts +1 -1
  118. package/dist/types/serverModelTypes.cjs +29 -0
  119. package/dist/types/serverModelTypes.cjs.map +1 -0
  120. package/dist/types/serverModelTypes.d.cts +2 -2
  121. package/dist/types/serverModelTypes.d.ts +2 -2
  122. package/dist/types/serverModelTypes.js +26 -1
  123. package/dist/types/serverModelTypes.js.map +1 -0
  124. package/dist/types/serverQueryTypes.d.cts +2 -2
  125. package/dist/types/serverQueryTypes.d.ts +2 -2
  126. package/dist/types/serverRequestTypes.cjs +0 -0
  127. package/dist/types/serverRequestTypes.d.cts +2 -0
  128. package/dist/types/serverRequestTypes.d.ts +2 -0
  129. package/dist/types/serverRequestTypes.js +1 -0
  130. package/dist/{types-uCD4BNZR.d.cts → types-CzOeSYnW.d.cts} +3 -3
  131. package/dist/{types-uCD4BNZR.d.cts.map → types-CzOeSYnW.d.cts.map} +1 -1
  132. package/dist/{types-B76Pn7Sy.d.ts → types-UHjZR-js.d.ts} +3 -3
  133. package/dist/{types-B76Pn7Sy.d.ts.map → types-UHjZR-js.d.ts.map} +1 -1
  134. package/dist/utils/feed.cjs +17 -0
  135. package/dist/utils/feed.cjs.map +1 -0
  136. package/dist/utils/feed.d.cts +2 -0
  137. package/dist/utils/feed.d.ts +2 -0
  138. package/dist/utils/feed.js +15 -0
  139. package/dist/utils/feed.js.map +1 -0
  140. package/dist/utils/index.cjs +3 -0
  141. package/dist/utils/index.d.cts +4 -3
  142. package/dist/utils/index.d.ts +4 -3
  143. package/dist/utils/index.js +2 -1
  144. package/dist/utils/patterns.d.cts +1 -1
  145. package/dist/utils/patterns.d.ts +1 -1
  146. package/dist/utils/serverResponseGuards.d.cts +1 -1
  147. package/dist/utils/serverResponseGuards.d.ts +1 -1
  148. package/package.json +3 -3
  149. package/src/MobileClient.ts +49 -27
  150. package/src/dataMappers.ts +40 -0
  151. package/src/types/MobileServerFailureError.ts +10 -22
  152. package/src/types/clientTypes.ts +70 -0
  153. package/src/types/index.ts +1 -0
  154. package/src/types/mobileErrorCodes.ts +7 -3
  155. package/src/types/serverBaseTypes.ts +7 -28
  156. package/src/types/serverModelTypes.ts +93 -0
  157. package/src/types/serverQueryTypes.ts +83 -39
  158. package/src/types/serverRequestTypes.ts +68 -0
  159. package/src/utils/feed.ts +11 -0
  160. package/src/utils/index.ts +1 -0
  161. package/dist/MobileClient-9JSAzblH.cjs.map +0 -1
  162. package/dist/MobileServerFailureError-BfdqvDBi.d.cts.map +0 -1
  163. package/dist/MobileServerFailureError-DUXjO_3w.d.ts.map +0 -1
  164. package/dist/canonicalize-Dm7sXwPg.d.cts.map +0 -1
  165. package/dist/canonicalize-PX6dTIdF.d.ts.map +0 -1
  166. package/dist/clientTypes-DWW2N66c.d.ts.map +0 -1
  167. package/dist/clientTypes-Et0PUa2d.d.cts.map +0 -1
  168. package/dist/eip712MethodByType-DJgXal9r.d.ts.map +0 -1
  169. package/dist/eip712MethodByType-DLh9MRsD.d.cts.map +0 -1
  170. package/dist/mobileErrorCodes-BeyBKmwh.d.cts.map +0 -1
  171. package/dist/mobileErrorCodes-QG5XbEY6.d.ts.map +0 -1
  172. package/dist/patterns-B9J2ldpx.d.cts.map +0 -1
  173. package/dist/patterns-BbxH3_VA.d.ts.map +0 -1
  174. package/dist/payloadHash-Bmhzs78N.d.ts.map +0 -1
  175. package/dist/payloadHash-nj8WuLUP.d.cts.map +0 -1
  176. package/dist/serverBaseTypes-BicXMrZV.d.cts +0 -43
  177. package/dist/serverBaseTypes-BicXMrZV.d.cts.map +0 -1
  178. package/dist/serverBaseTypes-ewbo8l4R.d.ts +0 -43
  179. package/dist/serverBaseTypes-ewbo8l4R.d.ts.map +0 -1
  180. package/dist/serverExecuteTypes-CXnMjKnt.d.ts.map +0 -1
  181. package/dist/serverExecuteTypes-DKYK1V7C.d.cts.map +0 -1
  182. package/dist/serverModelTypes-CQgfqgW3.d.cts +0 -69
  183. package/dist/serverModelTypes-CQgfqgW3.d.cts.map +0 -1
  184. package/dist/serverModelTypes-vEPhHIit.d.ts +0 -69
  185. package/dist/serverModelTypes-vEPhHIit.d.ts.map +0 -1
  186. package/dist/serverQueryTypes-BI-2TD8F.d.ts +0 -53
  187. package/dist/serverQueryTypes-BI-2TD8F.d.ts.map +0 -1
  188. package/dist/serverQueryTypes-D7Yharse.d.cts +0 -53
  189. package/dist/serverQueryTypes-D7Yharse.d.cts.map +0 -1
@@ -0,0 +1,62 @@
1
+ import { n as MobileSignedInner } from "./types-UHjZR-js.js";
2
+
3
+ //#region src/types/serverRequestTypes.d.ts
4
+ /**
5
+ * Params for each unsigned `public_query`, keyed by request `type`.
6
+ */
7
+ interface MobileServerPublicQueryRequestByType {
8
+ username_availability: {
9
+ display_name: string;
10
+ };
11
+ profile: {
12
+ username: string;
13
+ };
14
+ feed: {
15
+ /**
16
+ * Minimum notional as a whole-dollar JSON integer (NOT an x18 string), at least $1,000. Omitted or
17
+ * `null` means unfiltered.
18
+ */
19
+ minimum_notional?: number; /** Page size, 1–50; the backend defaults to `MOBILE_FEED_MAX_PAGE_SIZE` (50) when omitted. */
20
+ limit?: number;
21
+ /**
22
+ * Opaque keyset cursor from a prior page's `next_cursor`. Bound to the exact `minimum_notional` it was
23
+ * issued for (including the unfiltered state) — reusing it with a different filter fails.
24
+ */
25
+ cursor?: string;
26
+ };
27
+ }
28
+ /**
29
+ * Discriminant `type` values for unsigned `public_query` requests.
30
+ */
31
+ type MobileServerPublicQueryRequestType = keyof MobileServerPublicQueryRequestByType;
32
+ /**
33
+ * Params for each signed `query`, keyed by request `type`. These queries identify the caller through the
34
+ * signed envelope (`sender`) and take no further params, so every entry is empty — the signed counterpart to
35
+ * {@link MobileServerPublicQueryRequestByType}, kept so both query routes expose one params lookup keyed by
36
+ * type (matching engine's `EngineServerQueryRequestByType`, which likewise uses `Record<string, never>` for
37
+ * param-less queries).
38
+ */
39
+ interface MobileServerSignedQueryRequestByType {
40
+ self_identity: Record<string, never>;
41
+ notification_preferences: Record<string, never>;
42
+ registered_devices: Record<string, never>;
43
+ }
44
+ /**
45
+ * Discriminant `type` values for signed `query` requests: the read-only subset of {@link MobileSignedInner}
46
+ * tags, keyed the same way as {@link MobileServerPublicQueryRequestType}.
47
+ */
48
+ type MobileServerSignedQueryRequestType = keyof MobileServerSignedQueryRequestByType;
49
+ /**
50
+ * Discriminant `type` values for signed `execute` requests: the write subset of {@link MobileSignedInner}
51
+ * tags, derived as everything that is not a signed query so the two routes cannot overlap or drift.
52
+ */
53
+ type MobileServerExecuteRequestType = Exclude<MobileSignedInner['type'], MobileServerSignedQueryRequestType>;
54
+ /**
55
+ * Wire `request_type` the backend echoes on failure envelopes, prefixed by the route that produced it:
56
+ * `public_query_*` for unsigned queries, `query_*` for signed queries, and `execute_*` for signed writes
57
+ * (e.g. `execute_claim_username`).
58
+ */
59
+ type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `query_${MobileServerSignedQueryRequestType}` | `execute_${MobileServerExecuteRequestType}`;
60
+ //#endregion
61
+ export { MobileServerSignedQueryRequestByType as a, MobileServerRequestType as i, MobileServerPublicQueryRequestByType as n, MobileServerSignedQueryRequestType as o, MobileServerPublicQueryRequestType as r, MobileServerExecuteRequestType as t };
62
+ //# sourceMappingURL=serverRequestTypes-DQDy3K9O.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverRequestTypes-DQDy3K9O.d.ts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;AAKA;UAAiB,oCAAA;EACf,qBAAA;IAAyB,YAAA;EAAA;EACzB,OAAA;IAAW,QAAA;EAAA;EACX,IAAA;IAKE;;;;IAAA,gBAAA,WAcQ;IAZR,KAAA;IAaI;;AAAoC;AAS5C;IAjBI,MAAA;EAAA;AAAA;;;;KAOQ,kCAAA,SACJ,oCAAoC;;;;;;;;UAS3B,oCAAA;EACf,aAAA,EAAe,MAAA;EACf,wBAAA,EAA0B,MAAA;EAC1B,kBAAA,EAAoB,MAAA;AAAA;AAQsB;AAM5C;;;AAN4C,KADhC,kCAAA,SACJ,oCAAoC;;;;;KAMhC,8BAAA,GAAiC,OAAA,CAC3C,iBAAA,UACA,kCAAA;;;;AAAkC;AAQpC;KAAY,uBAAA,mBACQ,kCAAA,cACP,kCAAA,gBACE,8BAAA"}
@@ -0,0 +1,62 @@
1
+ import { n as MobileSignedInner } from "./types-CzOeSYnW.cjs";
2
+
3
+ //#region src/types/serverRequestTypes.d.ts
4
+ /**
5
+ * Params for each unsigned `public_query`, keyed by request `type`.
6
+ */
7
+ interface MobileServerPublicQueryRequestByType {
8
+ username_availability: {
9
+ display_name: string;
10
+ };
11
+ profile: {
12
+ username: string;
13
+ };
14
+ feed: {
15
+ /**
16
+ * Minimum notional as a whole-dollar JSON integer (NOT an x18 string), at least $1,000. Omitted or
17
+ * `null` means unfiltered.
18
+ */
19
+ minimum_notional?: number; /** Page size, 1–50; the backend defaults to `MOBILE_FEED_MAX_PAGE_SIZE` (50) when omitted. */
20
+ limit?: number;
21
+ /**
22
+ * Opaque keyset cursor from a prior page's `next_cursor`. Bound to the exact `minimum_notional` it was
23
+ * issued for (including the unfiltered state) — reusing it with a different filter fails.
24
+ */
25
+ cursor?: string;
26
+ };
27
+ }
28
+ /**
29
+ * Discriminant `type` values for unsigned `public_query` requests.
30
+ */
31
+ type MobileServerPublicQueryRequestType = keyof MobileServerPublicQueryRequestByType;
32
+ /**
33
+ * Params for each signed `query`, keyed by request `type`. These queries identify the caller through the
34
+ * signed envelope (`sender`) and take no further params, so every entry is empty — the signed counterpart to
35
+ * {@link MobileServerPublicQueryRequestByType}, kept so both query routes expose one params lookup keyed by
36
+ * type (matching engine's `EngineServerQueryRequestByType`, which likewise uses `Record<string, never>` for
37
+ * param-less queries).
38
+ */
39
+ interface MobileServerSignedQueryRequestByType {
40
+ self_identity: Record<string, never>;
41
+ notification_preferences: Record<string, never>;
42
+ registered_devices: Record<string, never>;
43
+ }
44
+ /**
45
+ * Discriminant `type` values for signed `query` requests: the read-only subset of {@link MobileSignedInner}
46
+ * tags, keyed the same way as {@link MobileServerPublicQueryRequestType}.
47
+ */
48
+ type MobileServerSignedQueryRequestType = keyof MobileServerSignedQueryRequestByType;
49
+ /**
50
+ * Discriminant `type` values for signed `execute` requests: the write subset of {@link MobileSignedInner}
51
+ * tags, derived as everything that is not a signed query so the two routes cannot overlap or drift.
52
+ */
53
+ type MobileServerExecuteRequestType = Exclude<MobileSignedInner['type'], MobileServerSignedQueryRequestType>;
54
+ /**
55
+ * Wire `request_type` the backend echoes on failure envelopes, prefixed by the route that produced it:
56
+ * `public_query_*` for unsigned queries, `query_*` for signed queries, and `execute_*` for signed writes
57
+ * (e.g. `execute_claim_username`).
58
+ */
59
+ type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `query_${MobileServerSignedQueryRequestType}` | `execute_${MobileServerExecuteRequestType}`;
60
+ //#endregion
61
+ export { MobileServerSignedQueryRequestByType as a, MobileServerRequestType as i, MobileServerPublicQueryRequestByType as n, MobileServerSignedQueryRequestType as o, MobileServerPublicQueryRequestType as r, MobileServerExecuteRequestType as t };
62
+ //# sourceMappingURL=serverRequestTypes-DnU_FfMI.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverRequestTypes-DnU_FfMI.d.cts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;AAKA;UAAiB,oCAAA;EACf,qBAAA;IAAyB,YAAA;EAAA;EACzB,OAAA;IAAW,QAAA;EAAA;EACX,IAAA;IAKE;;;;IAAA,gBAAA,WAcQ;IAZR,KAAA;IAaI;;AAAoC;AAS5C;IAjBI,MAAA;EAAA;AAAA;;;;KAOQ,kCAAA,SACJ,oCAAoC;;;;;;;;UAS3B,oCAAA;EACf,aAAA,EAAe,MAAA;EACf,wBAAA,EAA0B,MAAA;EAC1B,kBAAA,EAAoB,MAAA;AAAA;AAQsB;AAM5C;;;AAN4C,KADhC,kCAAA,SACJ,oCAAoC;;;;;KAMhC,8BAAA,GAAiC,OAAA,CAC3C,iBAAA,UACA,kCAAA;;;;AAAkC;AAQpC;KAAY,uBAAA,mBACQ,kCAAA,cACP,kCAAA,gBACE,8BAAA"}
@@ -1,4 +1,4 @@
1
- import { t as MobileServerFailureResponse } from "./serverBaseTypes-BicXMrZV.cjs";
1
+ import { t as MobileServerFailureResponse } from "./serverBaseTypes-A16onlPN.cjs";
2
2
 
3
3
  //#region src/utils/serverResponseGuards.d.ts
4
4
  /**
@@ -13,4 +13,4 @@ declare function isMobileServerSuccessResponse<T extends {
13
13
  }>(data: unknown): data is T;
14
14
  //#endregion
15
15
  export { isMobileServerSuccessResponse as n, isMobileServerFailureResponse as t };
16
- //# sourceMappingURL=serverResponseGuards-DjCNL3CR.d.cts.map
16
+ //# sourceMappingURL=serverResponseGuards-BlvfJjsa.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverResponseGuards-DjCNL3CR.d.cts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
1
+ {"version":3,"file":"serverResponseGuards-BlvfJjsa.d.cts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
@@ -1,4 +1,4 @@
1
- import { t as MobileServerFailureResponse } from "./serverBaseTypes-ewbo8l4R.js";
1
+ import { t as MobileServerFailureResponse } from "./serverBaseTypes-m3zEi0X9.js";
2
2
 
3
3
  //#region src/utils/serverResponseGuards.d.ts
4
4
  /**
@@ -13,4 +13,4 @@ declare function isMobileServerSuccessResponse<T extends {
13
13
  }>(data: unknown): data is T;
14
14
  //#endregion
15
15
  export { isMobileServerSuccessResponse as n, isMobileServerFailureResponse as t };
16
- //# sourceMappingURL=serverResponseGuards-C_vZIgGl.d.ts.map
16
+ //# sourceMappingURL=serverResponseGuards-gpHH8SHk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverResponseGuards-C_vZIgGl.d.ts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
1
+ {"version":3,"file":"serverResponseGuards-gpHH8SHk.d.ts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../MobileClient-9JSAzblH.cjs");
2
+ require("../MobileClient-CfDtaEeL.cjs");
3
3
  const require_signing_canonicalize = require("./canonicalize.cjs");
4
4
  const require_signing_eip712MethodByType = require("./eip712MethodByType.cjs");
5
5
  const require_signing_nonce = require("./nonce.cjs");
@@ -1,2 +1,2 @@
1
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BsbBkU0K.cjs";
1
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-EEnDgZF8.cjs";
2
2
  export { buildSignedMobileRequest };
@@ -1,2 +1,2 @@
1
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-CDRsRNHm.js";
1
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-B4KJ6T1y.js";
2
2
  export { buildSignedMobileRequest };
@@ -1,2 +1,2 @@
1
- import { t as canonicalizeMobileInner } from "../canonicalize-Dm7sXwPg.cjs";
1
+ import { t as canonicalizeMobileInner } from "../canonicalize-CDdYnhL3.cjs";
2
2
  export { canonicalizeMobileInner };
@@ -1,2 +1,2 @@
1
- import { t as canonicalizeMobileInner } from "../canonicalize-PX6dTIdF.js";
1
+ import { t as canonicalizeMobileInner } from "../canonicalize-Cc7hdZLJ.js";
2
2
  export { canonicalizeMobileInner };
@@ -1,2 +1,2 @@
1
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-DLh9MRsD.cjs";
1
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-DCU415zf.cjs";
2
2
  export { MOBILE_EIP712_METHOD_BY_TYPE };
@@ -1,2 +1,2 @@
1
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-DJgXal9r.js";
1
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-B67XiwTu.js";
2
2
  export { MOBILE_EIP712_METHOD_BY_TYPE };
@@ -1,7 +1,7 @@
1
- import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-uCD4BNZR.cjs";
2
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BsbBkU0K.cjs";
3
- import { t as canonicalizeMobileInner } from "../canonicalize-Dm7sXwPg.cjs";
4
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-DLh9MRsD.cjs";
1
+ import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-CzOeSYnW.cjs";
2
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-EEnDgZF8.cjs";
3
+ import { t as canonicalizeMobileInner } from "../canonicalize-CDdYnhL3.cjs";
4
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-DCU415zf.cjs";
5
5
  import { t as getMobileNonce } from "../nonce-zGyisRlj.cjs";
6
- import { t as getMobilePayloadHash } from "../payloadHash-nj8WuLUP.cjs";
6
+ import { t as getMobilePayloadHash } from "../payloadHash-BSoGv3Lz.cjs";
7
7
  export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
@@ -1,7 +1,7 @@
1
- import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-B76Pn7Sy.js";
2
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-CDRsRNHm.js";
3
- import { t as canonicalizeMobileInner } from "../canonicalize-PX6dTIdF.js";
4
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-DJgXal9r.js";
1
+ import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-UHjZR-js.js";
2
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-B4KJ6T1y.js";
3
+ import { t as canonicalizeMobileInner } from "../canonicalize-Cc7hdZLJ.js";
4
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-B67XiwTu.js";
5
5
  import { t as getMobileNonce } from "../nonce-DCOrXXkQ.js";
6
- import { t as getMobilePayloadHash } from "../payloadHash-Bmhzs78N.js";
6
+ import { t as getMobilePayloadHash } from "../payloadHash-BVP2v3p9.js";
7
7
  export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../MobileClient-9JSAzblH.cjs");
2
+ require("../MobileClient-CfDtaEeL.cjs");
3
3
  let _msgpack_msgpack = require("@msgpack/msgpack");
4
4
  let viem = require("viem");
5
5
  //#region src/signing/payloadHash.ts
@@ -1,2 +1,2 @@
1
- import { t as getMobilePayloadHash } from "../payloadHash-nj8WuLUP.cjs";
1
+ import { t as getMobilePayloadHash } from "../payloadHash-BSoGv3Lz.cjs";
2
2
  export { getMobilePayloadHash };
@@ -1,2 +1,2 @@
1
- import { t as getMobilePayloadHash } from "../payloadHash-Bmhzs78N.js";
1
+ import { t as getMobilePayloadHash } from "../payloadHash-BVP2v3p9.js";
2
2
  export { getMobilePayloadHash };
@@ -1,2 +1,2 @@
1
- import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-uCD4BNZR.cjs";
1
+ import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-CzOeSYnW.cjs";
2
2
  export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerParams, MobileSignedRequest };
@@ -1,2 +1,2 @@
1
- import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-B76Pn7Sy.js";
1
+ import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-UHjZR-js.js";
2
2
  export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerParams, MobileSignedRequest };
@@ -1,18 +1,16 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ require("../MobileClient-CfDtaEeL.cjs");
3
+ let _nadohq_shared = require("@nadohq/shared");
2
4
  //#region src/types/MobileServerFailureError.ts
3
5
  /**
4
6
  * Error thrown when the mobile service API returns a failure envelope, either as a non-2xx HTTP response
5
7
  * or a 2xx response with `status: 'failure'`. The numeric error code is exposed directly on
6
- * {@link errorCode} for comparison against {@link MOBILE_ERROR_CODES}.
8
+ * {@link BaseServerFailureError.errorCode} for comparison against {@link MOBILE_ERROR_CODES}.
7
9
  */
8
- var MobileServerFailureError = class extends Error {
10
+ var MobileServerFailureError = class extends _nadohq_shared.BaseServerFailureError {
9
11
  constructor(responseData, httpStatus) {
10
- super(`${responseData.error_code}: ${responseData.error}`);
11
- this.responseData = responseData;
12
- this.name = "MobileServerFailureError";
12
+ super(responseData, "MobileServerFailureError");
13
13
  this.httpStatus = httpStatus;
14
- this.errorCode = responseData.error_code;
15
- this.requestType = responseData.request_type;
16
14
  }
17
15
  };
18
16
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"MobileServerFailureError.cjs","names":[],"sources":["../../src/types/MobileServerFailureError.ts"],"sourcesContent":["import {\n MobileServerFailureResponse,\n MobileServerRequestType,\n} from './serverBaseTypes';\n\n/**\n * Error thrown when the mobile service API returns a failure envelope, either as a non-2xx HTTP response\n * or a 2xx response with `status: 'failure'`. The numeric error code is exposed directly on\n * {@link errorCode} for comparison against {@link MOBILE_ERROR_CODES}.\n */\nexport class MobileServerFailureError extends Error {\n /**\n * HTTP status code of the response, e.g. `404` for `PROFILE_NOT_FOUND`. Unlike the engine, the mobile\n * backend maps domain failures onto HTTP statuses.\n */\n readonly httpStatus: number;\n /**\n * Numeric mobile service API error code, see {@link MOBILE_ERROR_CODES}.\n */\n readonly errorCode: number;\n /**\n * The request type that failed, e.g. `public_query_profile`, `execute_claim_username`.\n */\n readonly requestType: MobileServerRequestType;\n\n constructor(\n readonly responseData: MobileServerFailureResponse,\n httpStatus: number,\n ) {\n super(`${responseData.error_code}: ${responseData.error}`);\n this.name = 'MobileServerFailureError';\n this.httpStatus = httpStatus;\n this.errorCode = responseData.error_code;\n this.requestType = responseData.request_type;\n }\n}\n"],"mappings":";;;;;;;AAUA,IAAa,2BAAb,cAA8C,MAAM;CAelD,YACE,cACA,YACA;EACA,MAAM,GAAG,aAAa,WAAW,IAAI,aAAa,OAAO;EAHhD,KAAA,eAAA;EAIT,KAAK,OAAO;EACZ,KAAK,aAAa;EAClB,KAAK,YAAY,aAAa;EAC9B,KAAK,cAAc,aAAa;CAClC;AACF"}
1
+ {"version":3,"file":"MobileServerFailureError.cjs","names":["BaseServerFailureError"],"sources":["../../src/types/MobileServerFailureError.ts"],"sourcesContent":["import { BaseServerFailureError } from '@nadohq/shared';\nimport { MobileServerFailureResponse } from './serverBaseTypes';\nimport { MobileServerRequestType } from './serverRequestTypes';\n\n/**\n * Error thrown when the mobile service API returns a failure envelope, either as a non-2xx HTTP response\n * or a 2xx response with `status: 'failure'`. The numeric error code is exposed directly on\n * {@link BaseServerFailureError.errorCode} for comparison against {@link MOBILE_ERROR_CODES}.\n */\nexport class MobileServerFailureError extends BaseServerFailureError {\n declare readonly responseData: MobileServerFailureResponse;\n declare readonly requestType: MobileServerRequestType;\n\n /**\n * HTTP status code of the response, e.g. `404` for `PROFILE_NOT_FOUND`. Unlike the engine, the mobile\n * backend maps domain failures onto HTTP statuses.\n */\n readonly httpStatus: number;\n\n constructor(responseData: MobileServerFailureResponse, httpStatus: number) {\n super(responseData, 'MobileServerFailureError');\n this.httpStatus = httpStatus;\n }\n}\n"],"mappings":";;;;;;;;;AASA,IAAa,2BAAb,cAA8CA,eAAAA,uBAAuB;CAUnE,YAAY,cAA2C,YAAoB;EACzE,MAAM,cAAc,0BAA0B;EAC9C,KAAK,aAAa;CACpB;AACF"}
@@ -1,2 +1,2 @@
1
- import { t as MobileServerFailureError } from "../MobileServerFailureError-BfdqvDBi.cjs";
1
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-B11rr9O5.cjs";
2
2
  export { MobileServerFailureError };
@@ -1,2 +1,2 @@
1
- import { t as MobileServerFailureError } from "../MobileServerFailureError-DUXjO_3w.js";
1
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-DoIvXqYV.js";
2
2
  export { MobileServerFailureError };
@@ -1,17 +1,14 @@
1
+ import { BaseServerFailureError } from "@nadohq/shared";
1
2
  //#region src/types/MobileServerFailureError.ts
2
3
  /**
3
4
  * Error thrown when the mobile service API returns a failure envelope, either as a non-2xx HTTP response
4
5
  * or a 2xx response with `status: 'failure'`. The numeric error code is exposed directly on
5
- * {@link errorCode} for comparison against {@link MOBILE_ERROR_CODES}.
6
+ * {@link BaseServerFailureError.errorCode} for comparison against {@link MOBILE_ERROR_CODES}.
6
7
  */
7
- var MobileServerFailureError = class extends Error {
8
+ var MobileServerFailureError = class extends BaseServerFailureError {
8
9
  constructor(responseData, httpStatus) {
9
- super(`${responseData.error_code}: ${responseData.error}`);
10
- this.responseData = responseData;
11
- this.name = "MobileServerFailureError";
10
+ super(responseData, "MobileServerFailureError");
12
11
  this.httpStatus = httpStatus;
13
- this.errorCode = responseData.error_code;
14
- this.requestType = responseData.request_type;
15
12
  }
16
13
  };
17
14
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"MobileServerFailureError.js","names":[],"sources":["../../src/types/MobileServerFailureError.ts"],"sourcesContent":["import {\n MobileServerFailureResponse,\n MobileServerRequestType,\n} from './serverBaseTypes';\n\n/**\n * Error thrown when the mobile service API returns a failure envelope, either as a non-2xx HTTP response\n * or a 2xx response with `status: 'failure'`. The numeric error code is exposed directly on\n * {@link errorCode} for comparison against {@link MOBILE_ERROR_CODES}.\n */\nexport class MobileServerFailureError extends Error {\n /**\n * HTTP status code of the response, e.g. `404` for `PROFILE_NOT_FOUND`. Unlike the engine, the mobile\n * backend maps domain failures onto HTTP statuses.\n */\n readonly httpStatus: number;\n /**\n * Numeric mobile service API error code, see {@link MOBILE_ERROR_CODES}.\n */\n readonly errorCode: number;\n /**\n * The request type that failed, e.g. `public_query_profile`, `execute_claim_username`.\n */\n readonly requestType: MobileServerRequestType;\n\n constructor(\n readonly responseData: MobileServerFailureResponse,\n httpStatus: number,\n ) {\n super(`${responseData.error_code}: ${responseData.error}`);\n this.name = 'MobileServerFailureError';\n this.httpStatus = httpStatus;\n this.errorCode = responseData.error_code;\n this.requestType = responseData.request_type;\n }\n}\n"],"mappings":";;;;;;AAUA,IAAa,2BAAb,cAA8C,MAAM;CAelD,YACE,cACA,YACA;EACA,MAAM,GAAG,aAAa,WAAW,IAAI,aAAa,OAAO;EAHhD,KAAA,eAAA;EAIT,KAAK,OAAO;EACZ,KAAK,aAAa;EAClB,KAAK,YAAY,aAAa;EAC9B,KAAK,cAAc,aAAa;CAClC;AACF"}
1
+ {"version":3,"file":"MobileServerFailureError.js","names":[],"sources":["../../src/types/MobileServerFailureError.ts"],"sourcesContent":["import { BaseServerFailureError } from '@nadohq/shared';\nimport { MobileServerFailureResponse } from './serverBaseTypes';\nimport { MobileServerRequestType } from './serverRequestTypes';\n\n/**\n * Error thrown when the mobile service API returns a failure envelope, either as a non-2xx HTTP response\n * or a 2xx response with `status: 'failure'`. The numeric error code is exposed directly on\n * {@link BaseServerFailureError.errorCode} for comparison against {@link MOBILE_ERROR_CODES}.\n */\nexport class MobileServerFailureError extends BaseServerFailureError {\n declare readonly responseData: MobileServerFailureResponse;\n declare readonly requestType: MobileServerRequestType;\n\n /**\n * HTTP status code of the response, e.g. `404` for `PROFILE_NOT_FOUND`. Unlike the engine, the mobile\n * backend maps domain failures onto HTTP statuses.\n */\n readonly httpStatus: number;\n\n constructor(responseData: MobileServerFailureResponse, httpStatus: number) {\n super(responseData, 'MobileServerFailureError');\n this.httpStatus = httpStatus;\n }\n}\n"],"mappings":";;;;;;;AASA,IAAa,2BAAb,cAA8C,uBAAuB;CAUnE,YAAY,cAA2C,YAAoB;EACzE,MAAM,cAAc,0BAA0B;EAC9C,KAAK,aAAa;CACpB;AACF"}
@@ -1,2 +1,2 @@
1
- import { _ as MobileUpdateNotificationPreferencesParams, a as GetMobileUsernameAvailabilityParams, c as MobileNotificationCategoryPreference, d as MobilePublicProfile, f as MobileRegisterExpoTokenParams, g as MobileUnregisterExpoTokenParams, h as MobileSignedRequestParams, i as GetMobileSelfIdentityParams, l as MobileNotificationPreferenceScope, m as MobileSetPrivateModeParams, n as GetMobilePublicProfileParams, o as MobileClaimUsernameParams, p as MobileRegisteredDevice, r as GetMobileRegisteredDevicesParams, s as MobileIdentity, t as GetMobileNotificationPreferencesParams, u as MobileNotificationPreferences, v as MobileUpdateUsernameParams, y as MobileUsernameAvailability } from "../clientTypes-Et0PUa2d.cjs";
2
- export { GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredDevicesParams, GetMobileSelfIdentityParams, GetMobileUsernameAvailabilityParams, MobileClaimUsernameParams, MobileIdentity, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredDevice, MobileSetPrivateModeParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateUsernameParams, MobileUsernameAvailability };
1
+ import { C as MobileUsernameAvailability, S as MobileUpdateUsernameParams, _ as MobileRegisteredDevice, a as GetMobileSelfIdentityParams, b as MobileUnregisterExpoTokenParams, c as MobileFeedMargin, d as MobileIdentity, f as MobileNotificationCategoryPreference, g as MobileRegisterExpoTokenParams, h as MobilePublicProfile, i as GetMobileRegisteredDevicesParams, l as MobileFeedPage, m as MobileNotificationPreferences, n as GetMobileNotificationPreferencesParams, o as GetMobileUsernameAvailabilityParams, p as MobileNotificationPreferenceScope, r as GetMobilePublicProfileParams, s as MobileClaimUsernameParams, t as GetMobileFeedParams, u as MobileFeedTrade, v as MobileSetPrivateModeParams, x as MobileUpdateNotificationPreferencesParams, y as MobileSignedRequestParams } from "../clientTypes-UFInIAQd.cjs";
2
+ export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredDevicesParams, GetMobileSelfIdentityParams, GetMobileUsernameAvailabilityParams, MobileClaimUsernameParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileIdentity, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredDevice, MobileSetPrivateModeParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateUsernameParams, MobileUsernameAvailability };
@@ -1,2 +1,2 @@
1
- import { _ as MobileUpdateNotificationPreferencesParams, a as GetMobileUsernameAvailabilityParams, c as MobileNotificationCategoryPreference, d as MobilePublicProfile, f as MobileRegisterExpoTokenParams, g as MobileUnregisterExpoTokenParams, h as MobileSignedRequestParams, i as GetMobileSelfIdentityParams, l as MobileNotificationPreferenceScope, m as MobileSetPrivateModeParams, n as GetMobilePublicProfileParams, o as MobileClaimUsernameParams, p as MobileRegisteredDevice, r as GetMobileRegisteredDevicesParams, s as MobileIdentity, t as GetMobileNotificationPreferencesParams, u as MobileNotificationPreferences, v as MobileUpdateUsernameParams, y as MobileUsernameAvailability } from "../clientTypes-DWW2N66c.js";
2
- export { GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredDevicesParams, GetMobileSelfIdentityParams, GetMobileUsernameAvailabilityParams, MobileClaimUsernameParams, MobileIdentity, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredDevice, MobileSetPrivateModeParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateUsernameParams, MobileUsernameAvailability };
1
+ import { C as MobileUsernameAvailability, S as MobileUpdateUsernameParams, _ as MobileRegisteredDevice, a as GetMobileSelfIdentityParams, b as MobileUnregisterExpoTokenParams, c as MobileFeedMargin, d as MobileIdentity, f as MobileNotificationCategoryPreference, g as MobileRegisterExpoTokenParams, h as MobilePublicProfile, i as GetMobileRegisteredDevicesParams, l as MobileFeedPage, m as MobileNotificationPreferences, n as GetMobileNotificationPreferencesParams, o as GetMobileUsernameAvailabilityParams, p as MobileNotificationPreferenceScope, r as GetMobilePublicProfileParams, s as MobileClaimUsernameParams, t as GetMobileFeedParams, u as MobileFeedTrade, v as MobileSetPrivateModeParams, x as MobileUpdateNotificationPreferencesParams, y as MobileSignedRequestParams } from "../clientTypes-BsOps_pY.js";
2
+ export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredDevicesParams, GetMobileSelfIdentityParams, GetMobileUsernameAvailabilityParams, MobileClaimUsernameParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileIdentity, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredDevice, MobileSetPrivateModeParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateUsernameParams, MobileUsernameAvailability };
@@ -1,5 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_types_MobileServerFailureError = require("./MobileServerFailureError.cjs");
3
3
  const require_types_mobileErrorCodes = require("./mobileErrorCodes.cjs");
4
+ const require_types_serverModelTypes = require("./serverModelTypes.cjs");
4
5
  exports.MOBILE_ERROR_CODES = require_types_mobileErrorCodes.MOBILE_ERROR_CODES;
6
+ exports.MOBILE_FEED_MARGIN_MODES = require_types_serverModelTypes.MOBILE_FEED_MARGIN_MODES;
7
+ exports.MOBILE_FEED_TRADE_POSITION_DIRECTIONS = require_types_serverModelTypes.MOBILE_FEED_TRADE_POSITION_DIRECTIONS;
8
+ exports.MOBILE_FEED_TRADE_POSITION_EFFECTS = require_types_serverModelTypes.MOBILE_FEED_TRADE_POSITION_EFFECTS;
5
9
  exports.MobileServerFailureError = require_types_MobileServerFailureError.MobileServerFailureError;
@@ -1,8 +1,9 @@
1
- import { a as MobileServerNotificationPreferenceScope, c as MobileServerRegisteredDevice, i as MobileServerNotificationCategoryPreference, n as MobileNotificationPlatform, o as MobileServerNotificationPreferences, r as MobileServerIdentity, s as MobileServerProfile, t as MobileNotificationCategory } from "../serverModelTypes-CQgfqgW3.cjs";
2
- import { _ as MobileUpdateNotificationPreferencesParams, a as GetMobileUsernameAvailabilityParams, c as MobileNotificationCategoryPreference, d as MobilePublicProfile, f as MobileRegisterExpoTokenParams, g as MobileUnregisterExpoTokenParams, h as MobileSignedRequestParams, i as GetMobileSelfIdentityParams, l as MobileNotificationPreferenceScope, m as MobileSetPrivateModeParams, n as GetMobilePublicProfileParams, o as MobileClaimUsernameParams, p as MobileRegisteredDevice, r as GetMobileRegisteredDevicesParams, s as MobileIdentity, t as GetMobileNotificationPreferencesParams, u as MobileNotificationPreferences, v as MobileUpdateUsernameParams, y as MobileUsernameAvailability } from "../clientTypes-Et0PUa2d.cjs";
3
- import { a as MobileServerSuccessResponse, i as MobileServerRequestType, n as MobileServerPublicQueryParamsByType, r as MobileServerPublicQueryType, t as MobileServerFailureResponse } from "../serverBaseTypes-BicXMrZV.cjs";
4
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-BeyBKmwh.cjs";
5
- import { t as MobileServerFailureError } from "../MobileServerFailureError-BfdqvDBi.cjs";
6
- import { t as MobileServerExecuteResult } from "../serverExecuteTypes-DKYK1V7C.cjs";
7
- import { a as MobileServerRegisteredDevicesResponse, c as MobileServerUsernameAvailabilityResponse, i as MobileServerPublicQueryRequest, n as MobileServerProfileRequest, o as MobileServerSelfIdentityResponse, r as MobileServerProfileResponse, s as MobileServerUsernameAvailabilityRequest, t as MobileServerNotificationPreferencesResponse } from "../serverQueryTypes-D7Yharse.cjs";
8
- export { GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredDevicesParams, GetMobileSelfIdentityParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MobileClaimUsernameParams, MobileErrorCode, MobileIdentity, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredDevice, MobileServerExecuteResult, MobileServerFailureError, MobileServerFailureResponse, MobileServerIdentity, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfileRequest, MobileServerProfileResponse, MobileServerPublicQueryParamsByType, MobileServerPublicQueryRequest, MobileServerPublicQueryType, MobileServerRegisteredDevice, MobileServerRegisteredDevicesResponse, MobileServerRequestType, MobileServerSelfIdentityResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityRequest, MobileServerUsernameAvailabilityResponse, MobileSetPrivateModeParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateUsernameParams, MobileUsernameAvailability };
1
+ import { _ as MobileServerRegisteredDevice, a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as MobileServerIdentity, g as MobileServerProfile, h as MobileServerNotificationPreferences, i as MobileFeedMarginMode, l as MobileNotificationPlatform, m as MobileServerNotificationPreferenceScope, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, o as MobileFeedTradePositionDirection, p as MobileServerNotificationCategoryPreference, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, u as MobileServerFeedMargin } from "../serverModelTypes-CPZUvVil.cjs";
2
+ import { C as MobileUsernameAvailability, S as MobileUpdateUsernameParams, _ as MobileRegisteredDevice, a as GetMobileSelfIdentityParams, b as MobileUnregisterExpoTokenParams, c as MobileFeedMargin, d as MobileIdentity, f as MobileNotificationCategoryPreference, g as MobileRegisterExpoTokenParams, h as MobilePublicProfile, i as GetMobileRegisteredDevicesParams, l as MobileFeedPage, m as MobileNotificationPreferences, n as GetMobileNotificationPreferencesParams, o as GetMobileUsernameAvailabilityParams, p as MobileNotificationPreferenceScope, r as GetMobilePublicProfileParams, s as MobileClaimUsernameParams, t as GetMobileFeedParams, u as MobileFeedTrade, v as MobileSetPrivateModeParams, x as MobileUpdateNotificationPreferencesParams, y as MobileSignedRequestParams } from "../clientTypes-UFInIAQd.cjs";
3
+ import { a as MobileServerSignedQueryRequestByType, i as MobileServerRequestType, n as MobileServerPublicQueryRequestByType, o as MobileServerSignedQueryRequestType, r as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType } from "../serverRequestTypes-DnU_FfMI.cjs";
4
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-A16onlPN.cjs";
5
+ import { a as MobileServerPublicQueryResponseByType, c as MobileServerSelfIdentityResponse, d as MobileServerUsernameAvailabilityResponse, i as MobileServerPublicQueryRequest, l as MobileServerSignedQueryResponseByType, n as MobileServerNotificationPreferencesResponse, o as MobileServerPublicQuerySuccessResponse, r as MobileServerProfileResponse, s as MobileServerRegisteredDevicesResponse, t as MobileServerFeedResponse, u as MobileServerSignedQuerySuccessResponse } from "../serverQueryTypes-C_cCx0Ac.cjs";
6
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-Cj84nBnT.cjs";
7
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-B11rr9O5.cjs";
8
+ import { t as MobileServerExecuteResult } from "../serverExecuteTypes-C-bioiuQ.cjs";
9
+ export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredDevicesParams, GetMobileSelfIdentityParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileClaimUsernameParams, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileIdentity, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredDevice, MobileServerExecuteRequestType, MobileServerExecuteResult, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerIdentity, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfileResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredDevice, MobileServerRegisteredDevicesResponse, MobileServerRequestType, MobileServerSelfIdentityResponse, MobileServerSignedQueryRequestByType, MobileServerSignedQueryRequestType, MobileServerSignedQueryResponseByType, MobileServerSignedQuerySuccessResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetPrivateModeParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateUsernameParams, MobileUsernameAvailability };
@@ -1,8 +1,9 @@
1
- import { a as MobileServerNotificationPreferenceScope, c as MobileServerRegisteredDevice, i as MobileServerNotificationCategoryPreference, n as MobileNotificationPlatform, o as MobileServerNotificationPreferences, r as MobileServerIdentity, s as MobileServerProfile, t as MobileNotificationCategory } from "../serverModelTypes-vEPhHIit.js";
2
- import { _ as MobileUpdateNotificationPreferencesParams, a as GetMobileUsernameAvailabilityParams, c as MobileNotificationCategoryPreference, d as MobilePublicProfile, f as MobileRegisterExpoTokenParams, g as MobileUnregisterExpoTokenParams, h as MobileSignedRequestParams, i as GetMobileSelfIdentityParams, l as MobileNotificationPreferenceScope, m as MobileSetPrivateModeParams, n as GetMobilePublicProfileParams, o as MobileClaimUsernameParams, p as MobileRegisteredDevice, r as GetMobileRegisteredDevicesParams, s as MobileIdentity, t as GetMobileNotificationPreferencesParams, u as MobileNotificationPreferences, v as MobileUpdateUsernameParams, y as MobileUsernameAvailability } from "../clientTypes-DWW2N66c.js";
3
- import { a as MobileServerSuccessResponse, i as MobileServerRequestType, n as MobileServerPublicQueryParamsByType, r as MobileServerPublicQueryType, t as MobileServerFailureResponse } from "../serverBaseTypes-ewbo8l4R.js";
4
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-QG5XbEY6.js";
5
- import { t as MobileServerFailureError } from "../MobileServerFailureError-DUXjO_3w.js";
6
- import { t as MobileServerExecuteResult } from "../serverExecuteTypes-CXnMjKnt.js";
7
- import { a as MobileServerRegisteredDevicesResponse, c as MobileServerUsernameAvailabilityResponse, i as MobileServerPublicQueryRequest, n as MobileServerProfileRequest, o as MobileServerSelfIdentityResponse, r as MobileServerProfileResponse, s as MobileServerUsernameAvailabilityRequest, t as MobileServerNotificationPreferencesResponse } from "../serverQueryTypes-BI-2TD8F.js";
8
- export { GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredDevicesParams, GetMobileSelfIdentityParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MobileClaimUsernameParams, MobileErrorCode, MobileIdentity, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredDevice, MobileServerExecuteResult, MobileServerFailureError, MobileServerFailureResponse, MobileServerIdentity, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfileRequest, MobileServerProfileResponse, MobileServerPublicQueryParamsByType, MobileServerPublicQueryRequest, MobileServerPublicQueryType, MobileServerRegisteredDevice, MobileServerRegisteredDevicesResponse, MobileServerRequestType, MobileServerSelfIdentityResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityRequest, MobileServerUsernameAvailabilityResponse, MobileSetPrivateModeParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateUsernameParams, MobileUsernameAvailability };
1
+ import { _ as MobileServerRegisteredDevice, a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as MobileServerIdentity, g as MobileServerProfile, h as MobileServerNotificationPreferences, i as MobileFeedMarginMode, l as MobileNotificationPlatform, m as MobileServerNotificationPreferenceScope, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, o as MobileFeedTradePositionDirection, p as MobileServerNotificationCategoryPreference, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, u as MobileServerFeedMargin } from "../serverModelTypes-CqnqHY5F.js";
2
+ import { C as MobileUsernameAvailability, S as MobileUpdateUsernameParams, _ as MobileRegisteredDevice, a as GetMobileSelfIdentityParams, b as MobileUnregisterExpoTokenParams, c as MobileFeedMargin, d as MobileIdentity, f as MobileNotificationCategoryPreference, g as MobileRegisterExpoTokenParams, h as MobilePublicProfile, i as GetMobileRegisteredDevicesParams, l as MobileFeedPage, m as MobileNotificationPreferences, n as GetMobileNotificationPreferencesParams, o as GetMobileUsernameAvailabilityParams, p as MobileNotificationPreferenceScope, r as GetMobilePublicProfileParams, s as MobileClaimUsernameParams, t as GetMobileFeedParams, u as MobileFeedTrade, v as MobileSetPrivateModeParams, x as MobileUpdateNotificationPreferencesParams, y as MobileSignedRequestParams } from "../clientTypes-BsOps_pY.js";
3
+ import { a as MobileServerSignedQueryRequestByType, i as MobileServerRequestType, n as MobileServerPublicQueryRequestByType, o as MobileServerSignedQueryRequestType, r as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType } from "../serverRequestTypes-DQDy3K9O.js";
4
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-m3zEi0X9.js";
5
+ import { a as MobileServerPublicQueryResponseByType, c as MobileServerSelfIdentityResponse, d as MobileServerUsernameAvailabilityResponse, i as MobileServerPublicQueryRequest, l as MobileServerSignedQueryResponseByType, n as MobileServerNotificationPreferencesResponse, o as MobileServerPublicQuerySuccessResponse, r as MobileServerProfileResponse, s as MobileServerRegisteredDevicesResponse, t as MobileServerFeedResponse, u as MobileServerSignedQuerySuccessResponse } from "../serverQueryTypes-CJLWWZBs.js";
6
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-Czmigq9x.js";
7
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-DoIvXqYV.js";
8
+ import { t as MobileServerExecuteResult } from "../serverExecuteTypes-DfzWOeIx.js";
9
+ export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredDevicesParams, GetMobileSelfIdentityParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileClaimUsernameParams, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileIdentity, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredDevice, MobileServerExecuteRequestType, MobileServerExecuteResult, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerIdentity, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfileResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredDevice, MobileServerRegisteredDevicesResponse, MobileServerRequestType, MobileServerSelfIdentityResponse, MobileServerSignedQueryRequestByType, MobileServerSignedQueryRequestType, MobileServerSignedQueryResponseByType, MobileServerSignedQuerySuccessResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetPrivateModeParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateUsernameParams, MobileUsernameAvailability };
@@ -1,3 +1,4 @@
1
1
  import { MobileServerFailureError } from "./MobileServerFailureError.js";
2
2
  import { MOBILE_ERROR_CODES } from "./mobileErrorCodes.js";
3
- export { MOBILE_ERROR_CODES, MobileServerFailureError };
3
+ import { MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS } from "./serverModelTypes.js";
4
+ export { MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileServerFailureError };
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../MobileClient-9JSAzblH.cjs");
2
+ require("../MobileClient-CfDtaEeL.cjs");
3
3
  //#region src/types/mobileErrorCodes.ts
4
4
  /**
5
- * Numeric error codes returned by the mobile service API. Identity codes (61xx) and notification codes
6
- * (62xx) are mobile-specific; the remaining codes are shared cross-service codes from the backend's common
7
- * error enum, inlined via spread from {@link NADO_ERROR_CODES}.
5
+ * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),
6
+ * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the
7
+ * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.
8
8
  */
9
9
  const MOBILE_ERROR_CODES = {
10
10
  ...require("@nadohq/shared").NADO_ERROR_CODES,
@@ -17,7 +17,11 @@ const MOBILE_ERROR_CODES = {
17
17
  PROFILE_NOT_FOUND: 6106,
18
18
  INVALID_EXPO_TOKEN: 6200,
19
19
  INVALID_DEVICE_METADATA: 6201,
20
- INVALID_PREFERENCES: 6202
20
+ INVALID_PREFERENCES: 6202,
21
+ /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */
22
+ INVALID_FEED_FILTER: 6300,
23
+ /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */
24
+ INVALID_FEED_CURSOR: 6301
21
25
  };
22
26
  //#endregion
23
27
  exports.MOBILE_ERROR_CODES = MOBILE_ERROR_CODES;
@@ -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) and notification codes\n * (62xx) are mobile-specific; the remaining codes are shared cross-service codes from the backend's common\n * 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 IDENTITY_ALREADY_CLAIMED: 6102,\n IDENTITY_REQUIRED: 6103,\n INVALID_IDENTITY_TARGET: 6104,\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\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,0BAA0B;CAC1B,mBAAmB;CACnB,yBAAyB;CACzB,uBAAuB;CACvB,mBAAmB;CACnB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;AACvB"}
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 IDENTITY_ALREADY_CLAIMED: 6102,\n IDENTITY_REQUIRED: 6103,\n INVALID_IDENTITY_TARGET: 6104,\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\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} 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,0BAA0B;CAC1B,mBAAmB;CACnB,yBAAyB;CACzB,uBAAuB;CACvB,mBAAmB;CACnB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,qBAAqB;;CAErB,qBAAqB;AACvB"}
@@ -1,2 +1,2 @@
1
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-BeyBKmwh.cjs";
1
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-Cj84nBnT.cjs";
2
2
  export { MOBILE_ERROR_CODES, MobileErrorCode };
@@ -1,2 +1,2 @@
1
- import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-QG5XbEY6.js";
1
+ import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-Czmigq9x.js";
2
2
  export { MOBILE_ERROR_CODES, MobileErrorCode };
@@ -1,9 +1,9 @@
1
1
  import { NADO_ERROR_CODES } from "@nadohq/shared";
2
2
  //#region src/types/mobileErrorCodes.ts
3
3
  /**
4
- * Numeric error codes returned by the mobile service API. Identity codes (61xx) and notification codes
5
- * (62xx) are mobile-specific; the remaining codes are shared cross-service codes from the backend's common
6
- * error enum, inlined via spread from {@link NADO_ERROR_CODES}.
4
+ * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),
5
+ * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the
6
+ * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.
7
7
  */
8
8
  const MOBILE_ERROR_CODES = {
9
9
  ...NADO_ERROR_CODES,
@@ -16,7 +16,11 @@ const MOBILE_ERROR_CODES = {
16
16
  PROFILE_NOT_FOUND: 6106,
17
17
  INVALID_EXPO_TOKEN: 6200,
18
18
  INVALID_DEVICE_METADATA: 6201,
19
- INVALID_PREFERENCES: 6202
19
+ INVALID_PREFERENCES: 6202,
20
+ /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */
21
+ INVALID_FEED_FILTER: 6300,
22
+ /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */
23
+ INVALID_FEED_CURSOR: 6301
20
24
  };
21
25
  //#endregion
22
26
  export { MOBILE_ERROR_CODES };
@@ -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) and notification codes\n * (62xx) are mobile-specific; the remaining codes are shared cross-service codes from the backend's common\n * 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 IDENTITY_ALREADY_CLAIMED: 6102,\n IDENTITY_REQUIRED: 6103,\n INVALID_IDENTITY_TARGET: 6104,\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\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,0BAA0B;CAC1B,mBAAmB;CACnB,yBAAyB;CACzB,uBAAuB;CACvB,mBAAmB;CACnB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;AACvB"}
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 IDENTITY_ALREADY_CLAIMED: 6102,\n IDENTITY_REQUIRED: 6103,\n INVALID_IDENTITY_TARGET: 6104,\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\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} 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,0BAA0B;CAC1B,mBAAmB;CACnB,yBAAyB;CACzB,uBAAuB;CACvB,mBAAmB;CACnB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,qBAAqB;;CAErB,qBAAqB;AACvB"}
@@ -1,2 +1,2 @@
1
- import { a as MobileServerSuccessResponse, i as MobileServerRequestType, n as MobileServerPublicQueryParamsByType, r as MobileServerPublicQueryType, t as MobileServerFailureResponse } from "../serverBaseTypes-BicXMrZV.cjs";
2
- export { MobileServerFailureResponse, MobileServerPublicQueryParamsByType, MobileServerPublicQueryType, MobileServerRequestType, MobileServerSuccessResponse };
1
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-A16onlPN.cjs";
2
+ export { MobileServerFailureResponse, MobileServerSuccessResponse };
@@ -1,2 +1,2 @@
1
- import { a as MobileServerSuccessResponse, i as MobileServerRequestType, n as MobileServerPublicQueryParamsByType, r as MobileServerPublicQueryType, t as MobileServerFailureResponse } from "../serverBaseTypes-ewbo8l4R.js";
2
- export { MobileServerFailureResponse, MobileServerPublicQueryParamsByType, MobileServerPublicQueryType, MobileServerRequestType, MobileServerSuccessResponse };
1
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-m3zEi0X9.js";
2
+ export { MobileServerFailureResponse, MobileServerSuccessResponse };
@@ -1,2 +1,2 @@
1
- import { t as MobileServerExecuteResult } from "../serverExecuteTypes-DKYK1V7C.cjs";
1
+ import { t as MobileServerExecuteResult } from "../serverExecuteTypes-C-bioiuQ.cjs";
2
2
  export { MobileServerExecuteResult };
@@ -1,2 +1,2 @@
1
- import { t as MobileServerExecuteResult } from "../serverExecuteTypes-CXnMjKnt.js";
1
+ import { t as MobileServerExecuteResult } from "../serverExecuteTypes-DfzWOeIx.js";
2
2
  export { MobileServerExecuteResult };