@nadohq/mobile-client 0.34.0 → 0.35.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 (145) hide show
  1. package/README.md +0 -11
  2. package/dist/{MobileClient-SQ7byUxo.cjs → MobileClient-D5TNTnLx.cjs} +3 -21
  3. package/dist/MobileClient-D5TNTnLx.cjs.map +1 -0
  4. package/dist/MobileClient.cjs +1 -1
  5. package/dist/MobileClient.d.cts +10 -16
  6. package/dist/MobileClient.d.cts.map +1 -1
  7. package/dist/MobileClient.d.ts +10 -16
  8. package/dist/MobileClient.d.ts.map +1 -1
  9. package/dist/MobileClient.js +4 -22
  10. package/dist/MobileClient.js.map +1 -1
  11. package/dist/{MobileServerFailureError-N3nGgdmg.d.cts → MobileServerFailureError-CPFjwUBx.d.cts} +3 -3
  12. package/dist/{MobileServerFailureError-N3nGgdmg.d.cts.map → MobileServerFailureError-CPFjwUBx.d.cts.map} +1 -1
  13. package/dist/{MobileServerFailureError-A2EcYe6Y.d.ts → MobileServerFailureError-Terv2Wzy.d.ts} +3 -3
  14. package/dist/{MobileServerFailureError-A2EcYe6Y.d.ts.map → MobileServerFailureError-Terv2Wzy.d.ts.map} +1 -1
  15. package/dist/{buildSignedMobileRequest-B8iVGxQc.d.ts → buildSignedMobileRequest-BScnCGPF.d.ts} +2 -2
  16. package/dist/{buildSignedMobileRequest-B8iVGxQc.d.ts.map → buildSignedMobileRequest-BScnCGPF.d.ts.map} +1 -1
  17. package/dist/{buildSignedMobileRequest-CtRX4zl4.d.cts → buildSignedMobileRequest-CXfnhc-4.d.cts} +2 -2
  18. package/dist/{buildSignedMobileRequest-CtRX4zl4.d.cts.map → buildSignedMobileRequest-CXfnhc-4.d.cts.map} +1 -1
  19. package/dist/{canonicalize-Cz1rz_ER.d.ts → canonicalize-CQ-pMYIt.d.ts} +2 -2
  20. package/dist/canonicalize-CQ-pMYIt.d.ts.map +1 -0
  21. package/dist/{canonicalize-afPLlUjE.d.cts → canonicalize-hzhboB-C.d.cts} +2 -2
  22. package/dist/canonicalize-hzhboB-C.d.cts.map +1 -0
  23. package/dist/{clientTypes-DqDZEcBu.d.ts → clientTypes-BwakovWk.d.cts} +3 -30
  24. package/dist/clientTypes-BwakovWk.d.cts.map +1 -0
  25. package/dist/{clientTypes-DIipTg9D.d.cts → clientTypes-D-o1_2Yc.d.ts} +3 -30
  26. package/dist/clientTypes-D-o1_2Yc.d.ts.map +1 -0
  27. package/dist/dataMappers.cjs +0 -12
  28. package/dist/dataMappers.cjs.map +1 -1
  29. package/dist/dataMappers.d.cts +4 -8
  30. package/dist/dataMappers.d.cts.map +1 -1
  31. package/dist/dataMappers.d.ts +4 -8
  32. package/dist/dataMappers.d.ts.map +1 -1
  33. package/dist/dataMappers.js +1 -12
  34. package/dist/dataMappers.js.map +1 -1
  35. package/dist/{eip712MethodByType-CUAcWwX0.d.cts → eip712MethodByType-3aiJkrHj.d.cts} +2 -2
  36. package/dist/eip712MethodByType-3aiJkrHj.d.cts.map +1 -0
  37. package/dist/{eip712MethodByType-BzfeoDTF.d.ts → eip712MethodByType-zNvZukU7.d.ts} +2 -2
  38. package/dist/eip712MethodByType-zNvZukU7.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-yIWBW4Iq.d.ts → payloadHash-BxL26uwq.d.ts} +2 -2
  43. package/dist/payloadHash-BxL26uwq.d.ts.map +1 -0
  44. package/dist/{payloadHash-CgKXMvZU.d.cts → payloadHash-DVkEt-Rg.d.cts} +2 -2
  45. package/dist/payloadHash-DVkEt-Rg.d.cts.map +1 -0
  46. package/dist/{serverBaseTypes-ClQZqTAK.d.ts → serverBaseTypes-B_KHFDab.d.ts} +2 -2
  47. package/dist/{serverBaseTypes-ClQZqTAK.d.ts.map → serverBaseTypes-B_KHFDab.d.ts.map} +1 -1
  48. package/dist/{serverBaseTypes-_a1pE464.d.cts → serverBaseTypes-C8KjE9Fm.d.cts} +2 -2
  49. package/dist/{serverBaseTypes-_a1pE464.d.cts.map → serverBaseTypes-C8KjE9Fm.d.cts.map} +1 -1
  50. package/dist/{serverExecuteTypes-CUla9jFj.d.cts → serverExecuteTypes-Cb5v7y0A.d.cts} +3 -3
  51. package/dist/{serverExecuteTypes-CUla9jFj.d.cts.map → serverExecuteTypes-Cb5v7y0A.d.cts.map} +1 -1
  52. package/dist/{serverExecuteTypes-BD8Awy8Q.d.ts → serverExecuteTypes-GFjZj_DC.d.ts} +3 -3
  53. package/dist/{serverExecuteTypes-BD8Awy8Q.d.ts.map → serverExecuteTypes-GFjZj_DC.d.ts.map} +1 -1
  54. package/dist/{serverModelTypes-BIGPd52y.d.ts → serverModelTypes-CwgibK-l.d.cts} +2 -12
  55. package/dist/serverModelTypes-CwgibK-l.d.cts.map +1 -0
  56. package/dist/{serverModelTypes-DGYc_3XP.d.cts → serverModelTypes-_cX99seo.d.ts} +2 -12
  57. package/dist/serverModelTypes-_cX99seo.d.ts.map +1 -0
  58. package/dist/{serverQueryTypes-4J8qNQld.d.ts → serverQueryTypes-DwE1iJ9f.d.cts} +5 -27
  59. package/dist/serverQueryTypes-DwE1iJ9f.d.cts.map +1 -0
  60. package/dist/{serverQueryTypes-C_rvZnol.d.cts → serverQueryTypes-NIrPm2Sl.d.ts} +5 -27
  61. package/dist/serverQueryTypes-NIrPm2Sl.d.ts.map +1 -0
  62. package/dist/{serverRequestTypes-w1r41ff7.d.ts → serverRequestTypes-516zXnQ6.d.ts} +9 -24
  63. package/dist/{serverRequestTypes-w1r41ff7.d.ts.map → serverRequestTypes-516zXnQ6.d.ts.map} +1 -1
  64. package/dist/{serverRequestTypes-Cw661qjM.d.cts → serverRequestTypes-GAtVYIda.d.cts} +9 -24
  65. package/dist/{serverRequestTypes-Cw661qjM.d.cts.map → serverRequestTypes-GAtVYIda.d.cts.map} +1 -1
  66. package/dist/{serverResponseGuards-DNJZw8yq.d.ts → serverResponseGuards-Cep5s7j5.d.ts} +2 -2
  67. package/dist/{serverResponseGuards-DNJZw8yq.d.ts.map → serverResponseGuards-Cep5s7j5.d.ts.map} +1 -1
  68. package/dist/{serverResponseGuards-DEyNjgwq.d.cts → serverResponseGuards-Dxt9_aGh.d.cts} +2 -2
  69. package/dist/{serverResponseGuards-DEyNjgwq.d.cts.map → serverResponseGuards-Dxt9_aGh.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 -1
  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 -1
  78. package/dist/signing/canonicalize.js.map +1 -1
  79. package/dist/signing/eip712MethodByType.cjs +0 -1
  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 +0 -1
  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 +2 -2
  106. package/dist/types/serverModelTypes.d.ts +2 -2
  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-DNd9S0Rz.d.ts → types-47IPsDyA.d.cts} +3 -5
  113. package/dist/types-47IPsDyA.d.cts.map +1 -0
  114. package/dist/{types-BycRkqAj.d.cts → types-D5kFJzEX.d.ts} +3 -5
  115. package/dist/types-D5kFJzEX.d.ts.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 +7 -45
  122. package/src/dataMappers.ts +0 -16
  123. package/src/signing/canonicalize.ts +0 -2
  124. package/src/signing/eip712MethodByType.ts +0 -1
  125. package/src/signing/signing.test.ts +0 -8
  126. package/src/signing/types.ts +0 -1
  127. package/src/types/clientTypes.ts +0 -29
  128. package/src/types/serverModelTypes.ts +0 -11
  129. package/src/types/serverQueryTypes.ts +0 -30
  130. package/src/types/serverRequestTypes.ts +4 -26
  131. package/dist/MobileClient-SQ7byUxo.cjs.map +0 -1
  132. package/dist/canonicalize-Cz1rz_ER.d.ts.map +0 -1
  133. package/dist/canonicalize-afPLlUjE.d.cts.map +0 -1
  134. package/dist/clientTypes-DIipTg9D.d.cts.map +0 -1
  135. package/dist/clientTypes-DqDZEcBu.d.ts.map +0 -1
  136. package/dist/eip712MethodByType-BzfeoDTF.d.ts.map +0 -1
  137. package/dist/eip712MethodByType-CUAcWwX0.d.cts.map +0 -1
  138. package/dist/payloadHash-CgKXMvZU.d.cts.map +0 -1
  139. package/dist/payloadHash-yIWBW4Iq.d.ts.map +0 -1
  140. package/dist/serverModelTypes-BIGPd52y.d.ts.map +0 -1
  141. package/dist/serverModelTypes-DGYc_3XP.d.cts.map +0 -1
  142. package/dist/serverQueryTypes-4J8qNQld.d.ts.map +0 -1
  143. package/dist/serverQueryTypes-C_rvZnol.d.cts.map +0 -1
  144. package/dist/types-BycRkqAj.d.cts.map +0 -1
  145. package/dist/types-DNd9S0Rz.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
