@nadohq/mobile-client 0.65.0 → 0.66.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 +107 -8
- package/dist/{MobileClient-CfVZXTcz.cjs → MobileClient-M4oC4lrX.cjs} +258 -16
- package/dist/MobileClient-M4oC4lrX.cjs.map +1 -0
- package/dist/MobileClient.cjs +1 -1
- package/dist/MobileClient.d.cts +146 -16
- package/dist/MobileClient.d.cts.map +1 -1
- package/dist/MobileClient.d.ts +146 -16
- package/dist/MobileClient.d.ts.map +1 -1
- package/dist/MobileClient.js +258 -16
- package/dist/MobileClient.js.map +1 -1
- package/dist/{MobileServerFailureError-BZVwlsMg.d.ts → MobileServerFailureError-C9iqNsxI.d.ts} +2 -3
- package/dist/MobileServerFailureError-C9iqNsxI.d.ts.map +1 -0
- package/dist/{MobileServerFailureError-CbtK8kD4.d.cts → MobileServerFailureError-MtS2reel.d.cts} +2 -3
- package/dist/MobileServerFailureError-MtS2reel.d.cts.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-UeeWdYGU.d.ts → buildSignedMobileRequest-BR-KJhIF.d.ts} +2 -2
- package/dist/{buildSignedMobileRequest-UeeWdYGU.d.ts.map → buildSignedMobileRequest-BR-KJhIF.d.ts.map} +1 -1
- package/dist/{buildSignedMobileRequest-C1v0flCR.d.cts → buildSignedMobileRequest-DyKCK34Y.d.cts} +2 -2
- package/dist/{buildSignedMobileRequest-C1v0flCR.d.cts.map → buildSignedMobileRequest-DyKCK34Y.d.cts.map} +1 -1
- package/dist/{canonicalize-5eeZrkzQ.d.ts → canonicalize-Bv6UIAbR.d.ts} +2 -2
- package/dist/canonicalize-Bv6UIAbR.d.ts.map +1 -0
- package/dist/{canonicalize-CBaZprTo.d.cts → canonicalize-CWh3XZzj.d.cts} +2 -2
- package/dist/canonicalize-CWh3XZzj.d.cts.map +1 -0
- package/dist/{clientTypes-C9dJufxk.d.ts → clientTypes-BUn5_OzK.d.ts} +297 -20
- package/dist/clientTypes-BUn5_OzK.d.ts.map +1 -0
- package/dist/{clientTypes-_mEgzmNs.d.cts → clientTypes-DOpUcu80.d.cts} +297 -20
- package/dist/clientTypes-DOpUcu80.d.cts.map +1 -0
- package/dist/dataMappers.cjs +203 -5
- package/dist/dataMappers.cjs.map +1 -1
- package/dist/dataMappers.d.cts +70 -7
- package/dist/dataMappers.d.cts.map +1 -1
- package/dist/dataMappers.d.ts +70 -7
- package/dist/dataMappers.d.ts.map +1 -1
- package/dist/dataMappers.js +192 -6
- package/dist/dataMappers.js.map +1 -1
- package/dist/{eip712MethodByType-D8jLoxDu.d.cts → eip712MethodByType-CJ6BoayT.d.cts} +2 -2
- package/dist/eip712MethodByType-CJ6BoayT.d.cts.map +1 -0
- package/dist/{eip712MethodByType-DcUh8h-l.d.ts → eip712MethodByType-Dx4mvgni.d.ts} +2 -2
- package/dist/eip712MethodByType-Dx4mvgni.d.ts.map +1 -0
- package/dist/{feed-DTJlsg8W.d.ts → feed-DErOLaoY.d.cts} +4 -2
- package/dist/feed-DErOLaoY.d.cts.map +1 -0
- package/dist/{feed-DTJlsg8W.d.cts → feed-DErOLaoY.d.ts} +4 -2
- package/dist/feed-DErOLaoY.d.ts.map +1 -0
- package/dist/index.cjs +7 -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-vD6rbFuF.d.cts} +8 -3
- package/dist/mobileErrorCodes-vD6rbFuF.d.cts.map +1 -0
- package/dist/{mobileErrorCodes-CmjYEIYm.d.cts → mobileErrorCodes-vD6rbFuF.d.ts} +8 -3
- package/dist/mobileErrorCodes-vD6rbFuF.d.ts.map +1 -0
- package/dist/{payloadHash-DhHmgRqL.d.cts → payloadHash-CdkF2Ocr.d.cts} +2 -2
- package/dist/payloadHash-CdkF2Ocr.d.cts.map +1 -0
- package/dist/{payloadHash-E1_8fpLW.d.ts → payloadHash-HD29K77M.d.ts} +2 -2
- package/dist/payloadHash-HD29K77M.d.ts.map +1 -0
- package/dist/{serverExecuteTypes-B-OJok19.d.cts → serverExecuteTypes-5JyyIXRK.d.ts} +21 -5
- package/dist/serverExecuteTypes-5JyyIXRK.d.ts.map +1 -0
- package/dist/{serverExecuteTypes-BwWGspOg.d.ts → serverExecuteTypes-CHrQ9Rtq.d.cts} +21 -5
- package/dist/serverExecuteTypes-CHrQ9Rtq.d.cts.map +1 -0
- package/dist/{serverModelTypes-CiA-dy1R.d.ts → serverModelTypes-CGUZCi0y.d.cts} +163 -8
- package/dist/serverModelTypes-CGUZCi0y.d.cts.map +1 -0
- package/dist/{serverModelTypes-CiA-dy1R.d.cts → serverModelTypes-CGUZCi0y.d.ts} +163 -8
- package/dist/serverModelTypes-CGUZCi0y.d.ts.map +1 -0
- package/dist/{serverResponseGuards-CShiXpHT.d.ts → serverResponseGuards-Bvw8ltYJ.d.ts} +2 -2
- package/dist/{serverResponseGuards-CShiXpHT.d.ts.map → serverResponseGuards-Bvw8ltYJ.d.ts.map} +1 -1
- package/dist/{serverResponseGuards-BW69PS7O.d.cts → serverResponseGuards-i1njcYKN.d.cts} +2 -2
- package/dist/{serverResponseGuards-BW69PS7O.d.cts.map → serverResponseGuards-i1njcYKN.d.cts.map} +1 -1
- package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
- package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
- package/dist/signing/canonicalize.cjs +51 -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 +51 -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-C9YE4EIt.d.cts +794 -0
- package/dist/types-C9YE4EIt.d.cts.map +1 -0
- package/dist/types-Cwy1y_9x.d.ts +794 -0
- package/dist/types-Cwy1y_9x.d.ts.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 +3 -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 +3 -1
- package/dist/utils/feed.js.map +1 -1
- package/dist/utils/index.cjs +2 -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 +388 -11
- package/src/dataMappers.test.ts +108 -2
- package/src/dataMappers.ts +253 -5
- package/src/feedImages.test.ts +309 -0
- package/src/notifications.test.ts +950 -0
- package/src/signing/canonicalize.ts +66 -0
- package/src/signing/eip712MethodByType.ts +10 -0
- package/src/signing/signing.test.ts +16 -1
- package/src/signing/types.ts +51 -9
- package/src/socialFeed.test.ts +38 -2
- package/src/types/MobileUnsupportedNotificationRouteError.ts +16 -0
- package/src/types/clientTypes.ts +372 -16
- package/src/types/index.ts +1 -0
- package/src/types/mobileErrorCodes.ts +10 -0
- package/src/types/serverExecuteTypes.ts +20 -0
- package/src/types/serverModelTypes.ts +205 -6
- package/src/types/serverQueryTypes.ts +74 -5
- package/src/types/serverRequestTypes.ts +101 -12
- package/src/utils/buildMobileFeedImageMultipart.test.ts +45 -0
- package/src/utils/buildMobileFeedImageMultipart.ts +36 -0
- package/src/utils/feed.ts +3 -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.map +0 -1
- 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 MobileServerSocialFeedInteraction, A as MobileServerNotificationPreferences, At as MobileSocialFeedLeverage, B as MobileServerSocialFeedChartRange, Bt as MobileSocialFeedPositionState, C as MobileServerIdentitySummary, Ct as MobileSocialFeedActionResolution, D as MobileServerNotificationInboxItem, Dt as MobileSocialFeedChartInterval, E as MobileServerNotificationDeviceMetadata, Et as MobileSocialFeedChartDataQuality, F as MobileServerSocialFeedActionCandidate, Ft as MobileSocialFeedPnlMode, G as MobileServerSocialFeedContentBase, Gt as MobileSocialFeedTradeCardAction, H as MobileServerSocialFeedCohortCoverage, Ht as MobileSocialFeedReadSessionMode, I as MobileServerSocialFeedActionMarker, It as MobileSocialFeedPnlQuality, J as MobileServerSocialFeedHistoryMetrics, Jt as MobileSocialFeedTraderDataStatus, K as MobileServerSocialFeedDrawing, Kt as MobileSocialFeedTradeSizeChangeAction, L as MobileServerSocialFeedAuthor, Lt as MobileSocialFeedPositionDisplayBasis, M as MobileServerNotificationSettings, Mt as MobileSocialFeedMarketCategory, N as MobileServerProductEvent, Nt as MobileSocialFeedMention, O as MobileServerNotificationPayloadV2, Ot as MobileSocialFeedCohortStatus, P as MobileServerProfile, Pt as MobileSocialFeedPnlBasis, Q as MobileServerSocialFeedImageThumbnail, R as MobileServerSocialFeedCandle, Rt as MobileSocialFeedPositionResolution, S as MobileServerFollowSummary, St as MobileSocialFeedActionPriceBasis, T as MobileServerNotificationCategoryPreference, Tt as MobileSocialFeedAttachmentStatus, U as MobileServerSocialFeedCommentPreview, Ut as MobileSocialFeedSourceCategory, V as MobileServerSocialFeedCohort, Vt as MobileSocialFeedPresenceState, W as MobileServerSocialFeedCompactCard, Wt as MobileSocialFeedTargetType, X as MobileServerSocialFeedHistoryTake, Xt as MobileSocialFeedType, Y as MobileServerSocialFeedHistorySummary, Yt as MobileSocialFeedTradingResolution, Z as MobileServerSocialFeedImage, Zt as MobileSocialFeedUnavailableTarget, _ as MobileServerAvatarPreset, _t as MobileServerSocialFeedTraderBadge, a as MOBILE_NOTIFICATION_POSITION_THRESHOLDS, at as MobileServerSocialFeedPositionAction, b as MobileServerFeedTrade, bt as MobileServerSocialFeedViewTracking, c as MobileFeedTradePositionDirection, ct as MobileServerSocialFeedPositionPatch, d as MobileNotificationMinTradeSizeUsd, dt as MobileServerSocialFeedReadSession, et as MobileServerSocialFeedItem, f as MobileNotificationPlatform, ft as MobileServerSocialFeedReply, g as MobileProductEventName, gt as MobileServerSocialFeedTradeRowBase, h as MobileNotificationTypeId, ht as MobileServerSocialFeedTradeRow, i as MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, it as MobileServerSocialFeedPnl, j as MobileServerNotificationRoute, jt as MobileSocialFeedLiquidationPriceQuality, k as MobileServerNotificationPreferenceScope, kt as MobileSocialFeedHistoryQuality, l as MobileFeedTradePositionEffect, lt as MobileServerSocialFeedPost, m as MobileNotificationRouteName, mt as MobileServerSocialFeedTradeCard, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileServerSocialFeedItemPatch, o as MobileFeedMarginMode, ot as MobileServerSocialFeedPositionCard, p as MobileNotificationPositionThreshold, pt as MobileServerSocialFeedTimelineEntry, q as MobileServerSocialFeedEstimatedLiquidationLine, qt as MobileSocialFeedTraderBadgeCode, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileServerSocialFeedMarket, s as MobileFeedTradePosition, st as MobileServerSocialFeedPositionHistoryCard, t as MOBILE_FEED_MARGIN_MODES, tt as MobileServerSocialFeedItemBase, u as MobileNotificationCategory, ut as MobileServerSocialFeedPublishablePosition, v as MobileServerAvatarSelection, vt as MobileServerSocialFeedTradingContext, w as MobileServerNotificationCapabilities, wt as MobileSocialFeedActionUnavailableReason, x as MobileServerFollowListAccount, xt as MobileSocialFeedAction, y as MobileServerFeedMargin, yt as MobileServerSocialFeedTradingTarget, z as MobileServerSocialFeedCapabilities, zt as MobileSocialFeedPositionResolutionReason } from "./serverModelTypes-CGUZCi0y.cjs";
|
|
2
|
+
import { $ as MobileNotificationPreferences, $t as MobileSocialFeedLikeResult, A as MobileAvatarSelection, An as MobileSocialFeedViewsResult, At as MobileSocialFeedCategorizedParams, B as MobileFeedTrade, Bn as SearchMobileProfilesParams, Bt as MobileSocialFeedDrawingMutationResult, C as GetMobileProfileFeedParams, Cn as MobileSocialFeedTradeRow, Ct as MobileSignedRequestParams, D as GetMobileTopTradersFeedParams, Dn as MobileSocialFeedTradingTarget, Dt as MobileSocialFeedAuthor, E as GetMobileSelfFeedPositionsParams, En as MobileSocialFeedTradingContext, Et as MobileSocialFeedActionResolutionResult, F as MobileCreateFeedPostParams, Fn as MobileUpdateNotificationSubscriptionsParams, Ft as MobileSocialFeedCommentResult, G as MobileFollowSummary, Gt as MobileSocialFeedHistoryTake, H as MobileFollowListAccount, Ht as MobileSocialFeedEstimatedLiquidationLine, I as MobileFeedChartDrawingParams, In as MobileUsernameAvailability, It as MobileSocialFeedCommentsPage, J as MobileNotificationCategoryPreference, Jt as MobileSocialFeedInteraction, K as MobileIdentitySummary, Kt as MobileSocialFeedImage, L as MobileFeedImageRequest, Ln as MobileWithExpoTokenParams, Lt as MobileSocialFeedCompactCard, M as MobileCreateAvatarUploadParams, Mn as MobileUnregisterExpoTokenParams, Mt as MobileSocialFeedCohort, N as MobileCreateFeedCommentParams, Nn as MobileUpdateNotificationPreferencesParams, Nt as MobileSocialFeedCohortCoverage, O as GetMobileUsernameAvailabilityParams, On as MobileSocialFeedUpdates, Ot as MobileSocialFeedCandle, P as MobileCreateFeedImageUploadParams, Pn as MobileUpdateNotificationSettingsV2Params, Pt as MobileSocialFeedCommentPreview, Q as MobileNotificationPreferenceScope, Qt as MobileSocialFeedItemResponse, R as MobileFeedMargin, Rn as ResolveMobileFeedActionParams, Rt as MobileSocialFeedContentBase, S as GetMobilePositionWatchersParams, Sn as MobileSocialFeedTradeCard, St as MobileSetUsernameParams, T as GetMobileRegisteredWalletParams, Tn as MobileSocialFeedTraderBadge, Tt as MobileSocialFeedActionMarker, U as MobileFollowListPage, Ut as MobileSocialFeedHistoryMetrics, V as MobileFollowBatchResultItem, Vt as MobileSocialFeedDrawingResult, W as MobileFollowMutationResult, Wt as MobileSocialFeedHistorySummary, X as MobileNotificationInboxV2, Xt as MobileSocialFeedItemBase, Y as MobileNotificationInboxItem, Yt as MobileSocialFeedItem, Z as MobileNotificationPayloadV2, Zt as MobileSocialFeedItemPatch, _ as GetMobileNotificationSettingsV2Params, _n as MobileSocialFeedReadParams, _t as MobileSetBioParams, a as GetMobileFeedItemParams, an as MobileSocialFeedPositionAction, at as MobileNotificationSubscriptionsUpdate, b as GetMobilePositionFeedParams, bn as MobileSocialFeedTimelineEntry, bt as MobileSetFollowParams, c as GetMobileFollowListParams, cn as MobileSocialFeedPositionHistory, ct as MobileProfileSearchPage, d as GetMobileForYouFeedParams, dn as MobileSocialFeedPositionResolutionResult, dt as MobileRecordFeedViewsParams, en as MobileSocialFeedListParams, et as MobileNotificationRegistrationV2, f as GetMobileFriendsFeedParams, fn as MobileSocialFeedPositionsPage, ft as MobileRecordProductEventsParams, g as GetMobileNotificationRegistrationV2Params, gn as MobileSocialFeedRankedPage, gt as MobileSetAvatarParams, h as GetMobileNotificationPreferencesParams, hn as MobileSocialFeedPublishablePosition, ht as MobileRegisteredWallet, i as GetMobileFeedImageRequestParams, in as MobileSocialFeedPnl, it as MobileNotificationSubscriptions, j as MobileAvatarUpload, jn as MobileSocialFeedWatchers, jt as MobileSocialFeedChartRange, k as MobileAvatarPreset, kn as MobileSocialFeedViewTracking, kt as MobileSocialFeedCapabilities, l as GetMobileFollowersParams, ln as MobileSocialFeedPositionHistoryCard, lt as MobileProfilesInclude, m as GetMobileNotificationInboxV2Params, mn as MobileSocialFeedPresence, mt as MobileRegisterExpoTokenV2Params, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedMentionParams, nt as MobileNotificationSettings, o as GetMobileFeedParams, on as MobileSocialFeedPositionCard, ot as MobilePositionPresenceParams, p as GetMobileMarketFeedParams, pn as MobileSocialFeedPost, pt as MobileRegisterExpoTokenParams, q as MobileNotificationCapabilities, qt as MobileSocialFeedImageThumbnail, r as GetMobileFeedImageBytesParams, rn as MobileSocialFeedPage, rt as MobileNotificationSettingsV2, s as GetMobileFeedUpdatesParams, sn as MobileSocialFeedPositionChart, st as MobileProductEvent, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedMarket, tt as MobileNotificationRoute, u as GetMobileFollowingParams, un as MobileSocialFeedPositionPatch, ut as MobilePublicProfile, v as GetMobileNotificationSubscriptionsParams, vn as MobileSocialFeedReadSession, vt as MobileSetFeedLikeParams, w as GetMobileProfilesParams, wn as MobileSocialFeedTradeRowBase, wt as MobileSocialFeedActionCandidate, x as GetMobilePositionHistoryParams, xn as MobileSocialFeedTopTradersPage, xt as MobileSetPrivateModeParams, y as GetMobilePositionChartParams, yn as MobileSocialFeedReply, yt as MobileSetFollowBatchParams, z as MobileFeedPage, zn as ResolveMobileFeedPositionParams, zt as MobileSocialFeedDrawing } from "./clientTypes-DOpUcu80.cjs";
|
|
3
|
+
import { $ as MobileServerFailureResponse, 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 MobileServerSocialFeedResponse, K as MobileServerSocialFeedPositionsResponse, L as MobileServerSignedQueryResponseByType, M as MobileServerPublicQueryRequest, N as MobileServerPublicQueryResponseByType, O as MobileServerNotificationRegistrationV2Response, P as MobileServerPublicQuerySuccessResponse, Q as MobileServerUsernameAvailabilityResponse, R as MobileServerSignedQuerySuccessResponse, S as MobileServerWithExpoTokenParams, T as MobileServerFollowListResponse, U as MobileServerSocialFeedPositionChartResponse, V as MobileServerSocialFeedDrawingResponse, W as MobileServerSocialFeedPositionHistoryResponse, X as MobileServerSocialFeedUpdatesResponse, Y as MobileServerSocialFeedTopTradersResponse, Z as MobileServerSocialFeedWatchersResponse, _ as MobileServerSearchProfilesRequest, a as MobileSignedRequest, b as MobileServerSocialFeedListParams, c as MobileServerNotificationSubscriptionsUpdate, d as MobileServerPublicExecuteRequestType, et as MobileServerSuccessResponse, 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, o as MobileServerExecuteRequestType, p as MobileServerPublicQueryRequestType, q as MobileServerSocialFeedRankedResponse, r as MobileSignedInnerByType, s as MobileServerFollowListRequest, t as BuildSignedMobileRequestParams, u as MobileServerPublicExecuteRequestByType, v as MobileServerSignedQueryRequestType, w as MobileServerFeedResponse, x as MobileServerSocialFeedReadParams, y as MobileServerSocialFeedCategorizedParams, z as MobileServerSocialFeedActionResolutionResponse } from "./types-C9YE4EIt.cjs";
|
|
4
|
+
import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-DyKCK34Y.cjs";
|
|
5
|
+
import { t as canonicalizeMobileInner } from "./canonicalize-CWh3XZzj.cjs";
|
|
6
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-CJ6BoayT.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-CdkF2Ocr.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, v as MobileServerSocialFeedViewsResponse } from "./serverExecuteTypes-CHrQ9Rtq.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-vD6rbFuF.cjs";
|
|
13
|
+
import { t as MobileServerFailureError } from "./MobileServerFailureError-MtS2reel.cjs";
|
|
17
14
|
import { t as MobileUnsupportedFeedItemError } from "./MobileUnsupportedFeedItemError-BsZvW8i2.cjs";
|
|
18
|
-
import {
|
|
15
|
+
import { t as MobileUnsupportedNotificationRouteError } from "./MobileUnsupportedNotificationRouteError-DpiNBvvY.cjs";
|
|
16
|
+
import { n as MOBILE_FEED_MAX_PAGE_SIZE, r as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_IMAGE_MAX_REQUEST_BYTES } from "./feed-DErOLaoY.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-i1njcYKN.cjs";
|
|
22
|
+
export { BuildSignedMobileRequestParams, GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedImageBytesParams, GetMobileFeedImageRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationInboxV2Params, GetMobileNotificationPreferencesParams, GetMobileNotificationRegistrationV2Params, GetMobileNotificationSettingsV2Params, GetMobileNotificationSubscriptionsParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, 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, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedCommentsResponse, MobileServerSocialFeedCompactCard, MobileServerSocialFeedContentBase, MobileServerSocialFeedDrawing, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedDrawingResponse, MobileServerSocialFeedEstimatedLiquidationLine, MobileServerSocialFeedHistoryMetrics, MobileServerSocialFeedHistorySummary, MobileServerSocialFeedHistoryTake, MobileServerSocialFeedImage, MobileServerSocialFeedImageThumbnail, MobileServerSocialFeedImageUploadResponse, 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, 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, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, 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, 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, MobileUnsupportedNotificationRouteError, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, 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 MobileServerSocialFeedInteraction, A as MobileServerNotificationPreferences, At as MobileSocialFeedLeverage, B as MobileServerSocialFeedChartRange, Bt as MobileSocialFeedPositionState, C as MobileServerIdentitySummary, Ct as MobileSocialFeedActionResolution, D as MobileServerNotificationInboxItem, Dt as MobileSocialFeedChartInterval, E as MobileServerNotificationDeviceMetadata, Et as MobileSocialFeedChartDataQuality, F as MobileServerSocialFeedActionCandidate, Ft as MobileSocialFeedPnlMode, G as MobileServerSocialFeedContentBase, Gt as MobileSocialFeedTradeCardAction, H as MobileServerSocialFeedCohortCoverage, Ht as MobileSocialFeedReadSessionMode, I as MobileServerSocialFeedActionMarker, It as MobileSocialFeedPnlQuality, J as MobileServerSocialFeedHistoryMetrics, Jt as MobileSocialFeedTraderDataStatus, K as MobileServerSocialFeedDrawing, Kt as MobileSocialFeedTradeSizeChangeAction, L as MobileServerSocialFeedAuthor, Lt as MobileSocialFeedPositionDisplayBasis, M as MobileServerNotificationSettings, Mt as MobileSocialFeedMarketCategory, N as MobileServerProductEvent, Nt as MobileSocialFeedMention, O as MobileServerNotificationPayloadV2, Ot as MobileSocialFeedCohortStatus, P as MobileServerProfile, Pt as MobileSocialFeedPnlBasis, Q as MobileServerSocialFeedImageThumbnail, R as MobileServerSocialFeedCandle, Rt as MobileSocialFeedPositionResolution, S as MobileServerFollowSummary, St as MobileSocialFeedActionPriceBasis, T as MobileServerNotificationCategoryPreference, Tt as MobileSocialFeedAttachmentStatus, U as MobileServerSocialFeedCommentPreview, Ut as MobileSocialFeedSourceCategory, V as MobileServerSocialFeedCohort, Vt as MobileSocialFeedPresenceState, W as MobileServerSocialFeedCompactCard, Wt as MobileSocialFeedTargetType, X as MobileServerSocialFeedHistoryTake, Xt as MobileSocialFeedType, Y as MobileServerSocialFeedHistorySummary, Yt as MobileSocialFeedTradingResolution, Z as MobileServerSocialFeedImage, Zt as MobileSocialFeedUnavailableTarget, _ as MobileServerAvatarPreset, _t as MobileServerSocialFeedTraderBadge, a as MOBILE_NOTIFICATION_POSITION_THRESHOLDS, at as MobileServerSocialFeedPositionAction, b as MobileServerFeedTrade, bt as MobileServerSocialFeedViewTracking, c as MobileFeedTradePositionDirection, ct as MobileServerSocialFeedPositionPatch, d as MobileNotificationMinTradeSizeUsd, dt as MobileServerSocialFeedReadSession, et as MobileServerSocialFeedItem, f as MobileNotificationPlatform, ft as MobileServerSocialFeedReply, g as MobileProductEventName, gt as MobileServerSocialFeedTradeRowBase, h as MobileNotificationTypeId, ht as MobileServerSocialFeedTradeRow, i as MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, it as MobileServerSocialFeedPnl, j as MobileServerNotificationRoute, jt as MobileSocialFeedLiquidationPriceQuality, k as MobileServerNotificationPreferenceScope, kt as MobileSocialFeedHistoryQuality, l as MobileFeedTradePositionEffect, lt as MobileServerSocialFeedPost, m as MobileNotificationRouteName, mt as MobileServerSocialFeedTradeCard, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileServerSocialFeedItemPatch, o as MobileFeedMarginMode, ot as MobileServerSocialFeedPositionCard, p as MobileNotificationPositionThreshold, pt as MobileServerSocialFeedTimelineEntry, q as MobileServerSocialFeedEstimatedLiquidationLine, qt as MobileSocialFeedTraderBadgeCode, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileServerSocialFeedMarket, s as MobileFeedTradePosition, st as MobileServerSocialFeedPositionHistoryCard, t as MOBILE_FEED_MARGIN_MODES, tt as MobileServerSocialFeedItemBase, u as MobileNotificationCategory, ut as MobileServerSocialFeedPublishablePosition, v as MobileServerAvatarSelection, vt as MobileServerSocialFeedTradingContext, w as MobileServerNotificationCapabilities, wt as MobileSocialFeedActionUnavailableReason, x as MobileServerFollowListAccount, xt as MobileSocialFeedAction, y as MobileServerFeedMargin, yt as MobileServerSocialFeedTradingTarget, z as MobileServerSocialFeedCapabilities, zt as MobileSocialFeedPositionResolutionReason } from "./serverModelTypes-CGUZCi0y.js";
|
|
2
|
+
import { $ as MobileNotificationPreferences, $t as MobileSocialFeedLikeResult, A as MobileAvatarSelection, An as MobileSocialFeedViewsResult, At as MobileSocialFeedCategorizedParams, B as MobileFeedTrade, Bn as SearchMobileProfilesParams, Bt as MobileSocialFeedDrawingMutationResult, C as GetMobileProfileFeedParams, Cn as MobileSocialFeedTradeRow, Ct as MobileSignedRequestParams, D as GetMobileTopTradersFeedParams, Dn as MobileSocialFeedTradingTarget, Dt as MobileSocialFeedAuthor, E as GetMobileSelfFeedPositionsParams, En as MobileSocialFeedTradingContext, Et as MobileSocialFeedActionResolutionResult, F as MobileCreateFeedPostParams, Fn as MobileUpdateNotificationSubscriptionsParams, Ft as MobileSocialFeedCommentResult, G as MobileFollowSummary, Gt as MobileSocialFeedHistoryTake, H as MobileFollowListAccount, Ht as MobileSocialFeedEstimatedLiquidationLine, I as MobileFeedChartDrawingParams, In as MobileUsernameAvailability, It as MobileSocialFeedCommentsPage, J as MobileNotificationCategoryPreference, Jt as MobileSocialFeedInteraction, K as MobileIdentitySummary, Kt as MobileSocialFeedImage, L as MobileFeedImageRequest, Ln as MobileWithExpoTokenParams, Lt as MobileSocialFeedCompactCard, M as MobileCreateAvatarUploadParams, Mn as MobileUnregisterExpoTokenParams, Mt as MobileSocialFeedCohort, N as MobileCreateFeedCommentParams, Nn as MobileUpdateNotificationPreferencesParams, Nt as MobileSocialFeedCohortCoverage, O as GetMobileUsernameAvailabilityParams, On as MobileSocialFeedUpdates, Ot as MobileSocialFeedCandle, P as MobileCreateFeedImageUploadParams, Pn as MobileUpdateNotificationSettingsV2Params, Pt as MobileSocialFeedCommentPreview, Q as MobileNotificationPreferenceScope, Qt as MobileSocialFeedItemResponse, R as MobileFeedMargin, Rn as ResolveMobileFeedActionParams, Rt as MobileSocialFeedContentBase, S as GetMobilePositionWatchersParams, Sn as MobileSocialFeedTradeCard, St as MobileSetUsernameParams, T as GetMobileRegisteredWalletParams, Tn as MobileSocialFeedTraderBadge, Tt as MobileSocialFeedActionMarker, U as MobileFollowListPage, Ut as MobileSocialFeedHistoryMetrics, V as MobileFollowBatchResultItem, Vt as MobileSocialFeedDrawingResult, W as MobileFollowMutationResult, Wt as MobileSocialFeedHistorySummary, X as MobileNotificationInboxV2, Xt as MobileSocialFeedItemBase, Y as MobileNotificationInboxItem, Yt as MobileSocialFeedItem, Z as MobileNotificationPayloadV2, Zt as MobileSocialFeedItemPatch, _ as GetMobileNotificationSettingsV2Params, _n as MobileSocialFeedReadParams, _t as MobileSetBioParams, a as GetMobileFeedItemParams, an as MobileSocialFeedPositionAction, at as MobileNotificationSubscriptionsUpdate, b as GetMobilePositionFeedParams, bn as MobileSocialFeedTimelineEntry, bt as MobileSetFollowParams, c as GetMobileFollowListParams, cn as MobileSocialFeedPositionHistory, ct as MobileProfileSearchPage, d as GetMobileForYouFeedParams, dn as MobileSocialFeedPositionResolutionResult, dt as MobileRecordFeedViewsParams, en as MobileSocialFeedListParams, et as MobileNotificationRegistrationV2, f as GetMobileFriendsFeedParams, fn as MobileSocialFeedPositionsPage, ft as MobileRecordProductEventsParams, g as GetMobileNotificationRegistrationV2Params, gn as MobileSocialFeedRankedPage, gt as MobileSetAvatarParams, h as GetMobileNotificationPreferencesParams, hn as MobileSocialFeedPublishablePosition, ht as MobileRegisteredWallet, i as GetMobileFeedImageRequestParams, in as MobileSocialFeedPnl, it as MobileNotificationSubscriptions, j as MobileAvatarUpload, jn as MobileSocialFeedWatchers, jt as MobileSocialFeedChartRange, k as MobileAvatarPreset, kn as MobileSocialFeedViewTracking, kt as MobileSocialFeedCapabilities, l as GetMobileFollowersParams, ln as MobileSocialFeedPositionHistoryCard, lt as MobileProfilesInclude, m as GetMobileNotificationInboxV2Params, mn as MobileSocialFeedPresence, mt as MobileRegisterExpoTokenV2Params, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedMentionParams, nt as MobileNotificationSettings, o as GetMobileFeedParams, on as MobileSocialFeedPositionCard, ot as MobilePositionPresenceParams, p as GetMobileMarketFeedParams, pn as MobileSocialFeedPost, pt as MobileRegisterExpoTokenParams, q as MobileNotificationCapabilities, qt as MobileSocialFeedImageThumbnail, r as GetMobileFeedImageBytesParams, rn as MobileSocialFeedPage, rt as MobileNotificationSettingsV2, s as GetMobileFeedUpdatesParams, sn as MobileSocialFeedPositionChart, st as MobileProductEvent, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedMarket, tt as MobileNotificationRoute, u as GetMobileFollowingParams, un as MobileSocialFeedPositionPatch, ut as MobilePublicProfile, v as GetMobileNotificationSubscriptionsParams, vn as MobileSocialFeedReadSession, vt as MobileSetFeedLikeParams, w as GetMobileProfilesParams, wn as MobileSocialFeedTradeRowBase, wt as MobileSocialFeedActionCandidate, x as GetMobilePositionHistoryParams, xn as MobileSocialFeedTopTradersPage, xt as MobileSetPrivateModeParams, y as GetMobilePositionChartParams, yn as MobileSocialFeedReply, yt as MobileSetFollowBatchParams, z as MobileFeedPage, zn as ResolveMobileFeedPositionParams, zt as MobileSocialFeedDrawing } from "./clientTypes-BUn5_OzK.js";
|
|
3
|
+
import { $ as MobileServerFailureResponse, 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 MobileServerSocialFeedResponse, K as MobileServerSocialFeedPositionsResponse, L as MobileServerSignedQueryResponseByType, M as MobileServerPublicQueryRequest, N as MobileServerPublicQueryResponseByType, O as MobileServerNotificationRegistrationV2Response, P as MobileServerPublicQuerySuccessResponse, Q as MobileServerUsernameAvailabilityResponse, R as MobileServerSignedQuerySuccessResponse, S as MobileServerWithExpoTokenParams, T as MobileServerFollowListResponse, U as MobileServerSocialFeedPositionChartResponse, V as MobileServerSocialFeedDrawingResponse, W as MobileServerSocialFeedPositionHistoryResponse, X as MobileServerSocialFeedUpdatesResponse, Y as MobileServerSocialFeedTopTradersResponse, Z as MobileServerSocialFeedWatchersResponse, _ as MobileServerSearchProfilesRequest, a as MobileSignedRequest, b as MobileServerSocialFeedListParams, c as MobileServerNotificationSubscriptionsUpdate, d as MobileServerPublicExecuteRequestType, et as MobileServerSuccessResponse, 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, o as MobileServerExecuteRequestType, p as MobileServerPublicQueryRequestType, q as MobileServerSocialFeedRankedResponse, r as MobileSignedInnerByType, s as MobileServerFollowListRequest, t as BuildSignedMobileRequestParams, u as MobileServerPublicExecuteRequestByType, v as MobileServerSignedQueryRequestType, w as MobileServerFeedResponse, x as MobileServerSocialFeedReadParams, y as MobileServerSocialFeedCategorizedParams, z as MobileServerSocialFeedActionResolutionResponse } from "./types-Cwy1y_9x.js";
|
|
4
|
+
import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-BR-KJhIF.js";
|
|
5
|
+
import { t as canonicalizeMobileInner } from "./canonicalize-Bv6UIAbR.js";
|
|
6
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-Dx4mvgni.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-HD29K77M.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, v as MobileServerSocialFeedViewsResponse } from "./serverExecuteTypes-5JyyIXRK.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-vD6rbFuF.js";
|
|
13
|
+
import { t as MobileServerFailureError } from "./MobileServerFailureError-C9iqNsxI.js";
|
|
17
14
|
import { t as MobileUnsupportedFeedItemError } from "./MobileUnsupportedFeedItemError-BsZvW8i2.js";
|
|
18
|
-
import {
|
|
15
|
+
import { t as MobileUnsupportedNotificationRouteError } from "./MobileUnsupportedNotificationRouteError-DpiNBvvY.js";
|
|
16
|
+
import { n as MOBILE_FEED_MAX_PAGE_SIZE, r as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_IMAGE_MAX_REQUEST_BYTES } from "./feed-DErOLaoY.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-Bvw8ltYJ.js";
|
|
22
|
+
export { BuildSignedMobileRequestParams, GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedImageBytesParams, GetMobileFeedImageRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationInboxV2Params, GetMobileNotificationPreferencesParams, GetMobileNotificationRegistrationV2Params, GetMobileNotificationSettingsV2Params, GetMobileNotificationSubscriptionsParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, 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, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedCommentsResponse, MobileServerSocialFeedCompactCard, MobileServerSocialFeedContentBase, MobileServerSocialFeedDrawing, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedDrawingResponse, MobileServerSocialFeedEstimatedLiquidationLine, MobileServerSocialFeedHistoryMetrics, MobileServerSocialFeedHistorySummary, MobileServerSocialFeedHistoryTake, MobileServerSocialFeedImage, MobileServerSocialFeedImageThumbnail, MobileServerSocialFeedImageUploadResponse, 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, 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, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, 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, 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, MobileUnsupportedNotificationRouteError, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse, 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 } 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, 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; /** An existing detail-visit event was reused with a different item or browsing credential. */
|
|
61
|
+
readonly SOCIAL_FEED_VIEW_EVENT_REBOUND: 6327;
|
|
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-vD6rbFuF.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobileErrorCodes-vD6rbFuF.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; /** An existing detail-visit event was reused with a different item or browsing credential. */
|
|
61
|
+
readonly SOCIAL_FEED_VIEW_EVENT_REBOUND: 6327;
|
|
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-vD6rbFuF.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobileErrorCodes-vD6rbFuF.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-C9YE4EIt.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-CdkF2Ocr.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payloadHash-CdkF2Ocr.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-Cwy1y_9x.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-HD29K77M.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payloadHash-HD29K77M.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-B5J1_TyC.cjs";
|
|
1
|
+
import { K as MobileServerSocialFeedDrawing, L as MobileServerSocialFeedAuthor, Z as MobileServerSocialFeedImage, et as MobileServerSocialFeedItem, ft as MobileServerSocialFeedReply } from "./serverModelTypes-CGUZCi0y.js";
|
|
2
|
+
import { $ as MobileServerFailureResponse, d as MobileServerPublicExecuteRequestType, et as MobileServerSuccessResponse, k as MobileServerNotificationSettingsV2Response, o as MobileServerExecuteRequestType, u as MobileServerPublicExecuteRequestByType } from "./types-Cwy1y_9x.js";
|
|
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: MobileServerSocialFeedImage;
|
|
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. */
|
|
@@ -146,6 +160,8 @@ interface MobileServerSocialFeedPresenceResponse {
|
|
|
146
160
|
}
|
|
147
161
|
/** Response payloads for unsigned writes. */
|
|
148
162
|
interface MobileServerPublicExecuteResponseByType {
|
|
163
|
+
/** Saved document, including the advanced settings revision. */
|
|
164
|
+
update_notification_settings_v2: MobileServerNotificationSettingsV2Response;
|
|
149
165
|
/** Token removal returns only the success envelope. */
|
|
150
166
|
unregister_expo_token: MobileServerEmptyExecuteResponse;
|
|
151
167
|
/** Preference updates return only the success envelope. */
|
|
@@ -158,5 +174,5 @@ interface MobileServerPublicExecuteResponseByType {
|
|
|
158
174
|
/** Full success response for an unsigned write. */
|
|
159
175
|
type MobileServerPublicExecuteSuccessResponse<T extends MobileServerPublicExecuteRequestType = MobileServerPublicExecuteRequestType> = MobileServerSuccessResponse & MobileServerPublicExecuteResponseByType[T];
|
|
160
176
|
//#endregion
|
|
161
|
-
export {
|
|
162
|
-
//# sourceMappingURL=serverExecuteTypes-
|
|
177
|
+
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, MobileServerSocialFeedViewsResponse as v };
|
|
178
|
+
//# sourceMappingURL=serverExecuteTypes-5JyyIXRK.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverExecuteTypes-5JyyIXRK.d.ts","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,2BAA2B;AAAA;;;;AAAA;UAOnB,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,mCAAA;EA9CmD;EAgDlE,iBAAA;EAhDmE;EAkDnE,kBAAkB;AAAA;;UAIH,sCAAA;EA/Cc;EAiD7B,aAAA;EA9CiD;EAgDjD,eAAA,EAAiB,4BAA4B;EA9C7C;EAgDA,0BAAA;EA5Ce;EA8Cf,kBAAA;AAAA;;UAIe,uCAAA;EAhDN;EAkDT,+BAAA,EAAiC,0CAAA;EAhDf;EAkDlB,qBAAA,EAAuB,gCAAA;EA9CR;EAgDf,kBAAA,EAAoB,gCAAA;;EAEpB,iBAAA,EAAmB,mCAAA;EAhDnB;EAkDA,iBAAA,EAAmB,sCAAA;AAAA;;KAIT,wCAAA,WACA,oCAAA,GACR,oCAAA,IACA,2BAAA,GAA8B,uCAAA,CAAwC,CAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-DnLzsdm-.js";
|
|
1
|
+
import { K as MobileServerSocialFeedDrawing, L as MobileServerSocialFeedAuthor, Z as MobileServerSocialFeedImage, et as MobileServerSocialFeedItem, ft as MobileServerSocialFeedReply } from "./serverModelTypes-CGUZCi0y.cjs";
|
|
2
|
+
import { $ as MobileServerFailureResponse, d as MobileServerPublicExecuteRequestType, et as MobileServerSuccessResponse, k as MobileServerNotificationSettingsV2Response, o as MobileServerExecuteRequestType, u as MobileServerPublicExecuteRequestByType } from "./types-C9YE4EIt.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: MobileServerSocialFeedImage;
|
|
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. */
|
|
@@ -146,6 +160,8 @@ interface MobileServerSocialFeedPresenceResponse {
|
|
|
146
160
|
}
|
|
147
161
|
/** Response payloads for unsigned writes. */
|
|
148
162
|
interface MobileServerPublicExecuteResponseByType {
|
|
163
|
+
/** Saved document, including the advanced settings revision. */
|
|
164
|
+
update_notification_settings_v2: MobileServerNotificationSettingsV2Response;
|
|
149
165
|
/** Token removal returns only the success envelope. */
|
|
150
166
|
unregister_expo_token: MobileServerEmptyExecuteResponse;
|
|
151
167
|
/** Preference updates return only the success envelope. */
|
|
@@ -158,5 +174,5 @@ interface MobileServerPublicExecuteResponseByType {
|
|
|
158
174
|
/** Full success response for an unsigned write. */
|
|
159
175
|
type MobileServerPublicExecuteSuccessResponse<T extends MobileServerPublicExecuteRequestType = MobileServerPublicExecuteRequestType> = MobileServerSuccessResponse & MobileServerPublicExecuteResponseByType[T];
|
|
160
176
|
//#endregion
|
|
161
|
-
export {
|
|
162
|
-
//# sourceMappingURL=serverExecuteTypes-
|
|
177
|
+
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, MobileServerSocialFeedViewsResponse as v };
|
|
178
|
+
//# sourceMappingURL=serverExecuteTypes-CHrQ9Rtq.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverExecuteTypes-CHrQ9Rtq.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,2BAA2B;AAAA;;;;AAAA;UAOnB,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,mCAAA;EA9CmD;EAgDlE,iBAAA;EAhDmE;EAkDnE,kBAAkB;AAAA;;UAIH,sCAAA;EA/Cc;EAiD7B,aAAA;EA9CiD;EAgDjD,eAAA,EAAiB,4BAA4B;EA9C7C;EAgDA,0BAAA;EA5Ce;EA8Cf,kBAAA;AAAA;;UAIe,uCAAA;EAhDN;EAkDT,+BAAA,EAAiC,0CAAA;EAhDf;EAkDlB,qBAAA,EAAuB,gCAAA;EA9CR;EAgDf,kBAAA,EAAoB,gCAAA;;EAEpB,iBAAA,EAAmB,mCAAA;EAhDnB;EAkDA,iBAAA,EAAmB,sCAAA;AAAA;;KAIT,wCAAA,WACA,oCAAA,GACR,oCAAA,IACA,2BAAA,GAA8B,uCAAA,CAAwC,CAAA"}
|