@nadohq/mobile-client 0.65.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.
- package/README.md +202 -10
- package/dist/{MobileClient-CfVZXTcz.cjs → MobileClient-vuI5wlB_.cjs} +303 -21
- package/dist/MobileClient-vuI5wlB_.cjs.map +1 -0
- package/dist/MobileClient.cjs +1 -1
- package/dist/MobileClient.d.cts +175 -20
- package/dist/MobileClient.d.cts.map +1 -1
- package/dist/MobileClient.d.ts +175 -20
- package/dist/MobileClient.d.ts.map +1 -1
- package/dist/MobileClient.js +303 -21
- package/dist/MobileClient.js.map +1 -1
- package/dist/{MobileServerFailureError-BZVwlsMg.d.ts → MobileServerFailureError-BeCCNShj.d.cts} +2 -3
- package/dist/MobileServerFailureError-BeCCNShj.d.cts.map +1 -0
- package/dist/{MobileServerFailureError-CbtK8kD4.d.cts → MobileServerFailureError-hHv28weI.d.ts} +2 -3
- package/dist/MobileServerFailureError-hHv28weI.d.ts.map +1 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.cts +15 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.cts.map +1 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.ts +15 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.ts.map +1 -0
- package/dist/{buildSignedMobileRequest-C1v0flCR.d.cts → buildSignedMobileRequest-DcEMKU_4.d.cts} +2 -2
- package/dist/{buildSignedMobileRequest-C1v0flCR.d.cts.map → buildSignedMobileRequest-DcEMKU_4.d.cts.map} +1 -1
- package/dist/{buildSignedMobileRequest-UeeWdYGU.d.ts → buildSignedMobileRequest-DlTMvoXR.d.ts} +2 -2
- package/dist/{buildSignedMobileRequest-UeeWdYGU.d.ts.map → buildSignedMobileRequest-DlTMvoXR.d.ts.map} +1 -1
- package/dist/{canonicalize-5eeZrkzQ.d.ts → canonicalize-BOZlflI3.d.ts} +2 -2
- package/dist/canonicalize-BOZlflI3.d.ts.map +1 -0
- package/dist/{canonicalize-CBaZprTo.d.cts → canonicalize-BvCozzvJ.d.cts} +2 -2
- package/dist/canonicalize-BvCozzvJ.d.cts.map +1 -0
- package/dist/{clientTypes-_mEgzmNs.d.cts → clientTypes-KpHlCDGZ.d.cts} +341 -38
- package/dist/clientTypes-KpHlCDGZ.d.cts.map +1 -0
- package/dist/{clientTypes-C9dJufxk.d.ts → clientTypes-XRI41VdC.d.ts} +341 -38
- package/dist/clientTypes-XRI41VdC.d.ts.map +1 -0
- package/dist/dataMappers.cjs +257 -20
- package/dist/dataMappers.cjs.map +1 -1
- package/dist/dataMappers.d.cts +98 -15
- package/dist/dataMappers.d.cts.map +1 -1
- package/dist/dataMappers.d.ts +98 -15
- package/dist/dataMappers.d.ts.map +1 -1
- package/dist/dataMappers.js +242 -20
- package/dist/dataMappers.js.map +1 -1
- package/dist/{eip712MethodByType-D8jLoxDu.d.cts → eip712MethodByType-DyAmzH7b.d.cts} +2 -2
- package/dist/eip712MethodByType-DyAmzH7b.d.cts.map +1 -0
- package/dist/{eip712MethodByType-DcUh8h-l.d.ts → eip712MethodByType-qSSAF6i2.d.ts} +2 -2
- package/dist/eip712MethodByType-qSSAF6i2.d.ts.map +1 -0
- package/dist/feed-BrgkFqP3.d.cts +23 -0
- package/dist/feed-BrgkFqP3.d.cts.map +1 -0
- package/dist/feed-DcbhLoo1.d.ts +23 -0
- package/dist/feed-DcbhLoo1.d.ts.map +1 -0
- package/dist/index-BVVgDSdq.d.cts +1 -0
- package/dist/index-BVVgDSdq.d.ts +1 -0
- package/dist/index.cjs +8 -2
- package/dist/index.d.cts +14 -16
- package/dist/index.d.ts +14 -16
- package/dist/index.js +4 -3
- package/dist/{mobileErrorCodes-CmjYEIYm.d.ts → mobileErrorCodes-CdwX6QTO.d.cts} +8 -3
- package/dist/mobileErrorCodes-CdwX6QTO.d.cts.map +1 -0
- package/dist/{mobileErrorCodes-CmjYEIYm.d.cts → mobileErrorCodes-CdwX6QTO.d.ts} +8 -3
- package/dist/mobileErrorCodes-CdwX6QTO.d.ts.map +1 -0
- package/dist/{payloadHash-DhHmgRqL.d.cts → payloadHash-BgGSZock.d.cts} +2 -2
- package/dist/payloadHash-BgGSZock.d.cts.map +1 -0
- package/dist/{payloadHash-E1_8fpLW.d.ts → payloadHash-Bi6upCLQ.d.ts} +2 -2
- package/dist/payloadHash-Bi6upCLQ.d.ts.map +1 -0
- package/dist/{serverExecuteTypes-BwWGspOg.d.ts → serverExecuteTypes-DuCWe_H_.d.cts} +23 -14
- package/dist/serverExecuteTypes-DuCWe_H_.d.cts.map +1 -0
- package/dist/{serverExecuteTypes-B-OJok19.d.cts → serverExecuteTypes-usJ6HMJv.d.ts} +23 -14
- package/dist/serverExecuteTypes-usJ6HMJv.d.ts.map +1 -0
- package/dist/{serverModelTypes-CiA-dy1R.d.ts → serverModelTypes-CTHMNIQS.d.cts} +170 -13
- package/dist/serverModelTypes-CTHMNIQS.d.cts.map +1 -0
- package/dist/{serverModelTypes-CiA-dy1R.d.cts → serverModelTypes-CTHMNIQS.d.ts} +170 -13
- package/dist/serverModelTypes-CTHMNIQS.d.ts.map +1 -0
- package/dist/{serverResponseGuards-CShiXpHT.d.ts → serverResponseGuards-CzmldAad.d.cts} +2 -2
- package/dist/{serverResponseGuards-BW69PS7O.d.cts.map → serverResponseGuards-CzmldAad.d.cts.map} +1 -1
- package/dist/{serverResponseGuards-BW69PS7O.d.cts → serverResponseGuards-Dvkbjp2_.d.ts} +2 -2
- package/dist/{serverResponseGuards-CShiXpHT.d.ts.map → serverResponseGuards-Dvkbjp2_.d.ts.map} +1 -1
- package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
- package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
- package/dist/signing/canonicalize.cjs +53 -2
- package/dist/signing/canonicalize.cjs.map +1 -1
- package/dist/signing/canonicalize.d.cts +1 -1
- package/dist/signing/canonicalize.d.ts +1 -1
- package/dist/signing/canonicalize.js +53 -2
- package/dist/signing/canonicalize.js.map +1 -1
- package/dist/signing/eip712MethodByType.cjs +7 -0
- package/dist/signing/eip712MethodByType.cjs.map +1 -1
- package/dist/signing/eip712MethodByType.d.cts +1 -1
- package/dist/signing/eip712MethodByType.d.ts +1 -1
- package/dist/signing/eip712MethodByType.js +7 -0
- package/dist/signing/eip712MethodByType.js.map +1 -1
- package/dist/signing/index.d.cts +5 -5
- package/dist/signing/index.d.ts +5 -5
- package/dist/signing/payloadHash.cjs +1 -1
- package/dist/signing/payloadHash.d.cts +1 -1
- package/dist/signing/payloadHash.d.ts +1 -1
- package/dist/signing/payloadHash.js +1 -1
- package/dist/signing/types.d.cts +1 -1
- package/dist/signing/types.d.ts +1 -1
- package/dist/types/MobileServerFailureError.d.cts +1 -1
- package/dist/types/MobileServerFailureError.d.ts +1 -1
- package/dist/types/MobileUnsupportedNotificationRouteError.cjs +19 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.cjs.map +1 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.d.cts +2 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.d.ts +2 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.js +18 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.js.map +1 -0
- package/dist/types/clientTypes.d.cts +2 -2
- package/dist/types/clientTypes.d.ts +2 -2
- package/dist/types/index.cjs +4 -0
- package/dist/types/index.d.cts +8 -9
- package/dist/types/index.d.ts +8 -9
- package/dist/types/index.js +3 -2
- package/dist/types/mobileErrorCodes.cjs +11 -1
- package/dist/types/mobileErrorCodes.cjs.map +1 -1
- package/dist/types/mobileErrorCodes.d.cts +1 -1
- package/dist/types/mobileErrorCodes.d.ts +1 -1
- package/dist/types/mobileErrorCodes.js +11 -1
- package/dist/types/mobileErrorCodes.js.map +1 -1
- package/dist/types/serverBaseTypes.d.cts +1 -1
- package/dist/types/serverBaseTypes.d.ts +1 -1
- package/dist/types/serverExecuteTypes.d.cts +2 -2
- package/dist/types/serverExecuteTypes.d.ts +2 -2
- package/dist/types/serverModelTypes.cjs +15 -0
- package/dist/types/serverModelTypes.cjs.map +1 -1
- package/dist/types/serverModelTypes.d.cts +2 -2
- package/dist/types/serverModelTypes.d.ts +2 -2
- package/dist/types/serverModelTypes.js +14 -1
- package/dist/types/serverModelTypes.js.map +1 -1
- package/dist/types/serverQueryTypes.d.cts +2 -2
- package/dist/types/serverQueryTypes.d.ts +2 -2
- package/dist/types/serverRequestTypes.d.cts +2 -2
- package/dist/types/serverRequestTypes.d.ts +2 -2
- package/dist/types-CByl_NyJ.d.ts +825 -0
- package/dist/types-CByl_NyJ.d.ts.map +1 -0
- package/dist/types-CR5iaKR4.d.cts +825 -0
- package/dist/types-CR5iaKR4.d.cts.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.cjs +31 -0
- package/dist/utils/buildMobileFeedImageMultipart.cjs.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.cts +15 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.cts.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.ts +15 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.ts.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.js +30 -0
- package/dist/utils/buildMobileFeedImageMultipart.js.map +1 -0
- package/dist/utils/feed.cjs +12 -0
- package/dist/utils/feed.cjs.map +1 -1
- package/dist/utils/feed.d.cts +2 -2
- package/dist/utils/feed.d.ts +2 -2
- package/dist/utils/feed.js +11 -1
- package/dist/utils/feed.js.map +1 -1
- package/dist/utils/index.cjs +3 -1
- package/dist/utils/index.d.cts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +2 -2
- package/dist/utils/serverResponseGuards.d.cts +1 -1
- package/dist/utils/serverResponseGuards.d.ts +1 -1
- package/package.json +3 -3
- package/src/MobileClient.ts +444 -19
- package/src/dataMappers.test.ts +511 -6
- package/src/dataMappers.ts +325 -24
- package/src/feedImages.test.ts +309 -0
- package/src/notifications.test.ts +950 -0
- package/src/signing/canonicalize.ts +72 -0
- package/src/signing/eip712MethodByType.ts +10 -0
- package/src/signing/signing.test.ts +67 -1
- package/src/signing/types.ts +55 -9
- package/src/socialFeed.test.ts +63 -2
- package/src/types/MobileUnsupportedNotificationRouteError.ts +16 -0
- package/src/types/clientTypes.ts +427 -36
- package/src/types/index.ts +1 -0
- package/src/types/mobileErrorCodes.ts +10 -0
- package/src/types/serverExecuteTypes.ts +22 -10
- package/src/types/serverModelTypes.ts +216 -11
- package/src/types/serverQueryTypes.ts +106 -9
- package/src/types/serverRequestTypes.ts +114 -17
- package/src/utils/buildMobileFeedImageMultipart.test.ts +45 -0
- package/src/utils/buildMobileFeedImageMultipart.ts +36 -0
- package/src/utils/feed.ts +16 -0
- package/dist/MobileClient-CfVZXTcz.cjs.map +0 -1
- package/dist/MobileServerFailureError-BZVwlsMg.d.ts.map +0 -1
- package/dist/MobileServerFailureError-CbtK8kD4.d.cts.map +0 -1
- package/dist/canonicalize-5eeZrkzQ.d.ts.map +0 -1
- package/dist/canonicalize-CBaZprTo.d.cts.map +0 -1
- package/dist/clientTypes-C9dJufxk.d.ts.map +0 -1
- package/dist/clientTypes-_mEgzmNs.d.cts.map +0 -1
- package/dist/eip712MethodByType-D8jLoxDu.d.cts.map +0 -1
- package/dist/eip712MethodByType-DcUh8h-l.d.ts.map +0 -1
- package/dist/feed-DTJlsg8W.d.cts +0 -14
- package/dist/feed-DTJlsg8W.d.cts.map +0 -1
- package/dist/feed-DTJlsg8W.d.ts +0 -14
- package/dist/feed-DTJlsg8W.d.ts.map +0 -1
- package/dist/mobileErrorCodes-CmjYEIYm.d.cts.map +0 -1
- package/dist/mobileErrorCodes-CmjYEIYm.d.ts.map +0 -1
- package/dist/payloadHash-DhHmgRqL.d.cts.map +0 -1
- package/dist/payloadHash-E1_8fpLW.d.ts.map +0 -1
- package/dist/serverBaseTypes-B5J1_TyC.d.cts +0 -25
- package/dist/serverBaseTypes-B5J1_TyC.d.cts.map +0 -1
- package/dist/serverBaseTypes-DnLzsdm-.d.ts +0 -25
- package/dist/serverBaseTypes-DnLzsdm-.d.ts.map +0 -1
- package/dist/serverExecuteTypes-B-OJok19.d.cts.map +0 -1
- package/dist/serverExecuteTypes-BwWGspOg.d.ts.map +0 -1
- package/dist/serverModelTypes-CiA-dy1R.d.cts.map +0 -1
- package/dist/serverModelTypes-CiA-dy1R.d.ts.map +0 -1
- package/dist/serverQueryTypes-CJcjLB7n.d.ts +0 -283
- package/dist/serverQueryTypes-CJcjLB7n.d.ts.map +0 -1
- package/dist/serverQueryTypes-V1f9yE7L.d.cts +0 -283
- package/dist/serverQueryTypes-V1f9yE7L.d.cts.map +0 -1
- package/dist/serverRequestTypes-CRlkNSu5.d.cts +0 -270
- package/dist/serverRequestTypes-CRlkNSu5.d.cts.map +0 -1
- package/dist/serverRequestTypes-DZoOhV2o.d.ts +0 -270
- package/dist/serverRequestTypes-DZoOhV2o.d.ts.map +0 -1
- package/dist/types-BiRmH5Iv.d.cts +0 -108
- package/dist/types-BiRmH5Iv.d.cts.map +0 -1
- package/dist/types-DoJuq0Ij.d.ts +0 -108
- package/dist/types-DoJuq0Ij.d.ts.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $ as
|
|
3
|
-
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "./types-
|
|
4
|
-
import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-
|
|
5
|
-
import { t as canonicalizeMobileInner } from "./canonicalize-
|
|
6
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-
|
|
1
|
+
import { $ as MobileServerSocialFeedImage, $t as MobileSocialFeedUnavailableTarget, A as MobileServerNotificationPreferences, At as MobileSocialFeedCohortStatus, B as MobileServerSocialFeedChartRange, Bt as MobileSocialFeedPositionResolution, C as MobileServerIdentitySummary, Ct as MobileSocialFeedAction, D as MobileServerNotificationInboxItem, Dt as MobileSocialFeedAttachmentStatus, E as MobileServerNotificationDeviceMetadata, Et as MobileSocialFeedActionUnavailableReason, F as MobileServerSocialFeedActionCandidate, Ft as MobileSocialFeedMention, G as MobileServerSocialFeedCompactCard, Gt as MobileSocialFeedSourceCategory, H as MobileServerSocialFeedCohortCoverage, Ht as MobileSocialFeedPositionState, I as MobileServerSocialFeedActionMarker, It as MobileSocialFeedPnlBasis, J as MobileServerSocialFeedEstimatedLiquidationLine, Jt as MobileSocialFeedTradeSizeChangeAction, K as MobileServerSocialFeedContentBase, Kt as MobileSocialFeedTargetType, L as MobileServerSocialFeedAuthor, Lt as MobileSocialFeedPnlMode, M as MobileServerNotificationSettings, Mt as MobileSocialFeedLeverage, N as MobileServerProductEvent, Nt as MobileSocialFeedLiquidationPriceQuality, O as MobileServerNotificationPayloadV2, Ot as MobileSocialFeedChartDataQuality, P as MobileServerProfile, Pt as MobileSocialFeedMarketCategory, Q as MobileServerSocialFeedHistoryTake, Qt as MobileSocialFeedType, R as MobileServerSocialFeedCandle, Rt as MobileSocialFeedPnlQuality, S as MobileServerFollowSummary, St as MobileServerSocialFeedUploadedImage, T as MobileServerNotificationCategoryPreference, Tt as MobileSocialFeedActionResolution, U as MobileServerSocialFeedCommentGroup, Ut as MobileSocialFeedPresenceState, V as MobileServerSocialFeedCohort, Vt as MobileSocialFeedPositionResolutionReason, W as MobileServerSocialFeedCommentPreview, Wt as MobileSocialFeedReadSessionMode, X as MobileServerSocialFeedHistoryMetrics, Xt as MobileSocialFeedTraderDataStatus, Y as MobileServerSocialFeedExternalImage, Yt as MobileSocialFeedTraderBadgeCode, Z as MobileServerSocialFeedHistorySummary, Zt as MobileSocialFeedTradingResolution, _ as MobileServerAvatarPreset, _t as MobileServerSocialFeedTradeRow, a as MOBILE_NOTIFICATION_POSITION_THRESHOLDS, at as MobileServerSocialFeedMarket, b as MobileServerFeedTrade, bt as MobileServerSocialFeedTradingContext, c as MobileFeedTradePositionDirection, ct as MobileServerSocialFeedPositionCard, d as MobileNotificationMinTradeSizeUsd, dt as MobileServerSocialFeedPost, et as MobileServerSocialFeedImageThumbnail, f as MobileNotificationPlatform, ft as MobileServerSocialFeedPublishablePosition, g as MobileProductEventName, gt as MobileServerSocialFeedTradeCard, h as MobileNotificationTypeId, ht as MobileServerSocialFeedTimelineEntry, i as MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, it as MobileServerSocialFeedItemPatch, j as MobileServerNotificationRoute, jt as MobileSocialFeedHistoryQuality, k as MobileServerNotificationPreferenceScope, kt as MobileSocialFeedChartInterval, l as MobileFeedTradePositionEffect, lt as MobileServerSocialFeedPositionHistoryCard, m as MobileNotificationRouteName, mt as MobileServerSocialFeedReply, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileServerSocialFeedItem, o as MobileFeedMarginMode, ot as MobileServerSocialFeedPnl, p as MobileNotificationPositionThreshold, pt as MobileServerSocialFeedReadSession, q as MobileServerSocialFeedDrawing, qt as MobileSocialFeedTradeCardAction, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileServerSocialFeedItemBase, s as MobileFeedTradePosition, st as MobileServerSocialFeedPositionAction, t as MOBILE_FEED_MARGIN_MODES, tt as MobileServerSocialFeedInteraction, u as MobileNotificationCategory, ut as MobileServerSocialFeedPositionPatch, v as MobileServerAvatarSelection, vt as MobileServerSocialFeedTradeRowBase, w as MobileServerNotificationCapabilities, wt as MobileSocialFeedActionPriceBasis, x as MobileServerFollowListAccount, xt as MobileServerSocialFeedTradingTarget, y as MobileServerFeedMargin, yt as MobileServerSocialFeedTraderBadge, z as MobileServerSocialFeedCapabilities, zt as MobileSocialFeedPositionDisplayBasis } from "./serverModelTypes-CTHMNIQS.cjs";
|
|
2
|
+
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";
|
|
3
|
+
import { $ as MobileServerSocialFeedWatchersResponse, A as MobileServerNotificationSubscriptionsResponse, B as MobileServerSocialFeedCommentsResponse, C as MobileServerAvatarPresetsResponse, D as MobileServerNotificationPreferencesResponse, E as MobileServerNotificationInboxV2Response, F as MobileServerRegisteredWalletResponse, G as MobileServerSocialFeedPositionResolutionResponse, H as MobileServerSocialFeedItemResponse, I as MobileServerSearchProfilesResponse, J as MobileServerSocialFeedPositionsResponse, K as MobileServerSocialFeedPositionThought, L as MobileServerSignedQueryResponseByType, M as MobileServerPublicQueryRequest, N as MobileServerPublicQueryResponseByType, O as MobileServerNotificationRegistrationV2Response, P as MobileServerPublicQuerySuccessResponse, Q as MobileServerSocialFeedUpdatesResponse, R as MobileServerSignedQuerySuccessResponse, S as MobileServerWithExpoTokenParams, T as MobileServerFollowListResponse, U as MobileServerSocialFeedPositionChartResponse, V as MobileServerSocialFeedDrawingResponse, W as MobileServerSocialFeedPositionHistoryResponse, X as MobileServerSocialFeedResponse, Y as MobileServerSocialFeedRankedResponse, Z as MobileServerSocialFeedTopTradersResponse, _ as MobileServerSearchProfilesRequest, a as MobileSignedRequest, b as MobileServerSocialFeedListParams, c as MobileServerNotificationSubscriptionsUpdate, d as MobileServerPublicExecuteRequestType, et as MobileServerUsernameAvailabilityResponse, f as MobileServerPublicQueryRequestByType, g as MobileServerRequestType, h as MobileServerRegisterExpoTokenV2Params, i as MobileSignedInnerParams, j as MobileServerProfilesResponse, k as MobileServerNotificationSettingsV2Response, l as MobileServerProfilesInclude, m as MobileServerRegisterExpoTokenParams, n as MobileSignedInner, nt as MobileServerSuccessResponse, o as MobileServerExecuteRequestType, p as MobileServerPublicQueryRequestType, q as MobileServerSocialFeedPositionThoughtsResponse, r as MobileSignedInnerByType, s as MobileServerFollowListRequest, t as BuildSignedMobileRequestParams, tt as MobileServerFailureResponse, u as MobileServerPublicExecuteRequestByType, v as MobileServerSignedQueryRequestType, w as MobileServerFeedResponse, x as MobileServerSocialFeedReadParams, y as MobileServerSocialFeedCategorizedParams, z as MobileServerSocialFeedActionResolutionResponse } from "./types-CR5iaKR4.cjs";
|
|
4
|
+
import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-DcEMKU_4.cjs";
|
|
5
|
+
import { t as canonicalizeMobileInner } from "./canonicalize-BvCozzvJ.cjs";
|
|
6
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-DyAmzH7b.cjs";
|
|
7
7
|
import { t as getMobileNonce } from "./nonce-7swNuPgu.cjs";
|
|
8
|
-
import { t as getMobilePayloadHash } from "./payloadHash-
|
|
9
|
-
import { a as
|
|
10
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-B5J1_TyC.cjs";
|
|
11
|
-
import { _ as MobileServerSocialFeedViewsResponse, a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, d as MobileServerPublicExecuteSuccessResponse, f as MobileServerSocialFeedCommentResponse, g as MobileServerSocialFeedPresenceResponse, h as MobileServerSocialFeedPostResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, m as MobileServerSocialFeedLikeResponse, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse, u as MobileServerPublicExecuteResponseByType } from "./serverExecuteTypes-B-OJok19.cjs";
|
|
12
|
-
import { C as MobileServerSocialFeedWatchersResponse, S as MobileServerSocialFeedUpdatesResponse, _ as MobileServerSocialFeedPositionResolutionResponse, a as MobileServerProfilesResponse, b as MobileServerSocialFeedResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedActionResolutionResponse, f as MobileServerSocialFeedCommentsResponse, g as MobileServerSocialFeedPositionHistoryResponse, h as MobileServerSocialFeedPositionChartResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedItemResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedDrawingResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse, v as MobileServerSocialFeedPositionsResponse, w as MobileServerUsernameAvailabilityResponse, x as MobileServerSocialFeedTopTradersResponse, y as MobileServerSocialFeedRankedResponse } from "./serverQueryTypes-V1f9yE7L.cjs";
|
|
8
|
+
import { t as getMobilePayloadHash } from "./payloadHash-BgGSZock.cjs";
|
|
9
|
+
import { _ as MobileServerSocialFeedPresenceResponse, a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, d as MobileServerPublicExecuteSuccessResponse, f as MobileServerSocialFeedCommentResponse, g as MobileServerSocialFeedPostResponse, h as MobileServerSocialFeedLikeResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, m as MobileServerSocialFeedImageUploadResponse, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse, u as MobileServerPublicExecuteResponseByType } from "./serverExecuteTypes-DuCWe_H_.cjs";
|
|
13
10
|
import { MobileClient, MobileClientOpts } from "./MobileClient.cjs";
|
|
14
11
|
import { MOBILE_CLIENT_ENDPOINTS } from "./endpoints.cjs";
|
|
15
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "./mobileErrorCodes-
|
|
16
|
-
import { t as MobileServerFailureError } from "./MobileServerFailureError-
|
|
12
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "./mobileErrorCodes-CdwX6QTO.cjs";
|
|
13
|
+
import { t as MobileServerFailureError } from "./MobileServerFailureError-BeCCNShj.cjs";
|
|
17
14
|
import { t as MobileUnsupportedFeedItemError } from "./MobileUnsupportedFeedItemError-BsZvW8i2.cjs";
|
|
18
|
-
import {
|
|
15
|
+
import { t as MobileUnsupportedNotificationRouteError } from "./MobileUnsupportedNotificationRouteError-DpiNBvvY.cjs";
|
|
16
|
+
import { i as isMobileSocialFeedUploadedImage, n as MOBILE_FEED_MAX_PAGE_SIZE, r as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_IMAGE_MAX_REQUEST_BYTES } from "./feed-BrgkFqP3.cjs";
|
|
19
17
|
import { a as MOBILE_PROFILES_MAX_BATCH_SIZE, i as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, n as MOBILE_FOLLOW_BATCH_MAX_SIZE, r as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "./follow-B3CZ04c0.cjs";
|
|
20
18
|
import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "./patterns-3UKIG5IS.cjs";
|
|
21
19
|
import { n as MOBILE_BIO_MAX_LENGTH, r as isValidMobileBio, t as MOBILE_AVATAR_MAX_UPLOAD_BYTES } from "./profile-BozA3yVP.cjs";
|
|
22
20
|
import { n as MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, t as MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE } from "./profileSearch-DCuB-IKD.cjs";
|
|
23
|
-
import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "./serverResponseGuards-
|
|
24
|
-
export { BuildSignedMobileRequestParams, GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileClient, MobileClientOpts, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedPostParams, MobileErrorCode, MobileFeedChartDrawingParams, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePositionPresenceParams, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSocialFeedActionCandidate, MobileServerSocialFeedActionMarker, MobileServerSocialFeedActionResolutionResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCandle, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedChartRange, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedCommentsResponse, MobileServerSocialFeedCompactCard, MobileServerSocialFeedContentBase, MobileServerSocialFeedDrawing, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedDrawingResponse, MobileServerSocialFeedEstimatedLiquidationLine, MobileServerSocialFeedHistoryMetrics, MobileServerSocialFeedHistorySummary, MobileServerSocialFeedHistoryTake, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionAction, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionChartResponse, MobileServerSocialFeedPositionHistoryCard, MobileServerSocialFeedPositionHistoryResponse, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedPositionResolutionResponse, MobileServerSocialFeedPositionsResponse, MobileServerSocialFeedPost, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse, MobileServerSocialFeedPublishablePosition, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedReply, MobileServerSocialFeedResponse, MobileServerSocialFeedTimelineEntry, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedTradingContext, MobileServerSocialFeedTradingTarget, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSocialFeedViewsResponse, MobileServerSocialFeedWatchersResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, MobileSignedRequestParams, MobileSocialFeedAction, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionPriceBasis, MobileSocialFeedActionResolution, MobileSocialFeedActionResolutionResult, MobileSocialFeedActionUnavailableReason, MobileSocialFeedAttachmentStatus, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartDataQuality, MobileSocialFeedChartInterval, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistoryQuality, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedLikeResult, MobileSocialFeedLiquidationPriceQuality, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedMention, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolution, MobileSocialFeedPositionResolutionReason, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionState, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPresenceState, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedReply, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedTradingContext, MobileSocialFeedTradingResolution, MobileSocialFeedTradingTarget, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileSocialFeedViewsResult, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUnsupportedFeedItemError, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
|
|
21
|
+
import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "./serverResponseGuards-CzmldAad.cjs";
|
|
22
|
+
export { BuildSignedMobileRequestParams, 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, MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_IMAGE_MAX_REQUEST_BYTES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, MOBILE_NOTIFICATION_POSITION_THRESHOLDS, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileClient, MobileClientOpts, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedImageUploadParams, MobileCreateFeedPostParams, MobileErrorCode, MobileFeedChartDrawingParams, MobileFeedImageRequest, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCapabilities, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationInboxItem, MobileNotificationInboxV2, MobileNotificationMinTradeSizeUsd, MobileNotificationPayloadV2, MobileNotificationPlatform, MobileNotificationPositionThreshold, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileNotificationRegistrationV2, MobileNotificationRoute, MobileNotificationRouteName, MobileNotificationSettings, MobileNotificationSettingsV2, MobileNotificationSubscriptions, MobileNotificationSubscriptionsUpdate, MobileNotificationTypeId, MobilePositionPresenceParams, MobileProductEvent, MobileProductEventName, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRecordProductEventsParams, MobileRegisterExpoTokenParams, MobileRegisterExpoTokenV2Params, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCapabilities, MobileServerNotificationCategoryPreference, MobileServerNotificationDeviceMetadata, MobileServerNotificationInboxItem, MobileServerNotificationInboxV2Response, MobileServerNotificationPayloadV2, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerNotificationRegistrationV2Response, MobileServerNotificationRoute, MobileServerNotificationSettings, MobileServerNotificationSettingsV2Response, MobileServerNotificationSubscriptionsResponse, MobileServerNotificationSubscriptionsUpdate, MobileServerProductEvent, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisterExpoTokenParams, MobileServerRegisterExpoTokenV2Params, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSignedQueryRequestType, MobileServerSignedQueryResponseByType, MobileServerSignedQuerySuccessResponse, MobileServerSocialFeedActionCandidate, MobileServerSocialFeedActionMarker, MobileServerSocialFeedActionResolutionResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCandle, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedChartRange, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentGroup, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedCommentsResponse, MobileServerSocialFeedCompactCard, MobileServerSocialFeedContentBase, MobileServerSocialFeedDrawing, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedDrawingResponse, MobileServerSocialFeedEstimatedLiquidationLine, MobileServerSocialFeedExternalImage, MobileServerSocialFeedHistoryMetrics, MobileServerSocialFeedHistorySummary, MobileServerSocialFeedHistoryTake, MobileServerSocialFeedImage, MobileServerSocialFeedImageThumbnail, MobileServerSocialFeedImageUploadResponse, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionAction, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionChartResponse, MobileServerSocialFeedPositionHistoryCard, MobileServerSocialFeedPositionHistoryResponse, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedPositionResolutionResponse, MobileServerSocialFeedPositionThought, MobileServerSocialFeedPositionThoughtsResponse, MobileServerSocialFeedPositionsResponse, MobileServerSocialFeedPost, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse, MobileServerSocialFeedPublishablePosition, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedReply, MobileServerSocialFeedResponse, MobileServerSocialFeedTimelineEntry, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedTradingContext, MobileServerSocialFeedTradingTarget, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedUploadedImage, MobileServerSocialFeedWatchersResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileServerWithExpoTokenParams, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, MobileSignedRequestParams, MobileSocialFeedAction, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionPriceBasis, MobileSocialFeedActionResolution, MobileSocialFeedActionResolutionResult, MobileSocialFeedActionUnavailableReason, MobileSocialFeedAttachmentStatus, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartDataQuality, MobileSocialFeedChartInterval, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentGroup, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedExternalImage, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistoryQuality, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedImage, MobileSocialFeedImageThumbnail, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedLikeResult, MobileSocialFeedLiquidationPriceQuality, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedMention, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolution, MobileSocialFeedPositionResolutionReason, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionState, MobileSocialFeedPositionThought, MobileSocialFeedPositionThoughtsPage, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPresenceState, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedReply, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedTradingContext, MobileSocialFeedTradingResolution, MobileSocialFeedTradingTarget, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedUploadedImage, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUnsupportedFeedItemError, MobileUnsupportedNotificationRouteError, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isMobileSocialFeedUploadedImage, isValidMobileBio };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $ as
|
|
3
|
-
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "./types-
|
|
4
|
-
import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-
|
|
5
|
-
import { t as canonicalizeMobileInner } from "./canonicalize-
|
|
6
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-
|
|
1
|
+
import { $ as MobileServerSocialFeedImage, $t as MobileSocialFeedUnavailableTarget, A as MobileServerNotificationPreferences, At as MobileSocialFeedCohortStatus, B as MobileServerSocialFeedChartRange, Bt as MobileSocialFeedPositionResolution, C as MobileServerIdentitySummary, Ct as MobileSocialFeedAction, D as MobileServerNotificationInboxItem, Dt as MobileSocialFeedAttachmentStatus, E as MobileServerNotificationDeviceMetadata, Et as MobileSocialFeedActionUnavailableReason, F as MobileServerSocialFeedActionCandidate, Ft as MobileSocialFeedMention, G as MobileServerSocialFeedCompactCard, Gt as MobileSocialFeedSourceCategory, H as MobileServerSocialFeedCohortCoverage, Ht as MobileSocialFeedPositionState, I as MobileServerSocialFeedActionMarker, It as MobileSocialFeedPnlBasis, J as MobileServerSocialFeedEstimatedLiquidationLine, Jt as MobileSocialFeedTradeSizeChangeAction, K as MobileServerSocialFeedContentBase, Kt as MobileSocialFeedTargetType, L as MobileServerSocialFeedAuthor, Lt as MobileSocialFeedPnlMode, M as MobileServerNotificationSettings, Mt as MobileSocialFeedLeverage, N as MobileServerProductEvent, Nt as MobileSocialFeedLiquidationPriceQuality, O as MobileServerNotificationPayloadV2, Ot as MobileSocialFeedChartDataQuality, P as MobileServerProfile, Pt as MobileSocialFeedMarketCategory, Q as MobileServerSocialFeedHistoryTake, Qt as MobileSocialFeedType, R as MobileServerSocialFeedCandle, Rt as MobileSocialFeedPnlQuality, S as MobileServerFollowSummary, St as MobileServerSocialFeedUploadedImage, T as MobileServerNotificationCategoryPreference, Tt as MobileSocialFeedActionResolution, U as MobileServerSocialFeedCommentGroup, Ut as MobileSocialFeedPresenceState, V as MobileServerSocialFeedCohort, Vt as MobileSocialFeedPositionResolutionReason, W as MobileServerSocialFeedCommentPreview, Wt as MobileSocialFeedReadSessionMode, X as MobileServerSocialFeedHistoryMetrics, Xt as MobileSocialFeedTraderDataStatus, Y as MobileServerSocialFeedExternalImage, Yt as MobileSocialFeedTraderBadgeCode, Z as MobileServerSocialFeedHistorySummary, Zt as MobileSocialFeedTradingResolution, _ as MobileServerAvatarPreset, _t as MobileServerSocialFeedTradeRow, a as MOBILE_NOTIFICATION_POSITION_THRESHOLDS, at as MobileServerSocialFeedMarket, b as MobileServerFeedTrade, bt as MobileServerSocialFeedTradingContext, c as MobileFeedTradePositionDirection, ct as MobileServerSocialFeedPositionCard, d as MobileNotificationMinTradeSizeUsd, dt as MobileServerSocialFeedPost, et as MobileServerSocialFeedImageThumbnail, f as MobileNotificationPlatform, ft as MobileServerSocialFeedPublishablePosition, g as MobileProductEventName, gt as MobileServerSocialFeedTradeCard, h as MobileNotificationTypeId, ht as MobileServerSocialFeedTimelineEntry, i as MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, it as MobileServerSocialFeedItemPatch, j as MobileServerNotificationRoute, jt as MobileSocialFeedHistoryQuality, k as MobileServerNotificationPreferenceScope, kt as MobileSocialFeedChartInterval, l as MobileFeedTradePositionEffect, lt as MobileServerSocialFeedPositionHistoryCard, m as MobileNotificationRouteName, mt as MobileServerSocialFeedReply, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileServerSocialFeedItem, o as MobileFeedMarginMode, ot as MobileServerSocialFeedPnl, p as MobileNotificationPositionThreshold, pt as MobileServerSocialFeedReadSession, q as MobileServerSocialFeedDrawing, qt as MobileSocialFeedTradeCardAction, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileServerSocialFeedItemBase, s as MobileFeedTradePosition, st as MobileServerSocialFeedPositionAction, t as MOBILE_FEED_MARGIN_MODES, tt as MobileServerSocialFeedInteraction, u as MobileNotificationCategory, ut as MobileServerSocialFeedPositionPatch, v as MobileServerAvatarSelection, vt as MobileServerSocialFeedTradeRowBase, w as MobileServerNotificationCapabilities, wt as MobileSocialFeedActionPriceBasis, x as MobileServerFollowListAccount, xt as MobileServerSocialFeedTradingTarget, y as MobileServerFeedMargin, yt as MobileServerSocialFeedTraderBadge, z as MobileServerSocialFeedCapabilities, zt as MobileSocialFeedPositionDisplayBasis } from "./serverModelTypes-CTHMNIQS.js";
|
|
2
|
+
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";
|
|
3
|
+
import { $ as MobileServerSocialFeedWatchersResponse, A as MobileServerNotificationSubscriptionsResponse, B as MobileServerSocialFeedCommentsResponse, C as MobileServerAvatarPresetsResponse, D as MobileServerNotificationPreferencesResponse, E as MobileServerNotificationInboxV2Response, F as MobileServerRegisteredWalletResponse, G as MobileServerSocialFeedPositionResolutionResponse, H as MobileServerSocialFeedItemResponse, I as MobileServerSearchProfilesResponse, J as MobileServerSocialFeedPositionsResponse, K as MobileServerSocialFeedPositionThought, L as MobileServerSignedQueryResponseByType, M as MobileServerPublicQueryRequest, N as MobileServerPublicQueryResponseByType, O as MobileServerNotificationRegistrationV2Response, P as MobileServerPublicQuerySuccessResponse, Q as MobileServerSocialFeedUpdatesResponse, R as MobileServerSignedQuerySuccessResponse, S as MobileServerWithExpoTokenParams, T as MobileServerFollowListResponse, U as MobileServerSocialFeedPositionChartResponse, V as MobileServerSocialFeedDrawingResponse, W as MobileServerSocialFeedPositionHistoryResponse, X as MobileServerSocialFeedResponse, Y as MobileServerSocialFeedRankedResponse, Z as MobileServerSocialFeedTopTradersResponse, _ as MobileServerSearchProfilesRequest, a as MobileSignedRequest, b as MobileServerSocialFeedListParams, c as MobileServerNotificationSubscriptionsUpdate, d as MobileServerPublicExecuteRequestType, et as MobileServerUsernameAvailabilityResponse, f as MobileServerPublicQueryRequestByType, g as MobileServerRequestType, h as MobileServerRegisterExpoTokenV2Params, i as MobileSignedInnerParams, j as MobileServerProfilesResponse, k as MobileServerNotificationSettingsV2Response, l as MobileServerProfilesInclude, m as MobileServerRegisterExpoTokenParams, n as MobileSignedInner, nt as MobileServerSuccessResponse, o as MobileServerExecuteRequestType, p as MobileServerPublicQueryRequestType, q as MobileServerSocialFeedPositionThoughtsResponse, r as MobileSignedInnerByType, s as MobileServerFollowListRequest, t as BuildSignedMobileRequestParams, tt as MobileServerFailureResponse, u as MobileServerPublicExecuteRequestByType, v as MobileServerSignedQueryRequestType, w as MobileServerFeedResponse, x as MobileServerSocialFeedReadParams, y as MobileServerSocialFeedCategorizedParams, z as MobileServerSocialFeedActionResolutionResponse } from "./types-CByl_NyJ.js";
|
|
4
|
+
import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-DlTMvoXR.js";
|
|
5
|
+
import { t as canonicalizeMobileInner } from "./canonicalize-BOZlflI3.js";
|
|
6
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-qSSAF6i2.js";
|
|
7
7
|
import { t as getMobileNonce } from "./nonce-7swNuPgu.js";
|
|
8
|
-
import { t as getMobilePayloadHash } from "./payloadHash-
|
|
9
|
-
import { a as
|
|
10
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-DnLzsdm-.js";
|
|
11
|
-
import { _ as MobileServerSocialFeedViewsResponse, a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, d as MobileServerPublicExecuteSuccessResponse, f as MobileServerSocialFeedCommentResponse, g as MobileServerSocialFeedPresenceResponse, h as MobileServerSocialFeedPostResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, m as MobileServerSocialFeedLikeResponse, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse, u as MobileServerPublicExecuteResponseByType } from "./serverExecuteTypes-BwWGspOg.js";
|
|
12
|
-
import { C as MobileServerSocialFeedWatchersResponse, S as MobileServerSocialFeedUpdatesResponse, _ as MobileServerSocialFeedPositionResolutionResponse, a as MobileServerProfilesResponse, b as MobileServerSocialFeedResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedActionResolutionResponse, f as MobileServerSocialFeedCommentsResponse, g as MobileServerSocialFeedPositionHistoryResponse, h as MobileServerSocialFeedPositionChartResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedItemResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedDrawingResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse, v as MobileServerSocialFeedPositionsResponse, w as MobileServerUsernameAvailabilityResponse, x as MobileServerSocialFeedTopTradersResponse, y as MobileServerSocialFeedRankedResponse } from "./serverQueryTypes-CJcjLB7n.js";
|
|
8
|
+
import { t as getMobilePayloadHash } from "./payloadHash-Bi6upCLQ.js";
|
|
9
|
+
import { _ as MobileServerSocialFeedPresenceResponse, a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, d as MobileServerPublicExecuteSuccessResponse, f as MobileServerSocialFeedCommentResponse, g as MobileServerSocialFeedPostResponse, h as MobileServerSocialFeedLikeResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, m as MobileServerSocialFeedImageUploadResponse, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse, u as MobileServerPublicExecuteResponseByType } from "./serverExecuteTypes-usJ6HMJv.js";
|
|
13
10
|
import { MobileClient, MobileClientOpts } from "./MobileClient.js";
|
|
14
11
|
import { MOBILE_CLIENT_ENDPOINTS } from "./endpoints.js";
|
|
15
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "./mobileErrorCodes-
|
|
16
|
-
import { t as MobileServerFailureError } from "./MobileServerFailureError-
|
|
12
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "./mobileErrorCodes-CdwX6QTO.js";
|
|
13
|
+
import { t as MobileServerFailureError } from "./MobileServerFailureError-hHv28weI.js";
|
|
17
14
|
import { t as MobileUnsupportedFeedItemError } from "./MobileUnsupportedFeedItemError-BsZvW8i2.js";
|
|
18
|
-
import {
|
|
15
|
+
import { t as MobileUnsupportedNotificationRouteError } from "./MobileUnsupportedNotificationRouteError-DpiNBvvY.js";
|
|
16
|
+
import { i as isMobileSocialFeedUploadedImage, n as MOBILE_FEED_MAX_PAGE_SIZE, r as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_IMAGE_MAX_REQUEST_BYTES } from "./feed-DcbhLoo1.js";
|
|
19
17
|
import { a as MOBILE_PROFILES_MAX_BATCH_SIZE, i as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, n as MOBILE_FOLLOW_BATCH_MAX_SIZE, r as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "./follow-B3CZ04c0.js";
|
|
20
18
|
import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "./patterns-3UKIG5IS.js";
|
|
21
19
|
import { n as MOBILE_BIO_MAX_LENGTH, r as isValidMobileBio, t as MOBILE_AVATAR_MAX_UPLOAD_BYTES } from "./profile-BozA3yVP.js";
|
|
22
20
|
import { n as MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, t as MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE } from "./profileSearch-DCuB-IKD.js";
|
|
23
|
-
import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "./serverResponseGuards-
|
|
24
|
-
export { BuildSignedMobileRequestParams, GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileClient, MobileClientOpts, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedPostParams, MobileErrorCode, MobileFeedChartDrawingParams, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePositionPresenceParams, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSocialFeedActionCandidate, MobileServerSocialFeedActionMarker, MobileServerSocialFeedActionResolutionResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCandle, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedChartRange, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedCommentsResponse, MobileServerSocialFeedCompactCard, MobileServerSocialFeedContentBase, MobileServerSocialFeedDrawing, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedDrawingResponse, MobileServerSocialFeedEstimatedLiquidationLine, MobileServerSocialFeedHistoryMetrics, MobileServerSocialFeedHistorySummary, MobileServerSocialFeedHistoryTake, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionAction, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionChartResponse, MobileServerSocialFeedPositionHistoryCard, MobileServerSocialFeedPositionHistoryResponse, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedPositionResolutionResponse, MobileServerSocialFeedPositionsResponse, MobileServerSocialFeedPost, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse, MobileServerSocialFeedPublishablePosition, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedReply, MobileServerSocialFeedResponse, MobileServerSocialFeedTimelineEntry, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedTradingContext, MobileServerSocialFeedTradingTarget, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSocialFeedViewsResponse, MobileServerSocialFeedWatchersResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, MobileSignedRequestParams, MobileSocialFeedAction, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionPriceBasis, MobileSocialFeedActionResolution, MobileSocialFeedActionResolutionResult, MobileSocialFeedActionUnavailableReason, MobileSocialFeedAttachmentStatus, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartDataQuality, MobileSocialFeedChartInterval, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistoryQuality, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedLikeResult, MobileSocialFeedLiquidationPriceQuality, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedMention, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolution, MobileSocialFeedPositionResolutionReason, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionState, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPresenceState, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedReply, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedTradingContext, MobileSocialFeedTradingResolution, MobileSocialFeedTradingTarget, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileSocialFeedViewsResult, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUnsupportedFeedItemError, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
|
|
21
|
+
import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "./serverResponseGuards-Dvkbjp2_.js";
|
|
22
|
+
export { BuildSignedMobileRequestParams, 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, MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_IMAGE_MAX_REQUEST_BYTES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, MOBILE_NOTIFICATION_POSITION_THRESHOLDS, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileClient, MobileClientOpts, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedImageUploadParams, MobileCreateFeedPostParams, MobileErrorCode, MobileFeedChartDrawingParams, MobileFeedImageRequest, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCapabilities, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationInboxItem, MobileNotificationInboxV2, MobileNotificationMinTradeSizeUsd, MobileNotificationPayloadV2, MobileNotificationPlatform, MobileNotificationPositionThreshold, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileNotificationRegistrationV2, MobileNotificationRoute, MobileNotificationRouteName, MobileNotificationSettings, MobileNotificationSettingsV2, MobileNotificationSubscriptions, MobileNotificationSubscriptionsUpdate, MobileNotificationTypeId, MobilePositionPresenceParams, MobileProductEvent, MobileProductEventName, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRecordProductEventsParams, MobileRegisterExpoTokenParams, MobileRegisterExpoTokenV2Params, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCapabilities, MobileServerNotificationCategoryPreference, MobileServerNotificationDeviceMetadata, MobileServerNotificationInboxItem, MobileServerNotificationInboxV2Response, MobileServerNotificationPayloadV2, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerNotificationRegistrationV2Response, MobileServerNotificationRoute, MobileServerNotificationSettings, MobileServerNotificationSettingsV2Response, MobileServerNotificationSubscriptionsResponse, MobileServerNotificationSubscriptionsUpdate, MobileServerProductEvent, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisterExpoTokenParams, MobileServerRegisterExpoTokenV2Params, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSignedQueryRequestType, MobileServerSignedQueryResponseByType, MobileServerSignedQuerySuccessResponse, MobileServerSocialFeedActionCandidate, MobileServerSocialFeedActionMarker, MobileServerSocialFeedActionResolutionResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCandle, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedChartRange, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentGroup, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedCommentsResponse, MobileServerSocialFeedCompactCard, MobileServerSocialFeedContentBase, MobileServerSocialFeedDrawing, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedDrawingResponse, MobileServerSocialFeedEstimatedLiquidationLine, MobileServerSocialFeedExternalImage, MobileServerSocialFeedHistoryMetrics, MobileServerSocialFeedHistorySummary, MobileServerSocialFeedHistoryTake, MobileServerSocialFeedImage, MobileServerSocialFeedImageThumbnail, MobileServerSocialFeedImageUploadResponse, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionAction, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionChartResponse, MobileServerSocialFeedPositionHistoryCard, MobileServerSocialFeedPositionHistoryResponse, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedPositionResolutionResponse, MobileServerSocialFeedPositionThought, MobileServerSocialFeedPositionThoughtsResponse, MobileServerSocialFeedPositionsResponse, MobileServerSocialFeedPost, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse, MobileServerSocialFeedPublishablePosition, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedReply, MobileServerSocialFeedResponse, MobileServerSocialFeedTimelineEntry, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedTradingContext, MobileServerSocialFeedTradingTarget, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedUploadedImage, MobileServerSocialFeedWatchersResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileServerWithExpoTokenParams, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, MobileSignedRequestParams, MobileSocialFeedAction, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionPriceBasis, MobileSocialFeedActionResolution, MobileSocialFeedActionResolutionResult, MobileSocialFeedActionUnavailableReason, MobileSocialFeedAttachmentStatus, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartDataQuality, MobileSocialFeedChartInterval, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentGroup, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedExternalImage, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistoryQuality, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedImage, MobileSocialFeedImageThumbnail, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedLikeResult, MobileSocialFeedLiquidationPriceQuality, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedMention, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolution, MobileSocialFeedPositionResolutionReason, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionState, MobileSocialFeedPositionThought, MobileSocialFeedPositionThoughtsPage, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPresenceState, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedReply, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedTradingContext, MobileSocialFeedTradingResolution, MobileSocialFeedTradingTarget, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedUploadedImage, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUnsupportedFeedItemError, MobileUnsupportedNotificationRouteError, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isMobileSocialFeedUploadedImage, isValidMobileBio };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MobileUnsupportedFeedItemError } from "./types/MobileUnsupportedFeedItemError.js";
|
|
2
|
+
import { MobileUnsupportedNotificationRouteError } from "./types/MobileUnsupportedNotificationRouteError.js";
|
|
2
3
|
import { canonicalizeMobileInner } from "./signing/canonicalize.js";
|
|
3
4
|
import { MOBILE_EIP712_METHOD_BY_TYPE } from "./signing/eip712MethodByType.js";
|
|
4
5
|
import { getMobileNonce } from "./signing/nonce.js";
|
|
@@ -6,16 +7,16 @@ import { getMobilePayloadHash } from "./signing/payloadHash.js";
|
|
|
6
7
|
import { buildSignedMobileRequest } from "./signing/buildSignedMobileRequest.js";
|
|
7
8
|
import "./signing/index.js";
|
|
8
9
|
import { MobileServerFailureError } from "./types/MobileServerFailureError.js";
|
|
10
|
+
import { MOBILE_FEED_IMAGE_MAX_REQUEST_BYTES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, isMobileSocialFeedUploadedImage } from "./utils/feed.js";
|
|
9
11
|
import { isMobileServerFailureResponse, isMobileServerSuccessResponse } from "./utils/serverResponseGuards.js";
|
|
10
12
|
import { MobileClient } from "./MobileClient.js";
|
|
11
13
|
import { MOBILE_CLIENT_ENDPOINTS } from "./endpoints.js";
|
|
12
14
|
import { MOBILE_ERROR_CODES } from "./types/mobileErrorCodes.js";
|
|
13
|
-
import { MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS } from "./types/serverModelTypes.js";
|
|
15
|
+
import { MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, MOBILE_NOTIFICATION_POSITION_THRESHOLDS } from "./types/serverModelTypes.js";
|
|
14
16
|
import "./types/index.js";
|
|
15
|
-
import { MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR } from "./utils/feed.js";
|
|
16
17
|
import { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE } from "./utils/follow.js";
|
|
17
18
|
import { MOBILE_DISPLAY_NAME_PATTERN, MOBILE_PROFILE_SEARCH_QUERY_PATTERN } from "./utils/patterns.js";
|
|
18
19
|
import { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, isValidMobileBio } from "./utils/profile.js";
|
|
19
20
|
import { MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE } from "./utils/profileSearch.js";
|
|
20
21
|
import "./utils/index.js";
|
|
21
|
-
export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, MobileClient, MobileServerFailureError, MobileUnsupportedFeedItemError, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
|
|
22
|
+
export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_IMAGE_MAX_REQUEST_BYTES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, MOBILE_NOTIFICATION_POSITION_THRESHOLDS, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, MobileClient, MobileServerFailureError, MobileUnsupportedFeedItemError, MobileUnsupportedNotificationRouteError, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, isMobileSocialFeedUploadedImage, isValidMobileBio };
|
|
@@ -31,7 +31,10 @@ declare const MOBILE_ERROR_CODES: {
|
|
|
31
31
|
readonly INVALID_FOLLOW_BATCH: 6117;
|
|
32
32
|
readonly INVALID_EXPO_TOKEN: 6200;
|
|
33
33
|
readonly INVALID_DEVICE_METADATA: 6201;
|
|
34
|
-
readonly INVALID_PREFERENCES: 6202; /**
|
|
34
|
+
readonly INVALID_PREFERENCES: 6202; /** Settings or subscription revision is stale. Read the resource again before retrying. */
|
|
35
|
+
readonly NOTIFICATION_REVISION_CONFLICT: 6203; /** Invalid subscription operation, inbox parameters, event batch, timestamp, or notification ownership. */
|
|
36
|
+
readonly INVALID_NOTIFICATION_REQUEST: 6204; /** Wallet already has the maximum number of active device registrations. */
|
|
37
|
+
readonly NOTIFICATION_DEVICE_LIMIT: 6205; /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */
|
|
35
38
|
readonly INVALID_FEED_FILTER: 6300; /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */
|
|
36
39
|
readonly INVALID_FEED_CURSOR: 6301; /** Drawing JSON, outer value, storage representation, or nonce is invalid. */
|
|
37
40
|
readonly INVALID_SOCIAL_FEED_DRAWING: 6302; /** Original drawing JSON exceeds 256 KiB UTF-8. */
|
|
@@ -53,7 +56,9 @@ declare const MOBILE_ERROR_CODES: {
|
|
|
53
56
|
readonly SOCIAL_FEED_CONTENT_TOO_LARGE: 6321; /** Like nonce is stale or reused with a different state. */
|
|
54
57
|
readonly STALE_SOCIAL_FEED_LIKE_UPDATE: 6322; /** A post has neither nonblank text nor a drawing, or a comment is blank. */
|
|
55
58
|
readonly EMPTY_SOCIAL_FEED_CONTENT: 6323; /** Feed reads are only available through public_query. */
|
|
56
|
-
readonly SOCIAL_FEED_QUERY_REMOVED: 6325;
|
|
59
|
+
readonly SOCIAL_FEED_QUERY_REMOVED: 6325; /** Image format, dimensions, integrity, ownership, readiness, expiry, hash, or count is invalid. */
|
|
60
|
+
readonly INVALID_SOCIAL_FEED_IMAGE: 6326; /** Initial history/thoughts directory exceeds 4 MiB; do not automatically retry the same query. */
|
|
61
|
+
readonly SOCIAL_FEED_HISTORY_TOO_LARGE: 6328;
|
|
57
62
|
readonly RATE_LIMIT: 1000;
|
|
58
63
|
readonly BLACKLISTED_ADDRESS: 1001;
|
|
59
64
|
readonly BLOCKED_LOCATION: 1002;
|
|
@@ -75,4 +80,4 @@ declare const MOBILE_ERROR_CODES: {
|
|
|
75
80
|
type MobileErrorCode = (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];
|
|
76
81
|
//#endregion
|
|
77
82
|
export { MobileErrorCode as n, MOBILE_ERROR_CODES as t };
|
|
78
|
-
//# sourceMappingURL=mobileErrorCodes-
|
|
83
|
+
//# sourceMappingURL=mobileErrorCodes-CdwX6QTO.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobileErrorCodes-CdwX6QTO.d.cts","names":[],"sources":["../src/types/src/types/mobileErrorCodes.ts"],"mappings":";;AAOA;;;;cAAa,kBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAkGD;EAAA;kDACiD;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KADjD,eAAA,WACF,kBAAA,eAAiC,kBAAkB"}
|
|
@@ -31,7 +31,10 @@ declare const MOBILE_ERROR_CODES: {
|
|
|
31
31
|
readonly INVALID_FOLLOW_BATCH: 6117;
|
|
32
32
|
readonly INVALID_EXPO_TOKEN: 6200;
|
|
33
33
|
readonly INVALID_DEVICE_METADATA: 6201;
|
|
34
|
-
readonly INVALID_PREFERENCES: 6202; /**
|
|
34
|
+
readonly INVALID_PREFERENCES: 6202; /** Settings or subscription revision is stale. Read the resource again before retrying. */
|
|
35
|
+
readonly NOTIFICATION_REVISION_CONFLICT: 6203; /** Invalid subscription operation, inbox parameters, event batch, timestamp, or notification ownership. */
|
|
36
|
+
readonly INVALID_NOTIFICATION_REQUEST: 6204; /** Wallet already has the maximum number of active device registrations. */
|
|
37
|
+
readonly NOTIFICATION_DEVICE_LIMIT: 6205; /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */
|
|
35
38
|
readonly INVALID_FEED_FILTER: 6300; /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */
|
|
36
39
|
readonly INVALID_FEED_CURSOR: 6301; /** Drawing JSON, outer value, storage representation, or nonce is invalid. */
|
|
37
40
|
readonly INVALID_SOCIAL_FEED_DRAWING: 6302; /** Original drawing JSON exceeds 256 KiB UTF-8. */
|
|
@@ -53,7 +56,9 @@ declare const MOBILE_ERROR_CODES: {
|
|
|
53
56
|
readonly SOCIAL_FEED_CONTENT_TOO_LARGE: 6321; /** Like nonce is stale or reused with a different state. */
|
|
54
57
|
readonly STALE_SOCIAL_FEED_LIKE_UPDATE: 6322; /** A post has neither nonblank text nor a drawing, or a comment is blank. */
|
|
55
58
|
readonly EMPTY_SOCIAL_FEED_CONTENT: 6323; /** Feed reads are only available through public_query. */
|
|
56
|
-
readonly SOCIAL_FEED_QUERY_REMOVED: 6325;
|
|
59
|
+
readonly SOCIAL_FEED_QUERY_REMOVED: 6325; /** Image format, dimensions, integrity, ownership, readiness, expiry, hash, or count is invalid. */
|
|
60
|
+
readonly INVALID_SOCIAL_FEED_IMAGE: 6326; /** Initial history/thoughts directory exceeds 4 MiB; do not automatically retry the same query. */
|
|
61
|
+
readonly SOCIAL_FEED_HISTORY_TOO_LARGE: 6328;
|
|
57
62
|
readonly RATE_LIMIT: 1000;
|
|
58
63
|
readonly BLACKLISTED_ADDRESS: 1001;
|
|
59
64
|
readonly BLOCKED_LOCATION: 1002;
|
|
@@ -75,4 +80,4 @@ declare const MOBILE_ERROR_CODES: {
|
|
|
75
80
|
type MobileErrorCode = (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];
|
|
76
81
|
//#endregion
|
|
77
82
|
export { MobileErrorCode as n, MOBILE_ERROR_CODES as t };
|
|
78
|
-
//# sourceMappingURL=mobileErrorCodes-
|
|
83
|
+
//# sourceMappingURL=mobileErrorCodes-CdwX6QTO.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobileErrorCodes-CdwX6QTO.d.ts","names":[],"sources":["../src/types/src/types/mobileErrorCodes.ts"],"mappings":";;AAOA;;;;cAAa,kBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAkGD;EAAA;kDACiD;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KADjD,eAAA,WACF,kBAAA,eAAiC,kBAAkB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as MobileSignedInner } from "./types-
|
|
1
|
+
import { n as MobileSignedInner } from "./types-CR5iaKR4.cjs";
|
|
2
2
|
import { Hex } from "viem";
|
|
3
3
|
|
|
4
4
|
//#region src/signing/payloadHash.d.ts
|
|
@@ -10,4 +10,4 @@ import { Hex } from "viem";
|
|
|
10
10
|
declare function getMobilePayloadHash(inner: MobileSignedInner): Hex;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { getMobilePayloadHash as t };
|
|
13
|
-
//# sourceMappingURL=payloadHash-
|
|
13
|
+
//# sourceMappingURL=payloadHash-BgGSZock.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payloadHash-BgGSZock.d.cts","names":[],"sources":["../src/signing/src/signing/payloadHash.ts"],"mappings":";;;;;;AASA;;;iBAAgB,oBAAA,CAAqB,KAAA,EAAO,iBAAA,GAAoB,GAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as MobileSignedInner } from "./types-
|
|
1
|
+
import { n as MobileSignedInner } from "./types-CByl_NyJ.js";
|
|
2
2
|
import { Hex } from "viem";
|
|
3
3
|
|
|
4
4
|
//#region src/signing/payloadHash.d.ts
|
|
@@ -10,4 +10,4 @@ import { Hex } from "viem";
|
|
|
10
10
|
declare function getMobilePayloadHash(inner: MobileSignedInner): Hex;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { getMobilePayloadHash as t };
|
|
13
|
-
//# sourceMappingURL=payloadHash-
|
|
13
|
+
//# sourceMappingURL=payloadHash-Bi6upCLQ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payloadHash-Bi6upCLQ.d.ts","names":[],"sources":["../src/signing/src/signing/payloadHash.ts"],"mappings":";;;;;;AASA;;;iBAAgB,oBAAA,CAAqB,KAAA,EAAO,iBAAA,GAAoB,GAAG"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-DnLzsdm-.js";
|
|
1
|
+
import { L as MobileServerSocialFeedAuthor, St as MobileServerSocialFeedUploadedImage, mt as MobileServerSocialFeedReply, nt as MobileServerSocialFeedItem, q as MobileServerSocialFeedDrawing } from "./serverModelTypes-CTHMNIQS.cjs";
|
|
2
|
+
import { d as MobileServerPublicExecuteRequestType, k as MobileServerNotificationSettingsV2Response, nt as MobileServerSuccessResponse, o as MobileServerExecuteRequestType, tt as MobileServerFailureResponse, u as MobileServerPublicExecuteRequestByType } from "./types-CR5iaKR4.cjs";
|
|
4
3
|
import { Hex } from "viem";
|
|
5
4
|
|
|
6
5
|
//#region src/types/serverExecuteTypes.d.ts
|
|
@@ -58,15 +57,30 @@ interface MobileServerAvatarUploadResponse {
|
|
|
58
57
|
/** Upload URL lifetime in seconds from issuance. */
|
|
59
58
|
expires_in_seconds: number;
|
|
60
59
|
}
|
|
60
|
+
/** Ready image returned by a direct multipart upload. */
|
|
61
|
+
interface MobileServerSocialFeedImageUploadResponse {
|
|
62
|
+
/** Ready image metadata, including original and thumbnail paths. */
|
|
63
|
+
image: MobileServerSocialFeedUploadedImage;
|
|
64
|
+
}
|
|
61
65
|
/**
|
|
62
66
|
* Success payloads for each signed `execute`, keyed by request `type`. Mutations return either the success
|
|
63
67
|
* envelope alone or authoritative post-commit state; avatar upload creation returns a temporary grant.
|
|
64
68
|
*/
|
|
65
69
|
interface MobileServerExecuteResponseByType {
|
|
70
|
+
/** Capability-aware device registration returns only status. */
|
|
71
|
+
register_expo_token_v2: MobileServerEmptyExecuteResponse;
|
|
72
|
+
/** Re-query subscriptions after success to obtain the new revision. */
|
|
73
|
+
update_notification_subscriptions: MobileServerEmptyExecuteResponse;
|
|
74
|
+
/** Atomic event recording returns only status. */
|
|
75
|
+
record_product_events: MobileServerEmptyExecuteResponse;
|
|
66
76
|
/** Published or idempotently recovered item. */
|
|
67
77
|
create_feed_post: MobileServerSocialFeedPostResponse;
|
|
68
78
|
/** Atomically published reply and updated count. */
|
|
69
79
|
create_feed_comment: MobileServerSocialFeedCommentResponse;
|
|
80
|
+
/** Direct post-image upload; the image is ready immediately. */
|
|
81
|
+
create_feed_post_image_uploads: MobileServerSocialFeedImageUploadResponse;
|
|
82
|
+
/** Direct comment-image upload; the image is ready immediately. */
|
|
83
|
+
create_feed_comment_image_uploads: MobileServerSocialFeedImageUploadResponse;
|
|
70
84
|
/** First attached drawing. */
|
|
71
85
|
create_feed_chart_drawing: MobileServerSocialFeedDrawingMutationResponse;
|
|
72
86
|
/** Replaced or idempotently recovered drawing. */
|
|
@@ -126,13 +140,6 @@ interface MobileServerSocialFeedLikeResponse {
|
|
|
126
140
|
/** Display version. */
|
|
127
141
|
version: string;
|
|
128
142
|
}
|
|
129
|
-
/** Exposure counts deduplicated by browsing credential, item, and UTC day. */
|
|
130
|
-
interface MobileServerSocialFeedViewsResponse {
|
|
131
|
-
/** Newly counted items. */
|
|
132
|
-
accepted_item_ids: string[];
|
|
133
|
-
/** Already counted items. */
|
|
134
|
-
duplicate_item_ids: string[];
|
|
135
|
-
}
|
|
136
143
|
/** Page lease result; this response does not carry as_of_ms. */
|
|
137
144
|
interface MobileServerSocialFeedPresenceResponse {
|
|
138
145
|
/** Active visitor count. */
|
|
@@ -146,17 +153,19 @@ interface MobileServerSocialFeedPresenceResponse {
|
|
|
146
153
|
}
|
|
147
154
|
/** Response payloads for unsigned writes. */
|
|
148
155
|
interface MobileServerPublicExecuteResponseByType {
|
|
156
|
+
/** Saved document, including the advanced settings revision. */
|
|
157
|
+
update_notification_settings_v2: MobileServerNotificationSettingsV2Response;
|
|
149
158
|
/** Token removal returns only the success envelope. */
|
|
150
159
|
unregister_expo_token: MobileServerEmptyExecuteResponse;
|
|
151
160
|
/** Preference updates return only the success envelope. */
|
|
152
161
|
update_preferences: MobileServerEmptyExecuteResponse;
|
|
153
|
-
/**
|
|
154
|
-
record_feed_views:
|
|
162
|
+
/** Batch views return only status; no per-target result or count. */
|
|
163
|
+
record_feed_views: MobileServerEmptyExecuteResponse;
|
|
155
164
|
/** Page lease result. */
|
|
156
165
|
position_presence: MobileServerSocialFeedPresenceResponse;
|
|
157
166
|
}
|
|
158
167
|
/** Full success response for an unsigned write. */
|
|
159
168
|
type MobileServerPublicExecuteSuccessResponse<T extends MobileServerPublicExecuteRequestType = MobileServerPublicExecuteRequestType> = MobileServerSuccessResponse & MobileServerPublicExecuteResponseByType[T];
|
|
160
169
|
//#endregion
|
|
161
|
-
export {
|
|
162
|
-
//# sourceMappingURL=serverExecuteTypes-
|
|
170
|
+
export { MobileServerSocialFeedPresenceResponse as _, MobileServerExecuteSuccessResponse as a, MobileServerFollowMutationResponse as c, MobileServerPublicExecuteSuccessResponse as d, MobileServerSocialFeedCommentResponse as f, MobileServerSocialFeedPostResponse as g, MobileServerSocialFeedLikeResponse as h, MobileServerExecuteResult as i, MobileServerPublicExecuteRequest as l, MobileServerSocialFeedImageUploadResponse as m, MobileServerEmptyExecuteResponse as n, MobileServerFollowBatchResponse as o, MobileServerSocialFeedDrawingMutationResponse as p, MobileServerExecuteResponseByType as r, MobileServerFollowBatchResultItem as s, MobileServerAvatarUploadResponse as t, MobileServerPublicExecuteResponseByType as u };
|
|
171
|
+
//# sourceMappingURL=serverExecuteTypes-DuCWe_H_.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverExecuteTypes-DuCWe_H_.d.cts","names":[],"sources":["../src/types/src/types/serverExecuteTypes.ts"],"mappings":";;;;;AAuBA;;;;AAAA,KAAY,gCAAA,WACA,oCAAA,GACR,oCAAA,YAEI,oCAAA;EACJ,IAAA,EAAM,CAAA;AAAA,IACJ,sCAAA,CAAuC,CAAA,IAC3C,CAAA;;;;;;UAOe,kCAAA;EACf,YAAA;EAXM;EAaN,cAAc;AAAA;;;;UAMC,iCAAA;EAhBd;EAkBD,UAAA,EAAY,GAAG;EACf,YAAA;;EAEA,cAAA;AAAA;AALF;;;;;AAAA,UAaiB,+BAAA;EACf,OAAA,EAAS,iCAAiC;AAAA;;AAT5B;AAQhB;;;KASY,gCAAA,GAAmC,MAAM;AART;AAQ5C;;AAR4C,UAa3B,gCAAA;EALoC;EAOnD,UAAA;EAFe;EAIf,UAAA;;EAEA,OAAA,EAAS,MAAM;EAJf;EAMA,kBAAA;AAAA;;UAIe,yCAAA;EAJG;EAMlB,KAAA,EAAO,mCAAmC;AAAA;;;;AAAA;UAO3B,iCAAA;EAAiC;EAEhD,sBAAA,EAAwB,gCAAA;EAAA;EAExB,iCAAA,EAAmC,gCAAA;EAEZ;EAAvB,qBAAA,EAAuB,gCAAA;EAIF;EAFrB,gBAAA,EAAkB,kCAAA;EAMiB;EAJnC,mBAAA,EAAqB,qCAAA;EAQM;EAN3B,8BAAA,EAAgC,yCAAA;EAUvB;EART,iCAAA,EAAmC,yCAAA;EAYb;EAVtB,yBAAA,EAA2B,6CAAA;EAYT;EAVlB,yBAAA,EAA2B,6CAAA;EAYf;EAVZ,aAAA,EAAe,kCAAA;EAWkC;EATjD,OAAA,EAAS,gCAAA;EApBT;EAsBA,UAAA,EAAY,gCAAA;EApBZ;EAsBA,oBAAA,EAAsB,gCAAA;EACtB,YAAA,EAAc,gCAAA;EACd,gBAAA,EAAkB,gCAAA;EAClB,mBAAA,EAAqB,gCAAA;EACrB,UAAA,EAAY,kCAAA;EACZ,gBAAA,EAAkB,+BAAA;AAAA;;;;;KAOR,kCAAA,WACA,8BAAA,GAAiC,8BAAA,IACzC,2BAAA,GAA8B,iCAAA,CAAkC,CAAA;;;;KAKxD,yBAAA,GACR,2BAAA,GACA,2BAA2B;;UAGd,kCAAA;EA5BN;EA8BT,IAAA,EAAM,0BAA0B;AAAA;;UAIjB,qCAAA;EA7Bf;EA+BA,OAAA,EAAS,2BAA2B;EA9BpC;EAgCA,kBAAA;AAAA;;UAIe,6CAAA;EAlCH;EAoCZ,OAAA;EAnCkB;EAqClB,YAAA;EArCiD;EAuCjD,OAAA,EAAS,6BAA6B;AAAA;;UAIvB,kCAAA;EAnC4B;EAqC3C,OAAA;EApCgC;EAsChC,QAAA;EAtCmE;EAwCnE,UAAA;EAzCA;EA2CA,OAAA;AAAA;;UAIe,sCAAA;EA9CmD;EAgDlE,aAAA;EAhDmE;EAkDnE,eAAA,EAAiB,4BAA4B;EA7CV;EA+CnC,0BAAA;EA9CE;EAgDF,kBAAA;AAAA;;UAIe,uCAAA;EA9Cf;EAgDA,+BAAA,EAAiC,0CAAA;EA5ClB;EA8Cf,qBAAA,EAAuB,gCAAA;;EAEvB,kBAAA,EAAoB,gCAAA;EA9CpB;EAgDA,iBAAA,EAAmB,gCAAA;EA9CnB;EAgDA,iBAAA,EAAmB,sCAAA;AAAA;AA5CrB;AAAA,KAgDY,wCAAA,WACA,oCAAA,GACR,oCAAA,IACA,2BAAA,GAA8B,uCAAA,CAAwC,CAAA"}
|