- import { d as MobileServerFeedTrade, f as MobileServerIdentity, g as MobileServerProfile, h as MobileServerNotificationPreferences, l as MobileNotificationPlatform } from "./serverModelTypes-BIGPd52y.js";
2
- import { a as MobileServerPublicQueryRequestType, c as MobileServerSignedQueryRequestType, i as MobileServerPublicQueryRequestByType } from "./serverRequestTypes-w1r41ff7.js";
3
- import { n as MobileServerSuccessResponse } from "./serverBaseTypes-ClQZqTAK.js";
1
+ import { d as MobileServerFeedTrade, h as MobileServerProfile, l as MobileNotificationPlatform, m as MobileServerNotificationPreferences } from "./serverModelTypes-CwgibK-l.cjs";
2
+ import { a as MobileServerPublicQueryRequestType, i as MobileServerPublicQueryRequestByType } from "./serverRequestTypes-GAtVYIda.cjs";
3
+ import { n as MobileServerSuccessResponse } from "./serverBaseTypes-C8KjE9Fm.cjs";
4
4
  import { Hex } from "viem";
5
5
 
6
6
  //#region src/types/serverQueryTypes.d.ts
@@ -35,14 +35,6 @@ interface MobileServerFeedResponse {
35
35
  */
36
36
  next_cursor: string | null;
37
37
  }
38
- /**
39
- * Payload of the signed `self_identity` query success response. Every non-isolated subaccount has an implicit
40
- * identity, so the backend returns one for any valid sender, with `null` name fields when no username has
41
- * been claimed; `identity` stays nullable to match the backend's `Option`.
42
- */
43
- interface MobileServerSelfIdentityResponse {
44
- identity: MobileServerIdentity | null;
45
- }
46
38
  /**
47
39
  * Payload of the `notification_preferences` public query success response.
48
40
  */
@@ -74,26 +66,12 @@ interface MobileServerPublicQueryResponseByType {
74
66
  notification_preferences: MobileServerNotificationPreferencesResponse;
75
67
  registered_wallet: MobileServerRegisteredWalletResponse;
76
68
  }
77
- /**
78
- * Success payloads for each signed `query`, keyed by request `type`. Counterpart to
79
- * {@link MobileServerSignedQueryRequestByType} so a signed query's request params and response share one
80
- * lookup, matching the public route. Holds the unwrapped payload; the envelope is applied by
81
- * {@link MobileServerSignedQuerySuccessResponse}.
82
- */
83
- interface MobileServerSignedQueryResponseByType {
84
- self_identity: MobileServerSelfIdentityResponse;
85
- }
86
69
  /**
87
70
  * Full success response for an unsigned `public_query`: the {@link MobileServerSuccessResponse} envelope with
88
71
  * the query's payload inlined alongside `status`. Derived from {@link MobileServerPublicQueryResponseByType},
89
72
  * mirroring engine's `EngineServerQuerySuccessResponse` (inlined here instead of nested under `data`).
90
73
  */
91
74
  type MobileServerPublicQuerySuccessResponse<T extends MobileServerPublicQueryRequestType = MobileServerPublicQueryRequestType> = MobileServerSuccessResponse & MobileServerPublicQueryResponseByType[T];
92
- /**
93
- * Full success response for a signed `query`: the {@link MobileServerSuccessResponse} envelope with the
94
- * query's payload inlined alongside `status`. Derived from {@link MobileServerSignedQueryResponseByType}.
95
- */
96
- type MobileServerSignedQuerySuccessResponse<T extends MobileServerSignedQueryRequestType = MobileServerSignedQueryRequestType> = MobileServerSuccessResponse & MobileServerSignedQueryResponseByType[T];
97
75
  //#endregion
