@metamask-previews/social-controllers 3.22.0-preview-0c3bae2bd → 3.22.0-preview-dec55d1fc

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/CHANGELOG.md CHANGED
@@ -7,12 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ### Added
11
-
12
- - Add optional `verified` to `ProfileIdentity` and `ProfileIdentityStruct` ([#11670](https://github.com/MetaMask/core/pull/11670))
13
- - Every profile shape that carries the Profile API identity gets it: `ProfileSummary`, `FeedActorSummary`, `LeaderboardEntry` and `TraderProfile`, including realtime feed actors.
14
- - Responses without it still validate. Treat a missing or `null` value as not verified.
15
-
16
10
  ### Changed
17
11
 
18
12
  - Bump `@metamask/profile-sync-controller` from `^36.1.1` to `^36.1.2` ([#11474](https://github.com/MetaMask/core/pull/11474))
@@ -16,7 +16,6 @@ export declare const ProfileIdentityStruct: import("@metamask/superstruct").Stru
16
16
  createdAt?: string | null | undefined;
17
17
  updatedAt?: string | null | undefined;
18
18
  connectedToX?: boolean | null | undefined;
19
- verified?: boolean | null | undefined;
20
19
  tradingPrivacy?: "private" | "public" | null | undefined;
21
20
  }, {
22
21
  /**
@@ -33,8 +32,6 @@ export declare const ProfileIdentityStruct: import("@metamask/superstruct").Stru
33
32
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
34
33
  /** Whether the owner linked an X account on their MetaMask profile. */
35
34
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
36
- /** Whether the MetaMask Profile API verified the owner. */
37
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
38
35
  /** The owner's trading privacy. A private profile's addresses are withheld. */
39
36
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
40
37
  private: "private";
@@ -1 +1 @@
1
- {"version":3,"file":"social-types.d.ts","sourceRoot":"","sources":["../src/social-types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ACxE,kBAAkB,EAAE,gBAAgB,EAAE,CAAC;IACvC,iDAAiD;IACjD,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,wEAAwE;IACxE,mBAAmB,EAAE,MAAM,EAAE,CAAC;CAC/B,CAAC"}
@@ -26,8 +26,6 @@ export const ProfileIdentityStruct = structType({
26
26
  updatedAt: optional(nullable(string())),
27
27
  /** Whether the owner linked an X account on their MetaMask profile. */
28
28
  connectedToX: optional(nullable(boolean())),
29
- /** Whether the MetaMask Profile API verified the owner. */
30
- verified: optional(nullable(boolean())),
31
29
  /** The owner's trading privacy. A private profile's addresses are withheld. */
32
30
  tradingPrivacy: optional(nullable(enums(TRADING_PRIVACY_VALUES))),
33
31
  });
@@ -1 +1 @@
1
- {"version":3,"file":"social-types.js","sourceRoot":"","sources":["../src/social-types.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EACL,OAAO,EACP,KAAK,EACL,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,MAAM,EACN,MAAM,EACN,IAAI,IAAI,UAAU,GACnB,MAAM,uBAAuB,CAAC;AAG/B,8EAA8E;AAC9E,mBAAmB;AACnB,8EAA8E;AAE9E,mEAAmE;AACnE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,QAAQ,EAAE,SAAS,CAAU,CAAC;AAIrE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,UAAU,CAAC;IAC9C;;;;OAIG;IACH,WAAW,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IACzC,mFAAmF;IACnF,GAAG,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IACjC,uEAAuE;IACvE,SAAS,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IACvC,mFAAmF;IACnF,SAAS,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IACvC,uEAAuE;IAC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ruct';\nimport {\n array,\n boolean,\n enums,\n nullable,\n number,\n optional,\n record,\n string,\n type as structType,\n} from '@metamask/superstruct';\nimport type { CaipAssetTypeOrId } from '@metamask/utils';\n\n// ---------------------------------------------------------------------------\n// Shared sub-types\n// ---------------------------------------------------------------------------\n\n/** Values for `ProfileIdentity.tradingPrivacy` from social-api. */\nexport const TRADING_PRIVACY_VALUES = ['public', 'private'] as const;\n\nexport type TradingPrivacy = (typeof TRADING_PRIVACY_VALUES)[number];\n\n/**\n * The MetaMask Profile API identity social-api serves beside `name` on every\n * profile, so clients need not call the Profile API themselves.\n *\n * Every field is omitted when the profile has no value, and on older\n * social-api builds. Only MetaMask-linked profiles carry them.\n */\nexport const ProfileIdentityStruct = structType({\n /**\n * Display name set on the Profile API. Free text that anyone can copy, so\n * show it beside `name`, never in its place. Omitted when the profile's text\n * is flagged NSFW.\n */\n displayName: optional(nullable(string())),\n /** Bio set on the Profile API. Omitted when the profile's text is flagged NSFW. */\n bio: optional(nullable(string())),\n /** When the MetaMask profile was created, as an ISO-8601 timestamp. */\n createdAt: optional(nullable(string())),\n /** When the owner last edited their MetaMask profile, as an ISO-8601 timestamp. */\n updatedAt: optional(nullable(string())),\n /** Whether the owner linked an X account on their MetaMask profile. */\n connectedToX: optional(nullable(boolean())),\n /** Whether the MetaMask Profile API verified the owner. */\n verified: optional(nullable(boolean())),\n /** The owner's trading privacy. A private profile's addresses are withheld. */\n tradingPrivacy: optional(nullable(enums(TRADING_PRIVACY_VALUES))),\n});\n\nexport type ProfileIdentity = Infer<typeof ProfileIdentityStruct>;\n\n/**\n * Minimal profile summary used across follow/follower responses.\n */\nexport type ProfileSummary = ProfileIdentity & {\n /** Clicker profile ID (UUID). */\n profileId: string;\n /** Primary wallet address. */\n address: string;\n /** Username, or truncated address when the profile has none. */\n name: string;\n /** Profile avatar URL. */\n imageUrl?: string | null;\n};\n\n/**\n * Trader attached to a feed item. Extends {@link ProfileSummary} with the\n * profile stats the feed hydrator already loaded and used to drop.\n *\n * Every field is optional: a social-api that predates them omits the keys,\n * and `null` means the window has no data (distinct from \"not sent\").\n */\nexport type FeedActorSummary = ProfileSummary & {\n /** 30-day win rate as a 0–1 ratio. */\n winRate30d?: number | null;\n /** 30-day realized PnL in USD. */\n pnl30d?: number | null;\n /** 30-day trading volume in USD, totaled across all chains. */\n volumeUsd30d?: number | null;\n /** 7-day trading volume in USD, totaled across all chains. */\n volumeUsd7d?: number | null;\n /** 30-day sell count behind `winRate30d`. */\n tradeCount30d?: number | null;\n /** Profiles following this trader. */\n followerCount?: number | null;\n};\n\n/**\n * Social media handles attached to a trader profile.\n */\nexport type SocialHandles = {\n twitter?: string | null;\n farcaster?: string | null;\n ens?: string | null;\n lens?: string | null;\n};\n\n/**\n * Where a fill sits in its position's lifecycle.\n *\n * Deliberately asset-agnostic so the classification is computed once, upstream:\n * clients render `opened / added / reduced / closed` for perps and\n * `bought / bought more / sold some / sold all` for spot from the same value.\n *\n * Distinct from `intent`, which only says whether the fill grew or shrank the\n * position — `intent: 'exit'` covers both a partial trim and a full close.\n */\nexport type TradeAction = 'opened' | 'added' | 'reduced' | 'closed';\n\nexport const CommentReactionProfileStruct = structType({\n id: string(),\n name: string(),\n});\n\nexport const CommentEngagementStruct = structType({\n reactions: array(\n structType({\n emotion: string(),\n count: number(),\n profiles: array(CommentReactionProfileStruct),\n }),\n ),\n userReaction: nullable(string()),\n replyCount: optional(number()),\n});\n\nexport const AuthorCommentStruct = structType({\n uid: string(),\n text: string(),\n timestamp: number(),\n sourceLanguage: optional(nullable(string())),\n translations: optional(record(string(), string())),\n engagement: CommentEngagementStruct,\n});\n\nexport const TradeStruct = structType({\n direction: enums(['buy', 'sell']),\n intent: enums(['enter', 'exit']),\n /**\n * Lifecycle stage of this fill. Absent on responses from a social-api that\n * predates the field, so treat it as a hint and keep a client-side fallback.\n */\n action: optional(enums(['opened', 'added', 'reduced', 'closed'])),\n category: optional(string()),\n /** High-level trade classification. `null` when Clicker does not classify. */\n classification: optional(\n nullable(enums(['spot', 'perp', 'send', 'receive'])),\n ),\n /** Perp side for this fill. `null` for spot trades. */\n perpPositionType: optional(nullable(enums(['long', 'short']))),\n /** Leverage multiplier for perp trades (e.g. `5` for 5x). `null` for spot. */\n perpLeverage: optional(nullable(number())),\n tokenAmount: number(),\n usdCost: number(),\n /** Token market cap in USD at trade time. `null` when Clicker has no mark. */\n marketCap: optional(nullable(number())),\n timestamp: number(),\n transactionHash: string(),\n /**\n * Every author comment on this fill, newest first. An author may comment on\n * one fill more than once. Absent on older social-api builds.\n */\n comments: optional(array(AuthorCommentStruct)),\n});\n\nexport type Trade = Infer<typeof TradeStruct>;\n\n// ---------------------------------------------------------------------------\n// Leaderboard\n// ---------------------------------------------------------------------------\n\n/**\n * A single entry in the leaderboard response.\n */\nexport type LeaderboardEntry = ProfileIdentity & {\n rank: number;\n addresses: string[];\n profileId: string;\n name: string;\n imageUrl?: string | null;\n pnl30d: number;\n winRate30d?: number | null;\n /** Renamed from roi30d. */\n roiPercent30d?: number | null;\n /** Renamed from tradeCount. */\n tradeCount30d?: number | null;\n pnl7d?: number | null;\n winRate7d?: number | null;\n roiPercent7d?: number | null;\n tradeCount7d?: number | null;\n /**\n * 30-day trading volume in USD. When the request includes `chains`, this is\n * the sum of those chains; otherwise it is the all-chain total.\n */\n volumeUsd30d?: number | null;\n /**\n * 7-day trading volume in USD. When the request includes `chains`, this is\n * the sum of those chains; otherwise it is the all-chain total.\n */\n volumeUsd7d?: number | null;\n pnlPerChain: Record<string, number>;\n followerCount: number;\n socialHandles: SocialHandles;\n};\n\n/**\n * Response from `GET /v1/leaderboard`.\n */\nexport type LeaderboardResponse = {\n traders: LeaderboardEntry[];\n};\n\n// ---------------------------------------------------------------------------\n// Trader profile\n// ---------------------------------------------------------------------------\n\n/**\n * Position flag for a wallet/token pair Codex marked as an insider.\n *\n * Those positions are excluded from the trader's realized PnL, and clients\n * must not offer copy-trade on them.\n */\nexport const INSIDER_POSITION_FLAG = 'insider' as const;\n\n/** Known position flag value `developer`. */\nexport const DEVELOPER_POSITION_FLAG = 'developer' as const;\n\n/**\n * Position flag for a token that social-api excludes from PnL for every\n * trader.\n *\n * Those positions are still returned, but they do not count toward the\n * trader's realized PnL. A position can carry this flag alongside\n * {@link INSIDER_POSITION_FLAG}.\n */\nexport const UNSUPPORTED_TOKEN_POSITION_FLAG = 'unsupported-token' as const;\n\n/** Values for `TraderProfileResponse.rankingTag` from social-api. */\nexport const TRADER_RANKING_TAGS = ['shrimp', 'dolphin', 'whale'] as const;\n\nexport type TraderRankingTag = (typeof TRADER_RANKING_TAGS)[number];\n\nexport type TraderProfile = Omit<ProfileIdentity, 'createdAt'> & {\n profileId: string;\n address: string;\n allAddresses: string[];\n name: string;\n imageUrl?: string | null;\n /**\n * When the MetaMask profile was created, as an ISO-8601 timestamp. Omitted\n * for external profiles and on older social-api builds, which sent the\n * social-api row insert time instead.\n */\n createdAt?: string | null;\n};\n\nexport type TraderStats = {\n pnl30d?: number | null;\n winRate30d?: number | null;\n /** Renamed from roi30d. */\n roiPercent30d?: number | null;\n /** Renamed from tradeCount. */\n tradeCount30d?: number | null;\n /** 30-day trading volume in USD. */\n volumeUsd30d?: number | null;\n pnl7d?: number | null;\n winRate7d?: number | null;\n roiPercent7d?: number | null;\n tradeCount7d?: number | null;\n /** Median holding time in minutes. */\n medianHoldMinutes?: number | null;\n};\n\nexport type CopytradedAllTime = {\n count: number;\n volumeUSD: number;\n distinctActors: number;\n};\n\nexport type PerChainBreakdown = {\n perChainPnl: Record<string, number>;\n /** ROI can be null for chains with no trading activity (zero cost-basis). */\n perChainRoi: Record<string, number | null>;\n perChainVolume: Record<string, number>;\n /**\n * 7-day per-chain PnL in USD. Optional: older social-api versions only\n * return the 30-day breakdown (`perChainPnl`). The unsuffixed fields above\n * remain the 30-day window for backward compatibility.\n */\n perChainPnl7d?: Record<string, number>;\n /** 7-day per-chain ROI. Null for chains with no trading activity. */\n perChainRoi7d?: Record<string, number | null>;\n /** 7-day per-chain volume in USD. */\n perChainVolume7d?: Record<string, number>;\n};\n\n/**\n * Response from `GET /v1/traders/:addressOrId/profile`.\n */\nexport type TraderProfileResponse = {\n profile: TraderProfile;\n stats: TraderStats;\n perChainBreakdown: PerChainBreakdown;\n socialHandles: SocialHandles;\n followerCount: number;\n followingCount: number;\n /**\n * Linked copy-swap stats for this trader. Social-api always sends zeros\n * when there are none.\n */\n copytradedAllTime: CopytradedAllTime;\n /**\n * Backend-derived tier from the Auth primary account 30d PnL. Omitted on older\n * social-api builds; `null` when unclaimed or activity is insufficient.\n */\n rankingTag?: TraderRankingTag | null;\n};\n\n// ---------------------------------------------------------------------------\n// Positions\n// ---------------------------------------------------------------------------\n\nexport type Position = {\n positionId: string;\n tokenSymbol: string;\n tokenName: string;\n tokenAddress: string;\n chain: string;\n positionAmount: number;\n /**\n * Whether the position still carries exposure. Clicker's own verdict, which\n * beats a `positionAmount === 0` check: it survives precision dust and\n * distinguishes \"no position\" from \"a position of size ~0\". Absent on\n * responses from a social-api that predates the field.\n */\n isOpen?: boolean;\n /**\n * Total USD spent buying into the position. `null` when Clicker stats are\n * incomplete (the social-api used to JSON-serialize `NaN` as `null`).\n */\n boughtUsd: number | null;\n /** Total USD received from sells. `null` when stats are incomplete. */\n soldUsd: number | null;\n /** Realized profit or loss in USD. `null` when stats are incomplete. */\n realizedPnl: number | null;\n /**\n * USD cost basis of the remaining holdings. `null` when stats are incomplete.\n */\n costBasis: number | null;\n trades: Trade[];\n lastTradeAt: number;\n /** Daylight-hosted token image URL. */\n tokenImageUrl?: string | null;\n /** Current USD value of the remaining position (open positions only). */\n currentValueUSD?: number | null;\n /** Unrealized + realized PnL in USD. */\n pnlValueUsd?: number | null;\n /**\n * USD size of the position. For perps this is the leveraged notional,\n * `|positionAmountWithLeverage|` × mark price, which is the key social-api\n * ranks an asset's holders by. For spot it equals `currentValueUSD`; `0` for\n * closed positions. Absent when no price is available, and on social-api\n * builds that predate the field.\n */\n positionValueUSD?: number | null;\n /** PnL as a percentage of cost basis. */\n pnlPercent?: number | null;\n /** Number of detected copy trades for this position. */\n copyCount?: number;\n /** Perp side of the position. `null`/absent for spot positions. */\n perpPositionType?: 'long' | 'short' | null;\n /** Leverage multiplier for perp positions. `null`/absent for spot. */\n perpLeverage?: number | null;\n /**\n * Leveraged/notional position size as reported by Clicker. NOT necessarily\n * `positionAmount` × `perpLeverage` — the ratio varies for positions built\n * across fills at different leverage, so use this field directly rather than\n * deriving it, and treat `perpLeverage` as the authoritative leverage. This is\n * notional exposure, not capital at risk (the margin/capital at risk is\n * `costBasis`). Hyperliquid/perp positions only; absent for spot.\n */\n positionAmountWithLeverage?: number | null;\n /**\n * Server flags for this position. {@link INSIDER_POSITION_FLAG} means Codex\n * marked this wallet and token as an insider pair, so the position is\n * excluded from the trader's realized PnL and must not be copy-traded.\n * {@link UNSUPPORTED_TOKEN_POSITION_FLAG} means the token is excluded from\n * PnL for every trader, so the position does not count toward the trader's\n * realized PnL. {@link DEVELOPER_POSITION_FLAG} is the other known value.\n * The list is open: unrecognized strings are preserved. Absent on older\n * social-api builds; `null` when the deployment sends an explicit empty mark.\n */\n flags?: string[] | null;\n /**\n * Profile ID of the trader who owns the position. Lets a client confirm that\n * a position belongs to a given trader before attributing it to them. Absent\n * on social-api builds that predate the field.\n */\n profileId?: string;\n};\n\nexport type Pagination = {\n hasMore: boolean;\n nextPage?: number;\n};\n\n/**\n * Response from `GET /v1/traders/:addressOrId/positions/open`\n * and `GET /v1/traders/:addressOrId/positions/closed`.\n */\nexport type PositionsResponse = {\n positions: Position[];\n pagination: Pagination;\n /** ISO 8601 timestamp indicating when the response was computed server-side. */\n computedAt?: string | null;\n};\n\n// ---------------------------------------------------------------------------\n// Feed\n// ---------------------------------------------------------------------------\n\n/**\n * One emotion's aggregated count on a Call (swap comment), plus an optional\n * facepile sample. `profiles` is always present on the wire and is often empty.\n */\nexport type CommentReaction = {\n emotion: string;\n count: number;\n profiles: CommentReactionProfile[];\n};\n\nexport type CommentReactionProfile = {\n id: string;\n name: string;\n};\n\n/**\n * Engagement on a Call. Counts live on `reactions`; do not read deprecated\n * `likeCount` / `isLikedByUser` even if the social-api still emits them as 0/false.\n */\nexport type CommentEngagement = {\n reactions: CommentReaction[];\n /** Viewer's own emotion, when the hydrator was given their profile. */\n userReaction: string | null;\n /** Reply count on the comment. Present on feed `authorComment`, not on write responses. */\n replyCount?: number;\n};\n\n/**\n * Position thesis for the feed big card. `null` when that intent phase has no Call.\n */\nexport type AuthorComment = {\n uid: string;\n text: string;\n /** Unix timestamp (seconds) when the comment was created. */\n timestamp: number;\n /**\n * AWS language code of the comment text, for example `en` or `pt`. `null`\n * when detection has not run. Absent on older social-api builds.\n */\n sourceLanguage?: string | null;\n /**\n * Stored translations keyed by AWS language code. Empty when none are\n * stored. Absent on older social-api builds.\n */\n translations?: Record<string, string>;\n engagement: CommentEngagement;\n};\n\n/**\n * A single trader-activity feed item: a {@link Position} the trade belongs to,\n * plus the {@link FeedActorSummary} of the trader who made it (`actor`) and the\n * item's creation `timestamp` (Unix seconds).\n */\nexport type FeedItem = Position & {\n /** The trader who made this trade. */\n actor: FeedActorSummary;\n /** Unix timestamp (seconds) when the feed item was created. */\n timestamp: number;\n /**\n * Latest author Call in the current intent phase. On the all, trending and\n * following_v1 feeds, a comment item carries its own comment instead and a trade item\n * carries `null`. Absent on older social-api builds; `null` when that phase\n * has no comment.\n */\n authorComment?: AuthorComment | null;\n /** Author comments on this position. Absent on older social-api builds. */\n commentCount?: number;\n /** Replies across those comments. Absent on older social-api builds. */\n replyCount?: number;\n /** Detected copies of this position. Absent on older social-api builds. */\n copyCount?: number;\n /**\n * Unix seconds of the position's first fill. Count from this to render a\n * live hold on a position that is still open, where {@link holdTimeMs} is\n * `null`. `null` when unknown. Absent on older social-api builds.\n */\n firstTradeAt?: number | null;\n /**\n * Final hold in milliseconds, first fill to last. Only set once the\n * position is closed; `null` while it is still running, because that span\n * grows every second — use {@link firstTradeAt} for those. Absent on older\n * social-api builds.\n */\n holdTimeMs?: number | null;\n /**\n * Average entry price in USD from remaining cost basis / remaining holding.\n * `null` when the position is flat. Absent on older social-api builds.\n */\n entryPriceUsd?: number | null;\n /**\n * Id of this feed item, the `feedItemId` its `social.v1.feed.all` revisions\n * carry. A position can hold several items on the all, trending and\n * following_v1 feeds (its trade plus one per author comment), so key rows on\n * this rather than `positionId`. Set on those feeds only; absent on older\n * social-api builds.\n */\n feedItemId?: string;\n /** Stable event ID for the shared feed-all projection. */\n eventId?: string;\n /** Projection revision for the shared feed-all item. */\n revision?: number;\n /** ISO timestamp for the shared feed-all projection event. */\n occurredAt?: string;\n};\n\nexport type ReactToCommentOptions = {\n commentId: string;\n /** Emoji or short code (1–64 chars), e.g. `👍`. */\n emotion: string;\n};\n\nexport type RemoveCommentReactionOptions = {\n commentId: string;\n};\n\n/**\n * Options for `POST /v1/swap-comment/:commentId/translate`.\n */\nexport type TranslateCommentOptions = {\n /** `authorComment.uid` from a feed item. */\n commentId: string;\n /** AWS language code to translate into, for example `en`. */\n targetLanguage: string;\n};\n\n/**\n * Translation stored for a swap comment. Returned by\n * `POST /v1/swap-comment/:commentId/translate` once that route exists.\n */\nexport type CommentTranslation = {\n /** Detected source language. `null` when detection has not run. */\n sourceLanguage: string | null;\n /** Translations keyed by AWS language code. */\n translations: Record<string, string>;\n};\n\n/**\n * Identifies a swap that may not be indexed yet. Prefer {@link CreateSwapCommentOptions.positionUid}\n * when the client already has a feed or positions `positionId`.\n *\n * A spot swap sends `transactionHash`. A Hyperliquid order that has not\n * settled sends `orderId` (the exchange `oid`) instead: the fill hash does not\n * exist yet, and social-api rejects a body that names both. For Hyperliquid,\n * `tokenAddress` is the coin (for example `BTC`), not a contract address.\n */\nexport type TradeInFlight =\n | {\n transactionHash: string;\n chain: string;\n /** Contract address of the token traded. */\n tokenAddress: string;\n }\n | {\n /**\n * Hyperliquid order id (`oid`) of an order just submitted. Digits only.\n * The comment attaches once the fill is indexed.\n */\n orderId: string;\n chain: 'hyperliquid';\n /** Hyperliquid coin, for example `BTC`. */\n tokenAddress: string;\n };\n\n/**\n * Options for `POST /v1/swap-comments`. Provide exactly one of `positionUid`\n * or `tradeInFlight`; the social-api rejects a body that names both or neither.\n */\nexport type CreateSwapCommentOptions = {\n /**\n * Message body of the post. May include a `https://static.klipy.com/...gif`\n * file URL (the social-api allowlists that host); other links are rejected.\n */\n commentText: string;\n /** Free-form origin label stored on the comment. */\n source?: string;\n /**\n * Position UUID (`positionId` / feed `itemId`). The comment attaches to that\n * position's most recent trade, which must be the caller's own.\n */\n positionUid?: string;\n /** Swap made seconds ago that may not have a position yet. */\n tradeInFlight?: TradeInFlight;\n};\n\n/**\n * Author profile on a swap-comment write response. Matches social-api\n * `ProfileResponseV1`; extra fields from newer builds are allowed.\n */\nexport type SwapCommentAuthor = {\n id: string;\n name: string;\n images?: {\n raw: string | null;\n xs: string | null;\n sm: string | null;\n };\n addresses?: string[];\n externalId?: string;\n};\n\n/**\n * Response from `POST /v1/swap-comments`.\n *\n * `transactionHash` is empty when the comment was saved against a Hyperliquid\n * `orderId` whose fill is not indexed yet. Social-api stamps the hash once the\n * order settles.\n */\nexport type SwapCommentResponse = {\n uid: string;\n transactionHash: string;\n chain: string;\n tokenAddress: string;\n commentText: string;\n author: SwapCommentAuthor;\n timestamp: number;\n isAppUserComment: boolean;\n metrics: CommentEngagement;\n};\n\n// ---------------------------------------------------------------------------\n// Copy-trade intents\n// ---------------------------------------------------------------------------\n\n/**\n * Social resource a copy trade was started from. Only comments are supported.\n */\nexport type CopyTradeOrigin = {\n kind: 'comment';\n /** Comment UUID. */\n id: string;\n};\n\n/**\n * Trade being copied. Swaps are identified by their Bridge quote id, perps by\n * the Hyperliquid order id returned on submission.\n */\nexport type CopyTradeExecution =\n | { product: 'swaps'; quoteId: string }\n | { product: 'perps'; oid: string };\n\n/**\n * Options for `POST /v1/copy-trade-intents`.\n */\nexport type CreateCopyTradeIntentOptions = {\n origin: CopyTradeOrigin;\n copierAccount: {\n /**\n * CAIP-10 id of the account placing the trade. The social-api verifies it\n * belongs to the authenticated profile.\n */\n caip10: string;\n };\n execution: CopyTradeExecution;\n};\n\n/**\n * Account on a copy-trade intent response.\n */\nexport type CopyTradeAccount = {\n profileId: string;\n caip10: string;\n};\n\n/**\n * Payout eligibility snapshotted when the intent is created. `reason` is one\n * of `comment_source`, `source_account_unavailable`, or `unknown_reason`;\n * newer social-api builds may add more.\n */\nexport type CopyTradePayoutEligibility = {\n status: 'payable' | 'non_payable';\n reason: string;\n};\n\n/**\n * Response from `POST /v1/copy-trade-intents`. The endpoint is idempotent, so\n * a retry returns the existing intent.\n */\nexport type CopyTradeIntentResponse = {\n id: string;\n origin: CopyTradeOrigin;\n copierAccount: CopyTradeAccount;\n sourceAccount: CopyTradeAccount | null;\n execution: CopyTradeExecution;\n payoutEligibility: CopyTradePayoutEligibility;\n /** ISO 8601 timestamp. */\n createdAt: string;\n};\n\n/**\n * Cursor pagination for the feed. Pass `olderCursor` back as `olderThan` to\n * load older items (infinite scroll), and `newerCursor` as `newerThan` to\n * fetch newer items. `null` when there are no items in that direction.\n */\nexport type FeedPagination = {\n olderCursor: string | null;\n newerCursor: string | null;\n};\n\n/**\n * Response from `GET /v1/feed`.\n */\nexport type FeedResponse = {\n items: FeedItem[];\n pagination: FeedPagination;\n};\n\n// ---------------------------------------------------------------------------\n// Followers\n// ---------------------------------------------------------------------------\n\n/**\n * Response from `GET /v1/users/me/followers` and bearer-authenticated\n * `GET /v1/traders/:addressOrId/followers` (optionally `?mutuals=true`).\n */\nexport type FollowersResponse = {\n followers: ProfileSummary[];\n count: number;\n};\n\n// ---------------------------------------------------------------------------\n// Following\n// ---------------------------------------------------------------------------\n\n/**\n * Response from `GET /v1/users/me/following` and bearer-authenticated\n * `GET /v1/traders/:addressOrId/following`.\n */\nexport type FollowingResponse = {\n following: ProfileSummary[];\n count: number;\n};\n\n// ---------------------------------------------------------------------------\n// Follow / Unfollow\n// ---------------------------------------------------------------------------\n\n/**\n * Response from `PUT /v1/users/me/follows`.\n */\nexport type FollowResponse = {\n followed: ProfileSummary[];\n};\n\n/**\n * Response from `DELETE /v1/users/me/follows`.\n */\nexport type UnfollowResponse = {\n unfollowed: ProfileSummary[];\n};\n\n// ---------------------------------------------------------------------------\n// Fetch options\n// ---------------------------------------------------------------------------\n\nexport type FetchLeaderboardOptions = {\n sort?: 'pnl' | 'winRate' | 'roi';\n chains?: string[];\n limit?: number;\n};\n\nexport type FetchTraderProfileOptions = {\n /** Wallet address or Clicker profile ID. */\n addressOrId: string;\n};\n\nexport type FetchPositionsOptions = {\n /** Wallet address or Clicker profile ID. */\n addressOrId: string;\n chain?: string;\n sort?: 'value' | 'latest';\n limit?: number;\n page?: number;\n};\n\nexport type FetchFollowersOptions = {\n /** Wallet address or Clicker profile ID. */\n addressOrId: string;\n /**\n * When true, requests `GET .../followers?mutuals=true` so `followers` are\n * profiles that follow both this trader and the authenticated user; `count` is\n * the mutual total. Omit or false returns the trader's full follower list.\n */\n mutuals?: boolean;\n};\n\nexport type FetchTraderFollowingOptions = {\n /** Wallet address or Clicker profile ID. */\n addressOrId: string;\n};\n\nexport type FetchTraderFeedOptions = {\n /** Wallet address or Clicker profile ID. */\n addressOrId: string;\n /**\n * When true, return only positions that carry an author comment.\n * Omitted from the request when false or unset (API default is false).\n */\n commentedOnly?: boolean;\n /** Number of results to return. */\n limit?: number;\n /** Cursor for older items (infinite scroll). Use `pagination.olderCursor`. */\n olderThan?: string;\n /** Cursor for newer items (pull to refresh). Use `pagination.newerCursor`. */\n newerThan?: string;\n};\n\n/**\n * Position status filter for a token feed.\n * Omit to return both open and recently closed positions.\n */\nexport type TokenFeedStatus = 'open' | 'closed';\n\n/**\n * Chain name accepted by `GET /v1/tokens/:chain/:contractAddress/feed`.\n */\nexport type TokenFeedChain =\n | 'base'\n | 'bsc'\n | 'ethereum'\n | 'hyperliquid'\n | 'robinhood'\n | 'solana';\n\n/**\n * Options for `GET /v1/tokens/:chain/:contractAddress/feed`.\n */\nexport type FetchTokenFeedOptions = {\n /** Chain name where the token is deployed. */\n chain: TokenFeedChain;\n /** Token contract address. */\n contractAddress: string;\n /**\n * Only open or only closed positions. Omit for both. Closed positions are\n * limited to the API's recent lookback.\n */\n status?: TokenFeedStatus;\n /** Number of results to return (1–100). Server default is 25. */\n limit?: number;\n /** Cursor for older items (infinite scroll). Use `pagination.olderCursor`. */\n olderThan?: string;\n /** Cursor for newer items (pull to refresh). Use `pagination.newerCursor`. */\n newerThan?: string;\n};\n\nexport type FetchFeedOptions = {\n /**\n * Which feed to fetch: `following` (personalized to the current user,\n * identified server-side from the JWT; one item per position, ordered by its\n * latest trade), `following_v1` (the `all` items of the profiles the current\n * user follows, without the user's own, ordered by `occurredAt`, with\n * `feedItemId`), `leaderboard` (generic, shared by all users), `all` (the\n * shared feed-all projection), or `trending`. Defaults to `following`\n * server-side when omitted.\n */\n scope?: FeedScope;\n /**\n * Filter by one or more chains, given as CAIP-2 chain ids (e.g.\n * `eip155:8453`). Omit for the server defaults. A set that excludes the chain\n * of an asset in `assetIds` is rejected with a 400.\n */\n chains?: string[];\n /**\n * Only items in any of these assets, given as 1–10 CAIP-19 asset id (e.g.\n * `eip155:8453/erc20:0x…`). Matches ANY of them. Invalid or unsupported asset\n * ids (for example, ones with a token id) are rejected with a 400.\n */\n assetIds?: CaipAssetTypeOrId[];\n /**\n * Only this trader's items. A Clicker profile ID (UUID), not a wallet address.\n */\n profileId?: string;\n /**\n * When true, return only items that carry an author comment. Omitted from\n * the request when false or unset.\n */\n commentedOnly?: boolean;\n /** Number of results to return. */\n limit?: number;\n /** Cursor for older items (infinite scroll). Use `pagination.olderCursor`. */\n olderThan?: string;\n /** Cursor for newer items (pull to refresh). Use `pagination.newerCursor`. */\n newerThan?: string;\n};\n\nexport type FeedScope =\n | 'following'\n | 'following_v1'\n | 'leaderboard'\n | 'all'\n | 'trending';\n\nexport type FetchPositionByIdOptions = {\n /** Unique position ID (UUID). */\n positionId: string;\n};\n\nexport type FollowOptions = {\n /** Array of wallet addresses or profile IDs to follow. */\n targets: string[];\n};\n\nexport type UnfollowOptions = {\n /** Array of wallet addresses or profile IDs to unfollow. */\n targets: string[];\n};\n\n// ---------------------------------------------------------------------------\n// Moderation blocks\n// ---------------------------------------------------------------------------\n\n/**\n * Options for `PUT /v1/moderation/block`. Provide exactly one target. Blocking\n * the same target again replaces `reason` when one is given.\n */\nexport type BlockOptions =\n | {\n /** Profile id (UUID) of the trader to block. */\n profileId: string;\n /** Free-form reason stored on the block. Max 1000 characters. */\n reason?: string;\n }\n | {\n /** Swap comment (post) to block. */\n commentId: string;\n /** Free-form reason stored on the block. Max 1000 characters. */\n reason?: string;\n }\n | {\n /** Comment reply to block. */\n replyId: string;\n /** Free-form reason stored on the block. Max 1000 characters. */\n reason?: string;\n };\n\n/**\n * Options for `DELETE /v1/moderation/blocks/profiles/:profileId`.\n */\nexport type UnblockProfileOptions = {\n /** Profile id (UUID) of the trader to unblock. */\n profileId: string;\n};\n\n/**\n * Options for the cursor-paginated moderation list endpoints. Omit `cursor`\n * for the first page.\n */\nexport type FetchBlockedListOptions = {\n /** The `cursor` from the previous page. */\n cursor?: string;\n};\n\n/**\n * A trader the current user has blocked.\n */\nexport type BlockedProfile = {\n /** When the block was placed, in Unix epoch seconds. */\n blockedAt: number;\n /** Reason given when the block was placed, if any. */\n reason: string | null;\n /** The blocked trader. */\n profile: ProfileSummary;\n};\n\n/**\n * Response from `GET /v1/moderation/blocks/profiles`.\n */\nexport type BlockedProfilesResponse = {\n /** Blocked traders, most recently blocked first. */\n items: BlockedProfile[];\n /** Pass as `cursor` for the next page. `null` on the last page. */\n cursor: string | null;\n};\n\n/**\n * Whether a blocked content row is a swap comment or a reply.\n */\nexport type BlockedContentType = 'comment' | 'reply';\n\n/**\n * A comment or reply the current user has blocked.\n */\nexport type BlockedContent = {\n /** When the block was placed, in Unix epoch seconds. */\n blockedAt: number;\n /** Reason given when the block was placed, if any. */\n reason: string | null;\n /** Whether `id` refers to a swap comment or a reply. */\n type: BlockedContentType;\n /** Comment or reply id (UUID). */\n id: string;\n /** Text of the blocked comment or reply. */\n text: string;\n /** When the content was posted, in Unix epoch seconds. */\n createdAt: number;\n /** Author of the content. `null` when the profile cannot be resolved. */\n author: ProfileSummary | null;\n};\n\n/**\n * Response from `GET /v1/moderation/blocks/content`.\n */\nexport type BlockedContentResponse = {\n /** Blocked comments and replies, most recently blocked first. */\n items: BlockedContent[];\n /** Pass as `cursor` for the next page. `null` on the last page. */\n cursor: string | null;\n};\n\n/**\n * Response from `GET /v1/moderation/status`: whether the moderation team has\n * banned the current user. A banned user cannot post, reply, or react.\n */\nexport type ModerationStatusResponse = {\n /** Whether the current user is banned. */\n banned: boolean;\n /** When the ban was placed, in Unix epoch seconds. `null` when not banned. */\n bannedAt: number | null;\n /** The reason the moderation team gave the user, if any. Safe to show. */\n reason: string | null;\n};\n\n/**\n * Assets that do not produce indexed positions.\n *\n * Returned by `GET /v1/tokens/quote-tokens`.\n */\nexport type QuoteTokensResponse = {\n /** CAIP-19 ids for native coins and wrapped native assets. */\n natives: string[];\n /** CAIP-19 ids for stablecoins. */\n stablecoins: string[];\n};\n\n/**\n * Query parameters forwarded to the social-api GIF proxy.\n *\n * Keys and values are sent unchanged. The service does not rename them or\n * supply defaults. Typical keys are `q`, `page`, `per_page`, `locale`,\n * `customer_id`, `content_filter`, and `format_filter`.\n */\nexport type GifQueryParams = Record<\n string,\n string | number | boolean | undefined\n>;\n\n/** One rendition of a GIF (`gif`, `webp`, or `mp4`) at a single size. */\nexport type GifMediaFile = {\n url?: string;\n width?: number;\n height?: number;\n size?: number;\n};\n\n/** Formats available for one GIF size (`sm`, `md`, `hd`, `xs`). */\nexport type GifMediaSize = {\n gif?: GifMediaFile;\n webp?: GifMediaFile;\n mp4?: GifMediaFile;\n};\n\n/**\n * One GIF in a provider page.\n *\n * Known fields are listed here. The service returns the provider object\n * itself, so fields beyond this type stay on the value at runtime.\n */\nexport type GifItem = {\n id?: string | number;\n slug?: string;\n title?: string;\n file?: {\n hd?: GifMediaSize;\n md?: GifMediaSize;\n sm?: GifMediaSize;\n xs?: GifMediaSize;\n };\n};\n\n/**\n * Body of `GET /api/v1/gifs/trending` and `GET /api/v1/gifs/search`.\n *\n * This is the GIF provider's page, passed through by social-api. Validation\n * only checks that `result` and `data` are present, so extra fields are kept.\n */\nexport type GifPageResponse = {\n result: boolean;\n data: {\n data?: GifItem[];\n current_page?: number;\n per_page?: number;\n has_next?: boolean;\n };\n};\n\n// ---------------------------------------------------------------------------\n// Controller state\n// ---------------------------------------------------------------------------\n\n/**\n * State managed by the SocialController.\n *\n * The controller acts as a simple store — no TTL or eviction logic.\n * The UI decides when to re-fetch; the social-api's own cache layer\n * handles upstream rate-limiting.\n */\nexport type SocialControllerState = {\n /** Cached ranked trader list from the last `updateLeaderboard` call. */\n leaderboardEntries: LeaderboardEntry[];\n /** Wallet addresses the current user follows. */\n followingAddresses: string[];\n /** Clicker profile IDs the current user follows — used by mobile UI. */\n followingProfileIds: string[];\n};\n"]}
1
+ {"version":3,"file":"social-types.js","sourceRoot":"","sources":["../src/social-types.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EACL,OAAO,EACP,KAAK,EACL,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,MAAM,EACN,MAAM,EACN,IAAI,IAAI,UAAU,GACnB,MAAM,uBAAuB,CAAC;AAG/B,8EAA8E;AAC9E,mBAAmB;AACnB,8EAA8E;AAE9E,mEAAmE;AACnE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,QAAQ,EAAE,SAAS,CAAU,CAAC;AAIrE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,UAAU,CAAC;IAC9C;;;;OAIG;IACH,WAAW,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IACzC,mFAAmF;IACnF,GAAG,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IACjC,uEAAuE;IACvE,SAAS,EAAE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,EAAE,SAAS,EAAE,OAAO,CAAU,CAAC","sourcesContent":["import type { Infer } from '@metamask/superstruct';\nimport {\n array,\n boolean,\n enums,\n nullable,\n number,\n optional,\n record,\n string,\n type as structType,\n} from '@metamask/superstruct';\nimport type { CaipAssetTypeOrId } from '@metamask/utils';\n\n// ---------------------------------------------------------------------------\n// Shared sub-types\n// ---------------------------------------------------------------------------\n\n/** Values for `ProfileIdentity.tradingPrivacy` from social-api. */\nexport const TRADING_PRIVACY_VALUES = ['public', 'private'] as const;\n\nexport type TradingPrivacy = (typeof TRADING_PRIVACY_VALUES)[number];\n\n/**\n * The MetaMask Profile API identity social-api serves beside `name` on every\n * profile, so clients need not call the Profile API themselves.\n *\n * Every field is omitted when the profile has no value, and on older\n * social-api builds. Only MetaMask-linked profiles carry them.\n */\nexport const ProfileIdentityStruct = structType({\n /**\n * Display name set on the Profile API. Free text that anyone can copy, so\n * show it beside `name`, never in its place. Omitted when the profile's text\n * is flagged NSFW.\n */\n displayName: optional(nullable(string())),\n /** Bio set on the Profile API. Omitted when the profile's text is flagged NSFW. */\n bio: optional(nullable(string())),\n /** When the MetaMask profile was created, as an ISO-8601 timestamp. */\n createdAt: optional(nullable(string())),\n /** When the owner last edited their MetaMask profile, as an ISO-8601 timestamp. */\n updatedAt: optional(nullable(string())),\n /** Whether the owner linked an X account on their MetaMask profile. */\n connectedToX: optional(nullable(boolean())),\n /** The owner's trading privacy. A private profile's addresses are withheld. */\n tradingPrivacy: optional(nullable(enums(TRADING_PRIVACY_VALUES))),\n});\n\nexport type ProfileIdentity = Infer<typeof ProfileIdentityStruct>;\n\n/**\n * Minimal profile summary used across follow/follower responses.\n */\nexport type ProfileSummary = ProfileIdentity & {\n /** Clicker profile ID (UUID). */\n profileId: string;\n /** Primary wallet address. */\n address: string;\n /** Username, or truncated address when the profile has none. */\n name: string;\n /** Profile avatar URL. */\n imageUrl?: string | null;\n};\n\n/**\n * Trader attached to a feed item. Extends {@link ProfileSummary} with the\n * profile stats the feed hydrator already loaded and used to drop.\n *\n * Every field is optional: a social-api that predates them omits the keys,\n * and `null` means the window has no data (distinct from \"not sent\").\n */\nexport type FeedActorSummary = ProfileSummary & {\n /** 30-day win rate as a 0–1 ratio. */\n winRate30d?: number | null;\n /** 30-day realized PnL in USD. */\n pnl30d?: number | null;\n /** 30-day trading volume in USD, totaled across all chains. */\n volumeUsd30d?: number | null;\n /** 7-day trading volume in USD, totaled across all chains. */\n volumeUsd7d?: number | null;\n /** 30-day sell count behind `winRate30d`. */\n tradeCount30d?: number | null;\n /** Profiles following this trader. */\n followerCount?: number | null;\n};\n\n/**\n * Social media handles attached to a trader profile.\n */\nexport type SocialHandles = {\n twitter?: string | null;\n farcaster?: string | null;\n ens?: string | null;\n lens?: string | null;\n};\n\n/**\n * Where a fill sits in its position's lifecycle.\n *\n * Deliberately asset-agnostic so the classification is computed once, upstream:\n * clients render `opened / added / reduced / closed` for perps and\n * `bought / bought more / sold some / sold all` for spot from the same value.\n *\n * Distinct from `intent`, which only says whether the fill grew or shrank the\n * position — `intent: 'exit'` covers both a partial trim and a full close.\n */\nexport type TradeAction = 'opened' | 'added' | 'reduced' | 'closed';\n\nexport const CommentReactionProfileStruct = structType({\n id: string(),\n name: string(),\n});\n\nexport const CommentEngagementStruct = structType({\n reactions: array(\n structType({\n emotion: string(),\n count: number(),\n profiles: array(CommentReactionProfileStruct),\n }),\n ),\n userReaction: nullable(string()),\n replyCount: optional(number()),\n});\n\nexport const AuthorCommentStruct = structType({\n uid: string(),\n text: string(),\n timestamp: number(),\n sourceLanguage: optional(nullable(string())),\n translations: optional(record(string(), string())),\n engagement: CommentEngagementStruct,\n});\n\nexport const TradeStruct = structType({\n direction: enums(['buy', 'sell']),\n intent: enums(['enter', 'exit']),\n /**\n * Lifecycle stage of this fill. Absent on responses from a social-api that\n * predates the field, so treat it as a hint and keep a client-side fallback.\n */\n action: optional(enums(['opened', 'added', 'reduced', 'closed'])),\n category: optional(string()),\n /** High-level trade classification. `null` when Clicker does not classify. */\n classification: optional(\n nullable(enums(['spot', 'perp', 'send', 'receive'])),\n ),\n /** Perp side for this fill. `null` for spot trades. */\n perpPositionType: optional(nullable(enums(['long', 'short']))),\n /** Leverage multiplier for perp trades (e.g. `5` for 5x). `null` for spot. */\n perpLeverage: optional(nullable(number())),\n tokenAmount: number(),\n usdCost: number(),\n /** Token market cap in USD at trade time. `null` when Clicker has no mark. */\n marketCap: optional(nullable(number())),\n timestamp: number(),\n transactionHash: string(),\n /**\n * Every author comment on this fill, newest first. An author may comment on\n * one fill more than once. Absent on older social-api builds.\n */\n comments: optional(array(AuthorCommentStruct)),\n});\n\nexport type Trade = Infer<typeof TradeStruct>;\n\n// ---------------------------------------------------------------------------\n// Leaderboard\n// ---------------------------------------------------------------------------\n\n/**\n * A single entry in the leaderboard response.\n */\nexport type LeaderboardEntry = ProfileIdentity & {\n rank: number;\n addresses: string[];\n profileId: string;\n name: string;\n imageUrl?: string | null;\n pnl30d: number;\n winRate30d?: number | null;\n /** Renamed from roi30d. */\n roiPercent30d?: number | null;\n /** Renamed from tradeCount. */\n tradeCount30d?: number | null;\n pnl7d?: number | null;\n winRate7d?: number | null;\n roiPercent7d?: number | null;\n tradeCount7d?: number | null;\n /**\n * 30-day trading volume in USD. When the request includes `chains`, this is\n * the sum of those chains; otherwise it is the all-chain total.\n */\n volumeUsd30d?: number | null;\n /**\n * 7-day trading volume in USD. When the request includes `chains`, this is\n * the sum of those chains; otherwise it is the all-chain total.\n */\n volumeUsd7d?: number | null;\n pnlPerChain: Record<string, number>;\n followerCount: number;\n socialHandles: SocialHandles;\n};\n\n/**\n * Response from `GET /v1/leaderboard`.\n */\nexport type LeaderboardResponse = {\n traders: LeaderboardEntry[];\n};\n\n// ---------------------------------------------------------------------------\n// Trader profile\n// ---------------------------------------------------------------------------\n\n/**\n * Position flag for a wallet/token pair Codex marked as an insider.\n *\n * Those positions are excluded from the trader's realized PnL, and clients\n * must not offer copy-trade on them.\n */\nexport const INSIDER_POSITION_FLAG = 'insider' as const;\n\n/** Known position flag value `developer`. */\nexport const DEVELOPER_POSITION_FLAG = 'developer' as const;\n\n/**\n * Position flag for a token that social-api excludes from PnL for every\n * trader.\n *\n * Those positions are still returned, but they do not count toward the\n * trader's realized PnL. A position can carry this flag alongside\n * {@link INSIDER_POSITION_FLAG}.\n */\nexport const UNSUPPORTED_TOKEN_POSITION_FLAG = 'unsupported-token' as const;\n\n/** Values for `TraderProfileResponse.rankingTag` from social-api. */\nexport const TRADER_RANKING_TAGS = ['shrimp', 'dolphin', 'whale'] as const;\n\nexport type TraderRankingTag = (typeof TRADER_RANKING_TAGS)[number];\n\nexport type TraderProfile = Omit<ProfileIdentity, 'createdAt'> & {\n profileId: string;\n address: string;\n allAddresses: string[];\n name: string;\n imageUrl?: string | null;\n /**\n * When the MetaMask profile was created, as an ISO-8601 timestamp. Omitted\n * for external profiles and on older social-api builds, which sent the\n * social-api row insert time instead.\n */\n createdAt?: string | null;\n};\n\nexport type TraderStats = {\n pnl30d?: number | null;\n winRate30d?: number | null;\n /** Renamed from roi30d. */\n roiPercent30d?: number | null;\n /** Renamed from tradeCount. */\n tradeCount30d?: number | null;\n /** 30-day trading volume in USD. */\n volumeUsd30d?: number | null;\n pnl7d?: number | null;\n winRate7d?: number | null;\n roiPercent7d?: number | null;\n tradeCount7d?: number | null;\n /** Median holding time in minutes. */\n medianHoldMinutes?: number | null;\n};\n\nexport type CopytradedAllTime = {\n count: number;\n volumeUSD: number;\n distinctActors: number;\n};\n\nexport type PerChainBreakdown = {\n perChainPnl: Record<string, number>;\n /** ROI can be null for chains with no trading activity (zero cost-basis). */\n perChainRoi: Record<string, number | null>;\n perChainVolume: Record<string, number>;\n /**\n * 7-day per-chain PnL in USD. Optional: older social-api versions only\n * return the 30-day breakdown (`perChainPnl`). The unsuffixed fields above\n * remain the 30-day window for backward compatibility.\n */\n perChainPnl7d?: Record<string, number>;\n /** 7-day per-chain ROI. Null for chains with no trading activity. */\n perChainRoi7d?: Record<string, number | null>;\n /** 7-day per-chain volume in USD. */\n perChainVolume7d?: Record<string, number>;\n};\n\n/**\n * Response from `GET /v1/traders/:addressOrId/profile`.\n */\nexport type TraderProfileResponse = {\n profile: TraderProfile;\n stats: TraderStats;\n perChainBreakdown: PerChainBreakdown;\n socialHandles: SocialHandles;\n followerCount: number;\n followingCount: number;\n /**\n * Linked copy-swap stats for this trader. Social-api always sends zeros\n * when there are none.\n */\n copytradedAllTime: CopytradedAllTime;\n /**\n * Backend-derived tier from the Auth primary account 30d PnL. Omitted on older\n * social-api builds; `null` when unclaimed or activity is insufficient.\n */\n rankingTag?: TraderRankingTag | null;\n};\n\n// ---------------------------------------------------------------------------\n// Positions\n// ---------------------------------------------------------------------------\n\nexport type Position = {\n positionId: string;\n tokenSymbol: string;\n tokenName: string;\n tokenAddress: string;\n chain: string;\n positionAmount: number;\n /**\n * Whether the position still carries exposure. Clicker's own verdict, which\n * beats a `positionAmount === 0` check: it survives precision dust and\n * distinguishes \"no position\" from \"a position of size ~0\". Absent on\n * responses from a social-api that predates the field.\n */\n isOpen?: boolean;\n /**\n * Total USD spent buying into the position. `null` when Clicker stats are\n * incomplete (the social-api used to JSON-serialize `NaN` as `null`).\n */\n boughtUsd: number | null;\n /** Total USD received from sells. `null` when stats are incomplete. */\n soldUsd: number | null;\n /** Realized profit or loss in USD. `null` when stats are incomplete. */\n realizedPnl: number | null;\n /**\n * USD cost basis of the remaining holdings. `null` when stats are incomplete.\n */\n costBasis: number | null;\n trades: Trade[];\n lastTradeAt: number;\n /** Daylight-hosted token image URL. */\n tokenImageUrl?: string | null;\n /** Current USD value of the remaining position (open positions only). */\n currentValueUSD?: number | null;\n /** Unrealized + realized PnL in USD. */\n pnlValueUsd?: number | null;\n /**\n * USD size of the position. For perps this is the leveraged notional,\n * `|positionAmountWithLeverage|` × mark price, which is the key social-api\n * ranks an asset's holders by. For spot it equals `currentValueUSD`; `0` for\n * closed positions. Absent when no price is available, and on social-api\n * builds that predate the field.\n */\n positionValueUSD?: number | null;\n /** PnL as a percentage of cost basis. */\n pnlPercent?: number | null;\n /** Number of detected copy trades for this position. */\n copyCount?: number;\n /** Perp side of the position. `null`/absent for spot positions. */\n perpPositionType?: 'long' | 'short' | null;\n /** Leverage multiplier for perp positions. `null`/absent for spot. */\n perpLeverage?: number | null;\n /**\n * Leveraged/notional position size as reported by Clicker. NOT necessarily\n * `positionAmount` × `perpLeverage` — the ratio varies for positions built\n * across fills at different leverage, so use this field directly rather than\n * deriving it, and treat `perpLeverage` as the authoritative leverage. This is\n * notional exposure, not capital at risk (the margin/capital at risk is\n * `costBasis`). Hyperliquid/perp positions only; absent for spot.\n */\n positionAmountWithLeverage?: number | null;\n /**\n * Server flags for this position. {@link INSIDER_POSITION_FLAG} means Codex\n * marked this wallet and token as an insider pair, so the position is\n * excluded from the trader's realized PnL and must not be copy-traded.\n * {@link UNSUPPORTED_TOKEN_POSITION_FLAG} means the token is excluded from\n * PnL for every trader, so the position does not count toward the trader's\n * realized PnL. {@link DEVELOPER_POSITION_FLAG} is the other known value.\n * The list is open: unrecognized strings are preserved. Absent on older\n * social-api builds; `null` when the deployment sends an explicit empty mark.\n */\n flags?: string[] | null;\n /**\n * Profile ID of the trader who owns the position. Lets a client confirm that\n * a position belongs to a given trader before attributing it to them. Absent\n * on social-api builds that predate the field.\n */\n profileId?: string;\n};\n\nexport type Pagination = {\n hasMore: boolean;\n nextPage?: number;\n};\n\n/**\n * Response from `GET /v1/traders/:addressOrId/positions/open`\n * and `GET /v1/traders/:addressOrId/positions/closed`.\n */\nexport type PositionsResponse = {\n positions: Position[];\n pagination: Pagination;\n /** ISO 8601 timestamp indicating when the response was computed server-side. */\n computedAt?: string | null;\n};\n\n// ---------------------------------------------------------------------------\n// Feed\n// ---------------------------------------------------------------------------\n\n/**\n * One emotion's aggregated count on a Call (swap comment), plus an optional\n * facepile sample. `profiles` is always present on the wire and is often empty.\n */\nexport type CommentReaction = {\n emotion: string;\n count: number;\n profiles: CommentReactionProfile[];\n};\n\nexport type CommentReactionProfile = {\n id: string;\n name: string;\n};\n\n/**\n * Engagement on a Call. Counts live on `reactions`; do not read deprecated\n * `likeCount` / `isLikedByUser` even if the social-api still emits them as 0/false.\n */\nexport type CommentEngagement = {\n reactions: CommentReaction[];\n /** Viewer's own emotion, when the hydrator was given their profile. */\n userReaction: string | null;\n /** Reply count on the comment. Present on feed `authorComment`, not on write responses. */\n replyCount?: number;\n};\n\n/**\n * Position thesis for the feed big card. `null` when that intent phase has no Call.\n */\nexport type AuthorComment = {\n uid: string;\n text: string;\n /** Unix timestamp (seconds) when the comment was created. */\n timestamp: number;\n /**\n * AWS language code of the comment text, for example `en` or `pt`. `null`\n * when detection has not run. Absent on older social-api builds.\n */\n sourceLanguage?: string | null;\n /**\n * Stored translations keyed by AWS language code. Empty when none are\n * stored. Absent on older social-api builds.\n */\n translations?: Record<string, string>;\n engagement: CommentEngagement;\n};\n\n/**\n * A single trader-activity feed item: a {@link Position} the trade belongs to,\n * plus the {@link FeedActorSummary} of the trader who made it (`actor`) and the\n * item's creation `timestamp` (Unix seconds).\n */\nexport type FeedItem = Position & {\n /** The trader who made this trade. */\n actor: FeedActorSummary;\n /** Unix timestamp (seconds) when the feed item was created. */\n timestamp: number;\n /**\n * Latest author Call in the current intent phase. On the all, trending and\n * following_v1 feeds, a comment item carries its own comment instead and a trade item\n * carries `null`. Absent on older social-api builds; `null` when that phase\n * has no comment.\n */\n authorComment?: AuthorComment | null;\n /** Author comments on this position. Absent on older social-api builds. */\n commentCount?: number;\n /** Replies across those comments. Absent on older social-api builds. */\n replyCount?: number;\n /** Detected copies of this position. Absent on older social-api builds. */\n copyCount?: number;\n /**\n * Unix seconds of the position's first fill. Count from this to render a\n * live hold on a position that is still open, where {@link holdTimeMs} is\n * `null`. `null` when unknown. Absent on older social-api builds.\n */\n firstTradeAt?: number | null;\n /**\n * Final hold in milliseconds, first fill to last. Only set once the\n * position is closed; `null` while it is still running, because that span\n * grows every second — use {@link firstTradeAt} for those. Absent on older\n * social-api builds.\n */\n holdTimeMs?: number | null;\n /**\n * Average entry price in USD from remaining cost basis / remaining holding.\n * `null` when the position is flat. Absent on older social-api builds.\n */\n entryPriceUsd?: number | null;\n /**\n * Id of this feed item, the `feedItemId` its `social.v1.feed.all` revisions\n * carry. A position can hold several items on the all, trending and\n * following_v1 feeds (its trade plus one per author comment), so key rows on\n * this rather than `positionId`. Set on those feeds only; absent on older\n * social-api builds.\n */\n feedItemId?: string;\n /** Stable event ID for the shared feed-all projection. */\n eventId?: string;\n /** Projection revision for the shared feed-all item. */\n revision?: number;\n /** ISO timestamp for the shared feed-all projection event. */\n occurredAt?: string;\n};\n\nexport type ReactToCommentOptions = {\n commentId: string;\n /** Emoji or short code (1–64 chars), e.g. `👍`. */\n emotion: string;\n};\n\nexport type RemoveCommentReactionOptions = {\n commentId: string;\n};\n\n/**\n * Options for `POST /v1/swap-comment/:commentId/translate`.\n */\nexport type TranslateCommentOptions = {\n /** `authorComment.uid` from a feed item. */\n commentId: string;\n /** AWS language code to translate into, for example `en`. */\n targetLanguage: string;\n};\n\n/**\n * Translation stored for a swap comment. Returned by\n * `POST /v1/swap-comment/:commentId/translate` once that route exists.\n */\nexport type CommentTranslation = {\n /** Detected source language. `null` when detection has not run. */\n sourceLanguage: string | null;\n /** Translations keyed by AWS language code. */\n translations: Record<string, string>;\n};\n\n/**\n * Identifies a swap that may not be indexed yet. Prefer {@link CreateSwapCommentOptions.positionUid}\n * when the client already has a feed or positions `positionId`.\n *\n * A spot swap sends `transactionHash`. A Hyperliquid order that has not\n * settled sends `orderId` (the exchange `oid`) instead: the fill hash does not\n * exist yet, and social-api rejects a body that names both. For Hyperliquid,\n * `tokenAddress` is the coin (for example `BTC`), not a contract address.\n */\nexport type TradeInFlight =\n | {\n transactionHash: string;\n chain: string;\n /** Contract address of the token traded. */\n tokenAddress: string;\n }\n | {\n /**\n * Hyperliquid order id (`oid`) of an order just submitted. Digits only.\n * The comment attaches once the fill is indexed.\n */\n orderId: string;\n chain: 'hyperliquid';\n /** Hyperliquid coin, for example `BTC`. */\n tokenAddress: string;\n };\n\n/**\n * Options for `POST /v1/swap-comments`. Provide exactly one of `positionUid`\n * or `tradeInFlight`; the social-api rejects a body that names both or neither.\n */\nexport type CreateSwapCommentOptions = {\n /**\n * Message body of the post. May include a `https://static.klipy.com/...gif`\n * file URL (the social-api allowlists that host); other links are rejected.\n */\n commentText: string;\n /** Free-form origin label stored on the comment. */\n source?: string;\n /**\n * Position UUID (`positionId` / feed `itemId`). The comment attaches to that\n * position's most recent trade, which must be the caller's own.\n */\n positionUid?: string;\n /** Swap made seconds ago that may not have a position yet. */\n tradeInFlight?: TradeInFlight;\n};\n\n/**\n * Author profile on a swap-comment write response. Matches social-api\n * `ProfileResponseV1`; extra fields from newer builds are allowed.\n */\nexport type SwapCommentAuthor = {\n id: string;\n name: string;\n images?: {\n raw: string | null;\n xs: string | null;\n sm: string | null;\n };\n addresses?: string[];\n externalId?: string;\n};\n\n/**\n * Response from `POST /v1/swap-comments`.\n *\n * `transactionHash` is empty when the comment was saved against a Hyperliquid\n * `orderId` whose fill is not indexed yet. Social-api stamps the hash once the\n * order settles.\n */\nexport type SwapCommentResponse = {\n uid: string;\n transactionHash: string;\n chain: string;\n tokenAddress: string;\n commentText: string;\n author: SwapCommentAuthor;\n timestamp: number;\n isAppUserComment: boolean;\n metrics: CommentEngagement;\n};\n\n// ---------------------------------------------------------------------------\n// Copy-trade intents\n// ---------------------------------------------------------------------------\n\n/**\n * Social resource a copy trade was started from. Only comments are supported.\n */\nexport type CopyTradeOrigin = {\n kind: 'comment';\n /** Comment UUID. */\n id: string;\n};\n\n/**\n * Trade being copied. Swaps are identified by their Bridge quote id, perps by\n * the Hyperliquid order id returned on submission.\n */\nexport type CopyTradeExecution =\n | { product: 'swaps'; quoteId: string }\n | { product: 'perps'; oid: string };\n\n/**\n * Options for `POST /v1/copy-trade-intents`.\n */\nexport type CreateCopyTradeIntentOptions = {\n origin: CopyTradeOrigin;\n copierAccount: {\n /**\n * CAIP-10 id of the account placing the trade. The social-api verifies it\n * belongs to the authenticated profile.\n */\n caip10: string;\n };\n execution: CopyTradeExecution;\n};\n\n/**\n * Account on a copy-trade intent response.\n */\nexport type CopyTradeAccount = {\n profileId: string;\n caip10: string;\n};\n\n/**\n * Payout eligibility snapshotted when the intent is created. `reason` is one\n * of `comment_source`, `source_account_unavailable`, or `unknown_reason`;\n * newer social-api builds may add more.\n */\nexport type CopyTradePayoutEligibility = {\n status: 'payable' | 'non_payable';\n reason: string;\n};\n\n/**\n * Response from `POST /v1/copy-trade-intents`. The endpoint is idempotent, so\n * a retry returns the existing intent.\n */\nexport type CopyTradeIntentResponse = {\n id: string;\n origin: CopyTradeOrigin;\n copierAccount: CopyTradeAccount;\n sourceAccount: CopyTradeAccount | null;\n execution: CopyTradeExecution;\n payoutEligibility: CopyTradePayoutEligibility;\n /** ISO 8601 timestamp. */\n createdAt: string;\n};\n\n/**\n * Cursor pagination for the feed. Pass `olderCursor` back as `olderThan` to\n * load older items (infinite scroll), and `newerCursor` as `newerThan` to\n * fetch newer items. `null` when there are no items in that direction.\n */\nexport type FeedPagination = {\n olderCursor: string | null;\n newerCursor: string | null;\n};\n\n/**\n * Response from `GET /v1/feed`.\n */\nexport type FeedResponse = {\n items: FeedItem[];\n pagination: FeedPagination;\n};\n\n// ---------------------------------------------------------------------------\n// Followers\n// ---------------------------------------------------------------------------\n\n/**\n * Response from `GET /v1/users/me/followers` and bearer-authenticated\n * `GET /v1/traders/:addressOrId/followers` (optionally `?mutuals=true`).\n */\nexport type FollowersResponse = {\n followers: ProfileSummary[];\n count: number;\n};\n\n// ---------------------------------------------------------------------------\n// Following\n// ---------------------------------------------------------------------------\n\n/**\n * Response from `GET /v1/users/me/following` and bearer-authenticated\n * `GET /v1/traders/:addressOrId/following`.\n */\nexport type FollowingResponse = {\n following: ProfileSummary[];\n count: number;\n};\n\n// ---------------------------------------------------------------------------\n// Follow / Unfollow\n// ---------------------------------------------------------------------------\n\n/**\n * Response from `PUT /v1/users/me/follows`.\n */\nexport type FollowResponse = {\n followed: ProfileSummary[];\n};\n\n/**\n * Response from `DELETE /v1/users/me/follows`.\n */\nexport type UnfollowResponse = {\n unfollowed: ProfileSummary[];\n};\n\n// ---------------------------------------------------------------------------\n// Fetch options\n// ---------------------------------------------------------------------------\n\nexport type FetchLeaderboardOptions = {\n sort?: 'pnl' | 'winRate' | 'roi';\n chains?: string[];\n limit?: number;\n};\n\nexport type FetchTraderProfileOptions = {\n /** Wallet address or Clicker profile ID. */\n addressOrId: string;\n};\n\nexport type FetchPositionsOptions = {\n /** Wallet address or Clicker profile ID. */\n addressOrId: string;\n chain?: string;\n sort?: 'value' | 'latest';\n limit?: number;\n page?: number;\n};\n\nexport type FetchFollowersOptions = {\n /** Wallet address or Clicker profile ID. */\n addressOrId: string;\n /**\n * When true, requests `GET .../followers?mutuals=true` so `followers` are\n * profiles that follow both this trader and the authenticated user; `count` is\n * the mutual total. Omit or false returns the trader's full follower list.\n */\n mutuals?: boolean;\n};\n\nexport type FetchTraderFollowingOptions = {\n /** Wallet address or Clicker profile ID. */\n addressOrId: string;\n};\n\nexport type FetchTraderFeedOptions = {\n /** Wallet address or Clicker profile ID. */\n addressOrId: string;\n /**\n * When true, return only positions that carry an author comment.\n * Omitted from the request when false or unset (API default is false).\n */\n commentedOnly?: boolean;\n /** Number of results to return. */\n limit?: number;\n /** Cursor for older items (infinite scroll). Use `pagination.olderCursor`. */\n olderThan?: string;\n /** Cursor for newer items (pull to refresh). Use `pagination.newerCursor`. */\n newerThan?: string;\n};\n\n/**\n * Position status filter for a token feed.\n * Omit to return both open and recently closed positions.\n */\nexport type TokenFeedStatus = 'open' | 'closed';\n\n/**\n * Chain name accepted by `GET /v1/tokens/:chain/:contractAddress/feed`.\n */\nexport type TokenFeedChain =\n | 'base'\n | 'bsc'\n | 'ethereum'\n | 'hyperliquid'\n | 'robinhood'\n | 'solana';\n\n/**\n * Options for `GET /v1/tokens/:chain/:contractAddress/feed`.\n */\nexport type FetchTokenFeedOptions = {\n /** Chain name where the token is deployed. */\n chain: TokenFeedChain;\n /** Token contract address. */\n contractAddress: string;\n /**\n * Only open or only closed positions. Omit for both. Closed positions are\n * limited to the API's recent lookback.\n */\n status?: TokenFeedStatus;\n /** Number of results to return (1–100). Server default is 25. */\n limit?: number;\n /** Cursor for older items (infinite scroll). Use `pagination.olderCursor`. */\n olderThan?: string;\n /** Cursor for newer items (pull to refresh). Use `pagination.newerCursor`. */\n newerThan?: string;\n};\n\nexport type FetchFeedOptions = {\n /**\n * Which feed to fetch: `following` (personalized to the current user,\n * identified server-side from the JWT; one item per position, ordered by its\n * latest trade), `following_v1` (the `all` items of the profiles the current\n * user follows, without the user's own, ordered by `occurredAt`, with\n * `feedItemId`), `leaderboard` (generic, shared by all users), `all` (the\n * shared feed-all projection), or `trending`. Defaults to `following`\n * server-side when omitted.\n */\n scope?: FeedScope;\n /**\n * Filter by one or more chains, given as CAIP-2 chain ids (e.g.\n * `eip155:8453`). Omit for the server defaults. A set that excludes the chain\n * of an asset in `assetIds` is rejected with a 400.\n */\n chains?: string[];\n /**\n * Only items in any of these assets, given as 1–10 CAIP-19 asset id (e.g.\n * `eip155:8453/erc20:0x…`). Matches ANY of them. Invalid or unsupported asset\n * ids (for example, ones with a token id) are rejected with a 400.\n */\n assetIds?: CaipAssetTypeOrId[];\n /**\n * Only this trader's items. A Clicker profile ID (UUID), not a wallet address.\n */\n profileId?: string;\n /**\n * When true, return only items that carry an author comment. Omitted from\n * the request when false or unset.\n */\n commentedOnly?: boolean;\n /** Number of results to return. */\n limit?: number;\n /** Cursor for older items (infinite scroll). Use `pagination.olderCursor`. */\n olderThan?: string;\n /** Cursor for newer items (pull to refresh). Use `pagination.newerCursor`. */\n newerThan?: string;\n};\n\nexport type FeedScope =\n | 'following'\n | 'following_v1'\n | 'leaderboard'\n | 'all'\n | 'trending';\n\nexport type FetchPositionByIdOptions = {\n /** Unique position ID (UUID). */\n positionId: string;\n};\n\nexport type FollowOptions = {\n /** Array of wallet addresses or profile IDs to follow. */\n targets: string[];\n};\n\nexport type UnfollowOptions = {\n /** Array of wallet addresses or profile IDs to unfollow. */\n targets: string[];\n};\n\n// ---------------------------------------------------------------------------\n// Moderation blocks\n// ---------------------------------------------------------------------------\n\n/**\n * Options for `PUT /v1/moderation/block`. Provide exactly one target. Blocking\n * the same target again replaces `reason` when one is given.\n */\nexport type BlockOptions =\n | {\n /** Profile id (UUID) of the trader to block. */\n profileId: string;\n /** Free-form reason stored on the block. Max 1000 characters. */\n reason?: string;\n }\n | {\n /** Swap comment (post) to block. */\n commentId: string;\n /** Free-form reason stored on the block. Max 1000 characters. */\n reason?: string;\n }\n | {\n /** Comment reply to block. */\n replyId: string;\n /** Free-form reason stored on the block. Max 1000 characters. */\n reason?: string;\n };\n\n/**\n * Options for `DELETE /v1/moderation/blocks/profiles/:profileId`.\n */\nexport type UnblockProfileOptions = {\n /** Profile id (UUID) of the trader to unblock. */\n profileId: string;\n};\n\n/**\n * Options for the cursor-paginated moderation list endpoints. Omit `cursor`\n * for the first page.\n */\nexport type FetchBlockedListOptions = {\n /** The `cursor` from the previous page. */\n cursor?: string;\n};\n\n/**\n * A trader the current user has blocked.\n */\nexport type BlockedProfile = {\n /** When the block was placed, in Unix epoch seconds. */\n blockedAt: number;\n /** Reason given when the block was placed, if any. */\n reason: string | null;\n /** The blocked trader. */\n profile: ProfileSummary;\n};\n\n/**\n * Response from `GET /v1/moderation/blocks/profiles`.\n */\nexport type BlockedProfilesResponse = {\n /** Blocked traders, most recently blocked first. */\n items: BlockedProfile[];\n /** Pass as `cursor` for the next page. `null` on the last page. */\n cursor: string | null;\n};\n\n/**\n * Whether a blocked content row is a swap comment or a reply.\n */\nexport type BlockedContentType = 'comment' | 'reply';\n\n/**\n * A comment or reply the current user has blocked.\n */\nexport type BlockedContent = {\n /** When the block was placed, in Unix epoch seconds. */\n blockedAt: number;\n /** Reason given when the block was placed, if any. */\n reason: string | null;\n /** Whether `id` refers to a swap comment or a reply. */\n type: BlockedContentType;\n /** Comment or reply id (UUID). */\n id: string;\n /** Text of the blocked comment or reply. */\n text: string;\n /** When the content was posted, in Unix epoch seconds. */\n createdAt: number;\n /** Author of the content. `null` when the profile cannot be resolved. */\n author: ProfileSummary | null;\n};\n\n/**\n * Response from `GET /v1/moderation/blocks/content`.\n */\nexport type BlockedContentResponse = {\n /** Blocked comments and replies, most recently blocked first. */\n items: BlockedContent[];\n /** Pass as `cursor` for the next page. `null` on the last page. */\n cursor: string | null;\n};\n\n/**\n * Response from `GET /v1/moderation/status`: whether the moderation team has\n * banned the current user. A banned user cannot post, reply, or react.\n */\nexport type ModerationStatusResponse = {\n /** Whether the current user is banned. */\n banned: boolean;\n /** When the ban was placed, in Unix epoch seconds. `null` when not banned. */\n bannedAt: number | null;\n /** The reason the moderation team gave the user, if any. Safe to show. */\n reason: string | null;\n};\n\n/**\n * Assets that do not produce indexed positions.\n *\n * Returned by `GET /v1/tokens/quote-tokens`.\n */\nexport type QuoteTokensResponse = {\n /** CAIP-19 ids for native coins and wrapped native assets. */\n natives: string[];\n /** CAIP-19 ids for stablecoins. */\n stablecoins: string[];\n};\n\n/**\n * Query parameters forwarded to the social-api GIF proxy.\n *\n * Keys and values are sent unchanged. The service does not rename them or\n * supply defaults. Typical keys are `q`, `page`, `per_page`, `locale`,\n * `customer_id`, `content_filter`, and `format_filter`.\n */\nexport type GifQueryParams = Record<\n string,\n string | number | boolean | undefined\n>;\n\n/** One rendition of a GIF (`gif`, `webp`, or `mp4`) at a single size. */\nexport type GifMediaFile = {\n url?: string;\n width?: number;\n height?: number;\n size?: number;\n};\n\n/** Formats available for one GIF size (`sm`, `md`, `hd`, `xs`). */\nexport type GifMediaSize = {\n gif?: GifMediaFile;\n webp?: GifMediaFile;\n mp4?: GifMediaFile;\n};\n\n/**\n * One GIF in a provider page.\n *\n * Known fields are listed here. The service returns the provider object\n * itself, so fields beyond this type stay on the value at runtime.\n */\nexport type GifItem = {\n id?: string | number;\n slug?: string;\n title?: string;\n file?: {\n hd?: GifMediaSize;\n md?: GifMediaSize;\n sm?: GifMediaSize;\n xs?: GifMediaSize;\n };\n};\n\n/**\n * Body of `GET /api/v1/gifs/trending` and `GET /api/v1/gifs/search`.\n *\n * This is the GIF provider's page, passed through by social-api. Validation\n * only checks that `result` and `data` are present, so extra fields are kept.\n */\nexport type GifPageResponse = {\n result: boolean;\n data: {\n data?: GifItem[];\n current_page?: number;\n per_page?: number;\n has_next?: boolean;\n };\n};\n\n// ---------------------------------------------------------------------------\n// Controller state\n// ---------------------------------------------------------------------------\n\n/**\n * State managed by the SocialController.\n *\n * The controller acts as a simple store — no TTL or eviction logic.\n * The UI decides when to re-fetch; the social-api's own cache layer\n * handles upstream rate-limiting.\n */\nexport type SocialControllerState = {\n /** Cached ranked trader list from the last `updateLeaderboard` call. */\n leaderboardEntries: LeaderboardEntry[];\n /** Wallet addresses the current user follows. */\n followingAddresses: string[];\n /** Clicker profile IDs the current user follows — used by mobile UI. */\n followingProfileIds: string[];\n};\n"]}
package/dist/structs.d.ts CHANGED
@@ -17,7 +17,6 @@ export declare const ProfileSummaryStruct: import("@metamask/superstruct").Struc
17
17
  createdAt?: string | null | undefined;
18
18
  updatedAt?: string | null | undefined;
19
19
  connectedToX?: boolean | null | undefined;
20
- verified?: boolean | null | undefined;
21
20
  tradingPrivacy?: "private" | "public" | null | undefined;
22
21
  profileId: string;
23
22
  address: string;
@@ -29,7 +28,6 @@ export declare const ProfileSummaryStruct: import("@metamask/superstruct").Struc
29
28
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
30
29
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
31
30
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
32
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
33
31
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
34
32
  private: "private";
35
33
  public: "public";
@@ -484,7 +482,6 @@ export declare const FeedItemStruct: import("@metamask/superstruct").Struct<{
484
482
  createdAt?: string | null | undefined;
485
483
  updatedAt?: string | null | undefined;
486
484
  connectedToX?: boolean | null | undefined;
487
- verified?: boolean | null | undefined;
488
485
  tradingPrivacy?: "private" | "public" | null | undefined;
489
486
  profileId: string;
490
487
  address: string;
@@ -742,7 +739,6 @@ export declare const FeedItemStruct: import("@metamask/superstruct").Struct<{
742
739
  createdAt?: string | null | undefined;
743
740
  updatedAt?: string | null | undefined;
744
741
  connectedToX?: boolean | null | undefined;
745
- verified?: boolean | null | undefined;
746
742
  tradingPrivacy?: "private" | "public" | null | undefined;
747
743
  profileId: string;
748
744
  address: string;
@@ -760,7 +756,6 @@ export declare const FeedItemStruct: import("@metamask/superstruct").Struct<{
760
756
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
761
757
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
762
758
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
763
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
764
759
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
765
760
  private: "private";
766
761
  public: "public";
@@ -873,7 +868,6 @@ export declare const TraderProfileStruct: import("@metamask/superstruct").Struct
873
868
  createdAt?: string | null | undefined;
874
869
  updatedAt?: string | null | undefined;
875
870
  connectedToX?: boolean | null | undefined;
876
- verified?: boolean | null | undefined;
877
871
  tradingPrivacy?: "private" | "public" | null | undefined;
878
872
  profileId: string;
879
873
  address: string;
@@ -886,7 +880,6 @@ export declare const TraderProfileStruct: import("@metamask/superstruct").Struct
886
880
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
887
881
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
888
882
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
889
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
890
883
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
891
884
  private: "private";
892
885
  public: "public";
@@ -951,7 +944,6 @@ export declare const TraderProfileResponseStruct: import("@metamask/superstruct"
951
944
  createdAt?: string | null | undefined;
952
945
  updatedAt?: string | null | undefined;
953
946
  connectedToX?: boolean | null | undefined;
954
- verified?: boolean | null | undefined;
955
947
  tradingPrivacy?: "private" | "public" | null | undefined;
956
948
  profileId: string;
957
949
  address: string;
@@ -1000,7 +992,6 @@ export declare const TraderProfileResponseStruct: import("@metamask/superstruct"
1000
992
  createdAt?: string | null | undefined;
1001
993
  updatedAt?: string | null | undefined;
1002
994
  connectedToX?: boolean | null | undefined;
1003
- verified?: boolean | null | undefined;
1004
995
  tradingPrivacy?: "private" | "public" | null | undefined;
1005
996
  profileId: string;
1006
997
  address: string;
@@ -1013,7 +1004,6 @@ export declare const TraderProfileResponseStruct: import("@metamask/superstruct"
1013
1004
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1014
1005
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1015
1006
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1016
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1017
1007
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1018
1008
  private: "private";
1019
1009
  public: "public";
@@ -1104,7 +1094,6 @@ export declare const LeaderboardResponseStruct: import("@metamask/superstruct").
1104
1094
  createdAt?: string | null | undefined;
1105
1095
  updatedAt?: string | null | undefined;
1106
1096
  connectedToX?: boolean | null | undefined;
1107
- verified?: boolean | null | undefined;
1108
1097
  tradingPrivacy?: "private" | "public" | null | undefined;
1109
1098
  rank: number;
1110
1099
  addresses: string[];
@@ -1137,7 +1126,6 @@ export declare const LeaderboardResponseStruct: import("@metamask/superstruct").
1137
1126
  createdAt?: string | null | undefined;
1138
1127
  updatedAt?: string | null | undefined;
1139
1128
  connectedToX?: boolean | null | undefined;
1140
- verified?: boolean | null | undefined;
1141
1129
  tradingPrivacy?: "private" | "public" | null | undefined;
1142
1130
  rank: number;
1143
1131
  addresses: string[];
@@ -1168,7 +1156,6 @@ export declare const LeaderboardResponseStruct: import("@metamask/superstruct").
1168
1156
  createdAt?: string | null | undefined;
1169
1157
  updatedAt?: string | null | undefined;
1170
1158
  connectedToX?: boolean | null | undefined;
1171
- verified?: boolean | null | undefined;
1172
1159
  tradingPrivacy?: "private" | "public" | null | undefined;
1173
1160
  rank: number;
1174
1161
  addresses: string[];
@@ -1199,7 +1186,6 @@ export declare const LeaderboardResponseStruct: import("@metamask/superstruct").
1199
1186
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1200
1187
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1201
1188
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1202
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1203
1189
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1204
1190
  private: "private";
1205
1191
  public: "public";
@@ -1708,7 +1694,6 @@ export declare const FollowersResponseStruct: import("@metamask/superstruct").St
1708
1694
  createdAt?: string | null | undefined;
1709
1695
  updatedAt?: string | null | undefined;
1710
1696
  connectedToX?: boolean | null | undefined;
1711
- verified?: boolean | null | undefined;
1712
1697
  tradingPrivacy?: "private" | "public" | null | undefined;
1713
1698
  profileId: string;
1714
1699
  address: string;
@@ -1723,7 +1708,6 @@ export declare const FollowersResponseStruct: import("@metamask/superstruct").St
1723
1708
  createdAt?: string | null | undefined;
1724
1709
  updatedAt?: string | null | undefined;
1725
1710
  connectedToX?: boolean | null | undefined;
1726
- verified?: boolean | null | undefined;
1727
1711
  tradingPrivacy?: "private" | "public" | null | undefined;
1728
1712
  profileId: string;
1729
1713
  address: string;
@@ -1735,7 +1719,6 @@ export declare const FollowersResponseStruct: import("@metamask/superstruct").St
1735
1719
  createdAt?: string | null | undefined;
1736
1720
  updatedAt?: string | null | undefined;
1737
1721
  connectedToX?: boolean | null | undefined;
1738
- verified?: boolean | null | undefined;
1739
1722
  tradingPrivacy?: "private" | "public" | null | undefined;
1740
1723
  profileId: string;
1741
1724
  address: string;
@@ -1747,7 +1730,6 @@ export declare const FollowersResponseStruct: import("@metamask/superstruct").St
1747
1730
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1748
1731
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1749
1732
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1750
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1751
1733
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1752
1734
  private: "private";
1753
1735
  public: "public";
@@ -1766,7 +1748,6 @@ export declare const FollowingResponseStruct: import("@metamask/superstruct").St
1766
1748
  createdAt?: string | null | undefined;
1767
1749
  updatedAt?: string | null | undefined;
1768
1750
  connectedToX?: boolean | null | undefined;
1769
- verified?: boolean | null | undefined;
1770
1751
  tradingPrivacy?: "private" | "public" | null | undefined;
1771
1752
  profileId: string;
1772
1753
  address: string;
@@ -1781,7 +1762,6 @@ export declare const FollowingResponseStruct: import("@metamask/superstruct").St
1781
1762
  createdAt?: string | null | undefined;
1782
1763
  updatedAt?: string | null | undefined;
1783
1764
  connectedToX?: boolean | null | undefined;
1784
- verified?: boolean | null | undefined;
1785
1765
  tradingPrivacy?: "private" | "public" | null | undefined;
1786
1766
  profileId: string;
1787
1767
  address: string;
@@ -1793,7 +1773,6 @@ export declare const FollowingResponseStruct: import("@metamask/superstruct").St
1793
1773
  createdAt?: string | null | undefined;
1794
1774
  updatedAt?: string | null | undefined;
1795
1775
  connectedToX?: boolean | null | undefined;
1796
- verified?: boolean | null | undefined;
1797
1776
  tradingPrivacy?: "private" | "public" | null | undefined;
1798
1777
  profileId: string;
1799
1778
  address: string;
@@ -1805,7 +1784,6 @@ export declare const FollowingResponseStruct: import("@metamask/superstruct").St
1805
1784
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1806
1785
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1807
1786
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1808
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1809
1787
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1810
1788
  private: "private";
1811
1789
  public: "public";
@@ -1824,7 +1802,6 @@ export declare const FollowResponseStruct: import("@metamask/superstruct").Struc
1824
1802
  createdAt?: string | null | undefined;
1825
1803
  updatedAt?: string | null | undefined;
1826
1804
  connectedToX?: boolean | null | undefined;
1827
- verified?: boolean | null | undefined;
1828
1805
  tradingPrivacy?: "private" | "public" | null | undefined;
1829
1806
  profileId: string;
1830
1807
  address: string;
@@ -1838,7 +1815,6 @@ export declare const FollowResponseStruct: import("@metamask/superstruct").Struc
1838
1815
  createdAt?: string | null | undefined;
1839
1816
  updatedAt?: string | null | undefined;
1840
1817
  connectedToX?: boolean | null | undefined;
1841
- verified?: boolean | null | undefined;
1842
1818
  tradingPrivacy?: "private" | "public" | null | undefined;
1843
1819
  profileId: string;
1844
1820
  address: string;
@@ -1850,7 +1826,6 @@ export declare const FollowResponseStruct: import("@metamask/superstruct").Struc
1850
1826
  createdAt?: string | null | undefined;
1851
1827
  updatedAt?: string | null | undefined;
1852
1828
  connectedToX?: boolean | null | undefined;
1853
- verified?: boolean | null | undefined;
1854
1829
  tradingPrivacy?: "private" | "public" | null | undefined;
1855
1830
  profileId: string;
1856
1831
  address: string;
@@ -1862,7 +1837,6 @@ export declare const FollowResponseStruct: import("@metamask/superstruct").Struc
1862
1837
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1863
1838
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1864
1839
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1865
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1866
1840
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1867
1841
  private: "private";
1868
1842
  public: "public";
@@ -1880,7 +1854,6 @@ export declare const UnfollowResponseStruct: import("@metamask/superstruct").Str
1880
1854
  createdAt?: string | null | undefined;
1881
1855
  updatedAt?: string | null | undefined;
1882
1856
  connectedToX?: boolean | null | undefined;
1883
- verified?: boolean | null | undefined;
1884
1857
  tradingPrivacy?: "private" | "public" | null | undefined;
1885
1858
  profileId: string;
1886
1859
  address: string;
@@ -1894,7 +1867,6 @@ export declare const UnfollowResponseStruct: import("@metamask/superstruct").Str
1894
1867
  createdAt?: string | null | undefined;
1895
1868
  updatedAt?: string | null | undefined;
1896
1869
  connectedToX?: boolean | null | undefined;
1897
- verified?: boolean | null | undefined;
1898
1870
  tradingPrivacy?: "private" | "public" | null | undefined;
1899
1871
  profileId: string;
1900
1872
  address: string;
@@ -1906,7 +1878,6 @@ export declare const UnfollowResponseStruct: import("@metamask/superstruct").Str
1906
1878
  createdAt?: string | null | undefined;
1907
1879
  updatedAt?: string | null | undefined;
1908
1880
  connectedToX?: boolean | null | undefined;
1909
- verified?: boolean | null | undefined;
1910
1881
  tradingPrivacy?: "private" | "public" | null | undefined;
1911
1882
  profileId: string;
1912
1883
  address: string;
@@ -1918,7 +1889,6 @@ export declare const UnfollowResponseStruct: import("@metamask/superstruct").Str
1918
1889
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1919
1890
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1920
1891
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1921
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1922
1892
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1923
1893
  private: "private";
1924
1894
  public: "public";
@@ -1939,7 +1909,6 @@ export declare const BlockedProfilesResponseStruct: import("@metamask/superstruc
1939
1909
  createdAt?: string | null | undefined;
1940
1910
  updatedAt?: string | null | undefined;
1941
1911
  connectedToX?: boolean | null | undefined;
1942
- verified?: boolean | null | undefined;
1943
1912
  tradingPrivacy?: "private" | "public" | null | undefined;
1944
1913
  profileId: string;
1945
1914
  address: string;
@@ -1958,7 +1927,6 @@ export declare const BlockedProfilesResponseStruct: import("@metamask/superstruc
1958
1927
  createdAt?: string | null | undefined;
1959
1928
  updatedAt?: string | null | undefined;
1960
1929
  connectedToX?: boolean | null | undefined;
1961
- verified?: boolean | null | undefined;
1962
1930
  tradingPrivacy?: "private" | "public" | null | undefined;
1963
1931
  profileId: string;
1964
1932
  address: string;
@@ -1974,7 +1942,6 @@ export declare const BlockedProfilesResponseStruct: import("@metamask/superstruc
1974
1942
  createdAt?: string | null | undefined;
1975
1943
  updatedAt?: string | null | undefined;
1976
1944
  connectedToX?: boolean | null | undefined;
1977
- verified?: boolean | null | undefined;
1978
1945
  tradingPrivacy?: "private" | "public" | null | undefined;
1979
1946
  profileId: string;
1980
1947
  address: string;
@@ -1990,7 +1957,6 @@ export declare const BlockedProfilesResponseStruct: import("@metamask/superstruc
1990
1957
  createdAt?: string | null | undefined;
1991
1958
  updatedAt?: string | null | undefined;
1992
1959
  connectedToX?: boolean | null | undefined;
1993
- verified?: boolean | null | undefined;
1994
1960
  tradingPrivacy?: "private" | "public" | null | undefined;
1995
1961
  profileId: string;
1996
1962
  address: string;
@@ -2002,7 +1968,6 @@ export declare const BlockedProfilesResponseStruct: import("@metamask/superstruc
2002
1968
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
2003
1969
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
2004
1970
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
2005
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
2006
1971
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
2007
1972
  private: "private";
2008
1973
  public: "public";
@@ -2029,7 +1994,6 @@ export declare const BlockedContentResponseStruct: import("@metamask/superstruct
2029
1994
  createdAt?: string | null | undefined;
2030
1995
  updatedAt?: string | null | undefined;
2031
1996
  connectedToX?: boolean | null | undefined;
2032
- verified?: boolean | null | undefined;
2033
1997
  tradingPrivacy?: "private" | "public" | null | undefined;
2034
1998
  profileId: string;
2035
1999
  address: string;
@@ -2052,7 +2016,6 @@ export declare const BlockedContentResponseStruct: import("@metamask/superstruct
2052
2016
  createdAt?: string | null | undefined;
2053
2017
  updatedAt?: string | null | undefined;
2054
2018
  connectedToX?: boolean | null | undefined;
2055
- verified?: boolean | null | undefined;
2056
2019
  tradingPrivacy?: "private" | "public" | null | undefined;
2057
2020
  profileId: string;
2058
2021
  address: string;
@@ -2072,7 +2035,6 @@ export declare const BlockedContentResponseStruct: import("@metamask/superstruct
2072
2035
  createdAt?: string | null | undefined;
2073
2036
  updatedAt?: string | null | undefined;
2074
2037
  connectedToX?: boolean | null | undefined;
2075
- verified?: boolean | null | undefined;
2076
2038
  tradingPrivacy?: "private" | "public" | null | undefined;
2077
2039
  profileId: string;
2078
2040
  address: string;
@@ -2095,7 +2057,6 @@ export declare const BlockedContentResponseStruct: import("@metamask/superstruct
2095
2057
  createdAt?: string | null | undefined;
2096
2058
  updatedAt?: string | null | undefined;
2097
2059
  connectedToX?: boolean | null | undefined;
2098
- verified?: boolean | null | undefined;
2099
2060
  tradingPrivacy?: "private" | "public" | null | undefined;
2100
2061
  profileId: string;
2101
2062
  address: string;
@@ -2107,7 +2068,6 @@ export declare const BlockedContentResponseStruct: import("@metamask/superstruct
2107
2068
  createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
2108
2069
  updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
2109
2070
  connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
2110
- verified: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
2111
2071
  tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
2112
2072
  private: "private";
2113
2073
  public: "public";
@@ -1 +1 @@
1
- {"version":3,"file":"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;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AAYH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;EAIzC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;EAGpC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;;;;EAGhC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/social-controllers",
3
- "version": "3.22.0-preview-0c3bae2bd",
3
+ "version": "3.22.0-preview-dec55d1fc",
4
4
  "description": "A collection of social related controllers",
5
5
  "keywords": [
6
6
  "Ethereum",