@nadohq/mobile-client 0.64.0 → 0.65.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 (177) hide show
  1. package/README.md +20 -2
  2. package/dist/{MobileClient-aDxiM_Kf.cjs → MobileClient-CfVZXTcz.cjs} +298 -1
  3. package/dist/MobileClient-CfVZXTcz.cjs.map +1 -0
  4. package/dist/MobileClient.cjs +1 -1
  5. package/dist/MobileClient.d.cts +173 -7
  6. package/dist/MobileClient.d.cts.map +1 -1
  7. package/dist/MobileClient.d.ts +173 -7
  8. package/dist/MobileClient.d.ts.map +1 -1
  9. package/dist/MobileClient.js +298 -1
  10. package/dist/MobileClient.js.map +1 -1
  11. package/dist/{MobileServerFailureError-Dd3c6P_Z.d.ts → MobileServerFailureError-BZVwlsMg.d.ts} +3 -3
  12. package/dist/{MobileServerFailureError-Dd3c6P_Z.d.ts.map → MobileServerFailureError-BZVwlsMg.d.ts.map} +1 -1
  13. package/dist/{MobileServerFailureError-Bpa_WA9f.d.cts → MobileServerFailureError-CbtK8kD4.d.cts} +3 -3
  14. package/dist/{MobileServerFailureError-Bpa_WA9f.d.cts.map → MobileServerFailureError-CbtK8kD4.d.cts.map} +1 -1
  15. package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.cts +15 -0
  16. package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.cts.map +1 -0
  17. package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.ts +15 -0
  18. package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.ts.map +1 -0
  19. package/dist/{buildSignedMobileRequest-NHbMAPzd.d.cts → buildSignedMobileRequest-C1v0flCR.d.cts} +2 -2
  20. package/dist/{buildSignedMobileRequest-NHbMAPzd.d.cts.map → buildSignedMobileRequest-C1v0flCR.d.cts.map} +1 -1
  21. package/dist/{buildSignedMobileRequest-Cb1T74xV.d.ts → buildSignedMobileRequest-UeeWdYGU.d.ts} +2 -2
  22. package/dist/{buildSignedMobileRequest-Cb1T74xV.d.ts.map → buildSignedMobileRequest-UeeWdYGU.d.ts.map} +1 -1
  23. package/dist/{canonicalize-BBYGh17w.d.ts → canonicalize-5eeZrkzQ.d.ts} +2 -2
  24. package/dist/canonicalize-5eeZrkzQ.d.ts.map +1 -0
  25. package/dist/{canonicalize-BF_SiNvO.d.cts → canonicalize-CBaZprTo.d.cts} +2 -2
  26. package/dist/canonicalize-CBaZprTo.d.cts.map +1 -0
  27. package/dist/{clientTypes-BWFKo9oE.d.cts → clientTypes-C9dJufxk.d.ts} +569 -25
  28. package/dist/clientTypes-C9dJufxk.d.ts.map +1 -0
  29. package/dist/{clientTypes-DCTiUV0H.d.ts → clientTypes-_mEgzmNs.d.cts} +569 -25
  30. package/dist/clientTypes-_mEgzmNs.d.cts.map +1 -0
  31. package/dist/dataMappers.cjs +488 -9
  32. package/dist/dataMappers.cjs.map +1 -1
  33. package/dist/dataMappers.d.cts +190 -7
  34. package/dist/dataMappers.d.cts.map +1 -1
  35. package/dist/dataMappers.d.ts +190 -7
  36. package/dist/dataMappers.d.ts.map +1 -1
  37. package/dist/dataMappers.js +460 -10
  38. package/dist/dataMappers.js.map +1 -1
  39. package/dist/{eip712MethodByType-BSx11xG-.d.cts → eip712MethodByType-D8jLoxDu.d.cts} +2 -2
  40. package/dist/eip712MethodByType-D8jLoxDu.d.cts.map +1 -0
  41. package/dist/{eip712MethodByType-DkiAjCLs.d.ts → eip712MethodByType-DcUh8h-l.d.ts} +2 -2
  42. package/dist/eip712MethodByType-DcUh8h-l.d.ts.map +1 -0
  43. package/dist/index.cjs +3 -1
  44. package/dist/index.d.cts +16 -15
  45. package/dist/index.d.ts +16 -15
  46. package/dist/index.js +2 -1
  47. package/dist/{mobileErrorCodes-3LtreeZM.d.ts → mobileErrorCodes-CmjYEIYm.d.cts} +18 -4
  48. package/dist/mobileErrorCodes-CmjYEIYm.d.cts.map +1 -0
  49. package/dist/{mobileErrorCodes-3LtreeZM.d.cts → mobileErrorCodes-CmjYEIYm.d.ts} +18 -4
  50. package/dist/mobileErrorCodes-CmjYEIYm.d.ts.map +1 -0
  51. package/dist/{payloadHash-BOWGjqdb.d.cts → payloadHash-DhHmgRqL.d.cts} +2 -2
  52. package/dist/payloadHash-DhHmgRqL.d.cts.map +1 -0
  53. package/dist/{payloadHash-Bzf4CtjV.d.ts → payloadHash-E1_8fpLW.d.ts} +2 -2
  54. package/dist/payloadHash-E1_8fpLW.d.ts.map +1 -0
  55. package/dist/{serverBaseTypes-KREDe2M9.d.cts → serverBaseTypes-B5J1_TyC.d.cts} +2 -2
  56. package/dist/{serverBaseTypes-KREDe2M9.d.cts.map → serverBaseTypes-B5J1_TyC.d.cts.map} +1 -1
  57. package/dist/{serverBaseTypes-DWf3iGWy.d.ts → serverBaseTypes-DnLzsdm-.d.ts} +2 -2
  58. package/dist/{serverBaseTypes-DWf3iGWy.d.ts.map → serverBaseTypes-DnLzsdm-.d.ts.map} +1 -1
  59. package/dist/serverExecuteTypes-B-OJok19.d.cts +162 -0
  60. package/dist/serverExecuteTypes-B-OJok19.d.cts.map +1 -0
  61. package/dist/serverExecuteTypes-BwWGspOg.d.ts +162 -0
  62. package/dist/serverExecuteTypes-BwWGspOg.d.ts.map +1 -0
  63. package/dist/{serverModelTypes-DAqEyYtB.d.cts → serverModelTypes-CiA-dy1R.d.cts} +299 -24
  64. package/dist/serverModelTypes-CiA-dy1R.d.cts.map +1 -0
  65. package/dist/{serverModelTypes-DAqEyYtB.d.ts → serverModelTypes-CiA-dy1R.d.ts} +299 -24
  66. package/dist/serverModelTypes-CiA-dy1R.d.ts.map +1 -0
  67. package/dist/{serverQueryTypes-DNdMpmDr.d.cts → serverQueryTypes-CJcjLB7n.d.ts} +117 -5
  68. package/dist/serverQueryTypes-CJcjLB7n.d.ts.map +1 -0
  69. package/dist/{serverQueryTypes-BFdwq0Z2.d.ts → serverQueryTypes-V1f9yE7L.d.cts} +117 -5
  70. package/dist/serverQueryTypes-V1f9yE7L.d.cts.map +1 -0
  71. package/dist/{serverRequestTypes-CxDRFKfv.d.cts → serverRequestTypes-CRlkNSu5.d.cts} +77 -7
  72. package/dist/serverRequestTypes-CRlkNSu5.d.cts.map +1 -0
  73. package/dist/{serverRequestTypes-BNA7FCY6.d.ts → serverRequestTypes-DZoOhV2o.d.ts} +77 -7
  74. package/dist/serverRequestTypes-DZoOhV2o.d.ts.map +1 -0
  75. package/dist/{serverResponseGuards-Dkdok0Sm.d.cts → serverResponseGuards-BW69PS7O.d.cts} +2 -2
  76. package/dist/{serverResponseGuards-Dkdok0Sm.d.cts.map → serverResponseGuards-BW69PS7O.d.cts.map} +1 -1
  77. package/dist/{serverResponseGuards-BU1Xv_tG.d.ts → serverResponseGuards-CShiXpHT.d.ts} +2 -2
  78. package/dist/{serverResponseGuards-BU1Xv_tG.d.ts.map → serverResponseGuards-CShiXpHT.d.ts.map} +1 -1
  79. package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
  80. package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
  81. package/dist/signing/canonicalize.cjs +37 -0
  82. package/dist/signing/canonicalize.cjs.map +1 -1
  83. package/dist/signing/canonicalize.d.cts +1 -1
  84. package/dist/signing/canonicalize.d.ts +1 -1
  85. package/dist/signing/canonicalize.js +37 -0
  86. package/dist/signing/canonicalize.js.map +1 -1
  87. package/dist/signing/eip712MethodByType.cjs +5 -0
  88. package/dist/signing/eip712MethodByType.cjs.map +1 -1
  89. package/dist/signing/eip712MethodByType.d.cts +1 -1
  90. package/dist/signing/eip712MethodByType.d.ts +1 -1
  91. package/dist/signing/eip712MethodByType.js +5 -0
  92. package/dist/signing/eip712MethodByType.js.map +1 -1
  93. package/dist/signing/index.d.cts +5 -5
  94. package/dist/signing/index.d.ts +5 -5
  95. package/dist/signing/payloadHash.d.cts +1 -1
  96. package/dist/signing/payloadHash.d.ts +1 -1
  97. package/dist/signing/types.d.cts +1 -1
  98. package/dist/signing/types.d.ts +1 -1
  99. package/dist/types/MobileServerFailureError.d.cts +1 -1
  100. package/dist/types/MobileServerFailureError.d.ts +1 -1
  101. package/dist/types/MobileUnsupportedFeedItemError.cjs +19 -0
  102. package/dist/types/MobileUnsupportedFeedItemError.cjs.map +1 -0
  103. package/dist/types/MobileUnsupportedFeedItemError.d.cts +2 -0
  104. package/dist/types/MobileUnsupportedFeedItemError.d.ts +2 -0
  105. package/dist/types/MobileUnsupportedFeedItemError.js +18 -0
  106. package/dist/types/MobileUnsupportedFeedItemError.js.map +1 -0
  107. package/dist/types/clientTypes.d.cts +2 -2
  108. package/dist/types/clientTypes.d.ts +2 -2
  109. package/dist/types/index.cjs +2 -0
  110. package/dist/types/index.d.cts +10 -9
  111. package/dist/types/index.d.ts +10 -9
  112. package/dist/types/index.js +2 -1
  113. package/dist/types/mobileErrorCodes.cjs +28 -0
  114. package/dist/types/mobileErrorCodes.cjs.map +1 -1
  115. package/dist/types/mobileErrorCodes.d.cts +1 -1
  116. package/dist/types/mobileErrorCodes.d.ts +1 -1
  117. package/dist/types/mobileErrorCodes.js +28 -0
  118. package/dist/types/mobileErrorCodes.js.map +1 -1
  119. package/dist/types/serverBaseTypes.d.cts +1 -1
  120. package/dist/types/serverBaseTypes.d.ts +1 -1
  121. package/dist/types/serverExecuteTypes.d.cts +2 -2
  122. package/dist/types/serverExecuteTypes.d.ts +2 -2
  123. package/dist/types/serverModelTypes.cjs.map +1 -1
  124. package/dist/types/serverModelTypes.d.cts +2 -2
  125. package/dist/types/serverModelTypes.d.ts +2 -2
  126. package/dist/types/serverModelTypes.js.map +1 -1
  127. package/dist/types/serverQueryTypes.d.cts +2 -2
  128. package/dist/types/serverQueryTypes.d.ts +2 -2
  129. package/dist/types/serverRequestTypes.d.cts +1 -1
  130. package/dist/types/serverRequestTypes.d.ts +1 -1
  131. package/dist/{types-BCr2G5gS.d.cts → types-BiRmH5Iv.d.cts} +31 -7
  132. package/dist/types-BiRmH5Iv.d.cts.map +1 -0
  133. package/dist/{types-C18k-9Vy.d.ts → types-DoJuq0Ij.d.ts} +31 -7
  134. package/dist/types-DoJuq0Ij.d.ts.map +1 -0
  135. package/dist/utils/index.d.cts +1 -1
  136. package/dist/utils/index.d.ts +1 -1
  137. package/dist/utils/serverResponseGuards.d.cts +1 -1
  138. package/dist/utils/serverResponseGuards.d.ts +1 -1
  139. package/package.json +3 -3
  140. package/src/MobileClient.ts +409 -4
  141. package/src/dataMappers.test.ts +742 -0
  142. package/src/dataMappers.ts +671 -12
  143. package/src/signing/canonicalize.ts +53 -0
  144. package/src/signing/eip712MethodByType.ts +5 -0
  145. package/src/signing/signing.test.ts +347 -0
  146. package/src/signing/types.ts +57 -4
  147. package/src/types/MobileUnsupportedFeedItemError.ts +18 -0
  148. package/src/types/clientTypes.ts +645 -23
  149. package/src/types/index.ts +1 -0
  150. package/src/types/mobileErrorCodes.ts +28 -0
  151. package/src/types/serverExecuteTypes.ts +92 -3
  152. package/src/types/serverModelTypes.ts +376 -22
  153. package/src/types/serverQueryTypes.ts +138 -0
  154. package/src/types/serverRequestTypes.ts +115 -4
  155. package/dist/MobileClient-aDxiM_Kf.cjs.map +0 -1
  156. package/dist/canonicalize-BBYGh17w.d.ts.map +0 -1
  157. package/dist/canonicalize-BF_SiNvO.d.cts.map +0 -1
  158. package/dist/clientTypes-BWFKo9oE.d.cts.map +0 -1
  159. package/dist/clientTypes-DCTiUV0H.d.ts.map +0 -1
  160. package/dist/eip712MethodByType-BSx11xG-.d.cts.map +0 -1
  161. package/dist/eip712MethodByType-DkiAjCLs.d.ts.map +0 -1
  162. package/dist/mobileErrorCodes-3LtreeZM.d.cts.map +0 -1
  163. package/dist/mobileErrorCodes-3LtreeZM.d.ts.map +0 -1
  164. package/dist/payloadHash-BOWGjqdb.d.cts.map +0 -1
  165. package/dist/payloadHash-Bzf4CtjV.d.ts.map +0 -1
  166. package/dist/serverExecuteTypes-DVRa6ifu.d.cts +0 -89
  167. package/dist/serverExecuteTypes-DVRa6ifu.d.cts.map +0 -1
  168. package/dist/serverExecuteTypes-DlYZCp1f.d.ts +0 -89
  169. package/dist/serverExecuteTypes-DlYZCp1f.d.ts.map +0 -1
  170. package/dist/serverModelTypes-DAqEyYtB.d.cts.map +0 -1
  171. package/dist/serverModelTypes-DAqEyYtB.d.ts.map +0 -1
  172. package/dist/serverQueryTypes-BFdwq0Z2.d.ts.map +0 -1
  173. package/dist/serverQueryTypes-DNdMpmDr.d.cts.map +0 -1
  174. package/dist/serverRequestTypes-BNA7FCY6.d.ts.map +0 -1
  175. package/dist/serverRequestTypes-CxDRFKfv.d.cts.map +0 -1
  176. package/dist/types-BCr2G5gS.d.cts.map +0 -1
  177. package/dist/types-C18k-9Vy.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientTypes-_mEgzmNs.d.cts","names":[],"sources":["../src/types/src/types/clientTypes.ts"],"mappings":";;;;;;;;AA4CA;UAAiB,kBAAA;;EAEf,EAAA;EAES;EAAT,SAAS;AAAA;;;;KAMC,qBAAA;EASN,kCANA,IAAA,YAQS;EANT,EAAA;AAAA;EAc6B,8CAV7B,IAAA,YAgBW;EAdX,SAAA;AAAA;;;;;AAgBY;UARD,kBAAA;EAmBoB;EAjBnC,SAAA;EAiBgE;EAfhE,SAAA;EAiBA;EAfA,OAAA,EAAS,MAAM;EAqBf;EAnBA,gBAAA;AAAA;;;AAsBmC;AAOrC;;;;;UAlBiB,mBAAA,SAA4B,qBAAqB;EAqBhE;EAnBA,GAAA;EACA,WAAA;EAsBS;AAAA;AAQX;;EAzBE,aAAA;EACA,cAAA;EA0BA;EAxBA,aAAA,GAAgB,mBAAA;AAAA;;;AA+BiB;AAMnC;UA9BiB,qBAAA;EACf,UAAA,EAAY,GAAG;EA8BgB;EA5B/B,QAAA;EA4BU;EA1BV,WAAA;EAmCA;EAjCA,SAAA;AAAA;AAyCF;;;;;AAAA,UAjCiB,mBAAA;EAoCf;EAlCA,WAAA;EAkCU;EAhCV,eAAA;EAwCsC;;;;EAnCtC,UAAA,EAAY,qBAAqB;AAAA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A4GA,cAAA,EAAgB,sBAAsB;EA1G7B;EA4GT,wBAAA;EA5GgC;EA8GhC,gBAAA;AAAA;;UAIe,6BAAA,SAAsC,IAAA,CACrD,uBAAA;EA7GA;EAiHA,UAAA,EAAY,UAAA;AAAA"}