98
- export { MobileServerPublicQueryResponseByType as a, MobileServerSelfIdentityResponse as c, MobileServerUsernameAvailabilityResponse as d, MobileServerPublicQueryRequest as i, MobileServerSignedQueryResponseByType as l, MobileServerNotificationPreferencesResponse as n, MobileServerPublicQuerySuccessResponse as o, MobileServerProfileResponse as r, MobileServerRegisteredWalletResponse as s, MobileServerFeedResponse as t, MobileServerSignedQuerySuccessResponse as u };
99
- //# sourceMappingURL=serverQueryTypes-4J8qNQld.d.ts.map
76
+ export { MobileServerPublicQueryResponseByType as a, MobileServerUsernameAvailabilityResponse as c, MobileServerPublicQueryRequest as i, MobileServerNotificationPreferencesResponse as n, MobileServerPublicQuerySuccessResponse as o, MobileServerProfileResponse as r, MobileServerRegisteredWalletResponse as s, MobileServerFeedResponse as t };
77
+ //# sourceMappingURL=serverQueryTypes-DwE1iJ9f.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverQueryTypes-DwE1iJ9f.d.cts","names":[],"sources":["../src/types/src/types/serverQueryTypes.ts"],"mappings":";;;;;;;;AAgBA;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;;;;UAMM,2BAAA;EACf,OAAA,EAAS,mBAAmB;AAAA;;;;UAMb,wBAAA;EACf,MAAA,EAAQ,qBAAqB;EAhBd;;;;AAEN;EAoBT,WAAA;AAAA;;;AAb4B;UAmBb,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,OAAA,EAAS,2BAAA;EACT,IAAA,EAAM,wBAAA;EACN,wBAAA,EAA0B,2CAAA;EAC1B,iBAAA,EAAmB,oCAAA;AAAA;AALrB;;;;;AAAA,KAaY,sCAAA,WACA,kCAAA,GACR,kCAAA,IACA,2BAAA,GAA8B,qCAAA,CAAsC,CAAA"}
@@ -1,6 +1,6 @@
1
- import { d as MobileServerFeedTrade, f as MobileServerIdentity, g as MobileServerProfile, h as MobileServerNotificationPreferences, l as MobileNotificationPlatform } from "./serverModelTypes-DGYc_3XP.cjs";
2
- import { a as MobileServerPublicQueryRequestType, c as MobileServerSignedQueryRequestType, i as MobileServerPublicQueryRequestByType } from "./serverRequestTypes-Cw661qjM.cjs";
3
- import { n as MobileServerSuccessResponse } from "./serverBaseTypes-_a1pE464.cjs";
1
+ import { d as MobileServerFeedTrade, h as MobileServerProfile, l as MobileNotificationPlatform, m as MobileServerNotificationPreferences } from "./serverModelTypes-_cX99seo.js";
2
+ import { a as MobileServerPublicQueryRequestType, i as MobileServerPublicQueryRequestByType } from "./serverRequestTypes-516zXnQ6.js";
3
+ import { n as MobileServerSuccessResponse } from "./serverBaseTypes-B_KHFDab.js";
4
4
  import { Hex } from "viem";
5
5
 
6
6
  //#region src/types/serverQueryTypes.d.ts
@@ -35,14 +35,6 @@ interface MobileServerFeedResponse {
35
35
  */
36
36
  next_cursor: string | null;
37
37
  }
38
- /**
39
- * Payload of the signed `self_identity` query success response. Every non-isolated subaccount has an implicit
40
- * identity, so the backend returns one for any valid sender, with `null` name fields when no username has
41
- * been claimed; `identity` stays nullable to match the backend's `Option`.
42
- */
43
- interface MobileServerSelfIdentityResponse {
44
- identity: MobileServerIdentity | null;
45
- }
46
38
  /**
47
39
  * Payload of the `notification_preferences` public query success response.
48
40
  */
@@ -74,26 +66,12 @@ interface MobileServerPublicQueryResponseByType {
74
66
  notification_preferences: MobileServerNotificationPreferencesResponse;
75
67
  registered_wallet: MobileServerRegisteredWalletResponse;
76
68
  }
77
- /**
78
- * Success payloads for each signed `query`, keyed by request `type`. Counterpart to
79
- * {@link MobileServerSignedQueryRequestByType} so a signed query's request params and response share one
80
- * lookup, matching the public route. Holds the unwrapped payload; the envelope is applied by
81
- * {@link MobileServerSignedQuerySuccessResponse}.
82
- */
83
- interface MobileServerSignedQueryResponseByType {
84
- self_identity: MobileServerSelfIdentityResponse;
85
- }
86
69
  /**
87
70
  * Full success response for an unsigned `public_query`: the {@link MobileServerSuccessResponse} envelope with
88
71
  * the query's payload inlined alongside `status`. Derived from {@link MobileServerPublicQueryResponseByType},
89
72
  * mirroring engine's `EngineServerQuerySuccessResponse` (inlined here instead of nested under `data`).
90
73
  */
91
74
  type MobileServerPublicQuerySuccessResponse<T extends MobileServerPublicQueryRequestType = MobileServerPublicQueryRequestType> = MobileServerSuccessResponse & MobileServerPublicQueryResponseByType[T];
92
- /**
93
- * Full success response for a signed `query`: the {@link MobileServerSuccessResponse} envelope with the
94
- * query's payload inlined alongside `status`. Derived from {@link MobileServerSignedQueryResponseByType}.
95
- */
96
- type MobileServerSignedQuerySuccessResponse<T extends MobileServerSignedQueryRequestType = MobileServerSignedQueryRequestType> = MobileServerSuccessResponse & MobileServerSignedQueryResponseByType[T];
97
75
  //#endregion
98
- export { MobileServerPublicQueryResponseByType as a, MobileServerSelfIdentityResponse as c, MobileServerUsernameAvailabilityResponse as d, MobileServerPublicQueryRequest as i, MobileServerSignedQueryResponseByType as l, MobileServerNotificationPreferencesResponse as n, MobileServerPublicQuerySuccessResponse as o, MobileServerProfileResponse as r, MobileServerRegisteredWalletResponse as s, MobileServerFeedResponse as t, MobileServerSignedQuerySuccessResponse as u };
99
- //# sourceMappingURL=serverQueryTypes-C_rvZnol.d.cts.map
76
+ export { MobileServerPublicQueryResponseByType as a, MobileServerUsernameAvailabilityResponse as c, MobileServerPublicQueryRequest as i, MobileServerNotificationPreferencesResponse as n, MobileServerPublicQuerySuccessResponse as o, MobileServerProfileResponse as r, MobileServerRegisteredWalletResponse as s, MobileServerFeedResponse as t };
77
+ //# sourceMappingURL=serverQueryTypes-NIrPm2Sl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverQueryTypes-NIrPm2Sl.d.ts","names":[],"sources":["../src/types/src/types/serverQueryTypes.ts"],"mappings":";;;;;;;;AAgBA;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;;;;UAMM,2BAAA;EACf,OAAA,EAAS,mBAAmB;AAAA;;;;UAMb,wBAAA;EACf,MAAA,EAAQ,qBAAqB;EAhBd;;;;AAEN;EAoBT,WAAA;AAAA;;;AAb4B;UAmBb,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,OAAA,EAAS,2BAAA;EACT,IAAA,EAAM,wBAAA;EACN,wBAAA,EAA0B,2CAAA;EAC1B,iBAAA,EAAmB,oCAAA;AAAA;AALrB;;;;;AAAA,KAaY,sCAAA,WACA,kCAAA,GACR,kCAAA,IACA,2BAAA,GAA8B,qCAAA,CAAsC,CAAA"}
@@ -1,5 +1,5 @@
1
- import { h as MobileServerNotificationPreferences } from "./serverModelTypes-BIGPd52y.js";
2
- import { n as MobileSignedInner } from "./types-DNd9S0Rz.js";
1
+ import { m as MobileServerNotificationPreferences } from "./serverModelTypes-_cX99seo.js";
2
+ import { n as MobileSignedInner } from "./types-D5kFJzEX.js";
3
3
  import { Hex } from "viem";
4
4
 
5
5
  //#region src/types/serverRequestTypes.d.ts
