@nadohq/mobile-client 0.37.0 → 0.38.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 (147) hide show
  1. package/README.md +10 -10
  2. package/dist/{MobileClient-C9S_o_eC.cjs → MobileClient-wjTrqP9z.cjs} +36 -43
  3. package/dist/MobileClient-wjTrqP9z.cjs.map +1 -0
  4. package/dist/MobileClient.cjs +1 -1
  5. package/dist/MobileClient.d.cts +29 -31
  6. package/dist/MobileClient.d.cts.map +1 -1
  7. package/dist/MobileClient.d.ts +29 -31
  8. package/dist/MobileClient.d.ts.map +1 -1
  9. package/dist/MobileClient.js +36 -43
  10. package/dist/MobileClient.js.map +1 -1
  11. package/dist/{MobileServerFailureError-CVK3aLOi.d.cts → MobileServerFailureError-BvQYrxjx.d.cts} +3 -3
  12. package/dist/{MobileServerFailureError-CVK3aLOi.d.cts.map → MobileServerFailureError-BvQYrxjx.d.cts.map} +1 -1
  13. package/dist/{MobileServerFailureError-D-76n3pS.d.ts → MobileServerFailureError-CrNpL_L4.d.ts} +3 -3
  14. package/dist/{MobileServerFailureError-D-76n3pS.d.ts.map → MobileServerFailureError-CrNpL_L4.d.ts.map} +1 -1
  15. package/dist/{buildSignedMobileRequest-42meR4yV.d.ts → buildSignedMobileRequest-BqLRFLKV.d.ts} +2 -2
  16. package/dist/{buildSignedMobileRequest-42meR4yV.d.ts.map → buildSignedMobileRequest-BqLRFLKV.d.ts.map} +1 -1
  17. package/dist/{buildSignedMobileRequest-BDxji7Vy.d.cts → buildSignedMobileRequest-DkkwEqIu.d.cts} +2 -2
  18. package/dist/{buildSignedMobileRequest-BDxji7Vy.d.cts.map → buildSignedMobileRequest-DkkwEqIu.d.cts.map} +1 -1
  19. package/dist/{canonicalize-BebHhHcF.d.ts → canonicalize-BRhCpYm1.d.ts} +2 -2
  20. package/dist/canonicalize-BRhCpYm1.d.ts.map +1 -0
  21. package/dist/{canonicalize-CIDJLLgg.d.cts → canonicalize-DtpaaA2B.d.cts} +2 -2
  22. package/dist/canonicalize-DtpaaA2B.d.cts.map +1 -0
  23. package/dist/{clientTypes-2I3x4TTt.d.ts → clientTypes-CB_itU4Z.d.ts} +26 -21
  24. package/dist/clientTypes-CB_itU4Z.d.ts.map +1 -0
  25. package/dist/{clientTypes-tLld8E6J.d.cts → clientTypes-CceWsQzi.d.cts} +26 -21
  26. package/dist/clientTypes-CceWsQzi.d.cts.map +1 -0
  27. package/dist/dataMappers.cjs +16 -2
  28. package/dist/dataMappers.cjs.map +1 -1
  29. package/dist/dataMappers.d.cts +13 -7
  30. package/dist/dataMappers.d.cts.map +1 -1
  31. package/dist/dataMappers.d.ts +13 -7
  32. package/dist/dataMappers.d.ts.map +1 -1
  33. package/dist/dataMappers.js +15 -2
  34. package/dist/dataMappers.js.map +1 -1
  35. package/dist/{eip712MethodByType-2-vyN5SU.d.cts → eip712MethodByType-1xUkvTIp.d.cts} +2 -2
  36. package/dist/eip712MethodByType-1xUkvTIp.d.cts.map +1 -0
  37. package/dist/{eip712MethodByType-CAVpvZoS.d.ts → eip712MethodByType-CrqBJIrp.d.ts} +2 -2
  38. package/dist/eip712MethodByType-CrqBJIrp.d.ts.map +1 -0
  39. package/dist/index.cjs +1 -1
  40. package/dist/index.d.cts +14 -14
  41. package/dist/index.d.ts +14 -14
  42. package/dist/{payloadHash-BVPYKdk4.d.cts → payloadHash-CIo8Hkh6.d.cts} +2 -2
  43. package/dist/payloadHash-CIo8Hkh6.d.cts.map +1 -0
  44. package/dist/{payloadHash-DMqE5aMo.d.ts → payloadHash-Cv4WwZCZ.d.ts} +2 -2
  45. package/dist/payloadHash-Cv4WwZCZ.d.ts.map +1 -0
  46. package/dist/{serverBaseTypes-DPB1vEvv.d.ts → serverBaseTypes-C2JGib--.d.ts} +2 -2
  47. package/dist/{serverBaseTypes-DPB1vEvv.d.ts.map → serverBaseTypes-C2JGib--.d.ts.map} +1 -1
  48. package/dist/{serverBaseTypes-BybrVE6L.d.cts → serverBaseTypes-YkCmgmt1.d.cts} +2 -2
  49. package/dist/{serverBaseTypes-BybrVE6L.d.cts.map → serverBaseTypes-YkCmgmt1.d.cts.map} +1 -1
  50. package/dist/{serverExecuteTypes-ih4Xbr3J.d.ts → serverExecuteTypes-C2NoNEwu.d.ts} +3 -3
  51. package/dist/{serverExecuteTypes-ih4Xbr3J.d.ts.map → serverExecuteTypes-C2NoNEwu.d.ts.map} +1 -1
  52. package/dist/{serverExecuteTypes-DoR0InCd.d.cts → serverExecuteTypes-DPZbs9ym.d.cts} +3 -3
  53. package/dist/{serverExecuteTypes-DoR0InCd.d.cts.map → serverExecuteTypes-DPZbs9ym.d.cts.map} +1 -1
  54. package/dist/{serverModelTypes-KSm0CAcF.d.cts → serverModelTypes-CDcRlRtw.d.ts} +8 -5
  55. package/dist/serverModelTypes-CDcRlRtw.d.ts.map +1 -0
  56. package/dist/{serverModelTypes-DV-eARP8.d.ts → serverModelTypes-CUzqFA6x.d.cts} +8 -5
  57. package/dist/serverModelTypes-CUzqFA6x.d.cts.map +1 -0
  58. package/dist/{serverQueryTypes-LygPrZn7.d.ts → serverQueryTypes-B0xI1G39.d.ts} +16 -27
  59. package/dist/serverQueryTypes-B0xI1G39.d.ts.map +1 -0
  60. package/dist/{serverQueryTypes-B9OOpiJB.d.cts → serverQueryTypes-RdcIqRnM.d.cts} +16 -27
  61. package/dist/serverQueryTypes-RdcIqRnM.d.cts.map +1 -0
  62. package/dist/{serverRequestTypes-q4xTJHk0.d.cts → serverRequestTypes-Ddws3yXc.d.cts} +35 -20
  63. package/dist/serverRequestTypes-Ddws3yXc.d.cts.map +1 -0
  64. package/dist/{serverRequestTypes-BDXIPjtw.d.ts → serverRequestTypes-Dv9NR-hQ.d.ts} +35 -20
  65. package/dist/serverRequestTypes-Dv9NR-hQ.d.ts.map +1 -0
  66. package/dist/{serverResponseGuards-BcdkKV30.d.ts → serverResponseGuards-BjIzucYt.d.ts} +2 -2
  67. package/dist/{serverResponseGuards-BcdkKV30.d.ts.map → serverResponseGuards-BjIzucYt.d.ts.map} +1 -1
  68. package/dist/{serverResponseGuards-k6xK1bZ1.d.cts → serverResponseGuards-Dg9WbqBA.d.cts} +2 -2
  69. package/dist/{serverResponseGuards-k6xK1bZ1.d.cts.map → serverResponseGuards-Dg9WbqBA.d.cts.map} +1 -1
  70. package/dist/signing/buildSignedMobileRequest.cjs +1 -1
  71. package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
  72. package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
  73. package/dist/signing/canonicalize.cjs +0 -12
  74. package/dist/signing/canonicalize.cjs.map +1 -1
  75. package/dist/signing/canonicalize.d.cts +1 -1
  76. package/dist/signing/canonicalize.d.ts +1 -1
  77. package/dist/signing/canonicalize.js +0 -12
  78. package/dist/signing/canonicalize.js.map +1 -1
  79. package/dist/signing/eip712MethodByType.cjs +1 -3
  80. package/dist/signing/eip712MethodByType.cjs.map +1 -1
  81. package/dist/signing/eip712MethodByType.d.cts +1 -1
  82. package/dist/signing/eip712MethodByType.d.ts +1 -1
  83. package/dist/signing/eip712MethodByType.js +1 -3
  84. package/dist/signing/eip712MethodByType.js.map +1 -1
  85. package/dist/signing/index.d.cts +5 -5
  86. package/dist/signing/index.d.ts +5 -5
  87. package/dist/signing/payloadHash.cjs +1 -1
  88. package/dist/signing/payloadHash.d.cts +1 -1
  89. package/dist/signing/payloadHash.d.ts +1 -1
  90. package/dist/signing/types.d.cts +1 -1
  91. package/dist/signing/types.d.ts +1 -1
  92. package/dist/types/MobileServerFailureError.cjs +1 -1
  93. package/dist/types/MobileServerFailureError.d.cts +1 -1
  94. package/dist/types/MobileServerFailureError.d.ts +1 -1
  95. package/dist/types/clientTypes.d.cts +2 -2
  96. package/dist/types/clientTypes.d.ts +2 -2
  97. package/dist/types/index.d.cts +8 -8
  98. package/dist/types/index.d.ts +8 -8
  99. package/dist/types/mobileErrorCodes.cjs +1 -1
  100. package/dist/types/serverBaseTypes.d.cts +1 -1
  101. package/dist/types/serverBaseTypes.d.ts +1 -1
  102. package/dist/types/serverExecuteTypes.d.cts +1 -1
  103. package/dist/types/serverExecuteTypes.d.ts +1 -1
  104. package/dist/types/serverModelTypes.cjs.map +1 -1
  105. package/dist/types/serverModelTypes.d.cts +1 -1
  106. package/dist/types/serverModelTypes.d.ts +1 -1
  107. package/dist/types/serverModelTypes.js.map +1 -1
  108. package/dist/types/serverQueryTypes.d.cts +2 -2
  109. package/dist/types/serverQueryTypes.d.ts +2 -2
  110. package/dist/types/serverRequestTypes.d.cts +2 -2
  111. package/dist/types/serverRequestTypes.d.ts +2 -2
  112. package/dist/{types-B8lDIhBP.d.ts → types-BIIvIzG2.d.ts} +3 -13
  113. package/dist/types-BIIvIzG2.d.ts.map +1 -0
  114. package/dist/{types-CClB00EN.d.cts → types-UmYaeq1C.d.cts} +3 -13
  115. package/dist/types-UmYaeq1C.d.cts.map +1 -0
  116. package/dist/utils/index.d.cts +1 -1
  117. package/dist/utils/index.d.ts +1 -1
  118. package/dist/utils/serverResponseGuards.d.cts +1 -1
  119. package/dist/utils/serverResponseGuards.d.ts +1 -1
  120. package/package.json +3 -3
  121. package/src/MobileClient.ts +46 -67
  122. package/src/dataMappers.ts +22 -2
  123. package/src/signing/canonicalize.ts +0 -14
  124. package/src/signing/eip712MethodByType.ts +0 -2
  125. package/src/signing/signing.test.ts +0 -26
  126. package/src/signing/types.ts +0 -16
  127. package/src/types/clientTypes.ts +23 -19
  128. package/src/types/serverModelTypes.ts +7 -4
  129. package/src/types/serverQueryTypes.ts +12 -29
  130. package/src/types/serverRequestTypes.ts +32 -21
  131. package/dist/MobileClient-C9S_o_eC.cjs.map +0 -1
  132. package/dist/canonicalize-BebHhHcF.d.ts.map +0 -1
  133. package/dist/canonicalize-CIDJLLgg.d.cts.map +0 -1
  134. package/dist/clientTypes-2I3x4TTt.d.ts.map +0 -1
  135. package/dist/clientTypes-tLld8E6J.d.cts.map +0 -1
  136. package/dist/eip712MethodByType-2-vyN5SU.d.cts.map +0 -1
  137. package/dist/eip712MethodByType-CAVpvZoS.d.ts.map +0 -1
  138. package/dist/payloadHash-BVPYKdk4.d.cts.map +0 -1
  139. package/dist/payloadHash-DMqE5aMo.d.ts.map +0 -1
  140. package/dist/serverModelTypes-DV-eARP8.d.ts.map +0 -1
  141. package/dist/serverModelTypes-KSm0CAcF.d.cts.map +0 -1
  142. package/dist/serverQueryTypes-B9OOpiJB.d.cts.map +0 -1
  143. package/dist/serverQueryTypes-LygPrZn7.d.ts.map +0 -1
  144. package/dist/serverRequestTypes-BDXIPjtw.d.ts.map +0 -1
  145. package/dist/serverRequestTypes-q4xTJHk0.d.cts.map +0 -1
  146. package/dist/types-B8lDIhBP.d.ts.map +0 -1
  147. package/dist/types-CClB00EN.d.cts.map +0 -1