@@ -1,4 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_types_MobileUnsupportedFeedItemError = require("./types/MobileUnsupportedFeedItemError.cjs");
2
3
  let _nadohq_shared = require("@nadohq/shared");
3
4
  //#region src/dataMappers.ts
4
5
  /**
@@ -311,7 +312,8 @@ function mapMobileSocialFeedPositionPatch(server) {
311
312
  marginMode: server.margin_mode,
312
313
  leverage: server.leverage,
313
314
  leverageAtMs: server.leverage_at_ms,
314
- pnl: mapMobileSocialFeedPnl(server.pnl)
315
+ pnl: mapMobileSocialFeedPnl(server.pnl),
316
+ ...server.current_position === void 0 ? {} : { currentPosition: mapMobileSocialFeedHistoryMetrics(server.current_position) }
315
317
  };
316
318
  }
317
319
  /**
@@ -349,7 +351,7 @@ function mapMobileSocialFeedItemBase(server) {
349
351
  return {
350
352
  id: server.id,
351
353
  hasAnalysis: server.has_analysis,
352
- drawing: server.drawing,
354
+ drawing: server.drawing === null ? null : mapMobileSocialFeedDrawing(server.drawing),
353
355
  author: mapMobileSocialFeedAuthor(server.author),
354
356
  createdAtMs: server.created_at_ms,
355
357
  displayAtMs: server.display_at_ms,
@@ -363,27 +365,37 @@ function mapMobileSocialFeedItemBase(server) {
363
365
  };
364
366
  }
365
367
  /**
366
- * Maps an automatic trade card and its position and interaction metadata.
368
+ * Maps the content, position, interaction, and comment preview shared by posts and trade cards.
367
369
  * @param server - The service response.
368
- * @returns The mapped social trade card.
370
+ * @returns The mapped shared content fields.
369
371
  */