@@ -56,32 +56,17 @@ interface MobileServerPublicExecuteRequestByType {
56
56
  * Discriminant `type` values for unsigned `public_execute` requests.
57
57
  */
58
58
  type MobileServerPublicExecuteRequestType = keyof MobileServerPublicExecuteRequestByType;
59
- /**
60
- * Params for each signed `query`, keyed by request `type`. These queries identify the caller through the
61
- * signed envelope (`sender`) and take no further params, so every entry is empty — the signed counterpart to
62
- * {@link MobileServerPublicQueryRequestByType}, kept so both query routes expose one params lookup keyed by
63
- * type (matching engine's `EngineServerQueryRequestByType`, which likewise uses `Record<string, never>` for
64
- * param-less queries).
65
- */
66
- interface MobileServerSignedQueryRequestByType {
67
- self_identity: Record<string, never>;
68
- }
69
- /**
70
- * Discriminant `type` values for signed `query` requests: the read-only subset of {@link MobileSignedInner}
71
- * tags, keyed the same way as {@link MobileServerPublicQueryRequestType}.
72
- */
73
- type MobileServerSignedQueryRequestType = keyof MobileServerSignedQueryRequestByType;
74
59
  /**
75
60
  * Discriminant `type` values for signed `execute` requests: the write subset of {@link MobileSignedInner}
76
- * tags, derived as everything that is not a signed query so the two routes cannot overlap or drift.
61
+ * tags. With no signed queries remaining, every signed inner type is an execute.
77
62
  */
78
- type MobileServerExecuteRequestType = Exclude<MobileSignedInner['type'], MobileServerSignedQueryRequestType>;
63
+ type MobileServerExecuteRequestType = MobileSignedInner['type'];
79
64
  /**
80
65
  * Wire `request_type` the backend echoes on failure envelopes, prefixed by the route that produced it:
81
- * `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, `query_*` for signed
82
- * queries, and `execute_*` for signed writes (e.g. `execute_set_username`).
66
+ * `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, and `execute_*` for signed
67
+ * writes (e.g. `execute_set_username`).
83
68
  */
84
- type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `query_${MobileServerSignedQueryRequestType}` | `execute_${MobileServerExecuteRequestType}`;
69
+ type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `execute_${MobileServerExecuteRequestType}`;
85
70
  //#endregion
86
- export { MobileServerPublicQueryRequestType as a, MobileServerSignedQueryRequestType as c, MobileServerPublicQueryRequestByType as i, MobileServerPublicExecuteRequestByType as n, MobileServerRequestType as o, MobileServerPublicExecuteRequestType as r, MobileServerSignedQueryRequestByType as s, MobileServerExecuteRequestType as t };
87
- //# sourceMappingURL=serverRequestTypes-w1r41ff7.d.ts.map
71
+ export { MobileServerPublicQueryRequestType as a, MobileServerPublicQueryRequestByType as i, MobileServerPublicExecuteRequestByType as n, MobileServerRequestType as o, MobileServerPublicExecuteRequestType as r, MobileServerExecuteRequestType as t };
72
+ //# sourceMappingURL=serverRequestTypes-516zXnQ6.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverRequestTypes-w1r41ff7.d.ts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;;;AAOA;UAAiB,oCAAA;EACf,qBAAA;IAAyB,YAAA;EAAA;EACzB,OAAA;IAAW,UAAA,EAAY,GAAG;EAAA;EAC1B,IAAA;IAAA;;;;IAKE,gBAAA,WAS0B;IAP1B,KAAA;IAQmB;;AAAU;AAMjC;IATI,MAAA;EAAA;EAEF,wBAAA;IAA4B,UAAA;EAAA;EAC5B,iBAAA;IAAqB,UAAA;EAAA;AAAA;;;;KAMX,kCAAA,SACJ,oCAAoC;;;AAYQ;AAOpD;;;UAXiB,sCAAA;EACf,qBAAA;IAAyB,UAAA;EAAA;EACzB,kBAAA;IACE,UAAA;IACA,WAAA,EAAa,mCAAmC;EAAA;AAAA;;;AA0BR;KAnBhC,oCAAA,SACJ,sCAAsC;;;;;;;;UAS7B,oCAAA;EACf,aAAA,EAAe,MAAM;AAAA;;AAgBa;AAQpC;;KAjBY,kCAAA,SACJ,oCAAoC;;;;;KAMhC,8BAAA,GAAiC,OAAA,CAC3C,iBAAA,UACA,kCAAA;;;;;;KAQU,uBAAA,mBACQ,kCAAA,uBACE,oCAAA,cACT,kCAAA,gBACE,8BAAA"}
1
+ {"version":3,"file":"serverRequestTypes-516zXnQ6.d.ts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;;;AAOA;UAAiB,oCAAA;EACf,qBAAA;IAAyB,YAAA;EAAA;EACzB,OAAA;IAAW,UAAA,EAAY,GAAG;EAAA;EAC1B,IAAA;IAAA;;;;IAKE,gBAAA,WAS0B;IAP1B,KAAA;IAQmB;;AAAU;AAMjC;IATI,MAAA;EAAA;EAEF,wBAAA;IAA4B,UAAA;EAAA;EAC5B,iBAAA;IAAqB,UAAA;EAAA;AAAA;;;;KAMX,kCAAA,SACJ,oCAAoC;;;AAYQ;AAOpD;;;UAXiB,sCAAA;EACf,qBAAA;IAAyB,UAAA;EAAA;EACzB,kBAAA;IACE,UAAA;IACA,WAAA,EAAa,mCAAmC;EAAA;AAAA;;;;KAOxC,oCAAA,SACJ,sCAAsC;;;;;KAMlC,8BAAA,GAAiC,iBAAiB;;AAUjB;;;;KAHjC,uBAAA,mBACQ,kCAAA,uBACE,oCAAA,gBACP,8BAAA"}
@@ -1,5 +1,5 @@
1
- import { h as MobileServerNotificationPreferences } from "./serverModelTypes-DGYc_3XP.cjs";
2
- import { n as MobileSignedInner } from "./types-BycRkqAj.cjs";
1
+ import { m as MobileServerNotificationPreferences } from "./serverModelTypes-CwgibK-l.cjs";
2
+ import { n as MobileSignedInner } from "./types-47IPsDyA.cjs";
3
3
  import { Hex } from "viem";
4
4
 
5
5
  //#region src/types/serverRequestTypes.d.ts
@@ -56,32 +56,17 @@ interface MobileServerPublicExecuteRequestByType {
56
56
  * Discriminant `type` values for unsigned `public_execute` requests.
57
57
  */
58
58
  type MobileServerPublicExecuteRequestType = keyof MobileServerPublicExecuteRequestByType;
59
- /**
60
- * Params for each signed `query`, keyed by request `type`. These queries identify the caller through the
61
- * signed envelope (`sender`) and take no further params, so every entry is empty — the signed counterpart to
62
- * {@link MobileServerPublicQueryRequestByType}, kept so both query routes expose one params lookup keyed by
63
- * type (matching engine's `EngineServerQueryRequestByType`, which likewise uses `Record<string, never>` for
64
- * param-less queries).
65
- */
66
- interface MobileServerSignedQueryRequestByType {
67
- self_identity: Record<string, never>;
68
- }
69
- /**
70
- * Discriminant `type` values for signed `query` requests: the read-only subset of {@link MobileSignedInner}
71
- * tags, keyed the same way as {@link MobileServerPublicQueryRequestType}.
72
- */
73
- type MobileServerSignedQueryRequestType = keyof MobileServerSignedQueryRequestByType;
74
59
  /**
75
60
  * Discriminant `type` values for signed `execute` requests: the write subset of {@link MobileSignedInner}
76
- * tags, derived as everything that is not a signed query so the two routes cannot overlap or drift.
61
+ * tags. With no signed queries remaining, every signed inner type is an execute.
77
62
  */
78
- type MobileServerExecuteRequestType = Exclude<MobileSignedInner['type'], MobileServerSignedQueryRequestType>;
63
+ type MobileServerExecuteRequestType = MobileSignedInner['type'];
79
64
  /**
80
65
  * Wire `request_type` the backend echoes on failure envelopes, prefixed by the route that produced it:
81
- * `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, `query_*` for signed
82
- * queries, and `execute_*` for signed writes (e.g. `execute_set_username`).
66
+ * `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, and `execute_*` for signed
67
+ * writes (e.g. `execute_set_username`).
83
68
  */
84
- type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `query_${MobileServerSignedQueryRequestType}` | `execute_${MobileServerExecuteRequestType}`;
69
+ type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `execute_${MobileServerExecuteRequestType}`;
85
70
  //#endregion
86
- export { MobileServerPublicQueryRequestType as a, MobileServerSignedQueryRequestType as c, MobileServerPublicQueryRequestByType as i, MobileServerPublicExecuteRequestByType as n, MobileServerRequestType as o, MobileServerPublicExecuteRequestType as r, MobileServerSignedQueryRequestByType as s, MobileServerExecuteRequestType as t };
87
- //# sourceMappingURL=serverRequestTypes-Cw661qjM.d.cts.map
71
+ export { MobileServerPublicQueryRequestType as a, MobileServerPublicQueryRequestByType as i, MobileServerPublicExecuteRequestByType as n, MobileServerRequestType as o, MobileServerPublicExecuteRequestType as r, MobileServerExecuteRequestType as t };
72
+ //# sourceMappingURL=serverRequestTypes-GAtVYIda.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverRequestTypes-Cw661qjM.d.cts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;;;AAOA;UAAiB,oCAAA;EACf,qBAAA;IAAyB,YAAA;EAAA;EACzB,OAAA;IAAW,UAAA,EAAY,GAAG;EAAA;EAC1B,IAAA;IAAA;;;;IAKE,gBAAA,WAS0B;IAP1B,KAAA;IAQmB;;AAAU;AAMjC;IATI,MAAA;EAAA;EAEF,wBAAA;IAA4B,UAAA;EAAA;EAC5B,iBAAA;IAAqB,UAAA;EAAA;AAAA;;;;KAMX,kCAAA,SACJ,oCAAoC;;;AAYQ;AAOpD;;;UAXiB,sCAAA;EACf,qBAAA;IAAyB,UAAA;EAAA;EACzB,kBAAA;IACE,UAAA;IACA,WAAA,EAAa,mCAAmC;EAAA;AAAA;;;AA0BR;KAnBhC,oCAAA,SACJ,sCAAsC;;;;;;;;UAS7B,oCAAA;EACf,aAAA,EAAe,MAAM;AAAA;;AAgBa;AAQpC;;KAjBY,kCAAA,SACJ,oCAAoC;;;;;KAMhC,8BAAA,GAAiC,OAAA,CAC3C,iBAAA,UACA,kCAAA;;;;;;KAQU,uBAAA,mBACQ,kCAAA,uBACE,oCAAA,cACT,kCAAA,gBACE,8BAAA"}
1
+ {"version":3,"file":"serverRequestTypes-GAtVYIda.d.cts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;;;AAOA;UAAiB,oCAAA;EACf,qBAAA;IAAyB,YAAA;EAAA;EACzB,OAAA;IAAW,UAAA,EAAY,GAAG;EAAA;EAC1B,IAAA;IAAA;;;;IAKE,gBAAA,WAS0B;IAP1B,KAAA;IAQmB;;AAAU;AAMjC;IATI,MAAA;EAAA;EAEF,wBAAA;IAA4B,UAAA;EAAA;EAC5B,iBAAA;IAAqB,UAAA;EAAA;AAAA;;;;KAMX,kCAAA,SACJ,oCAAoC;;;AAYQ;AAOpD;;;UAXiB,sCAAA;EACf,qBAAA;IAAyB,UAAA;EAAA;EACzB,kBAAA;IACE,UAAA;IACA,WAAA,EAAa,mCAAmC;EAAA;AAAA;;;;KAOxC,oCAAA,SACJ,sCAAsC;;;;;KAMlC,8BAAA,GAAiC,iBAAiB;;AAUjB;;;;KAHjC,uBAAA,mBACQ,kCAAA,uBACE,oCAAA,gBACP,8BAAA"}
@@ -1,4 +1,4 @@
1
- import { t as MobileServerFailureResponse } from "./serverBaseTypes-ClQZqTAK.js";
1
+ import { t as MobileServerFailureResponse } from "./serverBaseTypes-B_KHFDab.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-DNJZw8yq.d.ts.map
16
+ //# sourceMappingURL=serverResponseGuards-Cep5s7j5.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverResponseGuards-DNJZw8yq.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-Cep5s7j5.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-_a1pE464.cjs";
1
+ import { t as MobileServerFailureResponse } from "./serverBaseTypes-C8KjE9Fm.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-DEyNjgwq.d.cts.map
16
+ //# sourceMappingURL=serverResponseGuards-Dxt9_aGh.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverResponseGuards-DEyNjgwq.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-Dxt9_aGh.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-SQ7byUxo.cjs");
2
+ require("../MobileClient-D5TNTnLx.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-CtRX4zl4.cjs";
1
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-CXfnhc-4.cjs";
2
2
  export { buildSignedMobileRequest };
@@ -1,2 +1,2 @@
1
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-B8iVGxQc.js";
1
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BScnCGPF.js";
2
2
  export { buildSignedMobileRequest };
@@ -17,7 +17,6 @@ function canonicalizeMobileInner(inner) {
17
17
  type: "set_private_mode",
18
18
  private_mode: inner.private_mode
19
19
  };
20
- case "self_identity": return { type: "self_identity" };
21
20
  case "register_expo_token": return {
22
21
  type: "register_expo_token",
23
22
  expo_token: inner.expo_token,
@@ -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 'self_identity':\n return { type: 'self_identity' };\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 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,iBACH,OAAO,EAAE,MAAM,gBAAgB;EACjC,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;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 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,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
@@ -1,2 +1,2 @@
1
- import { t as canonicalizeMobileInner } from "../canonicalize-afPLlUjE.cjs";
1
+ import { t as canonicalizeMobileInner } from "../canonicalize-hzhboB-C.cjs";
2
2
  export { canonicalizeMobileInner };
@@ -1,2 +1,2 @@
1
- import { t as canonicalizeMobileInner } from "../canonicalize-Cz1rz_ER.js";
1
+ import { t as canonicalizeMobileInner } from "../canonicalize-CQ-pMYIt.js";
2
2
  export { canonicalizeMobileInner };
@@ -16,7 +16,6 @@ function canonicalizeMobileInner(inner) {
16
16
  type: "set_private_mode",
17
17
  private_mode: inner.private_mode
18
18
  };
19
- case "self_identity": return { type: "self_identity" };
20
19
  case "register_expo_token": return {
21
20
  type: "register_expo_token",
22
21
  expo_token: inner.expo_token,
@@ -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 'self_identity':\n return { type: 'self_identity' };\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 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,iBACH,OAAO,EAAE,MAAM,gBAAgB;EACjC,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;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 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,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
@@ -6,7 +6,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
6
6
  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
- self_identity: "mobile:query_self_identity",
10
9
  register_expo_token: "mobile:execute_register_expo_token"
11
10
  };
12
11
  //#endregion
@@ -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 self_identity: 'mobile:query_self_identity',\n register_expo_token: 'mobile:execute_register_expo_token',\n};\n"],"mappings":";;;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,eAAe;CACf,qBAAqB;AACvB"}
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};\n"],"mappings":";;;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,qBAAqB;AACvB"}
@@ -1,2 +1,2 @@
1
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-CUAcWwX0.cjs";
1
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-3aiJkrHj.cjs";
2
2
  export { MOBILE_EIP712_METHOD_BY_TYPE };
@@ -1,2 +1,2 @@
1
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-BzfeoDTF.js";
1
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-zNvZukU7.js";
2
2
  export { MOBILE_EIP712_METHOD_BY_TYPE };
@@ -5,7 +5,6 @@
5
5
  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
- self_identity: "mobile:query_self_identity",
9
8
  register_expo_token: "mobile:execute_register_expo_token"
10
9
  };
11
10
  //#endregion
@@ -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 self_identity: 'mobile:query_self_identity',\n register_expo_token: 'mobile:execute_register_expo_token',\n};\n"],"mappings":";;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,eAAe;CACf,qBAAqB;AACvB"}
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};\n"],"mappings":";;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,qBAAqB;AACvB"}
@@ -1,7 +1,7 @@
1
- import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-BycRkqAj.cjs";
2
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-CtRX4zl4.cjs";
3
- import { t as canonicalizeMobileInner } from "../canonicalize-afPLlUjE.cjs";
4
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-CUAcWwX0.cjs";
1
+ import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-47IPsDyA.cjs";
2
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-CXfnhc-4.cjs";
3
+ import { t as canonicalizeMobileInner } from "../canonicalize-hzhboB-C.cjs";
4
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-3aiJkrHj.cjs";
5
5
  import { t as getMobileNonce } from "../nonce-zGyisRlj.cjs";