@@ -1,6 +1,6 @@
1
- import { _ as MobileServerNotificationPreferences, d as MobileServerFeedTrade, f as MobileServerFollowListAccount, l as MobileNotificationPlatform, v as MobileServerProfile } from "./serverModelTypes-KSm0CAcF.cjs";
2
- import { a as MobileServerPublicQueryRequestByType, c as MobileServerSignedQueryRequestType, o as MobileServerPublicQueryRequestType } from "./serverRequestTypes-q4xTJHk0.cjs";
3
- import { n as MobileServerSuccessResponse } from "./serverBaseTypes-BybrVE6L.cjs";
1
+ import { _ as MobileServerNotificationPreferences, d as MobileServerFeedTrade, f as MobileServerFollowListAccount, l as MobileNotificationPlatform, v as MobileServerProfile } from "./serverModelTypes-CUzqFA6x.cjs";
2
+ import { o as MobileServerPublicQueryRequestByType, s as MobileServerPublicQueryRequestType } from "./serverRequestTypes-Ddws3yXc.cjs";
3
+ import { n as MobileServerSuccessResponse } from "./serverBaseTypes-YkCmgmt1.cjs";
4
4
  import { Hex } from "viem";
5
5
 
6
6
  //#region src/types/serverQueryTypes.d.ts