370
- function mapMobileSocialFeedTradeCard(server) {
372
+ function mapMobileSocialFeedContentBase(server) {
371
373
  return {
372
374
  ...mapMobileSocialFeedItemBase(server),
373
- kind: server.kind,
374
- action: server.action,
375
375
  text: server.text,
376
376
  mentions: server.mentions,
377
377
  position: mapMobileSocialFeedPositionCard(server.position),
378
378
  interaction: mapMobileSocialFeedInteraction(server.interaction),
379
379
  commentPreview: {
380
- items: server.comment_preview.items,
380
+ items: server.comment_preview.items.map(mapMobileSocialFeedReply),
381
381
  totalCount: server.comment_preview.total_count,
382
382
  nextCursor: server.comment_preview.next_cursor
383
383
  }
384
384
  };
385
385
  }
386
386
  /**
387
+ * Maps a trade card, authored content, and position and interaction metadata.
388
+ * @param server - The service response.
389
+ * @returns The mapped social trade card.
390
+ */
391
+ function mapMobileSocialFeedTradeCard(server) {
392
+ return {
393
+ ...mapMobileSocialFeedContentBase(server),
394
+ kind: server.kind,
395
+ action: server.action
396
+ };
397
+ }
398
+ /**
387
399
  * Maps historical trade facts with decimal execution prices and x18 quantities.
388
400
  * @param server - The service response.
389
401
  * @returns The mapped social trade row base.
@@ -428,9 +440,17 @@ function mapMobileSocialFeedTradeRow(server) {
428
440
  * Maps the item variant without mixing card and row fields.
429
441
  * @param server - The service response.
430
442
  * @returns The mapped social feed item.
443
+ * @throws {MobileUnsupportedFeedItemError} If an item kind is not supported by this SDK.
431
444
  */
432
445
  function mapMobileSocialFeedItem(server) {
433
- return server.kind === "trade_card" ? mapMobileSocialFeedTradeCard(server) : mapMobileSocialFeedTradeRow(server);
446
+ const kind = server.kind;
447
+ switch (kind) {
448
+ case "trade_card": return mapMobileSocialFeedTradeCard(server);
449
+ case "trade_row": return mapMobileSocialFeedTradeRow(server);
450
+ case "post": return mapMobileSocialFeedPost(server);
451
+ case "reply": return mapMobileSocialFeedReply(server);
452
+ default: throw new require_types_MobileUnsupportedFeedItemError.MobileUnsupportedFeedItemError(kind);
453
+ }
434
454
  }
435
455
  /**
436
456
  * Maps a fixed reading session, preserving opaque credentials and cursors.
@@ -454,6 +474,7 @@ function mapMobileSocialFeedReadSession(server) {
454
474
  * Maps a fixed feed page without changing item order or pagination.
455
475
  * @param server - The service response.
456
476
  * @returns The mapped social feed page.
477
+ * @throws {MobileUnsupportedFeedItemError} If an item kind is not supported by this SDK.
457
478
  */
458
479
  function mapMobileSocialFeedPage(server) {
459
480
  return {
@@ -467,6 +488,7 @@ function mapMobileSocialFeedPage(server) {
467
488
  * Maps a main feed page and its ranking version.
468
489
  * @param server - The service response.
469
490
  * @returns The mapped ranked feed page.
491
+ * @throws {MobileUnsupportedFeedItemError} If an item kind is not supported by this SDK.
470
492
  */
471
493
  function mapMobileSocialFeedRankedPage(server) {
472
494
  return {
@@ -478,6 +500,7 @@ function mapMobileSocialFeedRankedPage(server) {
478
500
  * Maps qualified trader items and their shared eligibility snapshot.
479
501
  * @param server - The service response.
480
502
  * @returns The mapped top traders feed page.
503
+ * @throws {MobileUnsupportedFeedItemError} If an item kind is not supported by this SDK.
481
504
  */
482
505
  function mapMobileSocialFeedTopTradersPage(server) {
483
506
  return {
@@ -498,6 +521,7 @@ function mapMobileSocialFeedTopTradersPage(server) {
498
521
  * Maps item details and the authorized reading session.
499
522
  * @param server - The service response.
500
523
  * @returns The mapped social feed item response.
524
+ * @throws {MobileUnsupportedFeedItemError} If an item kind is not supported by this SDK.
501
525
  */
502
526
  function mapMobileSocialFeedItemResponse(server) {
503
527
  return {
@@ -514,6 +538,8 @@ function mapMobileSocialFeedItemPatch(server) {
514
538
  return {
515
539
  itemId: server.item_id,
516
540
  version: server.version,
541
+ ...server.attached_position === void 0 ? {} : { attachedPosition: server.attached_position === null ? null : mapMobileSocialFeedPositionCard(server.attached_position) },
542
+ ...server.attachment_status === void 0 ? {} : { attachmentStatus: server.attachment_status },
517
543
  author: mapMobileSocialFeedAuthor(server.author),
518
544
  displayAtMs: server.display_at_ms,
519
545
  ...server.interaction === void 0 ? {} : { interaction: mapMobileSocialFeedInteraction(server.interaction) },
@@ -571,6 +597,430 @@ function mapMobileSocialFeedReadParamsToServer(params) {
571
597
  viewer_token: params.viewerToken
572
598
  };
573
599
  }
600
+ /**
601
+ * Maps a mention for signing without changing the text or offsets.
602
+ * @param params - Caller-provided mention and original text offsets.
603
+ * @returns The wire-format mention, preserving the original label and code-point offsets.
604
+ * @throws {Error} If the owner is not a 20-byte address or the subaccount name cannot be encoded in 12 bytes.
605
+ */
606
+ function mapMobileSocialFeedMentionToServer(params) {
607
+ return {
608
+ subaccount: (0, _nadohq_shared.subaccountToHex)(params.subaccount),
609
+ start: params.start,
610
+ end: params.end,
611
+ label: params.label
612
+ };
613
+ }
614
+ /**
615
+ * Preserves parsed drawing data, including false and zero.
616
+ * @param server - Service payload with its original wire fields.
617
+ * @returns The original parsed drawing data and its creation/update timestamps in milliseconds.
618
+ */
619
+ function mapMobileSocialFeedDrawing(server) {
620
+ return {
621
+ data: server.data,
622
+ createdAtMs: server.created_at_ms,
623
+ updatedAtMs: server.updated_at_ms
624
+ };
625
+ }
626
+ /**
627
+ * Maps a nonrecursive root preview, retaining nullable position visibility.
628
+ * @param server - Service payload with its original wire fields.
629
+ * @returns A nonrecursive preview with a nullable position and notional retained as an x18 BigNumber.
630
+ */
631
+ function mapMobileSocialFeedCompactCard(server) {
632
+ return {
633
+ id: server.id,
634
+ author: mapMobileSocialFeedAuthor(server.author),
635
+ textExcerpt: server.text_excerpt,
636
+ position: server.position === null ? null : {
637
+ positionId: server.position.position_id,
638
+ market: mapMobileSocialFeedMarket(server.position.market),
639
+ direction: server.position.direction,
640
+ state: server.position.state,
641
+ notional: (0, _nadohq_shared.toBigNumber)(server.position.notional_x18)
642
+ },
643
+ hasAnalysis: server.has_analysis
644
+ };
645
+ }
646
+ /**
647
+ * Maps an authored post and its readable comments and drawing.
648
+ * @param server - Service payload with its original wire fields.
649
+ * @returns A post with its unchanged text and mentions, mapped position, drawing, interactions, and reply preview.
650
+ */
651
+ function mapMobileSocialFeedPost(server) {
652
+ return {
653
+ ...mapMobileSocialFeedContentBase(server),
654
+ kind: server.kind
655
+ };
656
+ }
657
+ /**
658
+ * Maps reply visibility without treating an unavailable attachment as an absent one.
659
+ * @param server - Service payload with its original wire fields.
660
+ * @returns A reply preserving omitted reply targets, nullable attachments, and the separate attachment visibility status.
661
+ */
662
+ function mapMobileSocialFeedReply(server) {
663
+ return {
664
+ ...mapMobileSocialFeedItemBase(server),
665
+ kind: server.kind,
666
+ text: server.text,
667
+ mentions: server.mentions,
668
+ rootItemId: server.root_item_id,
669
+ ...server.reply_to_item_id === void 0 ? {} : { replyToItemId: server.reply_to_item_id },
670
+ replyToAuthor: server.reply_to_author === null ? null : mapMobileSocialFeedAuthor(server.reply_to_author),
671
+ attachedPosition: server.attached_position === null ? null : mapMobileSocialFeedPositionCard(server.attached_position),
672
+ attachmentStatus: server.attachment_status,
673
+ original: mapMobileSocialFeedCompactCard(server.original),
674
+ interaction: mapMobileSocialFeedInteraction(server.interaction)
675
+ };
676
+ }
677
+ /**
678
+ * Maps current eligibility hints without implying caller ownership.
679
+ * @param server - Service payload with its original wire fields.
680
+ * @returns A position with current publication, attachment, and drawing eligibility hints and an unavailable reason.
681
+ */
682
+ function mapMobileSocialFeedPublishablePosition(server) {
683
+ return {
684
+ position: mapMobileSocialFeedPositionCard(server.position),
685
+ canPublish: server.can_publish,
686
+ canAttachToComment: server.can_attach_to_comment,
687
+ canDrawAnalysis: server.can_draw_analysis,
688
+ unavailableReason: server.unavailable_reason
689
+ };
690
+ }
691
+ /**
692
+ * Maps all order action identifiers and eligibility hints.
693
+ * @param server - Service payload with its original wire fields.
694
+ * @returns Trusted action and position identifiers, action kind, publication eligibility, and an unavailable reason.
695
+ */
696
+ function mapMobileSocialFeedActionCandidate(server) {
697
+ return {
698
+ actionId: server.action_id,
699
+ positionId: server.position_id,
700
+ action: server.action,
701
+ canPublish: server.can_publish,
702
+ unavailableReason: server.unavailable_reason
703
+ };
704
+ }
705
+ /**
706
+ * Maps history risk prices to decimals while retaining funding amounts in x18 units.
707
+ * @param server - Service payload with its original wire fields.
708
+ * @returns Nullable decimal liquidation price and x18 funding PnL, with their independent quality and observation metadata.
709
+ */
710
+ function mapMobileSocialFeedHistoryMetrics(server) {
711
+ return {
712
+ estimatedLiquidationPrice: (0, _nadohq_shared.removeDecimals)(server.estimated_liquidation_price_x18),
713
+ liquidationPriceQuality: server.liquidation_price_quality,
714
+ liquidationPriceAsOfMs: server.liquidation_price_as_of_ms,
715
+ fundingPnl: server.funding_pnl_x18 === null ? null : (0, _nadohq_shared.toBigNumber)(server.funding_pnl_x18),
716
+ fundingQuality: server.funding_quality,
717
+ fundingAsOfMs: server.funding_as_of_ms
718
+ };
719
+ }
720
+ /**
721
+ * Maps action prices independently; all amounts and quantities retain x18 units.
722
+ * @param server - Service payload with its original wire fields.
723
+ * @returns An action with decimal prices, x18 quantities/amounts, and independently nullable financial facts.
724
+ */
725
+ function mapMobileSocialFeedPositionAction(server) {
726
+ return {
727
+ id: server.id,
728
+ positionId: server.position_id,
729
+ action: server.action,
730
+ direction: server.direction,
731
+ marginMode: server.margin_mode,
732
+ quantityBefore: (0, _nadohq_shared.toBigNumber)(server.quantity_before_x18),
733
+ quantityAfter: (0, _nadohq_shared.toBigNumber)(server.quantity_after_x18),
734
+ executedQuantity: (0, _nadohq_shared.toBigNumber)(server.executed_quantity_x18),
735
+ executedNotional: server.executed_notional_x18 === null ? null : (0, _nadohq_shared.toBigNumber)(server.executed_notional_x18),
736
+ averagePrice: (0, _nadohq_shared.removeDecimals)(server.average_price_x18),
737
+ entryPriceBefore: (0, _nadohq_shared.removeDecimals)(server.entry_price_before_x18),
738
+ liquidationOraclePrice: (0, _nadohq_shared.removeDecimals)(server.liquidation_oracle_price_x18),
739
+ liquidationNotional: server.liquidation_notional_x18 === null ? null : (0, _nadohq_shared.toBigNumber)(server.liquidation_notional_x18),
740
+ realizedPnlDelta: server.realized_pnl_delta_x18 === null ? null : (0, _nadohq_shared.toBigNumber)(server.realized_pnl_delta_x18),
741
+ leverage: server.leverage,
742
+ leverageAtMs: server.leverage_at_ms,
743
+ firstEventAtMs: server.first_event_at_ms,
744
+ lastEventAtMs: server.last_event_at_ms,
745
+ version: server.version
746
+ };
747
+ }
748
+ /**
749
+ * Maps a trusted target without treating the viewing account as authenticated.
750
+ * @param server - Service payload with its original wire fields.
751
+ * @returns A trading target retaining distinct identity/trading subaccounts, margin mode, and observation time.
752
+ */
753
+ function mapMobileSocialFeedTradingTarget(server) {
754
+ return {
755
+ positionId: server.position_id,
756
+ identitySubaccount: server.identity_subaccount,
757
+ tradingSubaccount: server.trading_subaccount,
758
+ productId: server.product_id,
759
+ marginMode: server.margin_mode,
760
+ isoSubaccountName: server.iso_subaccount_name,
761
+ direction: server.direction,
762
+ stateAsOfMs: server.state_as_of_ms
763
+ };
764
+ }
765
+ /**
766
+ * Maps viewing-account trading hints.
767
+ * @param server - Service payload with its original wire fields.
768
+ * @returns Trading hints with ordered target candidates, nullable viewer position, and the current reduction hint.
769
+ */
770
+ function mapMobileSocialFeedTradingContext(server) {
771
+ return {
772
+ productId: server.product_id,
773
+ suggestedDirection: server.suggested_direction,
774
+ resolution: server.resolution,
775
+ candidates: server.candidates.map(mapMobileSocialFeedTradingTarget),
776
+ viewerPositionId: server.viewer_position_id,
777
+ canReduce: server.can_reduce
778
+ };
779
+ }
780
+ /**
781
+ * Converts OHLC prices to decimals but preserves base-asset volume in x18.
782
+ * @param server - Service payload with its original wire fields.
783
+ * @returns A candle with decimal OHLC BigNumbers, base-asset volume retained in x18, and its timestamp in milliseconds.
784
+ */
785
+ function mapMobileSocialFeedCandle(server) {
786
+ return {
787
+ timestampMs: server.timestamp_ms,
788
+ open: (0, _nadohq_shared.removeDecimals)(server.open_x18),
789
+ high: (0, _nadohq_shared.removeDecimals)(server.high_x18),
790
+ low: (0, _nadohq_shared.removeDecimals)(server.low_x18),
791
+ close: (0, _nadohq_shared.removeDecimals)(server.close_x18),
792
+ volume: (0, _nadohq_shared.toBigNumber)(server.volume_x18)
793
+ };
794
+ }
795
+ /**
796
+ * Maps markers without replacing unknown Oracle prices with execution prices.
797
+ * @param server - Service payload with its original wire fields.
798
+ * @returns An action marker with its original price basis and a nullable decimal price, without substituting another source.
799
+ */
800
+ function mapMobileSocialFeedActionMarker(server) {
801
+ return {
802
+ actionId: server.action_id,
803
+ timestampMs: server.timestamp_ms,
804
+ price: (0, _nadohq_shared.removeDecimals)(server.price_x18),
805
+ action: server.action,
806
+ direction: server.direction,
807
+ priceBasis: server.price_basis
808
+ };
809
+ }
810
+ /**
811
+ * Maps selected-account open positions.
812
+ * @param server - Service payload with its original wire fields.
813
+ * @returns Mapped position candidates with the original nullable cursor and observation time.
814
+ */
815
+ function mapMobileSocialFeedPositionsPage(server) {
816
+ return {
817
+ positions: server.positions.map(mapMobileSocialFeedPublishablePosition),
818
+ nextCursor: server.next_cursor,
819
+ asOfMs: server.as_of_ms
820
+ };
821
+ }
822
+ /**
823
+ * Maps normal empty and ambiguous command results.
824
+ * @param server - Service payload with its original wire fields.
825
+ * @returns The command resolution, nullable market, position candidates, and original reason for an empty result.
826
+ */
827
+ function mapMobileSocialFeedPositionResolutionResult(server) {
828
+ return {
829
+ resolution: server.resolution,
830
+ product: server.product === null ? null : mapMobileSocialFeedMarket(server.product),
831
+ candidates: server.candidates.map(mapMobileSocialFeedPublishablePosition),
832
+ reason: server.reason
833
+ };
834
+ }
835
+ /**
836
+ * Preserves pending order projection without inventing action candidates.
837
+ * @param server - Service payload with its original wire fields.
838
+ * @returns The original order digest, ready/pending state, mapped actions, and observation time.
839
+ */
840
+ function mapMobileSocialFeedActionResolutionResult(server) {
841
+ return {
842
+ orderDigest: server.order_digest,
843
+ resolution: server.resolution,
844
+ actions: server.actions.map(mapMobileSocialFeedActionCandidate),
845
+ asOfMs: server.as_of_ms
846
+ };
847
+ }
848
+ /**
849
+ * Distinguishes no drawing from falsy drawing data.
850
+ * @param server - Service payload with its original wire fields.
851
+ * @returns The parent item ID/version and a nullable drawing, retaining false or zero drawing data.
852
+ */
853
+ function mapMobileSocialFeedDrawingResult(server) {
854
+ return {
855
+ itemId: server.item_id,
856
+ itemVersion: server.item_version,
857
+ drawing: server.drawing === null ? null : mapMobileSocialFeedDrawing(server.drawing)
858
+ };
859
+ }
860
+ /**
861
+ * Maps a saved drawing after creation or replacement.
862
+ * @param server - Successful drawing mutation response.
863
+ * @returns The parent item ID/version and non-null saved drawing.
864
+ */
865
+ function mapMobileSocialFeedDrawingMutationResult(server) {
866
+ return {
867
+ itemId: server.item_id,
868
+ itemVersion: server.item_version,
869
+ drawing: mapMobileSocialFeedDrawing(server.drawing)
870
+ };
871
+ }
872
+ /**
873
+ * Maps bidirectional comments and the actual returned session.
874
+ * @param server - Service payload with its original wire fields.
875
+ * @returns Mapped replies, total count, bidirectional cursors, nullable anchor, and the actual reading session.
876
+ */
877
+ function mapMobileSocialFeedCommentsPage(server) {
878
+ return {
879
+ comments: server.comments.map(mapMobileSocialFeedReply),
880
+ totalCount: server.total_count,
881
+ nextCursor: server.next_cursor,
882
+ previousCursor: server.previous_cursor,
883
+ anchorReplyId: server.anchor_reply_id,
884
+ readSession: mapMobileSocialFeedReadSession(server.read_session)
885
+ };
886
+ }
887
+ /**
888
+ * Maps atomic reply publication without inventing a reading session.
889
+ * @param server - Service payload with its original wire fields.
890
+ * @returns The created reply and authoritative root comment count, without a fabricated reading session.
891
+ */
892
+ function mapMobileSocialFeedCommentResult(server) {
893
+ return {
894
+ comment: mapMobileSocialFeedReply(server.comment),
895
+ rootCommentCount: server.root_comment_count
896
+ };
897
+ }
898
+ /**
899
+ * Maps authoritative like state and count.
900
+ * @param server - Service payload with its original wire fields.
901
+ * @returns The applied like state, authoritative count, and item ID/version after the mutation.
902
+ */
903
+ function mapMobileSocialFeedLikeResult(server) {
904
+ return {
905
+ itemId: server.item_id,
906
+ isLiked: server.is_liked,
907
+ likeCount: server.like_count,
908
+ version: server.version
909
+ };
910
+ }
911
+ /**
912
+ * Maps exposure deduplication results without adding timestamps.
913
+ * @param server - Service payload with its original wire fields.
914
+ * @returns Newly accepted and duplicate item ID lists without inventing an observation timestamp.
915
+ */
916
+ function mapMobileSocialFeedViewsResult(server) {
917
+ return {
918
+ acceptedItemIds: server.accepted_item_ids,
919
+ duplicateItemIds: server.duplicate_item_ids
920
+ };
921
+ }
922
+ /**
923
+ * Maps a published history take without treating unknown kinds as posts.
924
+ * @param server - The published service item.
925
+ * @returns The mapped post or trade card.
926
+ * @throws {MobileUnsupportedFeedItemError} If the service returns an unsupported take kind.
927
+ */
928
+ function mapMobileSocialFeedHistoryTake(server) {
929
+ const kind = server.kind;
930
+ switch (kind) {
931
+ case "trade_card": return mapMobileSocialFeedTradeCard(server);
932
+ case "post": return mapMobileSocialFeedPost(server);
933
+ default: throw new require_types_MobileUnsupportedFeedItemError.MobileUnsupportedFeedItemError(kind);
934
+ }
935
+ }
936
+ /**
937
+ * Maps a historical action or published take while preserving its discriminant.
938
+ * @param server - The service timeline entry.
939
+ * @returns The mapped action or take entry.
940
+ * @throws {MobileUnsupportedFeedItemError} If the service returns an unsupported entry or take kind.
941
+ */
942
+ function mapMobileSocialFeedTimelineEntry(server) {
943
+ const kind = server.kind;
944
+ switch (kind) {
945
+ case "action": return {
946
+ kind,
947
+ action: mapMobileSocialFeedPositionAction(server.action),
948
+ relatedItemId: server.related_item_id,
949
+ relatedTake: server.related_take === null ? null : mapMobileSocialFeedTradeCard(server.related_take)
950
+ };
951
+ case "take": return {
952
+ kind,
953
+ item: mapMobileSocialFeedHistoryTake(server.item)
954
+ };
955
+ default: throw new require_types_MobileUnsupportedFeedItemError.MobileUnsupportedFeedItemError(kind);
956
+ }
957
+ }
958
+ /**
959
+ * Maps full history, preserving action/take order, association, and null facts.
960
+ * @param server - Service payload with its original wire fields.
961
+ * @returns Position metrics, ordered action/take timeline, summary, cursor, quality, reading session, and trading hints.
962
+ * @throws {MobileUnsupportedFeedItemError} If a timeline entry or take has an unsupported kind.
963
+ */
964
+ function mapMobileSocialFeedPositionHistory(server) {
965
+ return {
966
+ position: {
967
+ ...mapMobileSocialFeedPositionCard(server.position),
968
+ ...mapMobileSocialFeedHistoryMetrics(server.position)
969
+ },
970
+ summary: {
971
+ actionCount: server.summary.action_count,
972
+ takeCount: server.summary.take_count
973
+ },
974
+ timeline: server.timeline.map(mapMobileSocialFeedTimelineEntry),
975
+ nextCursor: server.next_cursor,
976
+ historyQuality: server.history_quality,
977
+ readSession: mapMobileSocialFeedReadSession(server.read_session),
978
+ tradingContext: mapMobileSocialFeedTradingContext(server.trading_context)
979
+ };
980
+ }
981
+ /**
982
+ * Maps candles and independent price sources, preserving explicit nulls.
983
+ * @param server - Service payload with its original wire fields.
984
+ * @returns Decimal-price candles and markers with x18 volume, a nullable liquidation line, and paging/quality metadata.
985
+ */
986
+ function mapMobileSocialFeedPositionChart(server) {
987
+ return {
988
+ candles: server.candles.map(mapMobileSocialFeedCandle),
989
+ actionMarkers: server.action_markers.map(mapMobileSocialFeedActionMarker),
990
+ estimatedLiquidationLine: server.estimated_liquidation_line === null ? null : {
991
+ price: (0, _nadohq_shared.removeDecimals)(server.estimated_liquidation_line.price_x18),
992
+ asOfMs: server.estimated_liquidation_line.as_of_ms
993
+ },
994
+ nextBeforeMs: server.next_before_ms,
995
+ asOfMs: server.as_of_ms,
996
+ dataQuality: server.data_quality
997
+ };
998
+ }
999
+ /**
1000
+ * Maps watcher observations; account previews are self-reported, not authenticated.
1001
+ * @param server - Service payload with its original wire fields.
1002
+ * @returns The visitor count, self-reported public account previews, and observation time.
1003
+ */
1004
+ function mapMobileSocialFeedWatchers(server) {
1005
+ return {
1006
+ watcherCount: server.watcher_count,
1007
+ watcherPreview: server.watcher_preview.map(mapMobileSocialFeedAuthor),
1008
+ asOfMs: server.as_of_ms
1009
+ };
1010
+ }
1011
+ /**
1012
+ * Maps a page lease without inventing an observation timestamp.
1013
+ * @param server - Service payload with its original wire fields.
1014
+ * @returns Visitor count and public previews with heartbeat/lease durations in seconds, without an observation timestamp.
1015
+ */
1016
+ function mapMobileSocialFeedPresence(server) {
1017
+ return {
1018
+ watcherCount: server.watcher_count,
1019
+ watcherPreview: server.watcher_preview.map(mapMobileSocialFeedAuthor),
1020
+ heartbeatIntervalSeconds: server.heartbeat_interval_seconds,
1021
+ expiresInSeconds: server.expires_in_seconds
1022
+ };
1023
+ }
574
1024
  //#endregion
575
1025
  exports.mapMobileAvatarPreset = mapMobileAvatarPreset;
576
1026
  exports.mapMobileAvatarSelectionToServer = mapMobileAvatarSelectionToServer;
@@ -587,26 +1037,55 @@ exports.mapMobileProfileSearchParamsToServer = mapMobileProfileSearchParamsToSer
587
1037
  exports.mapMobileProfilesIncludeToServer = mapMobileProfilesIncludeToServer;
588
1038
  exports.mapMobilePublicProfile = mapMobilePublicProfile;
589
1039
  exports.mapMobileRegisteredWallet = mapMobileRegisteredWallet;
1040
+ exports.mapMobileSocialFeedActionCandidate = mapMobileSocialFeedActionCandidate;
1041
+ exports.mapMobileSocialFeedActionMarker = mapMobileSocialFeedActionMarker;
1042
+ exports.mapMobileSocialFeedActionResolutionResult = mapMobileSocialFeedActionResolutionResult;
590
1043
  exports.mapMobileSocialFeedAuthor = mapMobileSocialFeedAuthor;
1044
+ exports.mapMobileSocialFeedCandle = mapMobileSocialFeedCandle;
1045
+ exports.mapMobileSocialFeedCommentResult = mapMobileSocialFeedCommentResult;
1046
+ exports.mapMobileSocialFeedCommentsPage = mapMobileSocialFeedCommentsPage;
1047
+ exports.mapMobileSocialFeedCompactCard = mapMobileSocialFeedCompactCard;
1048
+ exports.mapMobileSocialFeedContentBase = mapMobileSocialFeedContentBase;
1049
+ exports.mapMobileSocialFeedDrawing = mapMobileSocialFeedDrawing;
1050
+ exports.mapMobileSocialFeedDrawingMutationResult = mapMobileSocialFeedDrawingMutationResult;
1051
+ exports.mapMobileSocialFeedDrawingResult = mapMobileSocialFeedDrawingResult;
1052
+ exports.mapMobileSocialFeedHistoryMetrics = mapMobileSocialFeedHistoryMetrics;
1053
+ exports.mapMobileSocialFeedHistoryTake = mapMobileSocialFeedHistoryTake;
591
1054
  exports.mapMobileSocialFeedInteraction = mapMobileSocialFeedInteraction;
592
1055
  exports.mapMobileSocialFeedItem = mapMobileSocialFeedItem;
593
1056
  exports.mapMobileSocialFeedItemBase = mapMobileSocialFeedItemBase;
594
1057
  exports.mapMobileSocialFeedItemPatch = mapMobileSocialFeedItemPatch;
595
1058
  exports.mapMobileSocialFeedItemResponse = mapMobileSocialFeedItemResponse;
1059
+ exports.mapMobileSocialFeedLikeResult = mapMobileSocialFeedLikeResult;
596
1060
  exports.mapMobileSocialFeedListParamsToServer = mapMobileSocialFeedListParamsToServer;
597
1061
  exports.mapMobileSocialFeedMarket = mapMobileSocialFeedMarket;
1062
+ exports.mapMobileSocialFeedMentionToServer = mapMobileSocialFeedMentionToServer;
598
1063
  exports.mapMobileSocialFeedPage = mapMobileSocialFeedPage;
599
1064
  exports.mapMobileSocialFeedPnl = mapMobileSocialFeedPnl;
1065
+ exports.mapMobileSocialFeedPositionAction = mapMobileSocialFeedPositionAction;
600
1066
  exports.mapMobileSocialFeedPositionCard = mapMobileSocialFeedPositionCard;
1067
+ exports.mapMobileSocialFeedPositionChart = mapMobileSocialFeedPositionChart;
1068
+ exports.mapMobileSocialFeedPositionHistory = mapMobileSocialFeedPositionHistory;
601
1069
  exports.mapMobileSocialFeedPositionPatch = mapMobileSocialFeedPositionPatch;
1070
+ exports.mapMobileSocialFeedPositionResolutionResult = mapMobileSocialFeedPositionResolutionResult;
1071
+ exports.mapMobileSocialFeedPositionsPage = mapMobileSocialFeedPositionsPage;
1072
+ exports.mapMobileSocialFeedPost = mapMobileSocialFeedPost;
1073
+ exports.mapMobileSocialFeedPresence = mapMobileSocialFeedPresence;
1074
+ exports.mapMobileSocialFeedPublishablePosition = mapMobileSocialFeedPublishablePosition;
602
1075
  exports.mapMobileSocialFeedRankedPage = mapMobileSocialFeedRankedPage;
603
1076
  exports.mapMobileSocialFeedReadParamsToServer = mapMobileSocialFeedReadParamsToServer;
604
1077
  exports.mapMobileSocialFeedReadSession = mapMobileSocialFeedReadSession;
1078
+ exports.mapMobileSocialFeedReply = mapMobileSocialFeedReply;
1079
+ exports.mapMobileSocialFeedTimelineEntry = mapMobileSocialFeedTimelineEntry;
605
1080
  exports.mapMobileSocialFeedTopTradersPage = mapMobileSocialFeedTopTradersPage;
606
1081
  exports.mapMobileSocialFeedTradeCard = mapMobileSocialFeedTradeCard;
607
1082
  exports.mapMobileSocialFeedTradeRow = mapMobileSocialFeedTradeRow;
608
1083
  exports.mapMobileSocialFeedTradeRowBase = mapMobileSocialFeedTradeRowBase;
609
1084
  exports.mapMobileSocialFeedTraderBadge = mapMobileSocialFeedTraderBadge;
1085
+ exports.mapMobileSocialFeedTradingContext = mapMobileSocialFeedTradingContext;
1086
+ exports.mapMobileSocialFeedTradingTarget = mapMobileSocialFeedTradingTarget;
610
1087
  exports.mapMobileSocialFeedUpdates = mapMobileSocialFeedUpdates;
1088
+ exports.mapMobileSocialFeedViewsResult = mapMobileSocialFeedViewsResult;
1089
+ exports.mapMobileSocialFeedWatchers = mapMobileSocialFeedWatchers;
611
1090
 
612
1091
  //# sourceMappingURL=dataMappers.cjs.map