6
- import { t as getMobilePayloadHash } from "../payloadHash-CgKXMvZU.cjs";
6
+ import { t as getMobilePayloadHash } from "../payloadHash-DVkEt-Rg.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-DNd9S0Rz.js";
2
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-B8iVGxQc.js";
3
- import { t as canonicalizeMobileInner } from "../canonicalize-Cz1rz_ER.js";
4
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-BzfeoDTF.js";
1
+ import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-D5kFJzEX.js";
2
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BScnCGPF.js";
3
+ import { t as canonicalizeMobileInner } from "../canonicalize-CQ-pMYIt.js";
4
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-zNvZukU7.js";
5
5
  import { t as getMobileNonce } from "../nonce-DCOrXXkQ.js";
6
- import { t as getMobilePayloadHash } from "../payloadHash-yIWBW4Iq.js";
6
+ import { t as getMobilePayloadHash } from "../payloadHash-BxL26uwq.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-SQ7byUxo.cjs");
2
+ require("../MobileClient-D5TNTnLx.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-CgKXMvZU.cjs";
1
+ import { t as getMobilePayloadHash } from "../payloadHash-DVkEt-Rg.cjs";
2
2
  export { getMobilePayloadHash };
@@ -1,2 +1,2 @@
1
- import { t as getMobilePayloadHash } from "../payloadHash-yIWBW4Iq.js";
1
+ import { t as getMobilePayloadHash } from "../payloadHash-BxL26uwq.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-BycRkqAj.cjs";
1
+ import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-47IPsDyA.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-DNd9S0Rz.js";
1
+ import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-D5kFJzEX.js";
2
2
  export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerParams, MobileSignedRequest };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../MobileClient-SQ7byUxo.cjs");
2
+ require("../MobileClient-D5TNTnLx.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-N3nGgdmg.cjs";
1
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-CPFjwUBx.cjs";
2
2
  export { MobileServerFailureError };
@@ -1,2 +1,2 @@
1
- import { t as MobileServerFailureError } from "../MobileServerFailureError-A2EcYe6Y.js";
1
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-Terv2Wzy.js";
2
2
  export { MobileServerFailureError };
@@ -1,2 +1,2 @@
1
- import { C as MobileWithExpoTokenParams, S as MobileUsernameAvailability, _ as MobileSetPrivateModeParams, a as GetMobileSelfIdentityParams, b as MobileUnregisterExpoTokenParams, c as MobileFeedPage, d as MobileNotificationCategoryPreference, f as MobileNotificationPreferenceScope, g as MobileRegisteredWallet, h as MobileRegisterExpoTokenParams, i as GetMobileRegisteredWalletParams, l as MobileFeedTrade, m as MobilePublicProfile, n as GetMobileNotificationPreferencesParams, o as GetMobileUsernameAvailabilityParams, p as MobileNotificationPreferences, r as GetMobilePublicProfileParams, s as MobileFeedMargin, t as GetMobileFeedParams, u as MobileIdentity, v as MobileSetUsernameParams, x as MobileUpdateNotificationPreferencesParams, y as MobileSignedRequestParams } from "../clientTypes-DIipTg9D.cjs";
2
- export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams, GetMobileSelfIdentityParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileIdentity, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
1
+ import { _ as MobileSignedRequestParams, a as GetMobileUsernameAvailabilityParams, b as MobileUsernameAvailability, c as MobileFeedTrade, d as MobileNotificationPreferences, f as MobilePublicProfile, g as MobileSetUsernameParams, h as MobileSetPrivateModeParams, i as GetMobileRegisteredWalletParams, l as MobileNotificationCategoryPreference, m as MobileRegisteredWallet, n as GetMobileNotificationPreferencesParams, o as MobileFeedMargin, p as MobileRegisterExpoTokenParams, r as GetMobilePublicProfileParams, s as MobileFeedPage, t as GetMobileFeedParams, u as MobileNotificationPreferenceScope, v as MobileUnregisterExpoTokenParams, x as MobileWithExpoTokenParams, y as MobileUpdateNotificationPreferencesParams } from "../clientTypes-BwakovWk.cjs";
2
+ export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
@@ -1,2 +1,2 @@
1
- import { C as MobileWithExpoTokenParams, S as MobileUsernameAvailability, _ as MobileSetPrivateModeParams, a as GetMobileSelfIdentityParams, b as MobileUnregisterExpoTokenParams, c as MobileFeedPage, d as MobileNotificationCategoryPreference, f as MobileNotificationPreferenceScope, g as MobileRegisteredWallet, h as MobileRegisterExpoTokenParams, i as GetMobileRegisteredWalletParams, l as MobileFeedTrade, m as MobilePublicProfile, n as GetMobileNotificationPreferencesParams, o as GetMobileUsernameAvailabilityParams, p as MobileNotificationPreferences, r as GetMobilePublicProfileParams, s as MobileFeedMargin, t as GetMobileFeedParams, u as MobileIdentity, v as MobileSetUsernameParams, x as MobileUpdateNotificationPreferencesParams, y as MobileSignedRequestParams } from "../clientTypes-DqDZEcBu.js";
2
- export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams, GetMobileSelfIdentityParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileIdentity, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
1
+ import { _ as MobileSignedRequestParams, a as GetMobileUsernameAvailabilityParams, b as MobileUsernameAvailability, c as MobileFeedTrade, d as MobileNotificationPreferences, f as MobilePublicProfile, g as MobileSetUsernameParams, h as MobileSetPrivateModeParams, i as GetMobileRegisteredWalletParams, l as MobileNotificationCategoryPreference, m as MobileRegisteredWallet, n as GetMobileNotificationPreferencesParams, o as MobileFeedMargin, p as MobileRegisterExpoTokenParams, r as GetMobilePublicProfileParams, s as MobileFeedPage, t as GetMobileFeedParams, u as MobileNotificationPreferenceScope, v as MobileUnregisterExpoTokenParams, x as MobileWithExpoTokenParams, y as MobileUpdateNotificationPreferencesParams } from "../clientTypes-D-o1_2Yc.js";
2
+ export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
@@ -1,9 +1,9 @@
1
- import { 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-DGYc_3XP.cjs";
2
- import { C as MobileWithExpoTokenParams, S as MobileUsernameAvailability, _ as MobileSetPrivateModeParams, a as GetMobileSelfIdentityParams, b as MobileUnregisterExpoTokenParams, c as MobileFeedPage, d as MobileNotificationCategoryPreference, f as MobileNotificationPreferenceScope, g as MobileRegisteredWallet, h as MobileRegisterExpoTokenParams, i as GetMobileRegisteredWalletParams, l as MobileFeedTrade, m as MobilePublicProfile, n as GetMobileNotificationPreferencesParams, o as GetMobileUsernameAvailabilityParams, p as MobileNotificationPreferences, r as GetMobilePublicProfileParams, s as MobileFeedMargin, t as GetMobileFeedParams, u as MobileIdentity, v as MobileSetUsernameParams, x as MobileUpdateNotificationPreferencesParams, y as MobileSignedRequestParams } from "../clientTypes-DIipTg9D.cjs";
3
- import { a as MobileServerPublicQueryRequestType, c as MobileServerSignedQueryRequestType, i as MobileServerPublicQueryRequestByType, n as MobileServerPublicExecuteRequestByType, o as MobileServerRequestType, r as MobileServerPublicExecuteRequestType, s as MobileServerSignedQueryRequestByType, t as MobileServerExecuteRequestType } from "../serverRequestTypes-Cw661qjM.cjs";
4
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-_a1pE464.cjs";
5
- import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-CUla9jFj.cjs";
6
- 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 MobileServerRegisteredWalletResponse, t as MobileServerFeedResponse, u as MobileServerSignedQuerySuccessResponse } from "../serverQueryTypes-C_rvZnol.cjs";
1
+ import { a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as MobileServerNotificationCategoryPreference, h as MobileServerProfile, i as MobileFeedMarginMode, l as MobileNotificationPlatform, m as MobileServerNotificationPreferences, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, o as MobileFeedTradePositionDirection, p as MobileServerNotificationPreferenceScope, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, u as MobileServerFeedMargin } from "../serverModelTypes-CwgibK-l.cjs";
2
+ import { _ as MobileSignedRequestParams, a as GetMobileUsernameAvailabilityParams, b as MobileUsernameAvailability, c as MobileFeedTrade, d as MobileNotificationPreferences, f as MobilePublicProfile, g as MobileSetUsernameParams, h as MobileSetPrivateModeParams, i as GetMobileRegisteredWalletParams, l as MobileNotificationCategoryPreference, m as MobileRegisteredWallet, n as GetMobileNotificationPreferencesParams, o as MobileFeedMargin, p as MobileRegisterExpoTokenParams, r as GetMobilePublicProfileParams, s as MobileFeedPage, t as GetMobileFeedParams, u as MobileNotificationPreferenceScope, v as MobileUnregisterExpoTokenParams, x as MobileWithExpoTokenParams, y as MobileUpdateNotificationPreferencesParams } from "../clientTypes-BwakovWk.cjs";
3
+ import { a as MobileServerPublicQueryRequestType, i as MobileServerPublicQueryRequestByType, n as MobileServerPublicExecuteRequestByType, o as MobileServerRequestType, r as MobileServerPublicExecuteRequestType, t as MobileServerExecuteRequestType } from "../serverRequestTypes-GAtVYIda.cjs";
4
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-C8KjE9Fm.cjs";
5
+ import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-Cb5v7y0A.cjs";
6
+ import { a as MobileServerPublicQueryResponseByType, c as MobileServerUsernameAvailabilityResponse, i as MobileServerPublicQueryRequest, n as MobileServerNotificationPreferencesResponse, o as MobileServerPublicQuerySuccessResponse, r as MobileServerProfileResponse, s as MobileServerRegisteredWalletResponse, t as MobileServerFeedResponse } from "../serverQueryTypes-DwE1iJ9f.cjs";
7
7
  import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-D_SyBm0k.cjs";
8
- import { t as MobileServerFailureError } from "../MobileServerFailureError-N3nGgdmg.cjs";
9
- export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams, GetMobileSelfIdentityParams, 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, MobileIdentity, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerExecuteRequestType, MobileServerExecuteResult, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerIdentity, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfileResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSelfIdentityResponse, MobileServerSignedQueryRequestByType, MobileServerSignedQueryRequestType, MobileServerSignedQueryResponseByType, MobileServerSignedQuerySuccessResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
8
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-CPFjwUBx.cjs";
9
+ export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, 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, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerExecuteRequestType, MobileServerExecuteResult, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfileResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
@@ -1,9 +1,9 @@
1
- import { 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-BIGPd52y.js";
2
- import { C as MobileWithExpoTokenParams, S as MobileUsernameAvailability, _ as MobileSetPrivateModeParams, a as GetMobileSelfIdentityParams, b as MobileUnregisterExpoTokenParams, c as MobileFeedPage, d as MobileNotificationCategoryPreference, f as MobileNotificationPreferenceScope, g as MobileRegisteredWallet, h as MobileRegisterExpoTokenParams, i as GetMobileRegisteredWalletParams, l as MobileFeedTrade, m as MobilePublicProfile, n as GetMobileNotificationPreferencesParams, o as GetMobileUsernameAvailabilityParams, p as MobileNotificationPreferences, r as GetMobilePublicProfileParams, s as MobileFeedMargin, t as GetMobileFeedParams, u as MobileIdentity, v as MobileSetUsernameParams, x as MobileUpdateNotificationPreferencesParams, y as MobileSignedRequestParams } from "../clientTypes-DqDZEcBu.js";
3
- import { a as MobileServerPublicQueryRequestType, c as MobileServerSignedQueryRequestType, i as MobileServerPublicQueryRequestByType, n as MobileServerPublicExecuteRequestByType, o as MobileServerRequestType, r as MobileServerPublicExecuteRequestType, s as MobileServerSignedQueryRequestByType, t as MobileServerExecuteRequestType } from "../serverRequestTypes-w1r41ff7.js";
4
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-ClQZqTAK.js";
5
- import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-BD8Awy8Q.js";
6
- 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 MobileServerRegisteredWalletResponse, t as MobileServerFeedResponse, u as MobileServerSignedQuerySuccessResponse } from "../serverQueryTypes-4J8qNQld.js";
1
+ import { a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as MobileServerNotificationCategoryPreference, h as MobileServerProfile, i as MobileFeedMarginMode, l as MobileNotificationPlatform, m as MobileServerNotificationPreferences, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, o as MobileFeedTradePositionDirection, p as MobileServerNotificationPreferenceScope, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, u as MobileServerFeedMargin } from "../serverModelTypes-_cX99seo.js";
2
+ import { _ as MobileSignedRequestParams, a as GetMobileUsernameAvailabilityParams, b as MobileUsernameAvailability, c as MobileFeedTrade, d as MobileNotificationPreferences, f as MobilePublicProfile, g as MobileSetUsernameParams, h as MobileSetPrivateModeParams, i as GetMobileRegisteredWalletParams, l as MobileNotificationCategoryPreference, m as MobileRegisteredWallet, n as GetMobileNotificationPreferencesParams, o as MobileFeedMargin, p as MobileRegisterExpoTokenParams, r as GetMobilePublicProfileParams, s as MobileFeedPage, t as GetMobileFeedParams, u as MobileNotificationPreferenceScope, v as MobileUnregisterExpoTokenParams, x as MobileWithExpoTokenParams, y as MobileUpdateNotificationPreferencesParams } from "../clientTypes-D-o1_2Yc.js";
3
+ import { a as MobileServerPublicQueryRequestType, i as MobileServerPublicQueryRequestByType, n as MobileServerPublicExecuteRequestByType, o as MobileServerRequestType, r as MobileServerPublicExecuteRequestType, t as MobileServerExecuteRequestType } from "../serverRequestTypes-516zXnQ6.js";
4
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-B_KHFDab.js";
5
+ import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-GFjZj_DC.js";
6
+ import { a as MobileServerPublicQueryResponseByType, c as MobileServerUsernameAvailabilityResponse, i as MobileServerPublicQueryRequest, n as MobileServerNotificationPreferencesResponse, o as MobileServerPublicQuerySuccessResponse, r as MobileServerProfileResponse, s as MobileServerRegisteredWalletResponse, t as MobileServerFeedResponse } from "../serverQueryTypes-NIrPm2Sl.js";
7
7
  import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-CuQ5lyBV.js";
8
- import { t as MobileServerFailureError } from "../MobileServerFailureError-A2EcYe6Y.js";
9
- export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams, GetMobileSelfIdentityParams, 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, MobileIdentity, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerExecuteRequestType, MobileServerExecuteResult, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerIdentity, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfileResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSelfIdentityResponse, MobileServerSignedQueryRequestByType, MobileServerSignedQueryRequestType, MobileServerSignedQueryResponseByType, MobileServerSignedQuerySuccessResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
8
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-Terv2Wzy.js";
9
+ export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, 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, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerExecuteRequestType, MobileServerExecuteResult, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfileResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../MobileClient-SQ7byUxo.cjs");
2
+ require("../MobileClient-D5TNTnLx.cjs");
3
3
  //#region src/types/mobileErrorCodes.ts
4
4
  /**
5
5
  * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),
@@ -1,2 +1,2 @@
1
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-_a1pE464.cjs";
1
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-C8KjE9Fm.cjs";
2
2
  export { MobileServerFailureResponse, MobileServerSuccessResponse };
@@ -1,2 +1,2 @@
1
- import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-ClQZqTAK.js";
1
+ import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-B_KHFDab.js";
2
2
  export { MobileServerFailureResponse, MobileServerSuccessResponse };
@@ -1,2 +1,2 @@
1
- import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-CUla9jFj.cjs";
1
+ import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-Cb5v7y0A.cjs";
2
2
  export { MobileServerExecuteResult, MobileServerPublicExecuteRequest };