@@ -24,6 +24,15 @@ interface MobileServerUsernameAvailabilityResponse {
24
24
  interface MobileServerProfilesResponse {
25
25
  profiles: MobileServerProfile[];
26
26
  }
27
+ /**
28
+ * Payload of the `followers` and `following` public query success responses. Both list directions share one
29
+ * shape; only the relationship that selected the rows differs.
30
+ */
31
+ interface MobileServerFollowListResponse {
32
+ accounts: MobileServerFollowListAccount[];
33
+ /** `null` means the list is complete. */
34
+ next_cursor: string | null;
35
+ }
27
36
  /**
28
37
  * Payload of the `feed` public query success response.
29
38
  */
@@ -63,6 +72,8 @@ interface MobileServerRegisteredWalletResponse {
63
72
  interface MobileServerPublicQueryResponseByType {
64
73
  username_availability: MobileServerUsernameAvailabilityResponse;
65
74
  profiles: MobileServerProfilesResponse;
75
+ followers: MobileServerFollowListResponse;
76
+ following: MobileServerFollowListResponse;
66
77
  feed: MobileServerFeedResponse;
67
78
  notification_preferences: MobileServerNotificationPreferencesResponse;
68
79
  registered_wallet: MobileServerRegisteredWalletResponse;
@@ -73,28 +84,6 @@ interface MobileServerPublicQueryResponseByType {
73
84
  * mirroring engine's `EngineServerQuerySuccessResponse` (inlined here instead of nested under `data`).
74
85
  */
75
86
  type MobileServerPublicQuerySuccessResponse<T extends MobileServerPublicQueryRequestType = MobileServerPublicQueryRequestType> = MobileServerSuccessResponse & MobileServerPublicQueryResponseByType[T];
76
- /**
77
- * Payload of the `followers` and `following` signed query success responses. Both list directions share one
78
- * shape; only the relationship that selected the rows differs.
79
- */
80
- interface MobileServerFollowListResponse {
81
- accounts: MobileServerFollowListAccount[];
82
- /** `null` means the list is complete. */
83
- next_cursor: string | null;
84
- }
85
- /**
86
- * Success payloads for each signed `query`, keyed by request `type` — the signed counterpart to
87
- * {@link MobileServerPublicQueryResponseByType}.
88
- */
89
- interface MobileServerSignedQueryResponseByType {
90
- followers: MobileServerFollowListResponse;
91
- following: MobileServerFollowListResponse;
92
- }
93
- /**
94
- * Full success response for a signed `query`: the {@link MobileServerSuccessResponse} envelope with the
95
- * query's payload inlined alongside `status`.
96
- */
97
- type MobileServerSignedQuerySuccessResponse<T extends MobileServerSignedQueryRequestType = MobileServerSignedQueryRequestType> = MobileServerSuccessResponse & MobileServerSignedQueryResponseByType[T];
98
87
  //#endregion
99
- export { MobileServerPublicQueryRequest as a, MobileServerRegisteredWalletResponse as c, MobileServerUsernameAvailabilityResponse as d, MobileServerProfilesResponse as i, MobileServerSignedQueryResponseByType as l, MobileServerFollowListResponse as n, MobileServerPublicQueryResponseByType as o, MobileServerNotificationPreferencesResponse as r, MobileServerPublicQuerySuccessResponse as s, MobileServerFeedResponse as t, MobileServerSignedQuerySuccessResponse as u };
100
- //# sourceMappingURL=serverQueryTypes-B9OOpiJB.d.cts.map
88
+ export { MobileServerPublicQueryRequest as a, MobileServerRegisteredWalletResponse as c, MobileServerProfilesResponse as i, MobileServerUsernameAvailabilityResponse as l, MobileServerFollowListResponse as n, MobileServerPublicQueryResponseByType as o, MobileServerNotificationPreferencesResponse as r, MobileServerPublicQuerySuccessResponse as s, MobileServerFeedResponse as t };
89
+ //# sourceMappingURL=serverQueryTypes-RdcIqRnM.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverQueryTypes-RdcIqRnM.d.cts","names":[],"sources":["../src/types/src/types/serverQueryTypes.ts"],"mappings":";;;;;;;;AAiBA;KAAY,8BAAA,WACA,kCAAA,GACR,kCAAA,YAEI,kCAAA;EACJ,IAAA,EAAM,CAAA;AAAA,IACJ,oCAAA,CAAqC,CAAA,IACzC,CAAA;;;;UAKe,wCAAA;EACf,QAAA;EACA,SAAS;AAAA;;;;;UAOM,4BAAA;EACf,QAAA,EAAU,mBAAmB;AAAA;;;;AAf5B;UAsBc,8BAAA;EACf,QAAA,EAAU,6BAA6B;;EAEvC,WAAA;AAAA;AAXF;;;AAAA,UAiBiB,wBAAA;EACf,MAAA,EAAQ,qBAAqB;EAVd;;;;;EAgBf,WAAA;AAAA;;AAbW;AAMb;UAaiB,2CAAA;EACf,WAAA,EAAa,mCAAmC;AAAA;;;;;UAOjC,oCAAA;EACf,MAAA,EAAQ,GAAA;EACR,QAAA,EAAU,0BAA0B;EACpC,MAAA;EACA,WAAA;EACA,wBAAA;EACA,YAAA;AAAA;;;;;;;UASe,qCAAA;EACf,qBAAA,EAAuB,wCAAA;EACvB,QAAA,EAAU,4BAAA;EACV,SAAA,EAAW,8BAAA;EACX,SAAA,EAAW,8BAAA;EACX,IAAA,EAAM,wBAAA;EACN,wBAAA,EAA0B,2CAAA;EAC1B,iBAAA,EAAmB,oCAAA;AAAA;;;;;;KAQT,sCAAA,WACA,kCAAA,GACR,kCAAA,IACA,2BAAA,GAA8B,qCAAA,CAAsC,CAAA"}
@@ -1,5 +1,5 @@
1
- import { _ as MobileServerNotificationPreferences } from "./serverModelTypes-KSm0CAcF.cjs";
2
- import { n as MobileSignedInner } from "./types-CClB00EN.cjs";
1
+ import { _ as MobileServerNotificationPreferences } from "./serverModelTypes-CUzqFA6x.cjs";
2
+ import { n as MobileSignedInner } from "./types-UmYaeq1C.cjs";
3
3
  import { Hex } from "viem";
4
4
 
5
5
  //#region src/types/serverRequestTypes.d.ts
@@ -12,13 +12,31 @@ interface MobileServerProfilesInclude {
12
12
  /** Adds `follower_count` and `following_count` to every entry. Omitted or `false` leaves both absent. */
13
13
  follow_counts?: boolean;
14
14
  /**
15
- * Adds `follow_summary` to every entry, relative to the `view_as` subaccount. Unlike the signed follow
16
- * list reads, `view_as` is an unauthenticated claim on this public route.
15
+ * Adds `follow_summary` to every entry, relative to the `view_as` subaccount. As on every public route,
16
+ * `view_as` is an unauthenticated claim.
17
17
  */
18
18
  follow_summary?: {
19
19
  view_as: Hex;
20
20
  };
21
21
  }
22
+ /**
23
+ * Params shared by the `followers` and `following` public queries: only the relationship that selects the
24
+ * rows differs between the two.
25
+ */
26
+ interface MobileServerFollowListRequest {
27
+ /** The viewed Profile, i.e. the account whose Followers or Following are being listed. */
28
+ subaccount: Hex;
29
+ /**
30
+ * Viewer perspective the rows are resolved against. Omitted asks for no perspective, which drops
31
+ * `is_following` from every row and falls back to plain recency order. Like the `profiles` query's
32
+ * `view_as`, this is an unauthenticated claim on an unsigned route.
33
+ */
34
+ view_as?: Hex;
35
+ /** Opaque keyset cursor from a prior page's `next_cursor`. Omitted requests the first page. */
36
+ cursor?: string;
37
+ /** Page size, 1–50; the backend defaults to 25 when omitted. */
38
+ limit?: number;
39
+ }
22
40
  /**
23
41
  * Params for each unsigned `public_query`, keyed by request `type`.
24
42
  */
@@ -34,6 +52,8 @@ interface MobileServerPublicQueryRequestByType {
34
52
  subaccounts: Hex[];
35
53
  include?: MobileServerProfilesInclude;
36
54
  };
55
+ followers: MobileServerFollowListRequest;
56
+ following: MobileServerFollowListRequest;
37
57
  feed: {
38
58
  /**
39
59
  * Minimum notional as a whole-dollar JSON integer (NOT an x18 string), at least $1,000. Omitted or
@@ -78,24 +98,19 @@ interface MobileServerPublicExecuteRequestByType {
78
98
  */
79
99
  type MobileServerPublicExecuteRequestType = keyof MobileServerPublicExecuteRequestByType;
80
100
  /**
81
- * Discriminant `type` values for signed `query` requests: the read-only subset of {@link MobileSignedInner}
82
- * tags. Unlike the public queries, these carry no separate params map — a signed request body *is* its inner
83
- * payload flattened with the envelope, so {@link MobileSignedInner} is the single source of truth for both
84
- * the fields and their significant order.
85
- */
86
- type MobileServerSignedQueryRequestType = 'followers' | 'following';
87
- /**
88
- * Discriminant `type` values for signed `execute` requests: the write subset of {@link MobileSignedInner}
89
- * tags, i.e. everything that is not a signed query.
101
+ * Discriminant `type` values for signed `execute` requests. Every signed route the SDK calls is a write, so
102
+ * this is the full set of {@link MobileSignedInner} tags. Unlike the public queries these carry no separate
103
+ * params map — a signed request body *is* its inner payload flattened with the envelope, so
104
+ * {@link MobileSignedInner} is the single source of truth for both the fields and their significant order.
90
105
  */
91
- type MobileServerExecuteRequestType = Exclude<MobileSignedInner['type'], MobileServerSignedQueryRequestType>;
106
+ type MobileServerExecuteRequestType = MobileSignedInner['type'];
92
107
  /**
93
108
  * Wire `request_type` the backend echoes on failure envelopes, prefixed by the route that produced it:
94
- * `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, `execute_*` for signed
95
- * writes (e.g. `execute_set_username`), and `query_*` for signed reads (e.g. `query_followers`). The prefix
96
- * names the route, so it never carries the `mobile:` prefix that the EIP-712 method does.
109
+ * `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, and `execute_*` for signed
110
+ * writes (e.g. `execute_set_username`). The prefix names the route, so it never carries the `mobile:` prefix
111
+ * that the EIP-712 method does.
97
112
  */
98
- type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `execute_${MobileServerExecuteRequestType}` | `query_${MobileServerSignedQueryRequestType}`;
113
+ type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `execute_${MobileServerExecuteRequestType}`;
99
114
  //#endregion
100
- export { MobileServerPublicQueryRequestByType as a, MobileServerSignedQueryRequestType as c, MobileServerPublicExecuteRequestType as i, MobileServerProfilesInclude as n, MobileServerPublicQueryRequestType as o, MobileServerPublicExecuteRequestByType as r, MobileServerRequestType as s, MobileServerExecuteRequestType as t };
101
- //# sourceMappingURL=serverRequestTypes-q4xTJHk0.d.cts.map
115
+ export { MobileServerPublicExecuteRequestType as a, MobileServerRequestType as c, MobileServerPublicExecuteRequestByType as i, MobileServerFollowListRequest as n, MobileServerPublicQueryRequestByType as o, MobileServerProfilesInclude as r, MobileServerPublicQueryRequestType as s, MobileServerExecuteRequestType as t };
116
+ //# sourceMappingURL=serverRequestTypes-Ddws3yXc.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverRequestTypes-Ddws3yXc.d.cts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;;;AASA;;;UAAiB,2BAAA;EAEf;EAAA,aAAA;EAKmB;;;AAAY;EAA/B,cAAA;IAAmB,OAAA,EAAS,GAAG;EAAA;AAAA;;;;;UAOhB,6BAAA;EAYf;EAVA,UAAA,EAAY,GAAA;EAUP;AAMP;;;;EAVE,OAAA,GAAU,GAAG;EAoBF;EAlBX,MAAA;EAmBwC;EAjBxC,KAAA;AAAA;;;;UAMe,oCAAA;EACf,qBAAA;IAAyB,YAAA;EAAA;EACzB,QAAA;IASA;;;;IAJE,WAAA,EAAa,GAAA;IACb,OAAA,GAAU,2BAAA;EAAA;EAEZ,SAAA,EAAW,6BAAA;EACX,SAAA,EAAW,6BAAA;EACX,IAAA;IAe+B;AAAA;AAMjC;;IAhBI,gBAAA,WAiBwC;IAfxC,KAAA;IAuBa;;;;IAlBb,MAAA;EAAA;EAEF,wBAAA;IAA4B,UAAA;EAAA;EAC5B,iBAAA;IAAqB,UAAA;EAAA;AAAA;;;;KAMX,kCAAA,SACJ,oCAAoC;AA4B5C;;;;AAA8D;AAQ9D;AARA,UApBiB,sCAAA;EACf,qBAAA;IAAyB,UAAA;EAAA;EACzB,kBAAA;IACE,UAAA;IACA,WAAA,EAAa,mCAAmC;EAAA;AAAA;;;AA2BP;KApBjC,oCAAA,SACJ,sCAAsC;;;;;;;KAQlC,8BAAA,GAAiC,iBAAiB;;;;;;;KAQlD,uBAAA,mBACQ,kCAAA,uBACE,oCAAA,gBACP,8BAAA"}
@@ -1,5 +1,5 @@
1
- import { _ as MobileServerNotificationPreferences } from "./serverModelTypes-DV-eARP8.js";
2
- import { n as MobileSignedInner } from "./types-B8lDIhBP.js";
1
+ import { _ as MobileServerNotificationPreferences } from "./serverModelTypes-CDcRlRtw.js";
2
+ import { n as MobileSignedInner } from "./types-BIIvIzG2.js";
3
3
  import { Hex } from "viem";
4
4
 
5
5
  //#region src/types/serverRequestTypes.d.ts
@@ -12,13 +12,31 @@ interface MobileServerProfilesInclude {
12
12
  /** Adds `follower_count` and `following_count` to every entry. Omitted or `false` leaves both absent. */
13
13
  follow_counts?: boolean;
14
14
  /**
15
- * Adds `follow_summary` to every entry, relative to the `view_as` subaccount. Unlike the signed follow
16
- * list reads, `view_as` is an unauthenticated claim on this public route.
15
+ * Adds `follow_summary` to every entry, relative to the `view_as` subaccount. As on every public route,
16
+ * `view_as` is an unauthenticated claim.
17
17
  */
18
18
  follow_summary?: {
19
19
  view_as: Hex;
20
20
  };
21
21
  }
22
+ /**
23
+ * Params shared by the `followers` and `following` public queries: only the relationship that selects the
24
+ * rows differs between the two.
25
+ */
26
+ interface MobileServerFollowListRequest {
27
+ /** The viewed Profile, i.e. the account whose Followers or Following are being listed. */
28
+ subaccount: Hex;
29
+ /**
30
+ * Viewer perspective the rows are resolved against. Omitted asks for no perspective, which drops
31
+ * `is_following` from every row and falls back to plain recency order. Like the `profiles` query's
32
+ * `view_as`, this is an unauthenticated claim on an unsigned route.
33
+ */
34
+ view_as?: Hex;
35
+ /** Opaque keyset cursor from a prior page's `next_cursor`. Omitted requests the first page. */
36
+ cursor?: string;
37
+ /** Page size, 1–50; the backend defaults to 25 when omitted. */
38
+ limit?: number;
39
+ }
22
40
  /**
23
41
  * Params for each unsigned `public_query`, keyed by request `type`.
24
42
  */
@@ -34,6 +52,8 @@ interface MobileServerPublicQueryRequestByType {
34
52
  subaccounts: Hex[];
35
53
  include?: MobileServerProfilesInclude;
36
54
  };
55
+ followers: MobileServerFollowListRequest;
56
+ following: MobileServerFollowListRequest;
37
57
  feed: {
38
58
  /**
39
59
  * Minimum notional as a whole-dollar JSON integer (NOT an x18 string), at least $1,000. Omitted or
@@ -78,24 +98,19 @@ interface MobileServerPublicExecuteRequestByType {
78
98
  */
79
99
  type MobileServerPublicExecuteRequestType = keyof MobileServerPublicExecuteRequestByType;
80
100
  /**
81
- * Discriminant `type` values for signed `query` requests: the read-only subset of {@link MobileSignedInner}
82
- * tags. Unlike the public queries, these carry no separate params map — a signed request body *is* its inner
83
- * payload flattened with the envelope, so {@link MobileSignedInner} is the single source of truth for both
84
- * the fields and their significant order.
85
- */
86
- type MobileServerSignedQueryRequestType = 'followers' | 'following';
87
- /**
88
- * Discriminant `type` values for signed `execute` requests: the write subset of {@link MobileSignedInner}
89
- * tags, i.e. everything that is not a signed query.
101
+ * Discriminant `type` values for signed `execute` requests. Every signed route the SDK calls is a write, so
102
+ * this is the full set of {@link MobileSignedInner} tags. Unlike the public queries these carry no separate
103
+ * params map — a signed request body *is* its inner payload flattened with the envelope, so
104
+ * {@link MobileSignedInner} is the single source of truth for both the fields and their significant order.
90
105
  */
91
- type MobileServerExecuteRequestType = Exclude<MobileSignedInner['type'], MobileServerSignedQueryRequestType>;
106
+ type MobileServerExecuteRequestType = MobileSignedInner['type'];
92
107
  /**
93
108
  * Wire `request_type` the backend echoes on failure envelopes, prefixed by the route that produced it:
94
- * `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, `execute_*` for signed
95
- * writes (e.g. `execute_set_username`), and `query_*` for signed reads (e.g. `query_followers`). The prefix
96
- * names the route, so it never carries the `mobile:` prefix that the EIP-712 method does.
109
+ * `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, and `execute_*` for signed
110
+ * writes (e.g. `execute_set_username`). The prefix names the route, so it never carries the `mobile:` prefix
111
+ * that the EIP-712 method does.
97
112
  */
98
- type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `execute_${MobileServerExecuteRequestType}` | `query_${MobileServerSignedQueryRequestType}`;
113
+ type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `execute_${MobileServerExecuteRequestType}`;
99
114
  //#endregion
100
- export { MobileServerPublicQueryRequestByType as a, MobileServerSignedQueryRequestType as c, MobileServerPublicExecuteRequestType as i, MobileServerProfilesInclude as n, MobileServerPublicQueryRequestType as o, MobileServerPublicExecuteRequestByType as r, MobileServerRequestType as s, MobileServerExecuteRequestType as t };
101
- //# sourceMappingURL=serverRequestTypes-BDXIPjtw.d.ts.map
115
+ export { MobileServerPublicExecuteRequestType as a, MobileServerRequestType as c, MobileServerPublicExecuteRequestByType as i, MobileServerFollowListRequest as n, MobileServerPublicQueryRequestByType as o, MobileServerProfilesInclude as r, MobileServerPublicQueryRequestType as s, MobileServerExecuteRequestType as t };
116
+ //# sourceMappingURL=serverRequestTypes-Dv9NR-hQ.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverRequestTypes-Dv9NR-hQ.d.ts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;;;AASA;;;UAAiB,2BAAA;EAEf;EAAA,aAAA;EAKmB;;;AAAY;EAA/B,cAAA;IAAmB,OAAA,EAAS,GAAG;EAAA;AAAA;;;;;UAOhB,6BAAA;EAYf;EAVA,UAAA,EAAY,GAAA;EAUP;AAMP;;;;EAVE,OAAA,GAAU,GAAG;EAoBF;EAlBX,MAAA;EAmBwC;EAjBxC,KAAA;AAAA;;;;UAMe,oCAAA;EACf,qBAAA;IAAyB,YAAA;EAAA;EACzB,QAAA;IASA;;;;IAJE,WAAA,EAAa,GAAA;IACb,OAAA,GAAU,2BAAA;EAAA;EAEZ,SAAA,EAAW,6BAAA;EACX,SAAA,EAAW,6BAAA;EACX,IAAA;IAe+B;AAAA;AAMjC;;IAhBI,gBAAA,WAiBwC;IAfxC,KAAA;IAuBa;;;;IAlBb,MAAA;EAAA;EAEF,wBAAA;IAA4B,UAAA;EAAA;EAC5B,iBAAA;IAAqB,UAAA;EAAA;AAAA;;;;KAMX,kCAAA,SACJ,oCAAoC;AA4B5C;;;;AAA8D;AAQ9D;AARA,UApBiB,sCAAA;EACf,qBAAA;IAAyB,UAAA;EAAA;EACzB,kBAAA;IACE,UAAA;IACA,WAAA,EAAa,mCAAmC;EAAA;AAAA;;;AA2BP;KApBjC,oCAAA,SACJ,sCAAsC;;;;;;;KAQlC,8BAAA,GAAiC,iBAAiB;;;;;;;KAQlD,uBAAA,mBACQ,kCAAA,uBACE,oCAAA,gBACP,8BAAA"}
@@ -1,4 +1,4 @@
1
- import { t as MobileServerFailureResponse } from "./serverBaseTypes-DPB1vEvv.js";
1
+ import { t as MobileServerFailureResponse } from "./serverBaseTypes-C2JGib--.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-BcdkKV30.d.ts.map
16
+ //# sourceMappingURL=serverResponseGuards-BjIzucYt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverResponseGuards-BcdkKV30.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-BjIzucYt.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,4 +1,4 @@
1
- import { t as MobileServerFailureResponse } from "./serverBaseTypes-BybrVE6L.cjs";
1
+ import { t as MobileServerFailureResponse } from "./serverBaseTypes-YkCmgmt1.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-k6xK1bZ1.d.cts.map
16
+ //# sourceMappingURL=serverResponseGuards-Dg9WbqBA.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverResponseGuards-k6xK1bZ1.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-Dg9WbqBA.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,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../MobileClient-C9S_o_eC.cjs");
2
+ require("../MobileClient-wjTrqP9z.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-BDxji7Vy.cjs";
1
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DkkwEqIu.cjs";
2
2
  export { buildSignedMobileRequest };
@@ -1,2 +1,2 @@
1
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-42meR4yV.js";
1
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BqLRFLKV.js";
2
2
  export { buildSignedMobileRequest };
@@ -29,18 +29,6 @@ function canonicalizeMobileInner(inner) {
29
29
  subaccount: inner.subaccount,
30
30
  is_following: inner.is_following
31
31
  };
32
- case "followers": return {
33
- type: "followers",
34
- subaccount: inner.subaccount,
35
- cursor: inner.cursor,
36
- limit: inner.limit
37
- };
38
- case "following": return {
39
- type: "following",
40
- subaccount: inner.subaccount,
41
- cursor: inner.cursor,
42
- limit: inner.limit
43
- };
44
32
  default: throw new Error(`canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`);
45
33
  }
46
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"canonicalize.cjs","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case 'register_expo_token':\n return {\n type: 'register_expo_token',\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n };\n case 'set_follow':\n return {\n type: 'set_follow',\n subaccount: inner.subaccount,\n is_following: inner.is_following,\n };\n case 'followers':\n return {\n type: 'followers',\n subaccount: inner.subaccount,\n cursor: inner.cursor,\n limit: inner.limit,\n };\n case 'following':\n return {\n type: 'following',\n subaccount: inner.subaccount,\n cursor: inner.cursor,\n limit: inner.limit,\n };\n default: {\n throw new Error(\n `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,\n );\n }\n }\n}\n"],"mappings":";;;;;;;;;AASA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,gBACH,OAAO;GAAE,MAAM;GAAgB,cAAc,MAAM;EAAa;EAClE,KAAK,oBACH,OAAO;GAAE,MAAM;GAAoB,cAAc,MAAM;EAAa;EACtE,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;EACF,KAAK,cACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,cAAc,MAAM;EACtB;EACF,KAAK,aACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,QAAQ,MAAM;GACd,OAAO,MAAM;EACf;EACF,KAAK,aACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,QAAQ,MAAM;GACd,OAAO,MAAM;EACf;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
1
+ {"version":3,"file":"canonicalize.cjs","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case 'register_expo_token':\n return {\n type: 'register_expo_token',\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n };\n case 'set_follow':\n return {\n type: 'set_follow',\n subaccount: inner.subaccount,\n is_following: inner.is_following,\n };\n default: {\n throw new Error(\n `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,\n );\n }\n }\n}\n"],"mappings":";;;;;;;;;AASA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,gBACH,OAAO;GAAE,MAAM;GAAgB,cAAc,MAAM;EAAa;EAClE,KAAK,oBACH,OAAO;GAAE,MAAM;GAAoB,cAAc,MAAM;EAAa;EACtE,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;EACF,KAAK,cACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,cAAc,MAAM;EACtB;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
@@ -1,2 +1,2 @@
1
- import { t as canonicalizeMobileInner } from "../canonicalize-CIDJLLgg.cjs";
1
+ import { t as canonicalizeMobileInner } from "../canonicalize-DtpaaA2B.cjs";
2
2
  export { canonicalizeMobileInner };
@@ -1,2 +1,2 @@
1
- import { t as canonicalizeMobileInner } from "../canonicalize-BebHhHcF.js";
1
+ import { t as canonicalizeMobileInner } from "../canonicalize-BRhCpYm1.js";
2
2
  export { canonicalizeMobileInner };
@@ -28,18 +28,6 @@ function canonicalizeMobileInner(inner) {
28
28
  subaccount: inner.subaccount,
29
29
  is_following: inner.is_following
30
30
  };
31
- case "followers": return {
32
- type: "followers",
33
- subaccount: inner.subaccount,
34
- cursor: inner.cursor,
35
- limit: inner.limit
36
- };
37
- case "following": return {
38
- type: "following",
39
- subaccount: inner.subaccount,
40
- cursor: inner.cursor,
41
- limit: inner.limit
42
- };
43
31
  default: throw new Error(`canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`);
44
32
  }
45
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"canonicalize.js","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case 'register_expo_token':\n return {\n type: 'register_expo_token',\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n };\n case 'set_follow':\n return {\n type: 'set_follow',\n subaccount: inner.subaccount,\n is_following: inner.is_following,\n };\n case 'followers':\n return {\n type: 'followers',\n subaccount: inner.subaccount,\n cursor: inner.cursor,\n limit: inner.limit,\n };\n case 'following':\n return {\n type: 'following',\n subaccount: inner.subaccount,\n cursor: inner.cursor,\n limit: inner.limit,\n };\n default: {\n throw new Error(\n `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,\n );\n }\n }\n}\n"],"mappings":";;;;;;;;AASA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,gBACH,OAAO;GAAE,MAAM;GAAgB,cAAc,MAAM;EAAa;EAClE,KAAK,oBACH,OAAO;GAAE,MAAM;GAAoB,cAAc,MAAM;EAAa;EACtE,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;EACF,KAAK,cACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,cAAc,MAAM;EACtB;EACF,KAAK,aACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,QAAQ,MAAM;GACd,OAAO,MAAM;EACf;EACF,KAAK,aACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,QAAQ,MAAM;GACd,OAAO,MAAM;EACf;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
1
+ {"version":3,"file":"canonicalize.js","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case 'register_expo_token':\n return {\n type: 'register_expo_token',\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n };\n case 'set_follow':\n return {\n type: 'set_follow',\n subaccount: inner.subaccount,\n is_following: inner.is_following,\n };\n default: {\n throw new Error(\n `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,\n );\n }\n }\n}\n"],"mappings":";;;;;;;;AASA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,gBACH,OAAO;GAAE,MAAM;GAAgB,cAAc,MAAM;EAAa;EAClE,KAAK,oBACH,OAAO;GAAE,MAAM;GAAoB,cAAc,MAAM;EAAa;EACtE,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;EACF,KAAK,cACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,cAAc,MAAM;EACtB;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
@@ -7,9 +7,7 @@ const MOBILE_EIP712_METHOD_BY_TYPE = {
7
7
  set_username: "mobile:execute_set_username",
8
8
  set_private_mode: "mobile:execute_set_private_mode",
9
9
  register_expo_token: "mobile:execute_register_expo_token",
10
- set_follow: "mobile:execute_set_follow",
11
- followers: "mobile:query_followers",
12
- following: "mobile:query_following"
10
+ set_follow: "mobile:execute_set_follow"
13
11
  };
14
12
  //#endregion
15
13
  exports.MOBILE_EIP712_METHOD_BY_TYPE = MOBILE_EIP712_METHOD_BY_TYPE;
@@ -1 +1 @@
1
- {"version":3,"file":"eip712MethodByType.cjs","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n set_follow: 'mobile:execute_set_follow',\n followers: 'mobile:query_followers',\n following: 'mobile:query_following',\n};\n"],"mappings":";;;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,qBAAqB;CACrB,YAAY;CACZ,WAAW;CACX,WAAW;AACb"}
1
+ {"version":3,"file":"eip712MethodByType.cjs","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n set_follow: 'mobile:execute_set_follow',\n};\n"],"mappings":";;;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,qBAAqB;CACrB,YAAY;AACd"}
@@ -1,2 +1,2 @@
1
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-2-vyN5SU.cjs";
1
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-1xUkvTIp.cjs";
2
2
  export { MOBILE_EIP712_METHOD_BY_TYPE };
@@ -1,2 +1,2 @@
1
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-CAVpvZoS.js";
1
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-CrqBJIrp.js";
2
2
  export { MOBILE_EIP712_METHOD_BY_TYPE };
@@ -6,9 +6,7 @@ const MOBILE_EIP712_METHOD_BY_TYPE = {
6
6
  set_username: "mobile:execute_set_username",
7
7
  set_private_mode: "mobile:execute_set_private_mode",
8
8
  register_expo_token: "mobile:execute_register_expo_token",
9
- set_follow: "mobile:execute_set_follow",
10
- followers: "mobile:query_followers",
11
- following: "mobile:query_following"
9
+ set_follow: "mobile:execute_set_follow"
12
10
  };
13
11
  //#endregion
14
12
  export { MOBILE_EIP712_METHOD_BY_TYPE };
@@ -1 +1 @@
1
- {"version":3,"file":"eip712MethodByType.js","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n set_follow: 'mobile:execute_set_follow',\n followers: 'mobile:query_followers',\n following: 'mobile:query_following',\n};\n"],"mappings":";;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,qBAAqB;CACrB,YAAY;CACZ,WAAW;CACX,WAAW;AACb"}
1
+ {"version":3,"file":"eip712MethodByType.js","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n set_follow: 'mobile:execute_set_follow',\n};\n"],"mappings":";;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,qBAAqB;CACrB,YAAY;AACd"}
@@ -1,7 +1,7 @@
1
- import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-CClB00EN.cjs";
2
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BDxji7Vy.cjs";
3
- import { t as canonicalizeMobileInner } from "../canonicalize-CIDJLLgg.cjs";
4
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-2-vyN5SU.cjs";
1
+ import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-UmYaeq1C.cjs";
2
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DkkwEqIu.cjs";
3
+ import { t as canonicalizeMobileInner } from "../canonicalize-DtpaaA2B.cjs";
4
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-1xUkvTIp.cjs";
5
5
  import { t as getMobileNonce } from "../nonce-zGyisRlj.cjs";
6
- import { t as getMobilePayloadHash } from "../payloadHash-BVPYKdk4.cjs";
6
+ import { t as getMobilePayloadHash } from "../payloadHash-CIo8Hkh6.cjs";
7
7
  export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
@@ -1,7 +1,7 @@
1
- import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-B8lDIhBP.js";
2
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-42meR4yV.js";
3
- import { t as canonicalizeMobileInner } from "../canonicalize-BebHhHcF.js";
4
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-CAVpvZoS.js";
1
+ import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-BIIvIzG2.js";
2
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BqLRFLKV.js";
3
+ import { t as canonicalizeMobileInner } from "../canonicalize-BRhCpYm1.js";
4
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-CrqBJIrp.js";
5
5
  import { t as getMobileNonce } from "../nonce-DCOrXXkQ.js";
6
- import { t as getMobilePayloadHash } from "../payloadHash-DMqE5aMo.js";
6
+ import { t as getMobilePayloadHash } from "../payloadHash-Cv4WwZCZ.js";
7
7
  export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../MobileClient-C9S_o_eC.cjs");
2
+ require("../MobileClient-wjTrqP9z.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-BVPYKdk4.cjs";
1
+ import { t as getMobilePayloadHash } from "../payloadHash-CIo8Hkh6.cjs";
2
2
  export { getMobilePayloadHash };
@@ -1,2 +1,2 @@
1
- import { t as getMobilePayloadHash } from "../payloadHash-DMqE5aMo.js";
1
+ import { t as getMobilePayloadHash } from "../payloadHash-Cv4WwZCZ.js";
2
2
  export { getMobilePayloadHash };
@@ -1,2 +1,2 @@
1
- import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-CClB00EN.cjs";
1
+ import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-UmYaeq1C.cjs";
2
2
  export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest };
@@ -1,2 +1,2 @@
1
- import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-B8lDIhBP.js";
1
+ import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-BIIvIzG2.js";
2
2
  export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../MobileClient-C9S_o_eC.cjs");
2
+ require("../MobileClient-wjTrqP9z.cjs");
3
3
  let _nadohq_shared = require("@nadohq/shared");
4
4
  //#region src/types/MobileServerFailureError.ts
5
5
  /**
@@ -1,2 +1,2 @@
1
- import { t as MobileServerFailureError } from "../MobileServerFailureError-CVK3aLOi.cjs";
1
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-BvQYrxjx.cjs";
2
2
  export { MobileServerFailureError };
@@ -1,2 +1,2 @@
1
- import { t as MobileServerFailureError } from "../MobileServerFailureError-D-76n3pS.js";
1
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-CrNpL_L4.js";
2
2
  export { MobileServerFailureError };
@@ -1,2 +1,2 @@
1
- import { A as MobileUpdateNotificationPreferencesParams, C as MobileRegisterExpoTokenParams, D as MobileSetUsernameParams, E as MobileSetPrivateModeParams, M as MobileWithExpoTokenParams, O as MobileSignedRequestParams, S as MobilePublicProfile, T as MobileSetFollowParams, _ as MobileIdentitySummary, a as GetMobileNotificationPreferencesParams, b as MobileNotificationPreferences, c as GetMobileUsernameAvailabilityParams, d as MobileFeedTrade, f as MobileFollowListAccount, g as MobileFollowSummary, h as MobileFollowRequestParams, i as GetMobileFollowingParams, j as MobileUsernameAvailability, k as MobileUnregisterExpoTokenParams, l as MobileFeedMargin, m as MobileFollowMutationResult, n as GetMobileFollowListParams, o as GetMobileProfilesParams, p as MobileFollowListPage, r as GetMobileFollowersParams, s as GetMobileRegisteredWalletParams, t as GetMobileFeedParams, u as MobileFeedPage, v as MobileNotificationCategoryPreference, w as MobileRegisteredWallet, x as MobileProfilesInclude, y as MobileNotificationPreferenceScope } from "../clientTypes-tLld8E6J.cjs";
2
- export { GetMobileFeedParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileNotificationPreferencesParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowRequestParams, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
1
+ import { A as MobileUsernameAvailability, C as MobileRegisteredWallet, D as MobileSignedRequestParams, E as MobileSetUsernameParams, O as MobileUnregisterExpoTokenParams, S as MobileRegisterExpoTokenParams, T as MobileSetPrivateModeParams, _ as MobileNotificationCategoryPreference, a as GetMobileNotificationPreferencesParams, b as MobileProfilesInclude, c as GetMobileUsernameAvailabilityParams, d as MobileFeedTrade, f as MobileFollowListAccount, g as MobileIdentitySummary, h as MobileFollowSummary, i as GetMobileFollowingParams, j as MobileWithExpoTokenParams, k as MobileUpdateNotificationPreferencesParams, l as MobileFeedMargin, m as MobileFollowMutationResult, n as GetMobileFollowListParams, o as GetMobileProfilesParams, p as MobileFollowListPage, r as GetMobileFollowersParams, s as GetMobileRegisteredWalletParams, t as GetMobileFeedParams, u as MobileFeedPage, v as MobileNotificationPreferenceScope, w as MobileSetFollowParams, x as MobilePublicProfile, y as MobileNotificationPreferences } from "../clientTypes-CceWsQzi.cjs";
2
+ export { GetMobileFeedParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileNotificationPreferencesParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
@@ -1,2 +1,2 @@
1
- import { A as MobileUpdateNotificationPreferencesParams, C as MobileRegisterExpoTokenParams, D as MobileSetUsernameParams, E as MobileSetPrivateModeParams, M as MobileWithExpoTokenParams, O as MobileSignedRequestParams, S as MobilePublicProfile, T as MobileSetFollowParams, _ as MobileIdentitySummary, a as GetMobileNotificationPreferencesParams, b as MobileNotificationPreferences, c as GetMobileUsernameAvailabilityParams, d as MobileFeedTrade, f as MobileFollowListAccount, g as MobileFollowSummary, h as MobileFollowRequestParams, i as GetMobileFollowingParams, j as MobileUsernameAvailability, k as MobileUnregisterExpoTokenParams, l as MobileFeedMargin, m as MobileFollowMutationResult, n as GetMobileFollowListParams, o as GetMobileProfilesParams, p as MobileFollowListPage, r as GetMobileFollowersParams, s as GetMobileRegisteredWalletParams, t as GetMobileFeedParams, u as MobileFeedPage, v as MobileNotificationCategoryPreference, w as MobileRegisteredWallet, x as MobileProfilesInclude, y as MobileNotificationPreferenceScope } from "../clientTypes-2I3x4TTt.js";
2
- export { GetMobileFeedParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileNotificationPreferencesParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowRequestParams, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
1
+ import { A as MobileUsernameAvailability, C as MobileRegisteredWallet, D as MobileSignedRequestParams, E as MobileSetUsernameParams, O as MobileUnregisterExpoTokenParams, S as MobileRegisterExpoTokenParams, T as MobileSetPrivateModeParams, _ as MobileNotificationCategoryPreference, a as GetMobileNotificationPreferencesParams, b as MobileProfilesInclude, c as GetMobileUsernameAvailabilityParams, d as MobileFeedTrade, f as MobileFollowListAccount, g as MobileIdentitySummary, h as MobileFollowSummary, i as GetMobileFollowingParams, j as MobileWithExpoTokenParams, k as MobileUpdateNotificationPreferencesParams, l as MobileFeedMargin, m as MobileFollowMutationResult, n as GetMobileFollowListParams, o as GetMobileProfilesParams, p as MobileFollowListPage, r as GetMobileFollowersParams, s as GetMobileRegisteredWalletParams, t as GetMobileFeedParams, u as MobileFeedPage, v as MobileNotificationPreferenceScope, w as MobileSetFollowParams, x as MobilePublicProfile, y as MobileNotificationPreferences } from "../clientTypes-CB_itU4Z.js";
2
+ export { GetMobileFeedParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileNotificationPreferencesParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
@@ -1,9 +1,9 @@
1
- import { _ as MobileServerNotificationPreferences, a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as MobileServerFollowListAccount, g as MobileServerNotificationPreferenceScope, h as MobileServerNotificationCategoryPreference, i as MobileFeedMarginMode, l as MobileNotificationPlatform, m as MobileServerIdentitySummary, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, o as MobileFeedTradePositionDirection, p as MobileServerFollowSummary, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, u as MobileServerFeedMargin, v as MobileServerProfile } from "../serverModelTypes-KSm0CAcF.cjs";
2
- import { A as MobileUpdateNotificationPreferencesParams, C as MobileRegisterExpoTokenParams, D as MobileSetUsernameParams, E as MobileSetPrivateModeParams, M as MobileWithExpoTokenParams, O as MobileSignedRequestParams, S as MobilePublicProfile, T as MobileSetFollowParams, _ as MobileIdentitySummary, a as GetMobileNotificationPreferencesParams, b as MobileNotificationPreferences, c as GetMobileUsernameAvailabilityParams, d as MobileFeedTrade, f as MobileFollowListAccount, g as MobileFollowSummary, h as MobileFollowRequestParams, i as GetMobileFollowingParams, j as MobileUsernameAvailability, k as MobileUnregisterExpoTokenParams, l as MobileFeedMargin, m as MobileFollowMutationResult, n as GetMobileFollowListParams, o as GetMobileProfilesParams, p as MobileFollowListPage, r as GetMobileFollowersParams, s as GetMobileRegisteredWalletParams, t as GetMobileFeedParams, u as MobileFeedPage, v as MobileNotificationCategoryPreference, w as MobileRegisteredWallet, x as MobileProfilesInclude, y as MobileNotificationPreferenceScope } from "../clientTypes-tLld8E6J.cjs";
3
- import { a as MobileServerPublicQueryRequestByType, c as MobileServerSignedQueryRequestType, i as MobileServerPublicExecuteRequestType, n as MobileServerProfilesInclude, o as MobileServerPublicQueryRequestType, r as MobileServerPublicExecuteRequestByType, s as MobileServerRequestType, t as MobileServerExecuteRequestType } from "../serverRequestTypes-q4xTJHk0.cjs";
4
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-BybrVE6L.cjs";
5
- import { a as MobileServerFollowMutationResponse, i as MobileServerExecuteSuccessResponse, n as MobileServerExecuteResponseByType, o as MobileServerPublicExecuteRequest, r as MobileServerExecuteResult, t as MobileServerEmptyExecuteResponse } from "../serverExecuteTypes-DoR0InCd.cjs";
6
- import { a as MobileServerPublicQueryRequest, c as MobileServerRegisteredWalletResponse, d as MobileServerUsernameAvailabilityResponse, i as MobileServerProfilesResponse, l as MobileServerSignedQueryResponseByType, n as MobileServerFollowListResponse, o as MobileServerPublicQueryResponseByType, r as MobileServerNotificationPreferencesResponse, s as MobileServerPublicQuerySuccessResponse, t as MobileServerFeedResponse, u as MobileServerSignedQuerySuccessResponse } from "../serverQueryTypes-B9OOpiJB.cjs";
1
+ import { _ as MobileServerNotificationPreferences, a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as MobileServerFollowListAccount, g as MobileServerNotificationPreferenceScope, h as MobileServerNotificationCategoryPreference, i as MobileFeedMarginMode, l as MobileNotificationPlatform, m as MobileServerIdentitySummary, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, o as MobileFeedTradePositionDirection, p as MobileServerFollowSummary, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, u as MobileServerFeedMargin, v as MobileServerProfile } from "../serverModelTypes-CUzqFA6x.cjs";
2
+ import { A as MobileUsernameAvailability, C as MobileRegisteredWallet, D as MobileSignedRequestParams, E as MobileSetUsernameParams, O as MobileUnregisterExpoTokenParams, S as MobileRegisterExpoTokenParams, T as MobileSetPrivateModeParams, _ as MobileNotificationCategoryPreference, a as GetMobileNotificationPreferencesParams, b as MobileProfilesInclude, c as GetMobileUsernameAvailabilityParams, d as MobileFeedTrade, f as MobileFollowListAccount, g as MobileIdentitySummary, h as MobileFollowSummary, i as GetMobileFollowingParams, j as MobileWithExpoTokenParams, k as MobileUpdateNotificationPreferencesParams, l as MobileFeedMargin, m as MobileFollowMutationResult, n as GetMobileFollowListParams, o as GetMobileProfilesParams, p as MobileFollowListPage, r as GetMobileFollowersParams, s as GetMobileRegisteredWalletParams, t as GetMobileFeedParams, u as MobileFeedPage, v as MobileNotificationPreferenceScope, w as MobileSetFollowParams, x as MobilePublicProfile, y as MobileNotificationPreferences } from "../clientTypes-CceWsQzi.cjs";
3
+ import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, i as MobileServerPublicExecuteRequestByType, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType } from "../serverRequestTypes-Ddws3yXc.cjs";
4
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-YkCmgmt1.cjs";
5
+ import { a as MobileServerFollowMutationResponse, i as MobileServerExecuteSuccessResponse, n as MobileServerExecuteResponseByType, o as MobileServerPublicExecuteRequest, r as MobileServerExecuteResult, t as MobileServerEmptyExecuteResponse } from "../serverExecuteTypes-DPZbs9ym.cjs";
6
+ import { a as MobileServerPublicQueryRequest, c as MobileServerRegisteredWalletResponse, i as MobileServerProfilesResponse, l as MobileServerUsernameAvailabilityResponse, n as MobileServerFollowListResponse, o as MobileServerPublicQueryResponseByType, r as MobileServerNotificationPreferencesResponse, s as MobileServerPublicQuerySuccessResponse, t as MobileServerFeedResponse } from "../serverQueryTypes-RdcIqRnM.cjs";
7
7
  import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-DkzBW4v3.cjs";
8
- import { t as MobileServerFailureError } from "../MobileServerFailureError-CVK3aLOi.cjs";
9
- export { GetMobileFeedParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileNotificationPreferencesParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowRequestParams, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowListAccount, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSignedQueryRequestType, MobileServerSignedQueryResponseByType, MobileServerSignedQuerySuccessResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
8
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-BvQYrxjx.cjs";
9
+ export { GetMobileFeedParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileNotificationPreferencesParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, 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, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };