@nadohq/mobile-client 0.54.0 → 0.56.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 +4 -4
- package/dist/{MobileClient-BbTaqTzi.cjs → MobileClient-DjNpN7Dw.cjs} +55 -4
- package/dist/MobileClient-DjNpN7Dw.cjs.map +1 -0
- package/dist/MobileClient.cjs +1 -1
- package/dist/MobileClient.d.cts +49 -9
- package/dist/MobileClient.d.cts.map +1 -1
- package/dist/MobileClient.d.ts +49 -9
- package/dist/MobileClient.d.ts.map +1 -1
- package/dist/MobileClient.js +55 -4
- package/dist/MobileClient.js.map +1 -1
- package/dist/{MobileServerFailureError-B2og8e5O.d.ts → MobileServerFailureError-DvtkMAVX.d.ts} +3 -3
- package/dist/{MobileServerFailureError-B2og8e5O.d.ts.map → MobileServerFailureError-DvtkMAVX.d.ts.map} +1 -1
- package/dist/{MobileServerFailureError-BrLtaHnU.d.cts → MobileServerFailureError-kbMi1Ntc.d.cts} +3 -3
- package/dist/{MobileServerFailureError-BrLtaHnU.d.cts.map → MobileServerFailureError-kbMi1Ntc.d.cts.map} +1 -1
- package/dist/{buildSignedMobileRequest-CZ-EdxYI.d.cts → buildSignedMobileRequest-DBWN0z0u.d.cts} +2 -2
- package/dist/{buildSignedMobileRequest-CZ-EdxYI.d.cts.map → buildSignedMobileRequest-DBWN0z0u.d.cts.map} +1 -1
- package/dist/{buildSignedMobileRequest-CoAVSDPx.d.ts → buildSignedMobileRequest-lSIJmG6D.d.ts} +2 -2
- package/dist/{buildSignedMobileRequest-CoAVSDPx.d.ts.map → buildSignedMobileRequest-lSIJmG6D.d.ts.map} +1 -1
- package/dist/{canonicalize-BC-JICjp.d.ts → canonicalize-Cx3lCVpm.d.ts} +2 -2
- package/dist/canonicalize-Cx3lCVpm.d.ts.map +1 -0
- package/dist/{canonicalize-0_B6UOxO.d.cts → canonicalize-DNgB8Jsm.d.cts} +2 -2
- package/dist/canonicalize-DNgB8Jsm.d.cts.map +1 -0
- package/dist/{clientTypes-YF5d8bvg.d.cts → clientTypes-DnPE1zZO.d.cts} +64 -12
- package/dist/clientTypes-DnPE1zZO.d.cts.map +1 -0
- package/dist/{clientTypes-P4LAjreY.d.ts → clientTypes-ws9CDHw4.d.ts} +64 -12
- package/dist/clientTypes-ws9CDHw4.d.ts.map +1 -0
- package/dist/dataMappers.cjs +39 -3
- package/dist/dataMappers.cjs.map +1 -1
- package/dist/dataMappers.d.cts +18 -6
- package/dist/dataMappers.d.cts.map +1 -1
- package/dist/dataMappers.d.ts +18 -6
- package/dist/dataMappers.d.ts.map +1 -1
- package/dist/dataMappers.js +37 -4
- package/dist/dataMappers.js.map +1 -1
- package/dist/{eip712MethodByType-DWtLyPY7.d.ts → eip712MethodByType-Bmu9PYx6.d.ts} +2 -2
- package/dist/eip712MethodByType-Bmu9PYx6.d.ts.map +1 -0
- package/dist/{eip712MethodByType-sHQ-VTHd.d.cts → eip712MethodByType-T7dfjmC_.d.cts} +2 -2
- package/dist/eip712MethodByType-T7dfjmC_.d.cts.map +1 -0
- package/dist/index.cjs +5 -1
- package/dist/index.d.cts +16 -15
- package/dist/index.d.ts +16 -15
- package/dist/index.js +2 -1
- package/dist/{mobileErrorCodes-DccrM4NI.d.ts → mobileErrorCodes-B3kTLit_.d.cts} +4 -2
- package/dist/mobileErrorCodes-B3kTLit_.d.cts.map +1 -0
- package/dist/{mobileErrorCodes-DccrM4NI.d.cts → mobileErrorCodes-B3kTLit_.d.ts} +4 -2
- package/dist/mobileErrorCodes-B3kTLit_.d.ts.map +1 -0
- package/dist/{payloadHash-CSgTglN4.d.cts → payloadHash-Brc5ceFq.d.cts} +2 -2
- package/dist/payloadHash-Brc5ceFq.d.cts.map +1 -0
- package/dist/{payloadHash-qsU1DEF0.d.ts → payloadHash-cZgv7NSo.d.ts} +2 -2
- package/dist/payloadHash-cZgv7NSo.d.ts.map +1 -0
- package/dist/profile-BozA3yVP.d.cts +16 -0
- package/dist/profile-BozA3yVP.d.cts.map +1 -0
- package/dist/profile-BozA3yVP.d.ts +16 -0
- package/dist/profile-BozA3yVP.d.ts.map +1 -0
- package/dist/{serverBaseTypes-DKCLDn3x.d.ts → serverBaseTypes-CWBdZomv.d.ts} +2 -2
- package/dist/{serverBaseTypes-DKCLDn3x.d.ts.map → serverBaseTypes-CWBdZomv.d.ts.map} +1 -1
- package/dist/{serverBaseTypes-CuMsGXgc.d.cts → serverBaseTypes-CcWT_ZBe.d.cts} +2 -2
- package/dist/{serverBaseTypes-CuMsGXgc.d.cts.map → serverBaseTypes-CcWT_ZBe.d.cts.map} +1 -1
- package/dist/{serverExecuteTypes-TPX0GCgv.d.cts → serverExecuteTypes-CgjzwBaA.d.cts} +24 -5
- package/dist/serverExecuteTypes-CgjzwBaA.d.cts.map +1 -0
- package/dist/{serverExecuteTypes-DKG1mqy1.d.ts → serverExecuteTypes-jyr5aO5q.d.ts} +24 -5
- package/dist/serverExecuteTypes-jyr5aO5q.d.ts.map +1 -0
- package/dist/{serverModelTypes-MlqdaMRd.d.ts → serverModelTypes-DAqEyYtB.d.cts} +25 -7
- package/dist/serverModelTypes-DAqEyYtB.d.cts.map +1 -0
- package/dist/{serverModelTypes-MlqdaMRd.d.cts → serverModelTypes-DAqEyYtB.d.ts} +25 -7
- package/dist/serverModelTypes-DAqEyYtB.d.ts.map +1 -0
- package/dist/{serverQueryTypes-BLUe10AI.d.ts → serverQueryTypes-DPRP61yA.d.ts} +14 -5
- package/dist/serverQueryTypes-DPRP61yA.d.ts.map +1 -0
- package/dist/{serverQueryTypes-BZOoJBpb.d.cts → serverQueryTypes-H_mI6fPl.d.cts} +14 -5
- package/dist/serverQueryTypes-H_mI6fPl.d.cts.map +1 -0
- package/dist/{serverRequestTypes-BULjZnnz.d.ts → serverRequestTypes-BY0f5woc.d.ts} +5 -3
- package/dist/serverRequestTypes-BY0f5woc.d.ts.map +1 -0
- package/dist/{serverRequestTypes-XbnLUsXT.d.cts → serverRequestTypes-DGGqQMK3.d.cts} +5 -3
- package/dist/serverRequestTypes-DGGqQMK3.d.cts.map +1 -0
- package/dist/{serverResponseGuards-DY_8lAo7.d.ts → serverResponseGuards-BGHTBbtz.d.ts} +2 -2
- package/dist/{serverResponseGuards-DY_8lAo7.d.ts.map → serverResponseGuards-BGHTBbtz.d.ts.map} +1 -1
- package/dist/{serverResponseGuards-DIj9MIrJ.d.cts → serverResponseGuards-DGhrUL_c.d.cts} +2 -2
- package/dist/{serverResponseGuards-DIj9MIrJ.d.cts.map → serverResponseGuards-DGhrUL_c.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 +25 -0
- 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 +25 -0
- package/dist/signing/canonicalize.js.map +1 -1
- package/dist/signing/eip712MethodByType.cjs +3 -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 +3 -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.d.cts +1 -1
- package/dist/signing/payloadHash.d.ts +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/clientTypes.d.cts +2 -2
- package/dist/types/clientTypes.d.ts +2 -2
- package/dist/types/index.d.cts +9 -9
- package/dist/types/index.d.ts +9 -9
- package/dist/types/mobileErrorCodes.cjs +4 -0
- 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 +4 -0
- 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.map +1 -1
- package/dist/types/serverModelTypes.d.cts +2 -2
- package/dist/types/serverModelTypes.d.ts +2 -2
- 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 +1 -1
- package/dist/types/serverRequestTypes.d.ts +1 -1
- package/dist/{types-B_4veFLc.d.ts → types-B021odcS.d.ts} +12 -3
- package/dist/types-B021odcS.d.ts.map +1 -0
- package/dist/{types-CwpXP7xM.d.cts → types-l47aSWtA.d.cts} +12 -3
- package/dist/types-l47aSWtA.d.cts.map +1 -0
- package/dist/utils/index.cjs +4 -0
- package/dist/utils/index.d.cts +3 -2
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.js +2 -1
- package/dist/utils/profile.cjs +22 -0
- package/dist/utils/profile.cjs.map +1 -0
- package/dist/utils/profile.d.cts +2 -0
- package/dist/utils/profile.d.ts +2 -0
- package/dist/utils/profile.js +19 -0
- package/dist/utils/profile.js.map +1 -0
- 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 +85 -3
- package/src/dataMappers.ts +49 -4
- package/src/signing/canonicalize.ts +20 -0
- package/src/signing/eip712MethodByType.ts +3 -0
- package/src/signing/signing.test.ts +67 -1
- package/src/signing/types.ts +10 -1
- package/src/types/clientTypes.ts +73 -9
- package/src/types/mobileErrorCodes.ts +4 -0
- package/src/types/serverExecuteTypes.ts +21 -1
- package/src/types/serverModelTypes.ts +31 -5
- package/src/types/serverQueryTypes.ts +11 -0
- package/src/types/serverRequestTypes.ts +2 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/profile.test.ts +22 -0
- package/src/utils/profile.ts +16 -0
- package/dist/MobileClient-BbTaqTzi.cjs.map +0 -1
- package/dist/canonicalize-0_B6UOxO.d.cts.map +0 -1
- package/dist/canonicalize-BC-JICjp.d.ts.map +0 -1
- package/dist/clientTypes-P4LAjreY.d.ts.map +0 -1
- package/dist/clientTypes-YF5d8bvg.d.cts.map +0 -1
- package/dist/eip712MethodByType-DWtLyPY7.d.ts.map +0 -1
- package/dist/eip712MethodByType-sHQ-VTHd.d.cts.map +0 -1
- package/dist/mobileErrorCodes-DccrM4NI.d.cts.map +0 -1
- package/dist/mobileErrorCodes-DccrM4NI.d.ts.map +0 -1
- package/dist/payloadHash-CSgTglN4.d.cts.map +0 -1
- package/dist/payloadHash-qsU1DEF0.d.ts.map +0 -1
- package/dist/serverExecuteTypes-DKG1mqy1.d.ts.map +0 -1
- package/dist/serverExecuteTypes-TPX0GCgv.d.cts.map +0 -1
- package/dist/serverModelTypes-MlqdaMRd.d.cts.map +0 -1
- package/dist/serverModelTypes-MlqdaMRd.d.ts.map +0 -1
- package/dist/serverQueryTypes-BLUe10AI.d.ts.map +0 -1
- package/dist/serverQueryTypes-BZOoJBpb.d.cts.map +0 -1
- package/dist/serverRequestTypes-BULjZnnz.d.ts.map +0 -1
- package/dist/serverRequestTypes-XbnLUsXT.d.cts.map +0 -1
- package/dist/types-B_4veFLc.d.ts.map +0 -1
- package/dist/types-CwpXP7xM.d.cts.map +0 -1
|
@@ -2,6 +2,25 @@ import { BalanceSide } from "@nadohq/shared";
|
|
|
2
2
|
import { Hex } from "viem";
|
|
3
3
|
|
|
4
4
|
//#region src/types/serverModelTypes.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Server-side avatar selection, shared by request mapping and signing.
|
|
7
|
+
*/
|
|
8
|
+
type MobileServerAvatarSelection = {
|
|
9
|
+
/** Shared catalogue selection. */type: 'preset'; /** Stable catalogue ID. */
|
|
10
|
+
id: string;
|
|
11
|
+
} | {
|
|
12
|
+
/** Uploaded image awaiting publication. */type: 'upload'; /** Staging key returned by create_avatar_upload. */
|
|
13
|
+
upload_key: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Server-owned avatar preset in catalogue order.
|
|
17
|
+
*/
|
|
18
|
+
interface MobileServerAvatarPreset {
|
|
19
|
+
/** Stable catalogue ID used when selecting this preset. */
|
|
20
|
+
id: string;
|
|
21
|
+
/** Public image URL. */
|
|
22
|
+
avatar_url: string;
|
|
23
|
+
}
|
|
5
24
|
/**
|
|
6
25
|
* Platform of a device registered for push notifications.
|
|
7
26
|
*/
|
|
@@ -19,7 +38,7 @@ interface MobileServerIdentitySummary {
|
|
|
19
38
|
subaccount: Hex;
|
|
20
39
|
username: string | null;
|
|
21
40
|
display_name: string | null;
|
|
22
|
-
/**
|
|
41
|
+
/** Published avatar URL, or null when the account has no saved avatar. */
|
|
23
42
|
avatar_url: string | null;
|
|
24
43
|
}
|
|
25
44
|
/**
|
|
@@ -44,11 +63,10 @@ interface MobileServerFollowSummary {
|
|
|
44
63
|
* for them, which is why they are optional rather than nullable — absent means "not requested", not "none".
|
|
45
64
|
* The singular `profile` query never returns any of them.
|
|
46
65
|
*/
|
|
47
|
-
interface MobileServerProfile {
|
|
48
|
-
subaccount: Hex;
|
|
49
|
-
username: string | null;
|
|
50
|
-
display_name: string | null;
|
|
66
|
+
interface MobileServerProfile extends MobileServerIdentitySummary {
|
|
51
67
|
private_mode: boolean;
|
|
68
|
+
/** Plain-text biography, or null when unset. */
|
|
69
|
+
bio: string | null;
|
|
52
70
|
/**
|
|
53
71
|
* Exact count at query time — the backend counts rather than reading a cached counter. Unnamed and private
|
|
54
72
|
* accounts are included: Private Mode hides activity, not relationships. Requires `follow_counts`.
|
|
@@ -486,5 +504,5 @@ interface MobileSocialFeedUnavailableTarget {
|
|
|
486
504
|
reason: 'unavailable';
|
|
487
505
|
}
|
|
488
506
|
//#endregion
|
|
489
|
-
export {
|
|
490
|
-
//# sourceMappingURL=serverModelTypes-
|
|
507
|
+
export { MobileSocialFeedTradeSizeChangeAction as $, MobileServerSocialFeedMarket as A, MobileSocialFeedCohortStatus as B, MobileServerSocialFeedCohort as C, MobileServerSocialFeedItem as D, MobileServerSocialFeedInteraction as E, MobileServerSocialFeedTradeCard as F, MobileSocialFeedPnlMode as G, MobileSocialFeedLeverage as H, MobileServerSocialFeedTradeRow as I, MobileSocialFeedPositionState as J, MobileSocialFeedPnlQuality as K, MobileServerSocialFeedTradeRowBase as L, MobileServerSocialFeedPositionCard as M, MobileServerSocialFeedPositionPatch as N, MobileServerSocialFeedItemBase as O, MobileServerSocialFeedReadSession as P, MobileSocialFeedTradeCardAction as Q, MobileServerSocialFeedTraderBadge as R, MobileServerSocialFeedCapabilities as S, MobileServerSocialFeedCommentPreview as T, MobileSocialFeedMarketCategory as U, MobileSocialFeedHistoryQuality as V, MobileSocialFeedPnlBasis as W, MobileSocialFeedSourceCategory as X, MobileSocialFeedReadSessionMode as Y, MobileSocialFeedTargetType as Z, MobileServerNotificationCategoryPreference as _, MobileFeedTradePosition as a, MobileServerProfile as b, MobileNotificationCategory as c, MobileServerAvatarSelection as d, MobileSocialFeedTraderBadgeCode as et, MobileServerFeedMargin as f, MobileServerIdentitySummary as g, MobileServerFollowSummary as h, MobileFeedMarginMode as i, MobileServerSocialFeedPnl as j, MobileServerSocialFeedItemPatch as k, MobileNotificationPlatform as l, MobileServerFollowListAccount as m, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileSocialFeedType as nt, MobileFeedTradePositionDirection as o, MobileServerFeedTrade as p, MobileSocialFeedPositionDisplayBasis as q, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileSocialFeedUnavailableTarget as rt, MobileFeedTradePositionEffect as s, MOBILE_FEED_MARGIN_MODES as t, MobileSocialFeedTraderDataStatus as tt, MobileServerAvatarPreset as u, MobileServerNotificationPreferenceScope as v, MobileServerSocialFeedCohortCoverage as w, MobileServerSocialFeedAuthor as x, MobileServerNotificationPreferences as y, MobileServerSocialFeedViewTracking as z };
|
|
508
|
+
//# sourceMappingURL=serverModelTypes-DAqEyYtB.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverModelTypes-DAqEyYtB.d.ts","names":[],"sources":["../src/types/src/types/serverModelTypes.ts"],"mappings":";;;;;;AAMA;KAAY,2BAAA;oCAGN,IAAA;EAEA,EAAA;AAAA;EAMA,2CAFA,IAAA,YAEU;EAAV,UAAA;AAAA;;;AAUM;UAJK,wBAAA;EAUqB;EARpC,EAAA;EAQoC;EANpC,UAAU;AAAA;;;;KAMA,0BAAA;AAkBZ;;;AAAA,KAbY,0BAAA;;;;;;UAaK,2BAAA;EACf,UAAA,EAAY,GAAG;EACf,QAAA;EACA,YAAA;;EAEA,UAAA;AAAA;;;;;AAcwC;AAY1C;UAjBiB,yBAAA;EACf,YAAA;EAgBsE;EAdtE,iBAAA;EAeA;EAbA,WAAA,EAAa,2BAA2B;AAAA;;;;;AAuBE;AAM5C;;;;UAjBiB,mBAAA,SAA4B,2BAA2B;EACtE,YAAA;EAuBA;EArBA,GAAA;EAuBc;AAAA;AAQhB;;EA1BE,cAAA;EACA,eAAA;EAyBwD;EAvBxD,cAAA,GAAiB,yBAAA;AAAA;;;AAgC6C;UA1B/C,6BAAA;EACf,QAAA,EAAU,2BAA2B;;;AAqC7B;AAKV;;EApCE,YAAA;EAqC0C;EAnC1C,cAAA;AAAA;;;;;;KAQU,gCAAA,GAAmC,WAAW;;;AAmCnB;AAOvC;cApCa,qCAAA;;;AAoCyD;AAKtE;cAhCa,kCAAA;;;AAgCsD;KArBvD,6BAAA,WACF,kCAAkC;;;;;UAM3B,uBAAA;EACf,SAAA,EAAW,gCAAA;EACX,MAAA,EAAQ,6BAA6B;AAAA;AA6BvC;;;;AAAA,cAtBa,wBAAA;;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8BAA8B;;UAGjB,iCAAA;EAnEf;EAqEA,UAAA;EAnEA;EAqEA,IAAA,EAAM,+BAAA;EAjEN;EAmEA,aAAA;EAjEA;EAmEA,aAAA,EAAe,kCAAkC;EAjEjD;EAmEA,aAAA;EAnEqD;EAqErD,YAAA;AAAA;;UAIe,+BAAA;EA/DJ;EAiEX,MAAA,EAAQ,4BAAA;EA7DE;EA+DV,OAAA;EAzEwF;EA2ExF,OAAA;EA3E0D;EA6E1D,WAAA,GAAc,iCAAA;EAzEd;EA2EA,aAAA;EAzEW;EA2EX,WAAA;EAzEa;EA2Eb,YAAA;EAzEU;EA2EV,YAAA;EAvEA;EAyEA,iBAAA;EArEA;EAuEA,eAAA;EAvEiB;EAyEjB,4BAAA;EArEwC;EAuExC,+BAAA;EAlEqD;EAoErD,sBAAA;EApEQ;EAsER,QAAA,GAAW,wBAAA;EApEH;EAsER,cAAA;AAAA;;UAIe,iCAAA;EA9DP;EAgER,IAAA,EAAM,0BAA0B;EA9DF;EAgE9B,EAAA;EA3DU;EA6DV,MAAA;AAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as
|
|
2
|
-
import { o as MobileServerPublicQueryRequestByType, s as MobileServerPublicQueryRequestType } from "./serverRequestTypes-
|
|
3
|
-
import { n as MobileServerSuccessResponse } from "./serverBaseTypes-
|
|
1
|
+
import { C as MobileServerSocialFeedCohort, D as MobileServerSocialFeedItem, N as MobileServerSocialFeedPositionPatch, P as MobileServerSocialFeedReadSession, b as MobileServerProfile, k as MobileServerSocialFeedItemPatch, l as MobileNotificationPlatform, m as MobileServerFollowListAccount, p as MobileServerFeedTrade, rt as MobileSocialFeedUnavailableTarget, u as MobileServerAvatarPreset, y as MobileServerNotificationPreferences } from "./serverModelTypes-DAqEyYtB.js";
|
|
2
|
+
import { o as MobileServerPublicQueryRequestByType, s as MobileServerPublicQueryRequestType } from "./serverRequestTypes-BY0f5woc.js";
|
|
3
|
+
import { n as MobileServerSuccessResponse } from "./serverBaseTypes-CWBdZomv.js";
|
|
4
4
|
import { Hex } from "viem";
|
|
5
5
|
|
|
6
6
|
//#region src/types/serverQueryTypes.d.ts
|
|
@@ -17,6 +17,13 @@ interface MobileServerUsernameAvailabilityResponse {
|
|
|
17
17
|
username: string;
|
|
18
18
|
available: boolean;
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Payload of the `avatar_presets` public query success response.
|
|
22
|
+
*/
|
|
23
|
+
interface MobileServerAvatarPresetsResponse {
|
|
24
|
+
/** Available presets in display order. */
|
|
25
|
+
presets: MobileServerAvatarPreset[];
|
|
26
|
+
}
|
|
20
27
|
/**
|
|
21
28
|
* Payload of the `profiles` public query success response. One entry per requested subaccount, in the exact
|
|
22
29
|
* order they were requested, so callers can correlate positionally as well as by `subaccount`.
|
|
@@ -117,6 +124,8 @@ interface MobileServerRegisteredWalletResponse {
|
|
|
117
124
|
* by {@link MobileServerPublicQuerySuccessResponse}.
|
|
118
125
|
*/
|
|
119
126
|
interface MobileServerPublicQueryResponseByType {
|
|
127
|
+
/** Preset IDs and public image URLs in display order. */
|
|
128
|
+
avatar_presets: MobileServerAvatarPresetsResponse;
|
|
120
129
|
/** For You recommendations. */
|
|
121
130
|
for_you_feed: MobileServerSocialFeedRankedResponse;
|
|
122
131
|
/** Qualified authors and cohort metadata. */
|
|
@@ -148,5 +157,5 @@ interface MobileServerPublicQueryResponseByType {
|
|
|
148
157
|
*/
|
|
149
158
|
type MobileServerPublicQuerySuccessResponse<T extends MobileServerPublicQueryRequestType = MobileServerPublicQueryRequestType> = MobileServerSuccessResponse & MobileServerPublicQueryResponseByType[T];
|
|
150
159
|
//#endregion
|
|
151
|
-
export {
|
|
152
|
-
//# sourceMappingURL=serverQueryTypes-
|
|
160
|
+
export { MobileServerProfilesResponse as a, MobileServerPublicQuerySuccessResponse as c, MobileServerSocialFeedRankedResponse as d, MobileServerSocialFeedResponse as f, MobileServerUsernameAvailabilityResponse as h, MobileServerNotificationPreferencesResponse as i, MobileServerRegisteredWalletResponse as l, MobileServerSocialFeedUpdatesResponse as m, MobileServerFeedResponse as n, MobileServerPublicQueryRequest as o, MobileServerSocialFeedTopTradersResponse as p, MobileServerFollowListResponse as r, MobileServerPublicQueryResponseByType as s, MobileServerAvatarPresetsResponse as t, MobileServerSocialFeedItemResponse as u };
|
|
161
|
+
//# sourceMappingURL=serverQueryTypes-DPRP61yA.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverQueryTypes-DPRP61yA.d.ts","names":[],"sources":["../src/types/src/types/serverQueryTypes.ts"],"mappings":";;;;;;;;AAwBA;KAAY,8BAAA,WACA,kCAAA,GACR,kCAAA,YAEI,kCAAA;EACJ,IAAA,EAAM,CAAA;AAAA,IACJ,oCAAA,CAAqC,CAAA,IACzC,CAAA;;;;UAKe,wCAAA;EACf,QAAA;EACA,SAAS;AAAA;;;;UAMM,iCAAA;EAfb;EAiBF,OAAA,EAAS,wBAAwB;AAAA;;;;AAfhC;UAsBc,4BAAA;EACf,QAAA,EAAU,mBAAmB;AAAA;;AAhBpB;AAMX;;UAiBiB,8BAAA;EACf,QAAA,EAAU,6BAA6B;EAhBN;EAkBjC,WAAA;AAAA;;;AAV6B;UAgBd,wBAAA;EACf,MAAA,EAAQ,qBAAqB;;;;;;EAM7B,WAAA;AAAA;AAPF;AAAA,UAWiB,8BAAA;;EAEf,YAAA,EAAc,iCAAA;EAZd;EAcA,KAAA,EAAO,0BAA0B;EARjC;EAUA,WAAA;EAVW;EAYX,SAAA;AAAA;;UAIe,oCAAA,SAA6C,8BAA8B;EAV1F;EAYA,eAAe;AAAA;;UAIA,wCAAA,SAAiD,oCAAoC;EAVpG;EAYA,MAAA,EAAQ,4BAAA;AAAA;AARV;AAAA,UAYiB,kCAAA;;EAEf,IAAA,EAAM,0BAAA;EAZS;EAcf,YAAA,EAAc,iCAAiC;AAAA;;UAIhC,qCAAA;EAdiD;EAgBhE,YAAA,EAAc,+BAAA;EAdN;EAgBR,gBAAA,EAAkB,mCAAA;EAhBkB;EAkBpC,mBAAA,EAAqB,iCAAA;EAd4B;EAgBjD,eAAA;EAZ+C;EAc/C,aAAA;EAhBM;EAkBN,KAAA;EAhBc;EAkBd,iBAAA;EAlB+C;EAoB/C,WAAA;AAAA;;;;UAMe,2CAAA;EACf,WAAA,EAAa,mCAAmC;AAAA;;;;;UAOjC,oCAAA;EACf,MAAA,EAAQ,GAAA;EACR,QAAA,EAAU,0BAA0B;EACpC,MAAA;EACA,WAAA;EACA,wBAAA;EACA,YAAA;AAAA;AApBW;AAMb;;;;AACkD;AAPrC,UA6BI,qCAAA;EAfoC;EAiBnD,cAAA,EAAgB,iCAAA;EAfoB;EAiBpC,YAAA,EAAc,oCAAA;EAlBN;EAoBR,gBAAA,EAAkB,wCAAA;EAnBR;EAqBV,YAAA,EAAc,oCAAA;EAnBd;EAqBA,YAAA,EAAc,8BAAA;EAnBd;EAqBA,WAAA,EAAa,8BAAA;EArBD;EAuBZ,aAAA,EAAe,8BAAA;EAdqC;EAgBpD,SAAA,EAAW,kCAAA;EAdK;EAgBhB,YAAA,EAAc,qCAAA;EACd,qBAAA,EAAuB,wCAAA;EACvB,QAAA,EAAU,4BAAA;EACV,SAAA,EAAW,8BAAA;EACX,SAAA,EAAW,8BAAA;EACX,IAAA,EAAM,wBAAA;EACN,wBAAA,EAA0B,2CAAA;EAC1B,iBAAA,EAAmB,oCAAA;AAAA;;;;;;KAQT,sCAAA,WACA,kCAAA,GACR,kCAAA,IACA,2BAAA,GAA8B,qCAAA,CAAsC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as
|
|
2
|
-
import { o as MobileServerPublicQueryRequestByType, s as MobileServerPublicQueryRequestType } from "./serverRequestTypes-
|
|
3
|
-
import { n as MobileServerSuccessResponse } from "./serverBaseTypes-
|
|
1
|
+
import { C as MobileServerSocialFeedCohort, D as MobileServerSocialFeedItem, N as MobileServerSocialFeedPositionPatch, P as MobileServerSocialFeedReadSession, b as MobileServerProfile, k as MobileServerSocialFeedItemPatch, l as MobileNotificationPlatform, m as MobileServerFollowListAccount, p as MobileServerFeedTrade, rt as MobileSocialFeedUnavailableTarget, u as MobileServerAvatarPreset, y as MobileServerNotificationPreferences } from "./serverModelTypes-DAqEyYtB.cjs";
|
|
2
|
+
import { o as MobileServerPublicQueryRequestByType, s as MobileServerPublicQueryRequestType } from "./serverRequestTypes-DGGqQMK3.cjs";
|
|
3
|
+
import { n as MobileServerSuccessResponse } from "./serverBaseTypes-CcWT_ZBe.cjs";
|
|
4
4
|
import { Hex } from "viem";
|
|
5
5
|
|
|
6
6
|
//#region src/types/serverQueryTypes.d.ts
|
|
@@ -17,6 +17,13 @@ interface MobileServerUsernameAvailabilityResponse {
|
|
|
17
17
|
username: string;
|
|
18
18
|
available: boolean;
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Payload of the `avatar_presets` public query success response.
|
|
22
|
+
*/
|
|
23
|
+
interface MobileServerAvatarPresetsResponse {
|
|
24
|
+
/** Available presets in display order. */
|
|
25
|
+
presets: MobileServerAvatarPreset[];
|
|
26
|
+
}
|
|
20
27
|
/**
|
|
21
28
|
* Payload of the `profiles` public query success response. One entry per requested subaccount, in the exact
|
|
22
29
|
* order they were requested, so callers can correlate positionally as well as by `subaccount`.
|
|
@@ -117,6 +124,8 @@ interface MobileServerRegisteredWalletResponse {
|
|
|
117
124
|
* by {@link MobileServerPublicQuerySuccessResponse}.
|
|
118
125
|
*/
|
|
119
126
|
interface MobileServerPublicQueryResponseByType {
|
|
127
|
+
/** Preset IDs and public image URLs in display order. */
|
|
128
|
+
avatar_presets: MobileServerAvatarPresetsResponse;
|
|
120
129
|
/** For You recommendations. */
|
|
121
130
|
for_you_feed: MobileServerSocialFeedRankedResponse;
|
|
122
131
|
/** Qualified authors and cohort metadata. */
|
|
@@ -148,5 +157,5 @@ interface MobileServerPublicQueryResponseByType {
|
|
|
148
157
|
*/
|
|
149
158
|
type MobileServerPublicQuerySuccessResponse<T extends MobileServerPublicQueryRequestType = MobileServerPublicQueryRequestType> = MobileServerSuccessResponse & MobileServerPublicQueryResponseByType[T];
|
|
150
159
|
//#endregion
|
|
151
|
-
export {
|
|
152
|
-
//# sourceMappingURL=serverQueryTypes-
|
|
160
|
+
export { MobileServerProfilesResponse as a, MobileServerPublicQuerySuccessResponse as c, MobileServerSocialFeedRankedResponse as d, MobileServerSocialFeedResponse as f, MobileServerUsernameAvailabilityResponse as h, MobileServerNotificationPreferencesResponse as i, MobileServerRegisteredWalletResponse as l, MobileServerSocialFeedUpdatesResponse as m, MobileServerFeedResponse as n, MobileServerPublicQueryRequest as o, MobileServerSocialFeedTopTradersResponse as p, MobileServerFollowListResponse as r, MobileServerPublicQueryResponseByType as s, MobileServerAvatarPresetsResponse as t, MobileServerSocialFeedItemResponse as u };
|
|
161
|
+
//# sourceMappingURL=serverQueryTypes-H_mI6fPl.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverQueryTypes-H_mI6fPl.d.cts","names":[],"sources":["../src/types/src/types/serverQueryTypes.ts"],"mappings":";;;;;;;;AAwBA;KAAY,8BAAA,WACA,kCAAA,GACR,kCAAA,YAEI,kCAAA;EACJ,IAAA,EAAM,CAAA;AAAA,IACJ,oCAAA,CAAqC,CAAA,IACzC,CAAA;;;;UAKe,wCAAA;EACf,QAAA;EACA,SAAS;AAAA;;;;UAMM,iCAAA;EAfb;EAiBF,OAAA,EAAS,wBAAwB;AAAA;;;;AAfhC;UAsBc,4BAAA;EACf,QAAA,EAAU,mBAAmB;AAAA;;AAhBpB;AAMX;;UAiBiB,8BAAA;EACf,QAAA,EAAU,6BAA6B;EAhBN;EAkBjC,WAAA;AAAA;;;AAV6B;UAgBd,wBAAA;EACf,MAAA,EAAQ,qBAAqB;;;;;;EAM7B,WAAA;AAAA;AAPF;AAAA,UAWiB,8BAAA;;EAEf,YAAA,EAAc,iCAAA;EAZd;EAcA,KAAA,EAAO,0BAA0B;EARj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ACR,kCAAA,IACA,2BAAA,GAA8B,qCAAA,CAAsC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as MobileSignedInner } from "./types-
|
|
1
|
+
import { U as MobileSocialFeedMarketCategory, nt as MobileSocialFeedType, y as MobileServerNotificationPreferences } from "./serverModelTypes-DAqEyYtB.js";
|
|
2
|
+
import { n as MobileSignedInner } from "./types-B021odcS.js";
|
|
3
3
|
import { Hex } from "viem";
|
|
4
4
|
|
|
5
5
|
//#region src/types/serverRequestTypes.d.ts
|
|
@@ -69,6 +69,8 @@ interface MobileServerSocialFeedReadParams {
|
|
|
69
69
|
* Params for each unsigned `public_query`, keyed by request `type`.
|
|
70
70
|
*/
|
|
71
71
|
interface MobileServerPublicQueryRequestByType {
|
|
72
|
+
/** Ordered server-owned avatar catalogue. */
|
|
73
|
+
avatar_presets: Record<never, never>;
|
|
72
74
|
/** Public recommendations with optional relationship perspective. */
|
|
73
75
|
for_you_feed: MobileServerSocialFeedCategorizedParams & MobileServerSocialFeedReadParams;
|
|
74
76
|
/** Public content from qualified authors. */
|
|
@@ -178,4 +180,4 @@ type MobileServerExecuteRequestType = MobileSignedInner['type'];
|
|
|
178
180
|
type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `execute_${MobileServerExecuteRequestType}`;
|
|
179
181
|
//#endregion
|
|
180
182
|
export { MobileServerPublicExecuteRequestType as a, MobileServerRequestType as c, MobileServerSocialFeedReadParams as d, MobileServerPublicExecuteRequestByType as i, MobileServerSocialFeedCategorizedParams as l, MobileServerFollowListRequest as n, MobileServerPublicQueryRequestByType as o, MobileServerProfilesInclude as r, MobileServerPublicQueryRequestType as s, MobileServerExecuteRequestType as t, MobileServerSocialFeedListParams as u };
|
|
181
|
-
//# sourceMappingURL=serverRequestTypes-
|
|
183
|
+
//# sourceMappingURL=serverRequestTypes-BY0f5woc.d.ts.map
|
|
@@ -0,0 +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gBAAA,YAXA;IAaA,oBAAA,YATA;IAWA,aAAA,kBANA;IAQA,iBAAA,UAJA;IAMA,WAAA,UAFA;IAIA,YAAA,UAAA;IAEA,OAAA;EAAA;EAEF,qBAAA;IAAyB,YAAA;EAAA;EACzB,QAAA;IAME;;;;IADA,WAAA,EAAa,GAAA;IACb,OAAA,GAAU,2BAAA;EAAA;EAEZ,SAAA,EAAW,6BAAA;EACX,SAAA,EAAW,6BAAA;EACX,IAAA;IAcA;;;;IATE,gBAAA,WAU6B;IAR7B,KAAA;IAc0C;;;AACF;IAVxC,MAAA;EAAA;EAEF,wBAAA;IAA4B,UAAA;EAAA;EAC5B,iBAAA;IAAqB,UAAA;EAAA;AAAA;;;AAmB6B;KAbxC,kCAAA,SACJ,oCAAoC;;;;AAoBE;AAQ9C;;UApBiB,sCAAA;EACf,qBAAA;IAAyB,UAAA;EAAA;EACzB,kBAAA;IACE,UAAA;IACA,WAAA,EAAa,mCAAmC;EAAA;AAAA;;;;KAOxC,oCAAA,SACJ,sCAAsC;;;AAmBD;;;;KAXjC,8BAAA,GAAiC,iBAAiB;;;;;;;KAQlD,uBAAA,mBACQ,kCAAA,uBACE,oCAAA,gBACP,8BAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as MobileSignedInner } from "./types-
|
|
1
|
+
import { U as MobileSocialFeedMarketCategory, nt as MobileSocialFeedType, y as MobileServerNotificationPreferences } from "./serverModelTypes-DAqEyYtB.cjs";
|
|
2
|
+
import { n as MobileSignedInner } from "./types-l47aSWtA.cjs";
|
|
3
3
|
import { Hex } from "viem";
|
|
4
4
|
|
|
5
5
|
//#region src/types/serverRequestTypes.d.ts
|
|
@@ -69,6 +69,8 @@ interface MobileServerSocialFeedReadParams {
|
|
|
69
69
|
* Params for each unsigned `public_query`, keyed by request `type`.
|
|
70
70
|
*/
|
|
71
71
|
interface MobileServerPublicQueryRequestByType {
|
|
72
|
+
/** Ordered server-owned avatar catalogue. */
|
|
73
|
+
avatar_presets: Record<never, never>;
|
|
72
74
|
/** Public recommendations with optional relationship perspective. */
|
|
73
75
|
for_you_feed: MobileServerSocialFeedCategorizedParams & MobileServerSocialFeedReadParams;
|
|
74
76
|
/** Public content from qualified authors. */
|
|
@@ -178,4 +180,4 @@ type MobileServerExecuteRequestType = MobileSignedInner['type'];
|
|
|
178
180
|
type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `execute_${MobileServerExecuteRequestType}`;
|
|
179
181
|
//#endregion
|
|
180
182
|
export { MobileServerPublicExecuteRequestType as a, MobileServerRequestType as c, MobileServerSocialFeedReadParams as d, MobileServerPublicExecuteRequestByType as i, MobileServerSocialFeedCategorizedParams as l, MobileServerFollowListRequest as n, MobileServerPublicQueryRequestByType as o, MobileServerProfilesInclude as r, MobileServerPublicQueryRequestType as s, MobileServerExecuteRequestType as t, MobileServerSocialFeedListParams as u };
|
|
181
|
-
//# sourceMappingURL=serverRequestTypes-
|
|
183
|
+
//# sourceMappingURL=serverRequestTypes-DGGqQMK3.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverRequestTypes-DGGqQMK3.d.cts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;;;AAaA;;;UAAiB,2BAAA;EAEf;EAAA,aAAA;EAKmB;;;AAAY;EAA/B,cAAA;IAAmB,OAAA,EAAS,GAAG;EAAA;AAAA;;;;;UAOhB,6BAAA;EAYf;EAVA,UAAA,EAAY,GAAA;EAUP;AAIP;;;;EARE,OAAA,GAAU,GAAG;EAUA;EARb,MAAA;EAYA;EAVA,KAAA;AAAA;;UAIe,gCAAA;EAcA;EAZf,UAAA,GAAa,oBAAoB;;EAEjC,gBAAA;EAU+D;EAR/D,KAAA;EAUkB;EARlB,UAAA;EAQgD;EANhD,MAAA;AAAA;;UAIe,uCAAA,SAAgD,gCAAgC;EAW/F;EATA,eAAA,GAAkB,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B,UAAA;EAAA;EACzB,kBAAA;IACE,UAAA;IACA,WAAA,EAAa,mCAAmC;EAAA;AAAA;;;;KAOxC,oCAAA,SACJ,sCAAsC;;;AAmBD;;;;KAXjC,8BAAA,GAAiC,iBAAiB;;;;;;;KAQlD,uBAAA,mBACQ,kCAAA,uBACE,oCAAA,gBACP,8BAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as MobileServerFailureResponse } from "./serverBaseTypes-
|
|
1
|
+
import { t as MobileServerFailureResponse } from "./serverBaseTypes-CWBdZomv.js";
|
|
2
2
|
|
|
3
3
|
//#region src/utils/serverResponseGuards.d.ts
|
|
4
4
|
/**
|
|
@@ -13,4 +13,4 @@ declare function isMobileServerSuccessResponse<T extends {
|
|
|
13
13
|
}>(data: unknown): data is T;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { isMobileServerSuccessResponse as n, isMobileServerFailureResponse as t };
|
|
16
|
-
//# sourceMappingURL=serverResponseGuards-
|
|
16
|
+
//# sourceMappingURL=serverResponseGuards-BGHTBbtz.d.ts.map
|
package/dist/{serverResponseGuards-DY_8lAo7.d.ts.map → serverResponseGuards-BGHTBbtz.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverResponseGuards-
|
|
1
|
+
{"version":3,"file":"serverResponseGuards-BGHTBbtz.d.ts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as MobileServerFailureResponse } from "./serverBaseTypes-
|
|
1
|
+
import { t as MobileServerFailureResponse } from "./serverBaseTypes-CcWT_ZBe.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/utils/serverResponseGuards.d.ts
|
|
4
4
|
/**
|
|
@@ -13,4 +13,4 @@ declare function isMobileServerSuccessResponse<T extends {
|
|
|
13
13
|
}>(data: unknown): data is T;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { isMobileServerSuccessResponse as n, isMobileServerFailureResponse as t };
|
|
16
|
-
//# sourceMappingURL=serverResponseGuards-
|
|
16
|
+
//# sourceMappingURL=serverResponseGuards-DGhrUL_c.d.cts.map
|
package/dist/{serverResponseGuards-DIj9MIrJ.d.cts.map → serverResponseGuards-DGhrUL_c.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverResponseGuards-
|
|
1
|
+
{"version":3,"file":"serverResponseGuards-DGhrUL_c.d.cts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-
|
|
1
|
+
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DBWN0z0u.cjs";
|
|
2
2
|
export { buildSignedMobileRequest };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-
|
|
1
|
+
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-lSIJmG6D.js";
|
|
2
2
|
export { buildSignedMobileRequest };
|
|
@@ -9,6 +9,31 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
9
9
|
*/
|
|
10
10
|
function canonicalizeMobileInner(inner) {
|
|
11
11
|
switch (inner.type) {
|
|
12
|
+
case "set_bio": return {
|
|
13
|
+
type: "set_bio",
|
|
14
|
+
bio: inner.bio
|
|
15
|
+
};
|
|
16
|
+
case "create_avatar_upload": return {
|
|
17
|
+
type: "create_avatar_upload",
|
|
18
|
+
content_length: inner.content_length
|
|
19
|
+
};
|
|
20
|
+
case "set_avatar": {
|
|
21
|
+
const avatar = inner.avatar;
|
|
22
|
+
if (avatar === null) return {
|
|
23
|
+
type: "set_avatar",
|
|
24
|
+
avatar: null
|
|
25
|
+
};
|
|
26
|
+
return {
|
|
27
|
+
type: "set_avatar",
|
|
28
|
+
avatar: avatar.type === "preset" ? {
|
|
29
|
+
type: "preset",
|
|
30
|
+
id: avatar.id
|
|
31
|
+
} : {
|
|
32
|
+
type: "upload",
|
|
33
|
+
upload_key: avatar.upload_key
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
}
|
|
12
37
|
case "set_username": return {
|
|
13
38
|
type: "set_username",
|
|
14
39
|
display_name: inner.display_name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonicalize.cjs","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case 'register_expo_token':\n return {\n type: 'register_expo_token',\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n };\n case 'set_follow':\n return {\n type: 'set_follow',\n subaccount: inner.subaccount,\n is_following: inner.is_following,\n };\n default: {\n throw new Error(\n `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,\n );\n }\n }\n}\n"],"mappings":";;;;;;;;;AASA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,gBACH,OAAO;GAAE,MAAM;GAAgB,cAAc,MAAM;EAAa;EAClE,KAAK,oBACH,OAAO;GAAE,MAAM;GAAoB,cAAc,MAAM;EAAa;EACtE,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;EACF,KAAK,cACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,cAAc,MAAM;EACtB;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
|
|
1
|
+
{"version":3,"file":"canonicalize.cjs","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_bio':\n return { type: 'set_bio', bio: inner.bio };\n case 'create_avatar_upload':\n return {\n type: 'create_avatar_upload',\n content_length: inner.content_length,\n };\n case 'set_avatar': {\n const avatar = inner.avatar;\n if (avatar === null) {\n return { type: 'set_avatar', avatar: null };\n }\n return {\n type: 'set_avatar',\n avatar:\n avatar.type === 'preset'\n ? { type: 'preset', id: avatar.id }\n : { type: 'upload', upload_key: avatar.upload_key },\n };\n }\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case 'register_expo_token':\n return {\n type: 'register_expo_token',\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n };\n case 'set_follow':\n return {\n type: 'set_follow',\n subaccount: inner.subaccount,\n is_following: inner.is_following,\n };\n default: {\n throw new Error(\n `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,\n );\n }\n }\n}\n"],"mappings":";;;;;;;;;AASA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,WACH,OAAO;GAAE,MAAM;GAAW,KAAK,MAAM;EAAI;EAC3C,KAAK,wBACH,OAAO;GACL,MAAM;GACN,gBAAgB,MAAM;EACxB;EACF,KAAK,cAAc;GACjB,MAAM,SAAS,MAAM;GACrB,IAAI,WAAW,MACb,OAAO;IAAE,MAAM;IAAc,QAAQ;GAAK;GAE5C,OAAO;IACL,MAAM;IACN,QACE,OAAO,SAAS,WACZ;KAAE,MAAM;KAAU,IAAI,OAAO;IAAG,IAChC;KAAE,MAAM;KAAU,YAAY,OAAO;IAAW;GACxD;EACF;EACA,KAAK,gBACH,OAAO;GAAE,MAAM;GAAgB,cAAc,MAAM;EAAa;EAClE,KAAK,oBACH,OAAO;GAAE,MAAM;GAAoB,cAAc,MAAM;EAAa;EACtE,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;EACF,KAAK,cACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,cAAc,MAAM;EACtB;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as canonicalizeMobileInner } from "../canonicalize-
|
|
1
|
+
import { t as canonicalizeMobileInner } from "../canonicalize-DNgB8Jsm.cjs";
|
|
2
2
|
export { canonicalizeMobileInner };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as canonicalizeMobileInner } from "../canonicalize-
|
|
1
|
+
import { t as canonicalizeMobileInner } from "../canonicalize-Cx3lCVpm.js";
|
|
2
2
|
export { canonicalizeMobileInner };
|
|
@@ -8,6 +8,31 @@
|
|
|
8
8
|
*/
|
|
9
9
|
function canonicalizeMobileInner(inner) {
|
|
10
10
|
switch (inner.type) {
|
|
11
|
+
case "set_bio": return {
|
|
12
|
+
type: "set_bio",
|
|
13
|
+
bio: inner.bio
|
|
14
|
+
};
|
|
15
|
+
case "create_avatar_upload": return {
|
|
16
|
+
type: "create_avatar_upload",
|
|
17
|
+
content_length: inner.content_length
|
|
18
|
+
};
|
|
19
|
+
case "set_avatar": {
|
|
20
|
+
const avatar = inner.avatar;
|
|
21
|
+
if (avatar === null) return {
|
|
22
|
+
type: "set_avatar",
|
|
23
|
+
avatar: null
|
|
24
|
+
};
|
|
25
|
+
return {
|
|
26
|
+
type: "set_avatar",
|
|
27
|
+
avatar: avatar.type === "preset" ? {
|
|
28
|
+
type: "preset",
|
|
29
|
+
id: avatar.id
|
|
30
|
+
} : {
|
|
31
|
+
type: "upload",
|
|
32
|
+
upload_key: avatar.upload_key
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
}
|
|
11
36
|
case "set_username": return {
|
|
12
37
|
type: "set_username",
|
|
13
38
|
display_name: inner.display_name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonicalize.js","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case 'register_expo_token':\n return {\n type: 'register_expo_token',\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n };\n case 'set_follow':\n return {\n type: 'set_follow',\n subaccount: inner.subaccount,\n is_following: inner.is_following,\n };\n default: {\n throw new Error(\n `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,\n );\n }\n }\n}\n"],"mappings":";;;;;;;;AASA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,gBACH,OAAO;GAAE,MAAM;GAAgB,cAAc,MAAM;EAAa;EAClE,KAAK,oBACH,OAAO;GAAE,MAAM;GAAoB,cAAc,MAAM;EAAa;EACtE,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;EACF,KAAK,cACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,cAAc,MAAM;EACtB;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
|
|
1
|
+
{"version":3,"file":"canonicalize.js","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_bio':\n return { type: 'set_bio', bio: inner.bio };\n case 'create_avatar_upload':\n return {\n type: 'create_avatar_upload',\n content_length: inner.content_length,\n };\n case 'set_avatar': {\n const avatar = inner.avatar;\n if (avatar === null) {\n return { type: 'set_avatar', avatar: null };\n }\n return {\n type: 'set_avatar',\n avatar:\n avatar.type === 'preset'\n ? { type: 'preset', id: avatar.id }\n : { type: 'upload', upload_key: avatar.upload_key },\n };\n }\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case 'register_expo_token':\n return {\n type: 'register_expo_token',\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n };\n case 'set_follow':\n return {\n type: 'set_follow',\n subaccount: inner.subaccount,\n is_following: inner.is_following,\n };\n default: {\n throw new Error(\n `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,\n );\n }\n }\n}\n"],"mappings":";;;;;;;;AASA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,WACH,OAAO;GAAE,MAAM;GAAW,KAAK,MAAM;EAAI;EAC3C,KAAK,wBACH,OAAO;GACL,MAAM;GACN,gBAAgB,MAAM;EACxB;EACF,KAAK,cAAc;GACjB,MAAM,SAAS,MAAM;GACrB,IAAI,WAAW,MACb,OAAO;IAAE,MAAM;IAAc,QAAQ;GAAK;GAE5C,OAAO;IACL,MAAM;IACN,QACE,OAAO,SAAS,WACZ;KAAE,MAAM;KAAU,IAAI,OAAO;IAAG,IAChC;KAAE,MAAM;KAAU,YAAY,OAAO;IAAW;GACxD;EACF;EACA,KAAK,gBACH,OAAO;GAAE,MAAM;GAAgB,cAAc,MAAM;EAAa;EAClE,KAAK,oBACH,OAAO;GAAE,MAAM;GAAoB,cAAc,MAAM;EAAa;EACtE,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;EACF,KAAK,cACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,cAAc,MAAM;EACtB;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
|
|
@@ -4,6 +4,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
4
4
|
* EIP-712 `method` string for each signed inner payload type.
|
|
5
5
|
*/
|
|
6
6
|
const MOBILE_EIP712_METHOD_BY_TYPE = {
|
|
7
|
+
set_bio: "mobile:execute_set_bio",
|
|
8
|
+
create_avatar_upload: "mobile:execute_create_avatar_upload",
|
|
9
|
+
set_avatar: "mobile:execute_set_avatar",
|
|
7
10
|
set_username: "mobile:execute_set_username",
|
|
8
11
|
set_private_mode: "mobile:execute_set_private_mode",
|
|
9
12
|
register_expo_token: "mobile:execute_register_expo_token",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eip712MethodByType.cjs","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n set_follow: 'mobile:execute_set_follow',\n};\n"],"mappings":";;;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,qBAAqB;CACrB,YAAY;AACd"}
|
|
1
|
+
{"version":3,"file":"eip712MethodByType.cjs","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_bio: 'mobile:execute_set_bio',\n create_avatar_upload: 'mobile:execute_create_avatar_upload',\n set_avatar: 'mobile:execute_set_avatar',\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n set_follow: 'mobile:execute_set_follow',\n};\n"],"mappings":";;;;;AAKA,MAAa,+BAGT;CACF,SAAS;CACT,sBAAsB;CACtB,YAAY;CACZ,cAAc;CACd,kBAAkB;CAClB,qBAAqB;CACrB,YAAY;AACd"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-
|
|
1
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-T7dfjmC_.cjs";
|
|
2
2
|
export { MOBILE_EIP712_METHOD_BY_TYPE };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-
|
|
1
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-Bmu9PYx6.js";
|
|
2
2
|
export { MOBILE_EIP712_METHOD_BY_TYPE };
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* EIP-712 `method` string for each signed inner payload type.
|
|
4
4
|
*/
|
|
5
5
|
const MOBILE_EIP712_METHOD_BY_TYPE = {
|
|
6
|
+
set_bio: "mobile:execute_set_bio",
|
|
7
|
+
create_avatar_upload: "mobile:execute_create_avatar_upload",
|
|
8
|
+
set_avatar: "mobile:execute_set_avatar",
|
|
6
9
|
set_username: "mobile:execute_set_username",
|
|
7
10
|
set_private_mode: "mobile:execute_set_private_mode",
|
|
8
11
|
register_expo_token: "mobile:execute_register_expo_token",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eip712MethodByType.js","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n set_follow: 'mobile:execute_set_follow',\n};\n"],"mappings":";;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,qBAAqB;CACrB,YAAY;AACd"}
|
|
1
|
+
{"version":3,"file":"eip712MethodByType.js","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_bio: 'mobile:execute_set_bio',\n create_avatar_upload: 'mobile:execute_create_avatar_upload',\n set_avatar: 'mobile:execute_set_avatar',\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n set_follow: 'mobile:execute_set_follow',\n};\n"],"mappings":";;;;AAKA,MAAa,+BAGT;CACF,SAAS;CACT,sBAAsB;CACtB,YAAY;CACZ,cAAc;CACd,kBAAkB;CAClB,qBAAqB;CACrB,YAAY;AACd"}
|
package/dist/signing/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-
|
|
2
|
-
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-
|
|
3
|
-
import { t as canonicalizeMobileInner } from "../canonicalize-
|
|
4
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-
|
|
1
|
+
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-l47aSWtA.cjs";
|
|
2
|
+
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DBWN0z0u.cjs";
|
|
3
|
+
import { t as canonicalizeMobileInner } from "../canonicalize-DNgB8Jsm.cjs";
|
|
4
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-T7dfjmC_.cjs";
|
|
5
5
|
import { t as getMobileNonce } from "../nonce-7swNuPgu.cjs";
|
|
6
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
6
|
+
import { t as getMobilePayloadHash } from "../payloadHash-Brc5ceFq.cjs";
|
|
7
7
|
export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
|
package/dist/signing/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-
|
|
2
|
-
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-
|
|
3
|
-
import { t as canonicalizeMobileInner } from "../canonicalize-
|
|
4
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-
|
|
1
|
+
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-B021odcS.js";
|
|
2
|
+
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-lSIJmG6D.js";
|
|
3
|
+
import { t as canonicalizeMobileInner } from "../canonicalize-Cx3lCVpm.js";
|
|
4
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-Bmu9PYx6.js";
|
|
5
5
|
import { t as getMobileNonce } from "../nonce-7swNuPgu.js";
|
|
6
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
6
|
+
import { t as getMobilePayloadHash } from "../payloadHash-cZgv7NSo.js";
|
|
7
7
|
export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
1
|
+
import { t as getMobilePayloadHash } from "../payloadHash-Brc5ceFq.cjs";
|
|
2
2
|
export { getMobilePayloadHash };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
1
|
+
import { t as getMobilePayloadHash } from "../payloadHash-cZgv7NSo.js";
|
|
2
2
|
export { getMobilePayloadHash };
|
package/dist/signing/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-
|
|
1
|
+
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-l47aSWtA.cjs";
|
|
2
2
|
export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest };
|
package/dist/signing/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-
|
|
1
|
+
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-B021odcS.js";
|
|
2
2
|
export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-
|
|
1
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-kbMi1Ntc.cjs";
|
|
2
2
|
export { MobileServerFailureError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-
|
|
1
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-DvtkMAVX.js";
|
|
2
2
|
export { MobileServerFailureError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionCard, MobileSocialFeedPositionPatch, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
|
|
1
|
+
import { $ as MobileSocialFeedListParams, A as MobileNotificationPreferenceScope, B as MobileSetUsernameParams, C as MobileFeedTrade, D as MobileFollowSummary, E as MobileFollowMutationResult, F as MobileRegisteredWallet, G as MobileSocialFeedCohort, H as MobileSocialFeedAuthor, I as MobileSetAvatarParams, J as MobileSocialFeedInteraction, K as MobileSocialFeedCohortCoverage, L as MobileSetBioParams, M as MobileProfilesInclude, N as MobilePublicProfile, O as MobileIdentitySummary, P as MobileRegisterExpoTokenParams, Q as MobileSocialFeedItemResponse, R as MobileSetFollowParams, S as MobileFeedPage, T as MobileFollowListPage, U as MobileSocialFeedCapabilities, V as MobileSignedRequestParams, W as MobileSocialFeedCategorizedParams, X as MobileSocialFeedItemBase, Y as MobileSocialFeedItem, Z as MobileSocialFeedItemPatch, _ as MobileAvatarPreset, _t as MobileUsernameAvailability, a as GetMobileFollowersParams, at as MobileSocialFeedRankedPage, b as MobileCreateAvatarUploadParams, c as GetMobileFriendsFeedParams, ct as MobileSocialFeedTopTradersPage, d as GetMobilePositionFeedParams, dt as MobileSocialFeedTradeRowBase, et as MobileSocialFeedMarket, f as GetMobileProfileFeedParams, ft as MobileSocialFeedTraderBadge, g as GetMobileUsernameAvailabilityParams, gt as MobileUpdateNotificationPreferencesParams, h as GetMobileTopTradersFeedParams, ht as MobileUnregisterExpoTokenParams, i as GetMobileFollowListParams, it as MobileSocialFeedPositionPatch, j as MobileNotificationPreferences, k as MobileNotificationCategoryPreference, l as GetMobileMarketFeedParams, lt as MobileSocialFeedTradeCard, m as GetMobileRegisteredWalletParams, mt as MobileSocialFeedViewTracking, n as GetMobileFeedParams, nt as MobileSocialFeedPnl, o as GetMobileFollowingParams, ot as MobileSocialFeedReadParams, p as GetMobileProfilesParams, pt as MobileSocialFeedUpdates, q as MobileSocialFeedCommentPreview, r as GetMobileFeedUpdatesParams, rt as MobileSocialFeedPositionCard, s as GetMobileForYouFeedParams, st as MobileSocialFeedReadSession, t as GetMobileFeedItemParams, tt as MobileSocialFeedPage, u as GetMobileNotificationPreferencesParams, ut as MobileSocialFeedTradeRow, v as MobileAvatarSelection, vt as MobileWithExpoTokenParams, w as MobileFollowListAccount, x as MobileFeedMargin, y as MobileAvatarUpload, z as MobileSetPrivateModeParams } from "../clientTypes-DnPE1zZO.cjs";
|
|
2
|
+
export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionCard, MobileSocialFeedPositionPatch, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionCard, MobileSocialFeedPositionPatch, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
|
|
1
|
+
import { $ as MobileSocialFeedListParams, A as MobileNotificationPreferenceScope, B as MobileSetUsernameParams, C as MobileFeedTrade, D as MobileFollowSummary, E as MobileFollowMutationResult, F as MobileRegisteredWallet, G as MobileSocialFeedCohort, H as MobileSocialFeedAuthor, I as MobileSetAvatarParams, J as MobileSocialFeedInteraction, K as MobileSocialFeedCohortCoverage, L as MobileSetBioParams, M as MobileProfilesInclude, N as MobilePublicProfile, O as MobileIdentitySummary, P as MobileRegisterExpoTokenParams, Q as MobileSocialFeedItemResponse, R as MobileSetFollowParams, S as MobileFeedPage, T as MobileFollowListPage, U as MobileSocialFeedCapabilities, V as MobileSignedRequestParams, W as MobileSocialFeedCategorizedParams, X as MobileSocialFeedItemBase, Y as MobileSocialFeedItem, Z as MobileSocialFeedItemPatch, _ as MobileAvatarPreset, _t as MobileUsernameAvailability, a as GetMobileFollowersParams, at as MobileSocialFeedRankedPage, b as MobileCreateAvatarUploadParams, c as GetMobileFriendsFeedParams, ct as MobileSocialFeedTopTradersPage, d as GetMobilePositionFeedParams, dt as MobileSocialFeedTradeRowBase, et as MobileSocialFeedMarket, f as GetMobileProfileFeedParams, ft as MobileSocialFeedTraderBadge, g as GetMobileUsernameAvailabilityParams, gt as MobileUpdateNotificationPreferencesParams, h as GetMobileTopTradersFeedParams, ht as MobileUnregisterExpoTokenParams, i as GetMobileFollowListParams, it as MobileSocialFeedPositionPatch, j as MobileNotificationPreferences, k as MobileNotificationCategoryPreference, l as GetMobileMarketFeedParams, lt as MobileSocialFeedTradeCard, m as GetMobileRegisteredWalletParams, mt as MobileSocialFeedViewTracking, n as GetMobileFeedParams, nt as MobileSocialFeedPnl, o as GetMobileFollowingParams, ot as MobileSocialFeedReadParams, p as GetMobileProfilesParams, pt as MobileSocialFeedUpdates, q as MobileSocialFeedCommentPreview, r as GetMobileFeedUpdatesParams, rt as MobileSocialFeedPositionCard, s as GetMobileForYouFeedParams, st as MobileSocialFeedReadSession, t as GetMobileFeedItemParams, tt as MobileSocialFeedPage, u as GetMobileNotificationPreferencesParams, ut as MobileSocialFeedTradeRow, v as MobileAvatarSelection, vt as MobileWithExpoTokenParams, w as MobileFollowListAccount, x as MobileFeedMargin, y as MobileAvatarUpload, z as MobileSetPrivateModeParams } from "../clientTypes-ws9CDHw4.js";
|
|
2
|
+
export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionCard, MobileSocialFeedPositionPatch, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
|