@nadohq/mobile-client 0.66.0 → 0.67.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 (156) hide show
  1. package/README.md +110 -17
  2. package/dist/{MobileClient-M4oC4lrX.cjs → MobileClient-vuI5wlB_.cjs} +69 -29
  3. package/dist/MobileClient-vuI5wlB_.cjs.map +1 -0
  4. package/dist/MobileClient.cjs +1 -1
  5. package/dist/MobileClient.d.cts +50 -25
  6. package/dist/MobileClient.d.cts.map +1 -1
  7. package/dist/MobileClient.d.ts +50 -25
  8. package/dist/MobileClient.d.ts.map +1 -1
  9. package/dist/MobileClient.js +69 -29
  10. package/dist/MobileClient.js.map +1 -1
  11. package/dist/{MobileServerFailureError-MtS2reel.d.cts → MobileServerFailureError-BeCCNShj.d.cts} +2 -2
  12. package/dist/{MobileServerFailureError-MtS2reel.d.cts.map → MobileServerFailureError-BeCCNShj.d.cts.map} +1 -1
  13. package/dist/{MobileServerFailureError-C9iqNsxI.d.ts → MobileServerFailureError-hHv28weI.d.ts} +2 -2
  14. package/dist/{MobileServerFailureError-C9iqNsxI.d.ts.map → MobileServerFailureError-hHv28weI.d.ts.map} +1 -1
  15. package/dist/{buildSignedMobileRequest-DyKCK34Y.d.cts → buildSignedMobileRequest-DcEMKU_4.d.cts} +2 -2
  16. package/dist/{buildSignedMobileRequest-DyKCK34Y.d.cts.map → buildSignedMobileRequest-DcEMKU_4.d.cts.map} +1 -1
  17. package/dist/{buildSignedMobileRequest-BR-KJhIF.d.ts → buildSignedMobileRequest-DlTMvoXR.d.ts} +2 -2
  18. package/dist/{buildSignedMobileRequest-BR-KJhIF.d.ts.map → buildSignedMobileRequest-DlTMvoXR.d.ts.map} +1 -1
  19. package/dist/{canonicalize-Bv6UIAbR.d.ts → canonicalize-BOZlflI3.d.ts} +2 -2
  20. package/dist/canonicalize-BOZlflI3.d.ts.map +1 -0
  21. package/dist/{canonicalize-CWh3XZzj.d.cts → canonicalize-BvCozzvJ.d.cts} +2 -2
  22. package/dist/canonicalize-BvCozzvJ.d.cts.map +1 -0
  23. package/dist/{clientTypes-DOpUcu80.d.cts → clientTypes-KpHlCDGZ.d.cts} +75 -49
  24. package/dist/clientTypes-KpHlCDGZ.d.cts.map +1 -0
  25. package/dist/{clientTypes-BUn5_OzK.d.ts → clientTypes-XRI41VdC.d.ts} +75 -49
  26. package/dist/clientTypes-XRI41VdC.d.ts.map +1 -0
  27. package/dist/dataMappers.cjs +56 -17
  28. package/dist/dataMappers.cjs.map +1 -1
  29. package/dist/dataMappers.d.cts +33 -13
  30. package/dist/dataMappers.d.cts.map +1 -1
  31. package/dist/dataMappers.d.ts +33 -13
  32. package/dist/dataMappers.d.ts.map +1 -1
  33. package/dist/dataMappers.js +53 -17
  34. package/dist/dataMappers.js.map +1 -1
  35. package/dist/{eip712MethodByType-CJ6BoayT.d.cts → eip712MethodByType-DyAmzH7b.d.cts} +2 -2
  36. package/dist/eip712MethodByType-DyAmzH7b.d.cts.map +1 -0
  37. package/dist/{eip712MethodByType-Dx4mvgni.d.ts → eip712MethodByType-qSSAF6i2.d.ts} +2 -2
  38. package/dist/eip712MethodByType-qSSAF6i2.d.ts.map +1 -0
  39. package/dist/feed-BrgkFqP3.d.cts +23 -0
  40. package/dist/feed-BrgkFqP3.d.cts.map +1 -0
  41. package/dist/feed-DcbhLoo1.d.ts +23 -0
  42. package/dist/feed-DcbhLoo1.d.ts.map +1 -0
  43. package/dist/index-BVVgDSdq.d.cts +1 -0
  44. package/dist/index-BVVgDSdq.d.ts +1 -0
  45. package/dist/index.cjs +2 -1
  46. package/dist/index.d.cts +13 -13
  47. package/dist/index.d.ts +13 -13
  48. package/dist/index.js +2 -2
  49. package/dist/{mobileErrorCodes-vD6rbFuF.d.ts → mobileErrorCodes-CdwX6QTO.d.cts} +3 -3
  50. package/dist/{mobileErrorCodes-vD6rbFuF.d.cts.map → mobileErrorCodes-CdwX6QTO.d.cts.map} +1 -1
  51. package/dist/{mobileErrorCodes-vD6rbFuF.d.cts → mobileErrorCodes-CdwX6QTO.d.ts} +3 -3
  52. package/dist/{mobileErrorCodes-vD6rbFuF.d.ts.map → mobileErrorCodes-CdwX6QTO.d.ts.map} +1 -1
  53. package/dist/{payloadHash-CdkF2Ocr.d.cts → payloadHash-BgGSZock.d.cts} +2 -2
  54. package/dist/payloadHash-BgGSZock.d.cts.map +1 -0
  55. package/dist/{payloadHash-HD29K77M.d.ts → payloadHash-Bi6upCLQ.d.ts} +2 -2
  56. package/dist/payloadHash-Bi6upCLQ.d.ts.map +1 -0
  57. package/dist/{serverExecuteTypes-5JyyIXRK.d.ts → serverExecuteTypes-DuCWe_H_.d.cts} +7 -14
  58. package/dist/{serverExecuteTypes-CHrQ9Rtq.d.cts.map → serverExecuteTypes-DuCWe_H_.d.cts.map} +1 -1
  59. package/dist/{serverExecuteTypes-CHrQ9Rtq.d.cts → serverExecuteTypes-usJ6HMJv.d.ts} +7 -14
  60. package/dist/{serverExecuteTypes-5JyyIXRK.d.ts.map → serverExecuteTypes-usJ6HMJv.d.ts.map} +1 -1
  61. package/dist/{serverModelTypes-CGUZCi0y.d.ts → serverModelTypes-CTHMNIQS.d.cts} +16 -14
  62. package/dist/serverModelTypes-CTHMNIQS.d.cts.map +1 -0
  63. package/dist/{serverModelTypes-CGUZCi0y.d.cts → serverModelTypes-CTHMNIQS.d.ts} +16 -14
  64. package/dist/serverModelTypes-CTHMNIQS.d.ts.map +1 -0
  65. package/dist/{serverResponseGuards-i1njcYKN.d.cts → serverResponseGuards-CzmldAad.d.cts} +2 -2
  66. package/dist/{serverResponseGuards-i1njcYKN.d.cts.map → serverResponseGuards-CzmldAad.d.cts.map} +1 -1
  67. package/dist/{serverResponseGuards-Bvw8ltYJ.d.ts → serverResponseGuards-Dvkbjp2_.d.ts} +2 -2
  68. package/dist/{serverResponseGuards-Bvw8ltYJ.d.ts.map → serverResponseGuards-Dvkbjp2_.d.ts.map} +1 -1
  69. package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
  70. package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
  71. package/dist/signing/canonicalize.cjs +4 -2
  72. package/dist/signing/canonicalize.cjs.map +1 -1
  73. package/dist/signing/canonicalize.d.cts +1 -1
  74. package/dist/signing/canonicalize.d.ts +1 -1
  75. package/dist/signing/canonicalize.js +4 -2
  76. package/dist/signing/canonicalize.js.map +1 -1
  77. package/dist/signing/eip712MethodByType.d.cts +1 -1
  78. package/dist/signing/eip712MethodByType.d.ts +1 -1
  79. package/dist/signing/index.d.cts +5 -5
  80. package/dist/signing/index.d.ts +5 -5
  81. package/dist/signing/payloadHash.d.cts +1 -1
  82. package/dist/signing/payloadHash.d.ts +1 -1
  83. package/dist/signing/types.d.cts +1 -1
  84. package/dist/signing/types.d.ts +1 -1
  85. package/dist/types/MobileServerFailureError.d.cts +1 -1
  86. package/dist/types/MobileServerFailureError.d.ts +1 -1
  87. package/dist/types/clientTypes.d.cts +2 -2
  88. package/dist/types/clientTypes.d.ts +2 -2
  89. package/dist/types/index.d.cts +7 -7
  90. package/dist/types/index.d.ts +7 -7
  91. package/dist/types/mobileErrorCodes.cjs +2 -2
  92. package/dist/types/mobileErrorCodes.cjs.map +1 -1
  93. package/dist/types/mobileErrorCodes.d.cts +1 -1
  94. package/dist/types/mobileErrorCodes.d.ts +1 -1
  95. package/dist/types/mobileErrorCodes.js +2 -2
  96. package/dist/types/mobileErrorCodes.js.map +1 -1
  97. package/dist/types/serverBaseTypes.d.cts +1 -1
  98. package/dist/types/serverBaseTypes.d.ts +1 -1
  99. package/dist/types/serverExecuteTypes.d.cts +2 -2
  100. package/dist/types/serverExecuteTypes.d.ts +2 -2
  101. package/dist/types/serverModelTypes.cjs.map +1 -1
  102. package/dist/types/serverModelTypes.d.cts +2 -2
  103. package/dist/types/serverModelTypes.d.ts +2 -2
  104. package/dist/types/serverModelTypes.js.map +1 -1
  105. package/dist/types/serverQueryTypes.d.cts +2 -2
  106. package/dist/types/serverQueryTypes.d.ts +2 -2
  107. package/dist/types/serverRequestTypes.d.cts +1 -1
  108. package/dist/types/serverRequestTypes.d.ts +1 -1
  109. package/dist/{types-C9YE4EIt.d.cts → types-CByl_NyJ.d.ts} +49 -18
  110. package/dist/types-CByl_NyJ.d.ts.map +1 -0
  111. package/dist/{types-Cwy1y_9x.d.ts → types-CR5iaKR4.d.cts} +49 -18
  112. package/dist/types-CR5iaKR4.d.cts.map +1 -0
  113. package/dist/utils/feed.cjs +9 -0
  114. package/dist/utils/feed.cjs.map +1 -1
  115. package/dist/utils/feed.d.cts +2 -2
  116. package/dist/utils/feed.d.ts +2 -2
  117. package/dist/utils/feed.js +9 -1
  118. package/dist/utils/feed.js.map +1 -1
  119. package/dist/utils/index.cjs +1 -0
  120. package/dist/utils/index.d.cts +3 -3
  121. package/dist/utils/index.d.ts +3 -3
  122. package/dist/utils/index.js +2 -2
  123. package/dist/utils/serverResponseGuards.d.cts +1 -1
  124. package/dist/utils/serverResponseGuards.d.ts +1 -1
  125. package/package.json +3 -3
  126. package/src/MobileClient.ts +82 -34
  127. package/src/dataMappers.test.ts +408 -9
  128. package/src/dataMappers.ts +76 -23
  129. package/src/signing/canonicalize.ts +6 -0
  130. package/src/signing/signing.test.ts +51 -0
  131. package/src/signing/types.ts +4 -0
  132. package/src/socialFeed.test.ts +53 -28
  133. package/src/types/clientTypes.ts +82 -47
  134. package/src/types/mobileErrorCodes.ts +2 -2
  135. package/src/types/serverExecuteTypes.ts +4 -12
  136. package/src/types/serverModelTypes.ts +19 -13
  137. package/src/types/serverQueryTypes.ts +32 -4
  138. package/src/types/serverRequestTypes.ts +20 -12
  139. package/src/utils/feed.ts +13 -0
  140. package/dist/MobileClient-M4oC4lrX.cjs.map +0 -1
  141. package/dist/canonicalize-Bv6UIAbR.d.ts.map +0 -1
  142. package/dist/canonicalize-CWh3XZzj.d.cts.map +0 -1
  143. package/dist/clientTypes-BUn5_OzK.d.ts.map +0 -1
  144. package/dist/clientTypes-DOpUcu80.d.cts.map +0 -1
  145. package/dist/eip712MethodByType-CJ6BoayT.d.cts.map +0 -1
  146. package/dist/eip712MethodByType-Dx4mvgni.d.ts.map +0 -1
  147. package/dist/feed-DErOLaoY.d.cts +0 -16
  148. package/dist/feed-DErOLaoY.d.cts.map +0 -1
  149. package/dist/feed-DErOLaoY.d.ts +0 -16
  150. package/dist/feed-DErOLaoY.d.ts.map +0 -1
  151. package/dist/payloadHash-CdkF2Ocr.d.cts.map +0 -1
  152. package/dist/payloadHash-HD29K77M.d.ts.map +0 -1
  153. package/dist/serverModelTypes-CGUZCi0y.d.cts.map +0 -1
  154. package/dist/serverModelTypes-CGUZCi0y.d.ts.map +0 -1
  155. package/dist/types-C9YE4EIt.d.cts.map +0 -1
  156. package/dist/types-Cwy1y_9x.d.ts.map +0 -1
@@ -469,19 +469,11 @@ interface MobileServerSocialFeedCommentPreview {
469
469
  items: MobileServerSocialFeedReply[];
470
470
  /** Comment count. */
471
471
  total_count: number;
472
- /** Comment cursor, if available. */
472
+ /** Opens the first complete group page in the same snapshot; do not prepend preview items. */
473
473
  next_cursor: string | null;
474
474
  }
475
- /** Exposure requirements associated with a reading session. */
476
- interface MobileServerSocialFeedViewTracking {
477
- /**
478
- * Detail-visit exposure: report the primary detail target after it is shown in the foreground.
479
- * List visible-ratio / dwell thresholds are no longer used.
480
- */
481
- mode: 'detail_visit';
482
- }
483
475
  /** Uploaded feed image metadata; bytes are fetched separately with the reading session. */
484
- interface MobileServerSocialFeedImage {
476
+ interface MobileServerSocialFeedUploadedImage {
485
477
  /** Image UUID. */
486
478
  image_id: string;
487
479
  /** Backend path for the original image bytes. */
@@ -497,6 +489,13 @@ interface MobileServerSocialFeedImage {
497
489
  /** Always-present thumbnail (longest edge ≤ 512, never upscaled). */
498
490
  thumbnail: MobileServerSocialFeedImageThumbnail;
499
491
  }
492
+ /** External image loaded directly from its URL without Mobile session headers. */
493
+ interface MobileServerSocialFeedExternalImage {
494
+ /** Original HTTP/HTTPS URL; no upload metadata or thumbnail is provided. */
495
+ url: string;
496
+ }
497
+ /** Uploaded image metadata or an external URL; uploaded images precede external images. */
498
+ type MobileServerSocialFeedImage = MobileServerSocialFeedUploadedImage | MobileServerSocialFeedExternalImage;
500
499
  /** Thumbnail metadata for an uploaded feed image. */
501
500
  interface MobileServerSocialFeedImageThumbnail {
502
501
  /** Backend path for the thumbnail bytes. */
@@ -612,8 +611,6 @@ interface MobileServerSocialFeedReadSession {
612
611
  mode: MobileSocialFeedReadSessionMode;
613
612
  /** Current idle expiration in Unix milliseconds; legitimate session requests renew it. */
614
613
  expires_at_ms: number;
615
- /** Visibility requirements for explicit exposure reporting. */
616
- view_tracking: MobileServerSocialFeedViewTracking;
617
614
  /** Initial update baseline, distinct from the page cursor. */
618
615
  update_cursor: string | null;
619
616
  /** Credential for this reading session. Do not log or cache publicly. */
@@ -752,6 +749,11 @@ interface MobileServerSocialFeedReply extends MobileServerSocialFeedItemBase {
752
749
  /** Reply interaction state. */
753
750
  interaction: MobileServerSocialFeedInteraction;
754
751
  }
752
+ /** Top-level comment and all readable descendants from the same thread snapshot. */
753
+ interface MobileServerSocialFeedCommentGroup extends MobileServerSocialFeedReply {
754
+ /** Flat descendants in creation-time, depth, then UUID order; empty when none. */
755
+ replies: MobileServerSocialFeedReply[];
756
+ }
755
757
  /** Current eligibility hints; actual writes still recheck the signed author. */
756
758
  interface MobileServerSocialFeedPublishablePosition {
757
759
  /** Candidate position. */
@@ -934,5 +936,5 @@ interface MobileServerSocialFeedChartRange {
934
936
  to_ms: number;
935
937
  }
936
938
  //#endregion
937
- export { MobileServerSocialFeedInteraction as $, MobileServerNotificationPreferences as A, MobileSocialFeedLeverage as At, MobileServerSocialFeedChartRange as B, MobileSocialFeedPositionState as Bt, MobileServerIdentitySummary as C, MobileSocialFeedActionResolution as Ct, MobileServerNotificationInboxItem as D, MobileSocialFeedChartInterval as Dt, MobileServerNotificationDeviceMetadata as E, MobileSocialFeedChartDataQuality as Et, MobileServerSocialFeedActionCandidate as F, MobileSocialFeedPnlMode as Ft, MobileServerSocialFeedContentBase as G, MobileSocialFeedTradeCardAction as Gt, MobileServerSocialFeedCohortCoverage as H, MobileSocialFeedReadSessionMode as Ht, MobileServerSocialFeedActionMarker as I, MobileSocialFeedPnlQuality as It, MobileServerSocialFeedHistoryMetrics as J, MobileSocialFeedTraderDataStatus as Jt, MobileServerSocialFeedDrawing as K, MobileSocialFeedTradeSizeChangeAction as Kt, MobileServerSocialFeedAuthor as L, MobileSocialFeedPositionDisplayBasis as Lt, MobileServerNotificationSettings as M, MobileSocialFeedMarketCategory as Mt, MobileServerProductEvent as N, MobileSocialFeedMention as Nt, MobileServerNotificationPayloadV2 as O, MobileSocialFeedCohortStatus as Ot, MobileServerProfile as P, MobileSocialFeedPnlBasis as Pt, MobileServerSocialFeedImageThumbnail as Q, MobileServerSocialFeedCandle as R, MobileSocialFeedPositionResolution as Rt, MobileServerFollowSummary as S, MobileSocialFeedActionPriceBasis as St, MobileServerNotificationCategoryPreference as T, MobileSocialFeedAttachmentStatus as Tt, MobileServerSocialFeedCommentPreview as U, MobileSocialFeedSourceCategory as Ut, MobileServerSocialFeedCohort as V, MobileSocialFeedPresenceState as Vt, MobileServerSocialFeedCompactCard as W, MobileSocialFeedTargetType as Wt, MobileServerSocialFeedHistoryTake as X, MobileSocialFeedType as Xt, MobileServerSocialFeedHistorySummary as Y, MobileSocialFeedTradingResolution as Yt, MobileServerSocialFeedImage as Z, MobileSocialFeedUnavailableTarget as Zt, MobileServerAvatarPreset as _, MobileServerSocialFeedTraderBadge as _t, MOBILE_NOTIFICATION_POSITION_THRESHOLDS as a, MobileServerSocialFeedPositionAction as at, MobileServerFeedTrade as b, MobileServerSocialFeedViewTracking as bt, MobileFeedTradePositionDirection as c, MobileServerSocialFeedPositionPatch as ct, MobileNotificationMinTradeSizeUsd as d, MobileServerSocialFeedReadSession as dt, MobileServerSocialFeedItem as et, MobileNotificationPlatform as f, MobileServerSocialFeedReply as ft, MobileProductEventName as g, MobileServerSocialFeedTradeRowBase as gt, MobileNotificationTypeId as h, MobileServerSocialFeedTradeRow as ht, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD as i, MobileServerSocialFeedPnl as it, MobileServerNotificationRoute as j, MobileSocialFeedLiquidationPriceQuality as jt, MobileServerNotificationPreferenceScope as k, MobileSocialFeedHistoryQuality as kt, MobileFeedTradePositionEffect as l, MobileServerSocialFeedPost as lt, MobileNotificationRouteName as m, MobileServerSocialFeedTradeCard as mt, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileServerSocialFeedItemPatch as nt, MobileFeedMarginMode as o, MobileServerSocialFeedPositionCard as ot, MobileNotificationPositionThreshold as p, MobileServerSocialFeedTimelineEntry as pt, MobileServerSocialFeedEstimatedLiquidationLine as q, MobileSocialFeedTraderBadgeCode as qt, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileServerSocialFeedMarket as rt, MobileFeedTradePosition as s, MobileServerSocialFeedPositionHistoryCard as st, MOBILE_FEED_MARGIN_MODES as t, MobileServerSocialFeedItemBase as tt, MobileNotificationCategory as u, MobileServerSocialFeedPublishablePosition as ut, MobileServerAvatarSelection as v, MobileServerSocialFeedTradingContext as vt, MobileServerNotificationCapabilities as w, MobileSocialFeedActionUnavailableReason as wt, MobileServerFollowListAccount as x, MobileSocialFeedAction as xt, MobileServerFeedMargin as y, MobileServerSocialFeedTradingTarget as yt, MobileServerSocialFeedCapabilities as z, MobileSocialFeedPositionResolutionReason as zt };
938
- //# sourceMappingURL=serverModelTypes-CGUZCi0y.d.ts.map
939
+ export { MobileServerSocialFeedImage as $, MobileSocialFeedUnavailableTarget as $t, MobileServerNotificationPreferences as A, MobileSocialFeedCohortStatus as At, MobileServerSocialFeedChartRange as B, MobileSocialFeedPositionResolution as Bt, MobileServerIdentitySummary as C, MobileSocialFeedAction as Ct, MobileServerNotificationInboxItem as D, MobileSocialFeedAttachmentStatus as Dt, MobileServerNotificationDeviceMetadata as E, MobileSocialFeedActionUnavailableReason as Et, MobileServerSocialFeedActionCandidate as F, MobileSocialFeedMention as Ft, MobileServerSocialFeedCompactCard as G, MobileSocialFeedSourceCategory as Gt, MobileServerSocialFeedCohortCoverage as H, MobileSocialFeedPositionState as Ht, MobileServerSocialFeedActionMarker as I, MobileSocialFeedPnlBasis as It, MobileServerSocialFeedEstimatedLiquidationLine as J, MobileSocialFeedTradeSizeChangeAction as Jt, MobileServerSocialFeedContentBase as K, MobileSocialFeedTargetType as Kt, MobileServerSocialFeedAuthor as L, MobileSocialFeedPnlMode as Lt, MobileServerNotificationSettings as M, MobileSocialFeedLeverage as Mt, MobileServerProductEvent as N, MobileSocialFeedLiquidationPriceQuality as Nt, MobileServerNotificationPayloadV2 as O, MobileSocialFeedChartDataQuality as Ot, MobileServerProfile as P, MobileSocialFeedMarketCategory as Pt, MobileServerSocialFeedHistoryTake as Q, MobileSocialFeedType as Qt, MobileServerSocialFeedCandle as R, MobileSocialFeedPnlQuality as Rt, MobileServerFollowSummary as S, MobileServerSocialFeedUploadedImage as St, MobileServerNotificationCategoryPreference as T, MobileSocialFeedActionResolution as Tt, MobileServerSocialFeedCommentGroup as U, MobileSocialFeedPresenceState as Ut, MobileServerSocialFeedCohort as V, MobileSocialFeedPositionResolutionReason as Vt, MobileServerSocialFeedCommentPreview as W, MobileSocialFeedReadSessionMode as Wt, MobileServerSocialFeedHistoryMetrics as X, MobileSocialFeedTraderDataStatus as Xt, MobileServerSocialFeedExternalImage as Y, MobileSocialFeedTraderBadgeCode as Yt, MobileServerSocialFeedHistorySummary as Z, MobileSocialFeedTradingResolution as Zt, MobileServerAvatarPreset as _, MobileServerSocialFeedTradeRow as _t, MOBILE_NOTIFICATION_POSITION_THRESHOLDS as a, MobileServerSocialFeedMarket as at, MobileServerFeedTrade as b, MobileServerSocialFeedTradingContext as bt, MobileFeedTradePositionDirection as c, MobileServerSocialFeedPositionCard as ct, MobileNotificationMinTradeSizeUsd as d, MobileServerSocialFeedPost as dt, MobileServerSocialFeedImageThumbnail as et, MobileNotificationPlatform as f, MobileServerSocialFeedPublishablePosition as ft, MobileProductEventName as g, MobileServerSocialFeedTradeCard as gt, MobileNotificationTypeId as h, MobileServerSocialFeedTimelineEntry as ht, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD as i, MobileServerSocialFeedItemPatch as it, MobileServerNotificationRoute as j, MobileSocialFeedHistoryQuality as jt, MobileServerNotificationPreferenceScope as k, MobileSocialFeedChartInterval as kt, MobileFeedTradePositionEffect as l, MobileServerSocialFeedPositionHistoryCard as lt, MobileNotificationRouteName as m, MobileServerSocialFeedReply as mt, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileServerSocialFeedItem as nt, MobileFeedMarginMode as o, MobileServerSocialFeedPnl as ot, MobileNotificationPositionThreshold as p, MobileServerSocialFeedReadSession as pt, MobileServerSocialFeedDrawing as q, MobileSocialFeedTradeCardAction as qt, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileServerSocialFeedItemBase as rt, MobileFeedTradePosition as s, MobileServerSocialFeedPositionAction as st, MOBILE_FEED_MARGIN_MODES as t, MobileServerSocialFeedInteraction as tt, MobileNotificationCategory as u, MobileServerSocialFeedPositionPatch as ut, MobileServerAvatarSelection as v, MobileServerSocialFeedTradeRowBase as vt, MobileServerNotificationCapabilities as w, MobileSocialFeedActionPriceBasis as wt, MobileServerFollowListAccount as x, MobileServerSocialFeedTradingTarget as xt, MobileServerFeedMargin as y, MobileServerSocialFeedTraderBadge as yt, MobileServerSocialFeedCapabilities as z, MobileSocialFeedPositionDisplayBasis as zt };
940
+ //# sourceMappingURL=serverModelTypes-CTHMNIQS.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverModelTypes-CTHMNIQS.d.cts","names":[],"sources":["../src/types/src/types/serverModelTypes.ts"],"mappings":";;;;;;AAMA;KAAY,2BAAA;oCAGN,IAAA;EAEA,EAAA;AAAA;EAMA,2CAFA,IAAA,YAEU;EAAV,UAAA;AAAA;;;AAUM;UAJK,wBAAA;EAUqB;E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;EAsJA,YAAA;EAlJA;EAoJA,QAAA;EAlJkB;EAoJlB,QAAA;EAhJe;EAkJf,OAAA;;EAEA,SAAA;EAlJA;EAoJA,UAAA;AAAA;;UAIe,kCAAA;EAhJf;EAkJA,SAAA;EAlJ2D;EAoJ3D,YAAA;EAhJe;EAkJf,SAAA;;EAEA,MAAA,EAAQ,sBAAA;EAlJR;EAoJA,SAAA,EAAW,gCAAA;EAlJgB;EAoJ3B,WAAA,EAAa,gCAAA;AAAA;;UAIE,oCAAA;EAhJf;EAkJA,YAAA;EAlJgB;EAoJhB,UAAU;AAAA;;UAIK,8CAAA;EAjJuB;EAmJtC,SAAA;EAhJmD;EAkJnD,QAAQ;AAAA;;UAIO,gCAAA;EAxHL;EA0HV,OAAA;EA1HkC;EA4HlC,KAAK;AAAA"}
@@ -469,19 +469,11 @@ interface MobileServerSocialFeedCommentPreview {
469
469
  items: MobileServerSocialFeedReply[];
470
470
  /** Comment count. */
471
471
  total_count: number;
472
- /** Comment cursor, if available. */
472
+ /** Opens the first complete group page in the same snapshot; do not prepend preview items. */
473
473
  next_cursor: string | null;
474
474
  }
475
- /** Exposure requirements associated with a reading session. */
476
- interface MobileServerSocialFeedViewTracking {
477
- /**
478
- * Detail-visit exposure: report the primary detail target after it is shown in the foreground.
479
- * List visible-ratio / dwell thresholds are no longer used.
480
- */
481
- mode: 'detail_visit';
482
- }
483
475
  /** Uploaded feed image metadata; bytes are fetched separately with the reading session. */
484
- interface MobileServerSocialFeedImage {
476
+ interface MobileServerSocialFeedUploadedImage {
485
477
  /** Image UUID. */
486
478
  image_id: string;
487
479
  /** Backend path for the original image bytes. */
@@ -497,6 +489,13 @@ interface MobileServerSocialFeedImage {
497
489
  /** Always-present thumbnail (longest edge ≤ 512, never upscaled). */
498
490
  thumbnail: MobileServerSocialFeedImageThumbnail;
499
491
  }
492
+ /** External image loaded directly from its URL without Mobile session headers. */
493
+ interface MobileServerSocialFeedExternalImage {
494
+ /** Original HTTP/HTTPS URL; no upload metadata or thumbnail is provided. */
495
+ url: string;
496
+ }
497
+ /** Uploaded image metadata or an external URL; uploaded images precede external images. */
498
+ type MobileServerSocialFeedImage = MobileServerSocialFeedUploadedImage | MobileServerSocialFeedExternalImage;
500
499
  /** Thumbnail metadata for an uploaded feed image. */
501
500
  interface MobileServerSocialFeedImageThumbnail {
502
501
  /** Backend path for the thumbnail bytes. */
@@ -612,8 +611,6 @@ interface MobileServerSocialFeedReadSession {
612
611
  mode: MobileSocialFeedReadSessionMode;
613
612
  /** Current idle expiration in Unix milliseconds; legitimate session requests renew it. */
614
613
  expires_at_ms: number;
615
- /** Visibility requirements for explicit exposure reporting. */
616
- view_tracking: MobileServerSocialFeedViewTracking;
617
614
  /** Initial update baseline, distinct from the page cursor. */
618
615
  update_cursor: string | null;
619
616
  /** Credential for this reading session. Do not log or cache publicly. */
@@ -752,6 +749,11 @@ interface MobileServerSocialFeedReply extends MobileServerSocialFeedItemBase {
752
749
  /** Reply interaction state. */
753
750
  interaction: MobileServerSocialFeedInteraction;
754
751
  }
752
+ /** Top-level comment and all readable descendants from the same thread snapshot. */
753
+ interface MobileServerSocialFeedCommentGroup extends MobileServerSocialFeedReply {
754
+ /** Flat descendants in creation-time, depth, then UUID order; empty when none. */
755
+ replies: MobileServerSocialFeedReply[];
756
+ }
755
757
  /** Current eligibility hints; actual writes still recheck the signed author. */
756
758
  interface MobileServerSocialFeedPublishablePosition {
757
759
  /** Candidate position. */
@@ -934,5 +936,5 @@ interface MobileServerSocialFeedChartRange {
934
936
  to_ms: number;
935
937
  }
936
938
  //#endregion
937
- export { MobileServerSocialFeedInteraction as $, MobileServerNotificationPreferences as A, MobileSocialFeedLeverage as At, MobileServerSocialFeedChartRange as B, MobileSocialFeedPositionState as Bt, MobileServerIdentitySummary as C, MobileSocialFeedActionResolution as Ct, MobileServerNotificationInboxItem as D, MobileSocialFeedChartInterval as Dt, MobileServerNotificationDeviceMetadata as E, MobileSocialFeedChartDataQuality as Et, MobileServerSocialFeedActionCandidate as F, MobileSocialFeedPnlMode as Ft, MobileServerSocialFeedContentBase as G, MobileSocialFeedTradeCardAction as Gt, MobileServerSocialFeedCohortCoverage as H, MobileSocialFeedReadSessionMode as Ht, MobileServerSocialFeedActionMarker as I, MobileSocialFeedPnlQuality as It, MobileServerSocialFeedHistoryMetrics as J, MobileSocialFeedTraderDataStatus as Jt, MobileServerSocialFeedDrawing as K, MobileSocialFeedTradeSizeChangeAction as Kt, MobileServerSocialFeedAuthor as L, MobileSocialFeedPositionDisplayBasis as Lt, MobileServerNotificationSettings as M, MobileSocialFeedMarketCategory as Mt, MobileServerProductEvent as N, MobileSocialFeedMention as Nt, MobileServerNotificationPayloadV2 as O, MobileSocialFeedCohortStatus as Ot, MobileServerProfile as P, MobileSocialFeedPnlBasis as Pt, MobileServerSocialFeedImageThumbnail as Q, MobileServerSocialFeedCandle as R, MobileSocialFeedPositionResolution as Rt, MobileServerFollowSummary as S, MobileSocialFeedActionPriceBasis as St, MobileServerNotificationCategoryPreference as T, MobileSocialFeedAttachmentStatus as Tt, MobileServerSocialFeedCommentPreview as U, MobileSocialFeedSourceCategory as Ut, MobileServerSocialFeedCohort as V, MobileSocialFeedPresenceState as Vt, MobileServerSocialFeedCompactCard as W, MobileSocialFeedTargetType as Wt, MobileServerSocialFeedHistoryTake as X, MobileSocialFeedType as Xt, MobileServerSocialFeedHistorySummary as Y, MobileSocialFeedTradingResolution as Yt, MobileServerSocialFeedImage as Z, MobileSocialFeedUnavailableTarget as Zt, MobileServerAvatarPreset as _, MobileServerSocialFeedTraderBadge as _t, MOBILE_NOTIFICATION_POSITION_THRESHOLDS as a, MobileServerSocialFeedPositionAction as at, MobileServerFeedTrade as b, MobileServerSocialFeedViewTracking as bt, MobileFeedTradePositionDirection as c, MobileServerSocialFeedPositionPatch as ct, MobileNotificationMinTradeSizeUsd as d, MobileServerSocialFeedReadSession as dt, MobileServerSocialFeedItem as et, MobileNotificationPlatform as f, MobileServerSocialFeedReply as ft, MobileProductEventName as g, MobileServerSocialFeedTradeRowBase as gt, MobileNotificationTypeId as h, MobileServerSocialFeedTradeRow as ht, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD as i, MobileServerSocialFeedPnl as it, MobileServerNotificationRoute as j, MobileSocialFeedLiquidationPriceQuality as jt, MobileServerNotificationPreferenceScope as k, MobileSocialFeedHistoryQuality as kt, MobileFeedTradePositionEffect as l, MobileServerSocialFeedPost as lt, MobileNotificationRouteName as m, MobileServerSocialFeedTradeCard as mt, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileServerSocialFeedItemPatch as nt, MobileFeedMarginMode as o, MobileServerSocialFeedPositionCard as ot, MobileNotificationPositionThreshold as p, MobileServerSocialFeedTimelineEntry as pt, MobileServerSocialFeedEstimatedLiquidationLine as q, MobileSocialFeedTraderBadgeCode as qt, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileServerSocialFeedMarket as rt, MobileFeedTradePosition as s, MobileServerSocialFeedPositionHistoryCard as st, MOBILE_FEED_MARGIN_MODES as t, MobileServerSocialFeedItemBase as tt, MobileNotificationCategory as u, MobileServerSocialFeedPublishablePosition as ut, MobileServerAvatarSelection as v, MobileServerSocialFeedTradingContext as vt, MobileServerNotificationCapabilities as w, MobileSocialFeedActionUnavailableReason as wt, MobileServerFollowListAccount as x, MobileSocialFeedAction as xt, MobileServerFeedMargin as y, MobileServerSocialFeedTradingTarget as yt, MobileServerSocialFeedCapabilities as z, MobileSocialFeedPositionResolutionReason as zt };
938
- //# sourceMappingURL=serverModelTypes-CGUZCi0y.d.cts.map
939
+ export { MobileServerSocialFeedImage as $, MobileSocialFeedUnavailableTarget as $t, MobileServerNotificationPreferences as A, MobileSocialFeedCohortStatus as At, MobileServerSocialFeedChartRange as B, MobileSocialFeedPositionResolution as Bt, MobileServerIdentitySummary as C, MobileSocialFeedAction as Ct, MobileServerNotificationInboxItem as D, MobileSocialFeedAttachmentStatus as Dt, MobileServerNotificationDeviceMetadata as E, MobileSocialFeedActionUnavailableReason as Et, MobileServerSocialFeedActionCandidate as F, MobileSocialFeedMention as Ft, MobileServerSocialFeedCompactCard as G, MobileSocialFeedSourceCategory as Gt, MobileServerSocialFeedCohortCoverage as H, MobileSocialFeedPositionState as Ht, MobileServerSocialFeedActionMarker as I, MobileSocialFeedPnlBasis as It, MobileServerSocialFeedEstimatedLiquidationLine as J, MobileSocialFeedTradeSizeChangeAction as Jt, MobileServerSocialFeedContentBase as K, MobileSocialFeedTargetType as Kt, MobileServerSocialFeedAuthor as L, MobileSocialFeedPnlMode as Lt, MobileServerNotificationSettings as M, MobileSocialFeedLeverage as Mt, MobileServerProductEvent as N, MobileSocialFeedLiquidationPriceQuality as Nt, MobileServerNotificationPayloadV2 as O, MobileSocialFeedChartDataQuality as Ot, MobileServerProfile as P, MobileSocialFeedMarketCategory as Pt, MobileServerSocialFeedHistoryTake as Q, MobileSocialFeedType as Qt, MobileServerSocialFeedCandle as R, MobileSocialFeedPnlQuality as Rt, MobileServerFollowSummary as S, MobileServerSocialFeedUploadedImage as St, MobileServerNotificationCategoryPreference as T, MobileSocialFeedActionResolution as Tt, MobileServerSocialFeedCommentGroup as U, MobileSocialFeedPresenceState as Ut, MobileServerSocialFeedCohort as V, MobileSocialFeedPositionResolutionReason as Vt, MobileServerSocialFeedCommentPreview as W, MobileSocialFeedReadSessionMode as Wt, MobileServerSocialFeedHistoryMetrics as X, MobileSocialFeedTraderDataStatus as Xt, MobileServerSocialFeedExternalImage as Y, MobileSocialFeedTraderBadgeCode as Yt, MobileServerSocialFeedHistorySummary as Z, MobileSocialFeedTradingResolution as Zt, MobileServerAvatarPreset as _, MobileServerSocialFeedTradeRow as _t, MOBILE_NOTIFICATION_POSITION_THRESHOLDS as a, MobileServerSocialFeedMarket as at, MobileServerFeedTrade as b, MobileServerSocialFeedTradingContext as bt, MobileFeedTradePositionDirection as c, MobileServerSocialFeedPositionCard as ct, MobileNotificationMinTradeSizeUsd as d, MobileServerSocialFeedPost as dt, MobileServerSocialFeedImageThumbnail as et, MobileNotificationPlatform as f, MobileServerSocialFeedPublishablePosition as ft, MobileProductEventName as g, MobileServerSocialFeedTradeCard as gt, MobileNotificationTypeId as h, MobileServerSocialFeedTimelineEntry as ht, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD as i, MobileServerSocialFeedItemPatch as it, MobileServerNotificationRoute as j, MobileSocialFeedHistoryQuality as jt, MobileServerNotificationPreferenceScope as k, MobileSocialFeedChartInterval as kt, MobileFeedTradePositionEffect as l, MobileServerSocialFeedPositionHistoryCard as lt, MobileNotificationRouteName as m, MobileServerSocialFeedReply as mt, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileServerSocialFeedItem as nt, MobileFeedMarginMode as o, MobileServerSocialFeedPnl as ot, MobileNotificationPositionThreshold as p, MobileServerSocialFeedReadSession as pt, MobileServerSocialFeedDrawing as q, MobileSocialFeedTradeCardAction as qt, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileServerSocialFeedItemBase as rt, MobileFeedTradePosition as s, MobileServerSocialFeedPositionAction as st, MOBILE_FEED_MARGIN_MODES as t, MobileServerSocialFeedInteraction as tt, MobileNotificationCategory as u, MobileServerSocialFeedPositionPatch as ut, MobileServerAvatarSelection as v, MobileServerSocialFeedTradeRowBase as vt, MobileServerNotificationCapabilities as w, MobileSocialFeedActionPriceBasis as wt, MobileServerFollowListAccount as x, MobileServerSocialFeedTradingTarget as xt, MobileServerFeedMargin as y, MobileServerSocialFeedTraderBadge as yt, MobileServerSocialFeedCapabilities as z, MobileSocialFeedPositionDisplayBasis as zt };
940
+ //# sourceMappingURL=serverModelTypes-CTHMNIQS.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverModelTypes-CTHMNIQS.d.ts","names":[],"sources":["../src/types/src/types/serverModelTypes.ts"],"mappings":";;;;;;AAMA;KAAY,2BAAA;oCAGN,IAAA;EAEA,EAAA;AAAA;EAMA,2CAFA,IAAA,YAEU;EAAV,UAAA;AAAA;;;AAUM;UAJK,w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e,4BAAA;EApJf;EAsJA,YAAA;EAlJA;EAoJA,QAAA;EAlJkB;EAoJlB,QAAA;EAhJe;EAkJf,OAAA;;EAEA,SAAA;EAlJA;EAoJA,UAAA;AAAA;;UAIe,kCAAA;EAhJf;EAkJA,SAAA;EAlJ2D;EAoJ3D,YAAA;EAhJe;EAkJf,SAAA;;EAEA,MAAA,EAAQ,sBAAA;EAlJR;EAoJA,SAAA,EAAW,gCAAA;EAlJgB;EAoJ3B,WAAA,EAAa,gCAAA;AAAA;;UAIE,oCAAA;EAhJf;EAkJA,YAAA;EAlJgB;EAoJhB,UAAU;AAAA;;UAIK,8CAAA;EAjJuB;EAmJtC,SAAA;EAhJmD;EAkJnD,QAAQ;AAAA;;UAIO,gCAAA;EAxHL;EA0HV,OAAA;EA1HkC;EA4HlC,KAAK;AAAA"}
@@ -1,4 +1,4 @@
1
- import { $ as MobileServerFailureResponse } from "./types-C9YE4EIt.cjs";
1
+ import { tt as MobileServerFailureResponse } from "./types-CR5iaKR4.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-i1njcYKN.d.cts.map
16
+ //# sourceMappingURL=serverResponseGuards-CzmldAad.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverResponseGuards-i1njcYKN.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-CzmldAad.d.cts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
@@ -1,4 +1,4 @@
1
- import { $ as MobileServerFailureResponse } from "./types-Cwy1y_9x.js";
1
+ import { tt as MobileServerFailureResponse } from "./types-CByl_NyJ.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-Bvw8ltYJ.d.ts.map
16
+ //# sourceMappingURL=serverResponseGuards-Dvkbjp2_.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverResponseGuards-Bvw8ltYJ.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-Dvkbjp2_.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,2 +1,2 @@
1
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DyKCK34Y.cjs";
1
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DcEMKU_4.cjs";
2
2
  export { buildSignedMobileRequest };
@@ -1,2 +1,2 @@
1
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BR-KJhIF.js";
1
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DlTMvoXR.js";
2
2
  export { buildSignedMobileRequest };
@@ -59,7 +59,8 @@ function canonicalizeMobileInner(inner) {
59
59
  text: inner.text,
60
60
  mentions: inner.mentions.map(canonicalizeMention),
61
61
  ...inner.drawing_data_json === void 0 ? {} : { drawing_data_json: inner.drawing_data_json },
62
- ...inner.image_ids === void 0 ? {} : { image_ids: [...inner.image_ids] }
62
+ ...inner.image_ids === void 0 ? {} : { image_ids: [...inner.image_ids] },
63
+ ...inner.image_urls === void 0 ? {} : { image_urls: [...inner.image_urls] }
63
64
  };
64
65
  case "create_feed_comment": return {
65
66
  type: inner.type,
@@ -69,7 +70,8 @@ function canonicalizeMobileInner(inner) {
69
70
  text: inner.text,
70
71
  mentions: inner.mentions.map(canonicalizeMention),
71
72
  ...inner.attached_position_id === void 0 ? {} : { attached_position_id: inner.attached_position_id },
72
- ...inner.image_ids === void 0 ? {} : { image_ids: [...inner.image_ids] }
73
+ ...inner.image_ids === void 0 ? {} : { image_ids: [...inner.image_ids] },
74
+ ...inner.image_urls === void 0 ? {} : { image_urls: [...inner.image_urls] }
73
75
  };
74
76
  case "create_feed_post_image_uploads":
75
77
  case "create_feed_comment_image_uploads": return {
@@ -1 +1 @@
1
- {"version":3,"file":"canonicalize.cjs","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSocialFeedMention } from '../types/serverModelTypes';\nimport { 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 'register_expo_token_v2':\n return {\n type: inner.type,\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n capabilities: {\n payload_versions: [...inner.capabilities.payload_versions],\n type_ids: [...inner.capabilities.type_ids],\n routes: [...inner.capabilities.routes],\n },\n };\n case 'notification_subscriptions':\n return { type: inner.type };\n case 'update_notification_subscriptions':\n return {\n type: inner.type,\n expected_revision: inner.expected_revision,\n trader_bell:\n inner.trader_bell == null\n ? null\n : {\n subaccount: inner.trader_bell.subaccount,\n enabled: inner.trader_bell.enabled,\n },\n market:\n inner.market == null\n ? null\n : {\n product_id: inner.market.product_id,\n subscribed: inner.market.subscribed,\n },\n import_markets:\n inner.import_markets == null ? null : [...inner.import_markets],\n };\n case 'notification_inbox_v2':\n return {\n type: inner.type,\n cursor: inner.cursor,\n limit: inner.limit,\n };\n case 'record_product_events':\n return {\n type: inner.type,\n events: inner.events.map((event) => ({\n client_event_id: event.client_event_id,\n event_name: event.event_name,\n notification_id: event.notification_id,\n occurred_at: event.occurred_at,\n product_id: event.product_id,\n query: event.query,\n })),\n };\n case 'create_feed_post':\n return {\n type: inner.type,\n client_request_id: inner.client_request_id,\n position_id: inner.position_id,\n ...(inner.action_id === undefined\n ? {}\n : { action_id: inner.action_id }),\n text: inner.text,\n mentions: inner.mentions.map(canonicalizeMention),\n ...(inner.drawing_data_json === undefined\n ? {}\n : { drawing_data_json: inner.drawing_data_json }),\n ...(inner.image_ids === undefined\n ? {}\n : { image_ids: [...inner.image_ids] }),\n };\n case 'create_feed_comment':\n return {\n type: inner.type,\n client_request_id: inner.client_request_id,\n root_item_id: inner.root_item_id,\n ...(inner.reply_to_item_id === undefined\n ? {}\n : { reply_to_item_id: inner.reply_to_item_id }),\n text: inner.text,\n mentions: inner.mentions.map(canonicalizeMention),\n ...(inner.attached_position_id === undefined\n ? {}\n : { attached_position_id: inner.attached_position_id }),\n ...(inner.image_ids === undefined\n ? {}\n : { image_ids: [...inner.image_ids] }),\n };\n case 'create_feed_post_image_uploads':\n case 'create_feed_comment_image_uploads':\n return {\n type: inner.type,\n content_hash: inner.content_hash,\n };\n case 'create_feed_chart_drawing':\n case 'update_feed_chart_drawing':\n return {\n type: inner.type,\n item_id: inner.item_id,\n data_json: inner.data_json,\n };\n case 'set_feed_like':\n return {\n type: inner.type,\n item_id: inner.item_id,\n is_liked: inner.is_liked,\n };\n case 'set_bio':\n return { type: 'set_bio', bio: inner.bio };\n case 'create_avatar_upload':\n return {\n type: 'create_avatar_upload',\n content_length: inner.content_length,\n };\n case 'set_avatar': {\n const avatar = inner.avatar;\n if (avatar === null) {\n return { type: 'set_avatar', avatar: null };\n }\n return {\n type: 'set_avatar',\n avatar:\n avatar.type === 'preset'\n ? { type: 'preset', id: avatar.id }\n : { type: 'upload', upload_key: avatar.upload_key },\n };\n }\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 'set_follow_batch':\n return {\n type: 'set_follow_batch',\n subaccounts: [...inner.subaccounts],\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\nfunction canonicalizeMention(\n mention: MobileSocialFeedMention,\n): MobileSocialFeedMention {\n return {\n subaccount: mention.subaccount,\n start: mention.start,\n end: mention.end,\n label: mention.label,\n };\n}\n"],"mappings":";;;;;;;;;AAUA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,0BACH,OAAO;GACL,MAAM,MAAM;GACZ,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;GACnB,cAAc;IACZ,kBAAkB,C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oBACH,OAAO;GACL,MAAM;GACN,aAAa,CAAC,GAAG,MAAM,WAAW;GAClC,cAAc,MAAM;EACtB;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF;AAEA,SAAS,oBACP,SACyB;CACzB,OAAO;EACL,YAAY,QAAQ;EACpB,OAAO,QAAQ;EACf,KAAK,QAAQ;EACb,OAAO,QAAQ;CACjB;AACF"}
1
+ {"version":3,"file":"canonicalize.cjs","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSocialFeedMention } from '../types/serverModelTypes';\nimport { 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 'register_expo_token_v2':\n return {\n type: inner.type,\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n capabilities: {\n payload_versions: [...inner.capabilities.payload_versions],\n type_ids: [...inner.capabilities.type_ids],\n routes: [...inner.capabilities.routes],\n },\n };\n case 'notification_subscriptions':\n return { type: inner.type };\n case 'update_notification_subscriptions':\n return {\n type: inner.type,\n expected_revision: inner.expected_revision,\n trader_bell:\n inner.trader_bell == null\n ? null\n : {\n subaccount: inner.trader_bell.subaccount,\n enabled: inner.trader_bell.enabled,\n },\n market:\n inner.market == null\n ? null\n : {\n product_id: inner.market.product_id,\n subscribed: inner.market.subscribed,\n },\n import_markets:\n inner.import_markets == null ? null : [...inner.import_markets],\n };\n case 'notification_inbox_v2':\n return {\n type: inner.type,\n cursor: inner.cursor,\n limit: inner.limit,\n };\n case 'record_product_events':\n return {\n type: inner.type,\n events: inner.events.map((event) => ({\n client_event_id: event.client_event_id,\n event_name: event.event_name,\n notification_id: event.notification_id,\n occurred_at: event.occurred_at,\n product_id: event.product_id,\n query: event.query,\n })),\n };\n case 'create_feed_post':\n return {\n type: inner.type,\n client_request_id: inner.client_request_id,\n position_id: inner.position_id,\n ...(inner.action_id === undefined\n ? {}\n : { action_id: inner.action_id }),\n text: inner.text,\n mentions: inner.mentions.map(canonicalizeMention),\n ...(inner.drawing_data_json === undefined\n ? {}\n : { drawing_data_json: inner.drawing_data_json }),\n ...(inner.image_ids === undefined\n ? {}\n : { image_ids: [...inner.image_ids] }),\n ...(inner.image_urls === undefined\n ? {}\n : { image_urls: [...inner.image_urls] }),\n };\n case 'create_feed_comment':\n return {\n type: inner.type,\n client_request_id: inner.client_request_id,\n root_item_id: inner.root_item_id,\n ...(inner.reply_to_item_id === undefined\n ? {}\n : { reply_to_item_id: inner.reply_to_item_id }),\n text: inner.text,\n mentions: inner.mentions.map(canonicalizeMention),\n ...(inner.attached_position_id === undefined\n ? {}\n : { attached_position_id: inner.attached_position_id }),\n ...(inner.image_ids === undefined\n ? {}\n : { image_ids: [...inner.image_ids] }),\n ...(inner.image_urls === undefined\n ? {}\n : { image_urls: [...inner.image_urls] }),\n };\n case 'create_feed_post_image_uploads':\n case 'create_feed_comment_image_uploads':\n return {\n type: inner.type,\n content_hash: inner.content_hash,\n };\n case 'create_feed_chart_drawing':\n case 'update_feed_chart_drawing':\n return {\n type: inner.type,\n item_id: inner.item_id,\n data_json: inner.data_json,\n };\n case 'set_feed_like':\n return {\n type: inner.type,\n item_id: inner.item_id,\n is_liked: inner.is_liked,\n };\n case 'set_bio':\n return { type: 'set_bio', bio: inner.bio };\n case 'create_avatar_upload':\n return {\n type: 'create_avatar_upload',\n content_length: inner.content_length,\n };\n case 'set_avatar': {\n const avatar = inner.avatar;\n if (avatar === null) {\n return { type: 'set_avatar', avatar: null };\n }\n return {\n type: 'set_avatar',\n avatar:\n avatar.type === 'preset'\n ? { type: 'preset', id: avatar.id }\n : { type: 'upload', upload_key: avatar.upload_key },\n };\n }\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 'set_follow_batch':\n return {\n type: 'set_follow_batch',\n subaccounts: [...inner.subaccounts],\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\nfunction canonicalizeMention(\n mention: MobileSocialFeedMention,\n): MobileSocialFeedMention {\n return {\n subaccount: mention.subaccount,\n start: mention.start,\n end: mention.end,\n label: mention.label,\n };\n}\n"],"mappings":";;;;;;;;;AAUA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,0BACH,OAAO;GACL,MAAM,MAAM;GACZ,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;GACnB,cAAc;IACZ,kBAAkB,CAAC,GAAG,MAAM,aAAa,gBAAgB;IACzD,UAAU,CAAC,GAAG,MAAM,aAAa,QAAQ;IACzC,QAAQ,CAAC,GAAG,MAAM,aAAa,MAAM;GACvC;EACF;EACF,KAAK,8BACH,OAAO,EAAE,MAAM,MAAM,KAAK;EAC5B,KAAK,qCACH,OAAO;GACL,MAAM,MAAM;GACZ,mBAAmB,MAAM;GACzB,aACE,MAAM,eAAe,OACjB,OACA;IACE,YAAY,MAAM,YAAY;IAC9B,SAAS,MAAM,YAAY;GAC7B;GACN,QACE,MAAM,UAAU,OACZ,OACA;IACE,YAAY,MAAM,OAAO;IACzB,YAAY,MAAM,OAAO;GAC3B;GACN,gBACE,MAAM,kBAAkB,OAAO,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jB;AACF"}
@@ -1,2 +1,2 @@
1
- import { t as canonicalizeMobileInner } from "../canonicalize-CWh3XZzj.cjs";
1
+ import { t as canonicalizeMobileInner } from "../canonicalize-BvCozzvJ.cjs";
2
2
  export { canonicalizeMobileInner };
@@ -1,2 +1,2 @@
1
- import { t as canonicalizeMobileInner } from "../canonicalize-Bv6UIAbR.js";
1
+ import { t as canonicalizeMobileInner } from "../canonicalize-BOZlflI3.js";
2
2
  export { canonicalizeMobileInner };
@@ -58,7 +58,8 @@ function canonicalizeMobileInner(inner) {
58
58
  text: inner.text,
59
59
  mentions: inner.mentions.map(canonicalizeMention),
60
60
  ...inner.drawing_data_json === void 0 ? {} : { drawing_data_json: inner.drawing_data_json },
61
- ...inner.image_ids === void 0 ? {} : { image_ids: [...inner.image_ids] }
61
+ ...inner.image_ids === void 0 ? {} : { image_ids: [...inner.image_ids] },
62
+ ...inner.image_urls === void 0 ? {} : { image_urls: [...inner.image_urls] }
62
63
  };
63
64
  case "create_feed_comment": return {
64
65
  type: inner.type,
@@ -68,7 +69,8 @@ function canonicalizeMobileInner(inner) {
68
69
  text: inner.text,
69
70
  mentions: inner.mentions.map(canonicalizeMention),
70
71
  ...inner.attached_position_id === void 0 ? {} : { attached_position_id: inner.attached_position_id },
71
- ...inner.image_ids === void 0 ? {} : { image_ids: [...inner.image_ids] }
72
+ ...inner.image_ids === void 0 ? {} : { image_ids: [...inner.image_ids] },
73
+ ...inner.image_urls === void 0 ? {} : { image_urls: [...inner.image_urls] }
72
74
  };
73
75
  case "create_feed_post_image_uploads":
74
76
  case "create_feed_comment_image_uploads": return {
@@ -1 +1 @@
1
- {"version":3,"file":"canonicalize.js","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSocialFeedMention } from '../types/serverModelTypes';\nimport { 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 'register_expo_token_v2':\n return {\n type: inner.type,\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n capabilities: {\n payload_versions: [...inner.capabilities.payload_versions],\n type_ids: [...inner.capabilities.type_ids],\n routes: [...inner.capabilities.routes],\n },\n };\n case 'notification_subscriptions':\n return { type: inner.type };\n case 'update_notification_subscriptions':\n return {\n type: inner.type,\n expected_revision: inner.expected_revision,\n trader_bell:\n inner.trader_bell == null\n ? null\n : {\n subaccount: inner.trader_bell.subaccount,\n enabled: inner.trader_bell.enabled,\n },\n market:\n inner.market == null\n ? null\n : {\n product_id: inner.market.product_id,\n subscribed: inner.market.subscribed,\n },\n import_markets:\n inner.import_markets == null ? null : [...inner.import_markets],\n };\n case 'notification_inbox_v2':\n return {\n type: inner.type,\n cursor: inner.cursor,\n limit: inner.limit,\n };\n case 'record_product_events':\n return {\n type: inner.type,\n events: inner.events.map((event) => ({\n client_event_id: event.client_event_id,\n event_name: event.event_name,\n notification_id: event.notification_id,\n occurred_at: event.occurred_at,\n product_id: event.product_id,\n query: event.query,\n })),\n };\n case 'create_feed_post':\n return {\n type: inner.type,\n client_request_id: inner.client_request_id,\n position_id: inner.position_id,\n ...(inner.action_id === undefined\n ? {}\n : { action_id: inner.action_id }),\n text: inner.text,\n mentions: inner.mentions.map(canonicalizeMention),\n ...(inner.drawing_data_json === undefined\n ? {}\n : { drawing_data_json: inner.drawing_data_json }),\n ...(inner.image_ids === undefined\n ? {}\n : { image_ids: [...inner.image_ids] }),\n };\n case 'create_feed_comment':\n return {\n type: inner.type,\n client_request_id: inner.client_request_id,\n root_item_id: inner.root_item_id,\n ...(inner.reply_to_item_id === undefined\n ? {}\n : { reply_to_item_id: inner.reply_to_item_id }),\n text: inner.text,\n mentions: inner.mentions.map(canonicalizeMention),\n ...(inner.attached_position_id === undefined\n ? {}\n : { attached_position_id: inner.attached_position_id }),\n ...(inner.image_ids === undefined\n ? {}\n : { image_ids: [...inner.image_ids] }),\n };\n case 'create_feed_post_image_uploads':\n case 'create_feed_comment_image_uploads':\n return {\n type: inner.type,\n content_hash: inner.content_hash,\n };\n case 'create_feed_chart_drawing':\n case 'update_feed_chart_drawing':\n return {\n type: inner.type,\n item_id: inner.item_id,\n data_json: inner.data_json,\n };\n case 'set_feed_like':\n return {\n type: inner.type,\n item_id: inner.item_id,\n is_liked: inner.is_liked,\n };\n case 'set_bio':\n return { type: 'set_bio', bio: inner.bio };\n case 'create_avatar_upload':\n return {\n type: 'create_avatar_upload',\n content_length: inner.content_length,\n };\n case 'set_avatar': {\n const avatar = inner.avatar;\n if (avatar === null) {\n return { type: 'set_avatar', avatar: null };\n }\n return {\n type: 'set_avatar',\n avatar:\n avatar.type === 'preset'\n ? { type: 'preset', id: avatar.id }\n : { type: 'upload', upload_key: avatar.upload_key },\n };\n }\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 'set_follow_batch':\n return {\n type: 'set_follow_batch',\n subaccounts: [...inner.subaccounts],\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\nfunction canonicalizeMention(\n mention: MobileSocialFeedMention,\n): MobileSocialFeedMention {\n return {\n subaccount: mention.subaccount,\n start: mention.start,\n end: mention.end,\n label: mention.label,\n };\n}\n"],"mappings":";;;;;;;;AAUA,SAAgB,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AAO;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,oBACH,OAAO;GACL,MAAM;GACN,aAAa,CAAC,GAAG,MAAM,WAAW;GAClC,cAAc,MAAM;EACtB;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF;AAEA,SAAS,oBACP,SACyB;CACzB,OAAO;EACL,YAAY,QAAQ;EACpB,OAAO,QAAQ;EACf,KAAK,QAAQ;EACb,OAAO,QAAQ;CACjB;AACF"}
1
+ {"version":3,"file":"canonicalize.js","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSocialFeedMention } from '../types/serverModelTypes';\nimport { 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 'register_expo_token_v2':\n return {\n type: inner.type,\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n capabilities: {\n payload_versions: [...inner.capabilities.payload_versions],\n type_ids: [...inner.capabilities.type_ids],\n routes: [...inner.capabilities.routes],\n },\n };\n case 'notification_subscriptions':\n return { type: inner.type };\n case 'update_notification_subscriptions':\n return {\n type: inner.type,\n expected_revision: inner.expected_revision,\n trader_bell:\n inner.trader_bell == null\n ? null\n : {\n subaccount: inner.trader_bell.subaccount,\n enabled: inner.trader_bell.enabled,\n },\n market:\n inner.market == null\n ? null\n : {\n product_id: inner.market.product_id,\n subscribed: inner.market.subscribed,\n },\n import_markets:\n inner.import_markets == null ? null : [...inner.import_markets],\n };\n case 'notification_inbox_v2':\n return {\n type: inner.type,\n cursor: inner.cursor,\n limit: inner.limit,\n };\n case 'record_product_events':\n return {\n type: inner.type,\n events: inner.events.map((event) => ({\n client_event_id: event.client_event_id,\n event_name: event.event_name,\n notification_id: event.notification_id,\n occurred_at: event.occurred_at,\n product_id: event.product_id,\n query: event.query,\n })),\n };\n case 'create_feed_post':\n return {\n type: inner.type,\n client_request_id: inner.client_request_id,\n position_id: inner.position_id,\n ...(inner.action_id === undefined\n ? {}\n : { action_id: inner.action_id }),\n text: inner.text,\n mentions: inner.mentions.map(canonicalizeMention),\n ...(inner.drawing_data_json === undefined\n ? {}\n : { drawing_data_json: inner.drawing_data_json }),\n ...(inner.image_ids === undefined\n ? {}\n : { image_ids: [...inner.image_ids] }),\n ...(inner.image_urls === undefined\n ? {}\n : { image_urls: [...inner.image_urls] }),\n };\n case 'create_feed_comment':\n return {\n type: inner.type,\n client_request_id: inner.client_request_id,\n root_item_id: inner.root_item_id,\n ...(inner.reply_to_item_id === undefined\n ? {}\n : { reply_to_item_id: inner.reply_to_item_id }),\n text: inner.text,\n mentions: inner.mentions.map(canonicalizeMention),\n ...(inner.attached_position_id === undefined\n ? {}\n : { attached_position_id: inner.attached_position_id }),\n ...(inner.image_ids === undefined\n ? {}\n : { image_ids: [...inner.image_ids] }),\n ...(inner.image_urls === undefined\n ? {}\n : { image_urls: [...inner.image_urls] }),\n };\n case 'create_feed_post_image_uploads':\n case 'create_feed_comment_image_uploads':\n return {\n type: inner.type,\n content_hash: inner.content_hash,\n };\n case 'create_feed_chart_drawing':\n case 'update_feed_chart_drawing':\n return {\n type: inner.type,\n item_id: inner.item_id,\n data_json: inner.data_json,\n };\n case 'set_feed_like':\n return {\n type: inner.type,\n item_id: inner.item_id,\n is_liked: inner.is_liked,\n };\n case 'set_bio':\n return { type: 'set_bio', bio: inner.bio };\n case 'create_avatar_upload':\n return {\n type: 'create_avatar_upload',\n content_length: inner.content_length,\n };\n case 'set_avatar': {\n const avatar = inner.avatar;\n if (avatar === null) {\n return { type: 'set_avatar', avatar: null };\n }\n return {\n type: 'set_avatar',\n avatar:\n avatar.type === 'preset'\n ? { type: 'preset', id: avatar.id }\n : { type: 'upload', upload_key: avatar.upload_key },\n };\n }\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 'set_follow_batch':\n return {\n type: 'set_follow_batch',\n subaccounts: [...inner.subaccounts],\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\nfunction canonicalizeMention(\n mention: MobileSocialFeedMention,\n): MobileSocialFeedMention {\n return {\n subaccount: mention.subaccount,\n start: mention.start,\n end: mention.end,\n label: mention.label,\n };\n}\n"],"mappings":";;;;;;;;AAUA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,0BACH,OAAO;GACL,MAAM,MAAM;GACZ,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;GACnB,cAAc;IACZ,kBAAkB,CAAC,GAAG,MAAM,aAAa,gBAAgB;IACzD,UAAU,CAAC,GAAG,MAAM,aAAa,QAAQ;IACzC,QAAQ,CAAC,GAAG,MAAM,aAAa,MAAM;GACvC;EACF;EACF,KAAK,8BACH,OAAO,EAAE,MAAM,MAAM,KAAK;EAC5B,KAAK,qCACH,OAAO;GACL,MAAM,MAAM;GACZ,mBAAmB,MAAM;GACzB,aACE,MAAM,eAAe,OACjB,OACA;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MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF;AAEA,SAAS,oBACP,SACyB;CACzB,OAAO;EACL,YAAY,QAAQ;EACpB,OAAO,QAAQ;EACf,KAAK,QAAQ;EACb,OAAO,QAAQ;CACjB;AACF"}
@@ -1,2 +1,2 @@
1
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-CJ6BoayT.cjs";
1
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-DyAmzH7b.cjs";
2
2
  export { MOBILE_EIP712_METHOD_BY_TYPE };
@@ -1,2 +1,2 @@
1
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-Dx4mvgni.js";
1
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-qSSAF6i2.js";
2
2
  export { MOBILE_EIP712_METHOD_BY_TYPE };
@@ -1,7 +1,7 @@
1
- import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-C9YE4EIt.cjs";
2
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DyKCK34Y.cjs";
3
- import { t as canonicalizeMobileInner } from "../canonicalize-CWh3XZzj.cjs";
4
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-CJ6BoayT.cjs";
1
+ import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-CR5iaKR4.cjs";
2
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DcEMKU_4.cjs";
3
+ import { t as canonicalizeMobileInner } from "../canonicalize-BvCozzvJ.cjs";
4
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-DyAmzH7b.cjs";
5
5
  import { t as getMobileNonce } from "../nonce-7swNuPgu.cjs";
6
- import { t as getMobilePayloadHash } from "../payloadHash-CdkF2Ocr.cjs";
6
+ import { t as getMobilePayloadHash } from "../payloadHash-BgGSZock.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-Cwy1y_9x.js";
2
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BR-KJhIF.js";
3
- import { t as canonicalizeMobileInner } from "../canonicalize-Bv6UIAbR.js";
4
- import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-Dx4mvgni.js";
1
+ import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-CByl_NyJ.js";
2
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DlTMvoXR.js";
3
+ import { t as canonicalizeMobileInner } from "../canonicalize-BOZlflI3.js";
4
+ import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-qSSAF6i2.js";
5
5
  import { t as getMobileNonce } from "../nonce-7swNuPgu.js";
6
- import { t as getMobilePayloadHash } from "../payloadHash-HD29K77M.js";
6
+ import { t as getMobilePayloadHash } from "../payloadHash-Bi6upCLQ.js";
7
7
  export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
@@ -1,2 +1,2 @@
1
- import { t as getMobilePayloadHash } from "../payloadHash-CdkF2Ocr.cjs";
1
+ import { t as getMobilePayloadHash } from "../payloadHash-BgGSZock.cjs";
2
2
  export { getMobilePayloadHash };
@@ -1,2 +1,2 @@
1
- import { t as getMobilePayloadHash } from "../payloadHash-HD29K77M.js";
1
+ import { t as getMobilePayloadHash } from "../payloadHash-Bi6upCLQ.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-C9YE4EIt.cjs";
1
+ import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-CR5iaKR4.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-Cwy1y_9x.js";
1
+ import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-CByl_NyJ.js";
2
2
  export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest };
@@ -1,2 +1,2 @@
1
- import { t as MobileServerFailureError } from "../MobileServerFailureError-MtS2reel.cjs";
1
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-BeCCNShj.cjs";
2
2
  export { MobileServerFailureError };
@@ -1,2 +1,2 @@
1
- import { t as MobileServerFailureError } from "../MobileServerFailureError-C9iqNsxI.js";
1
+ import { t as MobileServerFailureError } from "../MobileServerFailureError-hHv28weI.js";
2
2
  export { MobileServerFailureError };
@@ -1,2 +1,2 @@
1
- import { $ as MobileNotificationPreferences, $t as MobileSocialFeedLikeResult, A as MobileAvatarSelection, An as MobileSocialFeedViewsResult, At as MobileSocialFeedCategorizedParams, B as MobileFeedTrade, Bn as SearchMobileProfilesParams, Bt as MobileSocialFeedDrawingMutationResult, C as GetMobileProfileFeedParams, Cn as MobileSocialFeedTradeRow, Ct as MobileSignedRequestParams, D as GetMobileTopTradersFeedParams, Dn as MobileSocialFeedTradingTarget, Dt as MobileSocialFeedAuthor, E as GetMobileSelfFeedPositionsParams, En as MobileSocialFeedTradingContext, Et as MobileSocialFeedActionResolutionResult, F as MobileCreateFeedPostParams, Fn as MobileUpdateNotificationSubscriptionsParams, Ft as MobileSocialFeedCommentResult, G as MobileFollowSummary, Gt as MobileSocialFeedHistoryTake, H as MobileFollowListAccount, Ht as MobileSocialFeedEstimatedLiquidationLine, I as MobileFeedChartDrawingParams, In as MobileUsernameAvailability, It as MobileSocialFeedCommentsPage, J as MobileNotificationCategoryPreference, Jt as MobileSocialFeedInteraction, K as MobileIdentitySummary, Kt as MobileSocialFeedImage, L as MobileFeedImageRequest, Ln as MobileWithExpoTokenParams, Lt as MobileSocialFeedCompactCard, M as MobileCreateAvatarUploadParams, Mn as MobileUnregisterExpoTokenParams, Mt as MobileSocialFeedCohort, N as MobileCreateFeedCommentParams, Nn as MobileUpdateNotificationPreferencesParams, Nt as MobileSocialFeedCohortCoverage, O as GetMobileUsernameAvailabilityParams, On as MobileSocialFeedUpdates, Ot as MobileSocialFeedCandle, P as MobileCreateFeedImageUploadParams, Pn as MobileUpdateNotificationSettingsV2Params, Pt as MobileSocialFeedCommentPreview, Q as MobileNotificationPreferenceScope, Qt as MobileSocialFeedItemResponse, R as MobileFeedMargin, Rn as ResolveMobileFeedActionParams, Rt as MobileSocialFeedContentBase, S as GetMobilePositionWatchersParams, Sn as MobileSocialFeedTradeCard, St as MobileSetUsernameParams, T as GetMobileRegisteredWalletParams, Tn as MobileSocialFeedTraderBadge, Tt as MobileSocialFeedActionMarker, U as MobileFollowListPage, Ut as MobileSocialFeedHistoryMetrics, V as MobileFollowBatchResultItem, Vt as MobileSocialFeedDrawingResult, W as MobileFollowMutationResult, Wt as MobileSocialFeedHistorySummary, X as MobileNotificationInboxV2, Xt as MobileSocialFeedItemBase, Y as MobileNotificationInboxItem, Yt as MobileSocialFeedItem, Z as MobileNotificationPayloadV2, Zt as MobileSocialFeedItemPatch, _ as GetMobileNotificationSettingsV2Params, _n as MobileSocialFeedReadParams, _t as MobileSetBioParams, a as GetMobileFeedItemParams, an as MobileSocialFeedPositionAction, at as MobileNotificationSubscriptionsUpdate, b as GetMobilePositionFeedParams, bn as MobileSocialFeedTimelineEntry, bt as MobileSetFollowParams, c as GetMobileFollowListParams, cn as MobileSocialFeedPositionHistory, ct as MobileProfileSearchPage, d as GetMobileForYouFeedParams, dn as MobileSocialFeedPositionResolutionResult, dt as MobileRecordFeedViewsParams, en as MobileSocialFeedListParams, et as MobileNotificationRegistrationV2, f as GetMobileFriendsFeedParams, fn as MobileSocialFeedPositionsPage, ft as MobileRecordProductEventsParams, g as GetMobileNotificationRegistrationV2Params, gn as MobileSocialFeedRankedPage, gt as MobileSetAvatarParams, h as GetMobileNotificationPreferencesParams, hn as MobileSocialFeedPublishablePosition, ht as MobileRegisteredWallet, i as GetMobileFeedImageRequestParams, in as MobileSocialFeedPnl, it as MobileNotificationSubscriptions, j as MobileAvatarUpload, jn as MobileSocialFeedWatchers, jt as MobileSocialFeedChartRange, k as MobileAvatarPreset, kn as MobileSocialFeedViewTracking, kt as MobileSocialFeedCapabilities, l as GetMobileFollowersParams, ln as MobileSocialFeedPositionHistoryCard, lt as MobileProfilesInclude, m as GetMobileNotificationInboxV2Params, mn as MobileSocialFeedPresence, mt as MobileRegisterExpoTokenV2Params, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedMentionParams, nt as MobileNotificationSettings, o as GetMobileFeedParams, on as MobileSocialFeedPositionCard, ot as MobilePositionPresenceParams, p as GetMobileMarketFeedParams, pn as MobileSocialFeedPost, pt as MobileRegisterExpoTokenParams, q as MobileNotificationCapabilities, qt as MobileSocialFeedImageThumbnail, r as GetMobileFeedImageBytesParams, rn as MobileSocialFeedPage, rt as MobileNotificationSettingsV2, s as GetMobileFeedUpdatesParams, sn as MobileSocialFeedPositionChart, st as MobileProductEvent, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedMarket, tt as MobileNotificationRoute, u as GetMobileFollowingParams, un as MobileSocialFeedPositionPatch, ut as MobilePublicProfile, v as GetMobileNotificationSubscriptionsParams, vn as MobileSocialFeedReadSession, vt as MobileSetFeedLikeParams, w as GetMobileProfilesParams, wn as MobileSocialFeedTradeRowBase, wt as MobileSocialFeedActionCandidate, x as GetMobilePositionHistoryParams, xn as MobileSocialFeedTopTradersPage, xt as MobileSetPrivateModeParams, y as GetMobilePositionChartParams, yn as MobileSocialFeedReply, yt as MobileSetFollowBatchParams, z as MobileFeedPage, zn as ResolveMobileFeedPositionParams, zt as MobileSocialFeedDrawing } from "../clientTypes-DOpUcu80.cjs";
2
- export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedImageBytesParams, GetMobileFeedImageRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationInboxV2Params, GetMobileNotificationPreferencesParams, GetMobileNotificationRegistrationV2Params, GetMobileNotificationSettingsV2Params, GetMobileNotificationSubscriptionsParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedImageUploadParams, MobileCreateFeedPostParams, MobileFeedChartDrawingParams, MobileFeedImageRequest, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCapabilities, MobileNotificationCategoryPreference, MobileNotificationInboxItem, MobileNotificationInboxV2, MobileNotificationPayloadV2, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileNotificationRegistrationV2, MobileNotificationRoute, MobileNotificationSettings, MobileNotificationSettingsV2, MobileNotificationSubscriptions, MobileNotificationSubscriptionsUpdate, MobilePositionPresenceParams, MobileProductEvent, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRecordProductEventsParams, MobileRegisterExpoTokenParams, MobileRegisterExpoTokenV2Params, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionResolutionResult, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedImage, MobileSocialFeedImageThumbnail, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLikeResult, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReply, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedTradingContext, MobileSocialFeedTradingTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileSocialFeedViewsResult, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };
1
+ import { $ as MobileNotificationPayloadV2, $t as MobileSocialFeedItem, A as GetMobileUsernameAvailabilityParams, An as MobileSocialFeedTradeRowBase, At as MobileSocialFeedCandle, B as MobileFeedMargin, Bn as MobileUpdateNotificationSubscriptionsParams, Bt as MobileSocialFeedCompactCard, C as GetMobilePositionThoughtsParams, Cn as MobileSocialFeedReadParams, Ct as MobileSetPrivateModeParams, D as GetMobileRegisteredWalletParams, Dn as MobileSocialFeedTopTradersPage, Dt as MobileSocialFeedActionMarker, E as GetMobileProfilesParams, En as MobileSocialFeedTimelineEntry, Et as MobileSocialFeedActionCandidate, F as MobileCreateFeedCommentParams, Fn as MobileSocialFeedUploadedImage, Ft as MobileSocialFeedCohortCoverage, G as MobileFollowListPage, Gn as SearchMobileProfilesParams, Gt as MobileSocialFeedEstimatedLiquidationLine, H as MobileFeedTrade, Hn as MobileWithExpoTokenParams, Ht as MobileSocialFeedDrawing, I as MobileCreateFeedImageUploadParams, In as MobileSocialFeedWatchers, It as MobileSocialFeedCommentGroup, J as MobileIdentitySummary, Jt as MobileSocialFeedHistorySummary, K as MobileFollowMutationResult, Kt as MobileSocialFeedExternalImage, L as MobileCreateFeedPostParams, Ln as MobileUnregisterExpoTokenParams, Lt as MobileSocialFeedCommentPreview, M as MobileAvatarSelection, Mn as MobileSocialFeedTradingContext, Mt as MobileSocialFeedCategorizedParams, N as MobileAvatarUpload, Nn as MobileSocialFeedTradingTarget, Nt as MobileSocialFeedChartRange, O as GetMobileSelfFeedPositionsParams, On as MobileSocialFeedTradeCard, Ot as MobileSocialFeedActionResolutionResult, P as MobileCreateAvatarUploadParams, Pn as MobileSocialFeedUpdates, Pt as MobileSocialFeedCohort, Q as MobileNotificationInboxV2, Qt as MobileSocialFeedInteraction, R as MobileFeedChartDrawingParams, Rn as MobileUpdateNotificationPreferencesParams, Rt as MobileSocialFeedCommentResult, S as GetMobilePositionHistoryParams, Sn as MobileSocialFeedRankedPage, St as MobileSetFollowParams, T as GetMobileProfileFeedParams, Tn as MobileSocialFeedReply, Tt as MobileSignedRequestParams, U as MobileFollowBatchResultItem, Un as ResolveMobileFeedActionParams, Ut as MobileSocialFeedDrawingMutationResult, V as MobileFeedPage, Vn as MobileUsernameAvailability, Vt as MobileSocialFeedContentBase, W as MobileFollowListAccount, Wn as ResolveMobileFeedPositionParams, Wt as MobileSocialFeedDrawingResult, X as MobileNotificationCategoryPreference, Xt as MobileSocialFeedImage, Y as MobileNotificationCapabilities, Yt as MobileSocialFeedHistoryTake, Z as MobileNotificationInboxItem, Zt as MobileSocialFeedImageThumbnail, _ as GetMobileNotificationSettingsV2Params, _n as MobileSocialFeedPositionThoughtsPage, _t as MobileRegisteredWallet, a as GetMobileFeedItemParams, an as MobileSocialFeedMarket, at as MobileNotificationSettingsV2, b as GetMobilePositionFeedParams, bn as MobileSocialFeedPresence, bt as MobileSetFeedLikeParams, c as GetMobileFollowListParams, cn as MobileSocialFeedPnl, ct as MobilePositionPresenceParams, d as GetMobileForYouFeedParams, dn as MobileSocialFeedPositionChart, dt as MobileProfilesInclude, en as MobileSocialFeedItemBase, et as MobileNotificationPreferenceScope, f as GetMobileFriendsFeedParams, fn as MobileSocialFeedPositionHistory, ft as MobilePublicProfile, g as GetMobileNotificationRegistrationV2Params, gn as MobileSocialFeedPositionThought, gt as MobileRegisterExpoTokenV2Params, h as GetMobileNotificationPreferencesParams, hn as MobileSocialFeedPositionResolutionResult, ht as MobileRegisterExpoTokenParams, i as GetMobileFeedImageRequestParams, in as MobileSocialFeedListParams, it as MobileNotificationSettings, j as MobileAvatarPreset, jn as MobileSocialFeedTraderBadge, jt as MobileSocialFeedCapabilities, k as GetMobileTopTradersFeedParams, kn as MobileSocialFeedTradeRow, kt as MobileSocialFeedAuthor, l as GetMobileFollowersParams, ln as MobileSocialFeedPositionAction, lt as MobileProductEvent, m as GetMobileNotificationInboxV2Params, mn as MobileSocialFeedPositionPatch, mt as MobileRecordProductEventsParams, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedItemResponse, nt as MobileNotificationRegistrationV2, o as GetMobileFeedParams, on as MobileSocialFeedMentionParams, ot as MobileNotificationSubscriptions, p as GetMobileMarketFeedParams, pn as MobileSocialFeedPositionHistoryCard, pt as MobileRecordFeedViewsParams, q as MobileFollowSummary, qt as MobileSocialFeedHistoryMetrics, r as GetMobileFeedImageBytesParams, rn as MobileSocialFeedLikeResult, rt as MobileNotificationRoute, s as GetMobileFeedUpdatesParams, sn as MobileSocialFeedPage, st as MobileNotificationSubscriptionsUpdate, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedItemPatch, tt as MobileNotificationPreferences, u as GetMobileFollowingParams, un as MobileSocialFeedPositionCard, ut as MobileProfileSearchPage, v as GetMobileNotificationSubscriptionsParams, vn as MobileSocialFeedPositionsPage, vt as MobileSetAvatarParams, w as GetMobilePositionWatchersParams, wn as MobileSocialFeedReadSession, wt as MobileSetUsernameParams, x as GetMobilePositionHistoryAllParams, xn as MobileSocialFeedPublishablePosition, xt as MobileSetFollowBatchParams, y as GetMobilePositionChartParams, yn as MobileSocialFeedPost, yt as MobileSetBioParams, z as MobileFeedImageRequest, zn as MobileUpdateNotificationSettingsV2Params, zt as MobileSocialFeedCommentsPage } from "../clientTypes-KpHlCDGZ.cjs";
2
+ export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedImageBytesParams, GetMobileFeedImageRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationInboxV2Params, GetMobileNotificationPreferencesParams, GetMobileNotificationRegistrationV2Params, GetMobileNotificationSettingsV2Params, GetMobileNotificationSubscriptionsParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryAllParams, GetMobilePositionHistoryParams, GetMobilePositionThoughtsParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedImageUploadParams, MobileCreateFeedPostParams, MobileFeedChartDrawingParams, MobileFeedImageRequest, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCapabilities, MobileNotificationCategoryPreference, MobileNotificationInboxItem, MobileNotificationInboxV2, MobileNotificationPayloadV2, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileNotificationRegistrationV2, MobileNotificationRoute, MobileNotificationSettings, MobileNotificationSettingsV2, MobileNotificationSubscriptions, MobileNotificationSubscriptionsUpdate, MobilePositionPresenceParams, MobileProductEvent, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRecordProductEventsParams, MobileRegisterExpoTokenParams, MobileRegisterExpoTokenV2Params, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionResolutionResult, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentGroup, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedExternalImage, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedImage, MobileSocialFeedImageThumbnail, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLikeResult, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionThought, MobileSocialFeedPositionThoughtsPage, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReply, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedTradingContext, MobileSocialFeedTradingTarget, MobileSocialFeedUpdates, MobileSocialFeedUploadedImage, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };
@@ -1,2 +1,2 @@
1
- import { $ as MobileNotificationPreferences, $t as MobileSocialFeedLikeResult, A as MobileAvatarSelection, An as MobileSocialFeedViewsResult, At as MobileSocialFeedCategorizedParams, B as MobileFeedTrade, Bn as SearchMobileProfilesParams, Bt as MobileSocialFeedDrawingMutationResult, C as GetMobileProfileFeedParams, Cn as MobileSocialFeedTradeRow, Ct as MobileSignedRequestParams, D as GetMobileTopTradersFeedParams, Dn as MobileSocialFeedTradingTarget, Dt as MobileSocialFeedAuthor, E as GetMobileSelfFeedPositionsParams, En as MobileSocialFeedTradingContext, Et as MobileSocialFeedActionResolutionResult, F as MobileCreateFeedPostParams, Fn as MobileUpdateNotificationSubscriptionsParams, Ft as MobileSocialFeedCommentResult, G as MobileFollowSummary, Gt as MobileSocialFeedHistoryTake, H as MobileFollowListAccount, Ht as MobileSocialFeedEstimatedLiquidationLine, I as MobileFeedChartDrawingParams, In as MobileUsernameAvailability, It as MobileSocialFeedCommentsPage, J as MobileNotificationCategoryPreference, Jt as MobileSocialFeedInteraction, K as MobileIdentitySummary, Kt as MobileSocialFeedImage, L as MobileFeedImageRequest, Ln as MobileWithExpoTokenParams, Lt as MobileSocialFeedCompactCard, M as MobileCreateAvatarUploadParams, Mn as MobileUnregisterExpoTokenParams, Mt as MobileSocialFeedCohort, N as MobileCreateFeedCommentParams, Nn as MobileUpdateNotificationPreferencesParams, Nt as MobileSocialFeedCohortCoverage, O as GetMobileUsernameAvailabilityParams, On as MobileSocialFeedUpdates, Ot as MobileSocialFeedCandle, P as MobileCreateFeedImageUploadParams, Pn as MobileUpdateNotificationSettingsV2Params, Pt as MobileSocialFeedCommentPreview, Q as MobileNotificationPreferenceScope, Qt as MobileSocialFeedItemResponse, R as MobileFeedMargin, Rn as ResolveMobileFeedActionParams, Rt as MobileSocialFeedContentBase, S as GetMobilePositionWatchersParams, Sn as MobileSocialFeedTradeCard, St as MobileSetUsernameParams, T as GetMobileRegisteredWalletParams, Tn as MobileSocialFeedTraderBadge, Tt as MobileSocialFeedActionMarker, U as MobileFollowListPage, Ut as MobileSocialFeedHistoryMetrics, V as MobileFollowBatchResultItem, Vt as MobileSocialFeedDrawingResult, W as MobileFollowMutationResult, Wt as MobileSocialFeedHistorySummary, X as MobileNotificationInboxV2, Xt as MobileSocialFeedItemBase, Y as MobileNotificationInboxItem, Yt as MobileSocialFeedItem, Z as MobileNotificationPayloadV2, Zt as MobileSocialFeedItemPatch, _ as GetMobileNotificationSettingsV2Params, _n as MobileSocialFeedReadParams, _t as MobileSetBioParams, a as GetMobileFeedItemParams, an as MobileSocialFeedPositionAction, at as MobileNotificationSubscriptionsUpdate, b as GetMobilePositionFeedParams, bn as MobileSocialFeedTimelineEntry, bt as MobileSetFollowParams, c as GetMobileFollowListParams, cn as MobileSocialFeedPositionHistory, ct as MobileProfileSearchPage, d as GetMobileForYouFeedParams, dn as MobileSocialFeedPositionResolutionResult, dt as MobileRecordFeedViewsParams, en as MobileSocialFeedListParams, et as MobileNotificationRegistrationV2, f as GetMobileFriendsFeedParams, fn as MobileSocialFeedPositionsPage, ft as MobileRecordProductEventsParams, g as GetMobileNotificationRegistrationV2Params, gn as MobileSocialFeedRankedPage, gt as MobileSetAvatarParams, h as GetMobileNotificationPreferencesParams, hn as MobileSocialFeedPublishablePosition, ht as MobileRegisteredWallet, i as GetMobileFeedImageRequestParams, in as MobileSocialFeedPnl, it as MobileNotificationSubscriptions, j as MobileAvatarUpload, jn as MobileSocialFeedWatchers, jt as MobileSocialFeedChartRange, k as MobileAvatarPreset, kn as MobileSocialFeedViewTracking, kt as MobileSocialFeedCapabilities, l as GetMobileFollowersParams, ln as MobileSocialFeedPositionHistoryCard, lt as MobileProfilesInclude, m as GetMobileNotificationInboxV2Params, mn as MobileSocialFeedPresence, mt as MobileRegisterExpoTokenV2Params, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedMentionParams, nt as MobileNotificationSettings, o as GetMobileFeedParams, on as MobileSocialFeedPositionCard, ot as MobilePositionPresenceParams, p as GetMobileMarketFeedParams, pn as MobileSocialFeedPost, pt as MobileRegisterExpoTokenParams, q as MobileNotificationCapabilities, qt as MobileSocialFeedImageThumbnail, r as GetMobileFeedImageBytesParams, rn as MobileSocialFeedPage, rt as MobileNotificationSettingsV2, s as GetMobileFeedUpdatesParams, sn as MobileSocialFeedPositionChart, st as MobileProductEvent, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedMarket, tt as MobileNotificationRoute, u as GetMobileFollowingParams, un as MobileSocialFeedPositionPatch, ut as MobilePublicProfile, v as GetMobileNotificationSubscriptionsParams, vn as MobileSocialFeedReadSession, vt as MobileSetFeedLikeParams, w as GetMobileProfilesParams, wn as MobileSocialFeedTradeRowBase, wt as MobileSocialFeedActionCandidate, x as GetMobilePositionHistoryParams, xn as MobileSocialFeedTopTradersPage, xt as MobileSetPrivateModeParams, y as GetMobilePositionChartParams, yn as MobileSocialFeedReply, yt as MobileSetFollowBatchParams, z as MobileFeedPage, zn as ResolveMobileFeedPositionParams, zt as MobileSocialFeedDrawing } from "../clientTypes-BUn5_OzK.js";
2
- export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedImageBytesParams, GetMobileFeedImageRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationInboxV2Params, GetMobileNotificationPreferencesParams, GetMobileNotificationRegistrationV2Params, GetMobileNotificationSettingsV2Params, GetMobileNotificationSubscriptionsParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedImageUploadParams, MobileCreateFeedPostParams, MobileFeedChartDrawingParams, MobileFeedImageRequest, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCapabilities, MobileNotificationCategoryPreference, MobileNotificationInboxItem, MobileNotificationInboxV2, MobileNotificationPayloadV2, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileNotificationRegistrationV2, MobileNotificationRoute, MobileNotificationSettings, MobileNotificationSettingsV2, MobileNotificationSubscriptions, MobileNotificationSubscriptionsUpdate, MobilePositionPresenceParams, MobileProductEvent, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRecordProductEventsParams, MobileRegisterExpoTokenParams, MobileRegisterExpoTokenV2Params, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionResolutionResult, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedImage, MobileSocialFeedImageThumbnail, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLikeResult, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReply, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedTradingContext, MobileSocialFeedTradingTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileSocialFeedViewsResult, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };
1
+ import { $ as MobileNotificationPayloadV2, $t as MobileSocialFeedItem, A as GetMobileUsernameAvailabilityParams, An as MobileSocialFeedTradeRowBase, At as MobileSocialFeedCandle, B as MobileFeedMargin, Bn as MobileUpdateNotificationSubscriptionsParams, Bt as MobileSocialFeedCompactCard, C as GetMobilePositionThoughtsParams, Cn as MobileSocialFeedReadParams, Ct as MobileSetPrivateModeParams, D as GetMobileRegisteredWalletParams, Dn as MobileSocialFeedTopTradersPage, Dt as MobileSocialFeedActionMarker, E as GetMobileProfilesParams, En as MobileSocialFeedTimelineEntry, Et as MobileSocialFeedActionCandidate, F as MobileCreateFeedCommentParams, Fn as MobileSocialFeedUploadedImage, Ft as MobileSocialFeedCohortCoverage, G as MobileFollowListPage, Gn as SearchMobileProfilesParams, Gt as MobileSocialFeedEstimatedLiquidationLine, H as MobileFeedTrade, Hn as MobileWithExpoTokenParams, Ht as MobileSocialFeedDrawing, I as MobileCreateFeedImageUploadParams, In as MobileSocialFeedWatchers, It as MobileSocialFeedCommentGroup, J as MobileIdentitySummary, Jt as MobileSocialFeedHistorySummary, K as MobileFollowMutationResult, Kt as MobileSocialFeedExternalImage, L as MobileCreateFeedPostParams, Ln as MobileUnregisterExpoTokenParams, Lt as MobileSocialFeedCommentPreview, M as MobileAvatarSelection, Mn as MobileSocialFeedTradingContext, Mt as MobileSocialFeedCategorizedParams, N as MobileAvatarUpload, Nn as MobileSocialFeedTradingTarget, Nt as MobileSocialFeedChartRange, O as GetMobileSelfFeedPositionsParams, On as MobileSocialFeedTradeCard, Ot as MobileSocialFeedActionResolutionResult, P as MobileCreateAvatarUploadParams, Pn as MobileSocialFeedUpdates, Pt as MobileSocialFeedCohort, Q as MobileNotificationInboxV2, Qt as MobileSocialFeedInteraction, R as MobileFeedChartDrawingParams, Rn as MobileUpdateNotificationPreferencesParams, Rt as MobileSocialFeedCommentResult, S as GetMobilePositionHistoryParams, Sn as MobileSocialFeedRankedPage, St as MobileSetFollowParams, T as GetMobileProfileFeedParams, Tn as MobileSocialFeedReply, Tt as MobileSignedRequestParams, U as MobileFollowBatchResultItem, Un as ResolveMobileFeedActionParams, Ut as MobileSocialFeedDrawingMutationResult, V as MobileFeedPage, Vn as MobileUsernameAvailability, Vt as MobileSocialFeedContentBase, W as MobileFollowListAccount, Wn as ResolveMobileFeedPositionParams, Wt as MobileSocialFeedDrawingResult, X as MobileNotificationCategoryPreference, Xt as MobileSocialFeedImage, Y as MobileNotificationCapabilities, Yt as MobileSocialFeedHistoryTake, Z as MobileNotificationInboxItem, Zt as MobileSocialFeedImageThumbnail, _ as GetMobileNotificationSettingsV2Params, _n as MobileSocialFeedPositionThoughtsPage, _t as MobileRegisteredWallet, a as GetMobileFeedItemParams, an as MobileSocialFeedMarket, at as MobileNotificationSettingsV2, b as GetMobilePositionFeedParams, bn as MobileSocialFeedPresence, bt as MobileSetFeedLikeParams, c as GetMobileFollowListParams, cn as MobileSocialFeedPnl, ct as MobilePositionPresenceParams, d as GetMobileForYouFeedParams, dn as MobileSocialFeedPositionChart, dt as MobileProfilesInclude, en as MobileSocialFeedItemBase, et as MobileNotificationPreferenceScope, f as GetMobileFriendsFeedParams, fn as MobileSocialFeedPositionHistory, ft as MobilePublicProfile, g as GetMobileNotificationRegistrationV2Params, gn as MobileSocialFeedPositionThought, gt as MobileRegisterExpoTokenV2Params, h as GetMobileNotificationPreferencesParams, hn as MobileSocialFeedPositionResolutionResult, ht as MobileRegisterExpoTokenParams, i as GetMobileFeedImageRequestParams, in as MobileSocialFeedListParams, it as MobileNotificationSettings, j as MobileAvatarPreset, jn as MobileSocialFeedTraderBadge, jt as MobileSocialFeedCapabilities, k as GetMobileTopTradersFeedParams, kn as MobileSocialFeedTradeRow, kt as MobileSocialFeedAuthor, l as GetMobileFollowersParams, ln as MobileSocialFeedPositionAction, lt as MobileProductEvent, m as GetMobileNotificationInboxV2Params, mn as MobileSocialFeedPositionPatch, mt as MobileRecordProductEventsParams, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedItemResponse, nt as MobileNotificationRegistrationV2, o as GetMobileFeedParams, on as MobileSocialFeedMentionParams, ot as MobileNotificationSubscriptions, p as GetMobileMarketFeedParams, pn as MobileSocialFeedPositionHistoryCard, pt as MobileRecordFeedViewsParams, q as MobileFollowSummary, qt as MobileSocialFeedHistoryMetrics, r as GetMobileFeedImageBytesParams, rn as MobileSocialFeedLikeResult, rt as MobileNotificationRoute, s as GetMobileFeedUpdatesParams, sn as MobileSocialFeedPage, st as MobileNotificationSubscriptionsUpdate, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedItemPatch, tt as MobileNotificationPreferences, u as GetMobileFollowingParams, un as MobileSocialFeedPositionCard, ut as MobileProfileSearchPage, v as GetMobileNotificationSubscriptionsParams, vn as MobileSocialFeedPositionsPage, vt as MobileSetAvatarParams, w as GetMobilePositionWatchersParams, wn as MobileSocialFeedReadSession, wt as MobileSetUsernameParams, x as GetMobilePositionHistoryAllParams, xn as MobileSocialFeedPublishablePosition, xt as MobileSetFollowBatchParams, y as GetMobilePositionChartParams, yn as MobileSocialFeedPost, yt as MobileSetBioParams, z as MobileFeedImageRequest, zn as MobileUpdateNotificationSettingsV2Params, zt as MobileSocialFeedCommentsPage } from "../clientTypes-XRI41VdC.js";
2
+ export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedImageBytesParams, GetMobileFeedImageRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationInboxV2Params, GetMobileNotificationPreferencesParams, GetMobileNotificationRegistrationV2Params, GetMobileNotificationSettingsV2Params, GetMobileNotificationSubscriptionsParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryAllParams, GetMobilePositionHistoryParams, GetMobilePositionThoughtsParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedImageUploadParams, MobileCreateFeedPostParams, MobileFeedChartDrawingParams, MobileFeedImageRequest, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCapabilities, MobileNotificationCategoryPreference, MobileNotificationInboxItem, MobileNotificationInboxV2, MobileNotificationPayloadV2, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileNotificationRegistrationV2, MobileNotificationRoute, MobileNotificationSettings, MobileNotificationSettingsV2, MobileNotificationSubscriptions, MobileNotificationSubscriptionsUpdate, MobilePositionPresenceParams, MobileProductEvent, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRecordProductEventsParams, MobileRegisterExpoTokenParams, MobileRegisterExpoTokenV2Params, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionResolutionResult, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentGroup, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedExternalImage, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedImage, MobileSocialFeedImageThumbnail, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLikeResult, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionThought, MobileSocialFeedPositionThoughtsPage, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReply, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedTradingContext, MobileSocialFeedTradingTarget, MobileSocialFeedUpdates, MobileSocialFeedUploadedImage, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };