@dimcool/sdk 0.1.1 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/dist/index.cjs +1820 -1696
- package/dist/index.d.cts +85 -2
- package/dist/index.d.ts +85 -2
- package/dist/index.js +1820 -1696
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -115,6 +115,34 @@ interface SDKConfig {
|
|
|
115
115
|
httpClient?: IHttpClient;
|
|
116
116
|
wsTransport?: WsTransport;
|
|
117
117
|
logger?: ILogger;
|
|
118
|
+
autoPay?: {
|
|
119
|
+
enabled?: boolean;
|
|
120
|
+
maxAmountMinor?: number;
|
|
121
|
+
maxRetries?: number;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
interface PaymentRequiredChallenge {
|
|
125
|
+
paymentIntentId: string;
|
|
126
|
+
scheme: 'exact';
|
|
127
|
+
network: 'solana';
|
|
128
|
+
token: 'USDC';
|
|
129
|
+
amountMinor: number;
|
|
130
|
+
purpose: string;
|
|
131
|
+
expiresAt: string;
|
|
132
|
+
nonce: string;
|
|
133
|
+
resourceBinding: {
|
|
134
|
+
method: string;
|
|
135
|
+
path: string;
|
|
136
|
+
requestHash: string;
|
|
137
|
+
};
|
|
138
|
+
throttle?: {
|
|
139
|
+
bucket: string;
|
|
140
|
+
limit: number;
|
|
141
|
+
windowSec: number;
|
|
142
|
+
current: number;
|
|
143
|
+
retryAfterSec: number;
|
|
144
|
+
resetPriceMinor: number;
|
|
145
|
+
};
|
|
118
146
|
}
|
|
119
147
|
type MoneyMinor = number;
|
|
120
148
|
interface LoginResponse {
|
|
@@ -389,6 +417,10 @@ interface AdminStats {
|
|
|
389
417
|
totalMarketVolume: MoneyMinor;
|
|
390
418
|
/** Total fees collected from prediction markets (minor units). */
|
|
391
419
|
totalMarketFees: MoneyMinor;
|
|
420
|
+
/** Total platform fees collected through payment-gated API actions (minor units). */
|
|
421
|
+
totalPaymentGateFeesUsdc: MoneyMinor;
|
|
422
|
+
/** Total confirmed payment-gate fee transactions. */
|
|
423
|
+
paymentGateFeeCount: number;
|
|
392
424
|
}
|
|
393
425
|
interface EscrowSweepPreview {
|
|
394
426
|
escrowSolBalance: number;
|
|
@@ -466,6 +498,30 @@ interface AdminDailyStatsItem {
|
|
|
466
498
|
referralFees: MoneyMinor;
|
|
467
499
|
bettingFees: MoneyMinor;
|
|
468
500
|
marketFees: MoneyMinor;
|
|
501
|
+
paymentGateFees: MoneyMinor;
|
|
502
|
+
}
|
|
503
|
+
interface PlatformFeeItem {
|
|
504
|
+
id: string;
|
|
505
|
+
createdAt: string;
|
|
506
|
+
confirmedAt: string | null;
|
|
507
|
+
purpose: string;
|
|
508
|
+
appId?: string;
|
|
509
|
+
endpointMethod?: string;
|
|
510
|
+
endpointPath?: string;
|
|
511
|
+
paymentIntentId?: string;
|
|
512
|
+
payerUserId: string | null;
|
|
513
|
+
payerAddress: string;
|
|
514
|
+
amountMinor: MoneyMinor;
|
|
515
|
+
mint: string;
|
|
516
|
+
signature: string;
|
|
517
|
+
status: string;
|
|
518
|
+
}
|
|
519
|
+
interface PaginatedPlatformFees {
|
|
520
|
+
items: PlatformFeeItem[];
|
|
521
|
+
total: number;
|
|
522
|
+
page: number;
|
|
523
|
+
limit: number;
|
|
524
|
+
totalPages: number;
|
|
469
525
|
}
|
|
470
526
|
interface AdminDailyStats {
|
|
471
527
|
days: AdminDailyStatsItem[];
|
|
@@ -914,6 +970,18 @@ declare class Admin {
|
|
|
914
970
|
category?: CriticalIncidentCategory;
|
|
915
971
|
}): Promise<PaginatedCriticalIncidents>;
|
|
916
972
|
resolveCriticalIncident(id: string, resolutionNote?: string): Promise<CriticalIncident>;
|
|
973
|
+
getPlatformFees(input?: {
|
|
974
|
+
page?: number;
|
|
975
|
+
limit?: number;
|
|
976
|
+
from?: string;
|
|
977
|
+
to?: string;
|
|
978
|
+
purpose?: string;
|
|
979
|
+
appId?: string;
|
|
980
|
+
payerUserId?: string;
|
|
981
|
+
payerAddress?: string;
|
|
982
|
+
minAmount?: number;
|
|
983
|
+
maxAmount?: number;
|
|
984
|
+
}): Promise<PaginatedPlatformFees>;
|
|
917
985
|
}
|
|
918
986
|
|
|
919
987
|
declare class Users {
|
|
@@ -2617,13 +2685,28 @@ declare class HttpClient implements IHttpClient {
|
|
|
2617
2685
|
private storage;
|
|
2618
2686
|
private logger;
|
|
2619
2687
|
private appId?;
|
|
2620
|
-
|
|
2688
|
+
private autoPayConfig;
|
|
2689
|
+
private signerAddressProvider?;
|
|
2690
|
+
private signTransactionHandler?;
|
|
2691
|
+
constructor(baseUrl: string, storage: IStorage, logger?: ILogger, appId?: string, autoPayConfig?: {
|
|
2692
|
+
enabled?: boolean;
|
|
2693
|
+
maxAmountMinor?: number;
|
|
2694
|
+
maxRetries?: number;
|
|
2695
|
+
});
|
|
2696
|
+
setAutoPayHandlers(input: {
|
|
2697
|
+
signerAddressProvider: () => string | null;
|
|
2698
|
+
signTransactionHandler: (transaction: Transaction) => Promise<Transaction>;
|
|
2699
|
+
}): void;
|
|
2621
2700
|
request<T>(endpoint: string, options?: RequestInit): Promise<T>;
|
|
2701
|
+
private requestInternal;
|
|
2622
2702
|
get<T>(endpoint: string, options?: RequestInit): Promise<T>;
|
|
2623
2703
|
post<T>(endpoint: string, data?: any, options?: RequestInit): Promise<T>;
|
|
2624
2704
|
patch<T>(endpoint: string, data?: any, options?: RequestInit): Promise<T>;
|
|
2625
2705
|
delete<T>(endpoint: string, options?: RequestInit): Promise<T>;
|
|
2626
2706
|
upload<T>(endpoint: string, formData: FormData): Promise<T>;
|
|
2707
|
+
private extractPaymentChallenge;
|
|
2708
|
+
private canAutoPayChallenge;
|
|
2709
|
+
private payChallenge;
|
|
2627
2710
|
}
|
|
2628
2711
|
|
|
2629
|
-
export { type AcceptChallengeResponse, type Achievement, Activity, type ActivityFeedItem, type ActivityFeedItemType, type ActivityFeedResponse, type ActivityFeedUser, Admin, type AdminDailyStats, type AdminDailyStatsItem, type AdminGameHistory, type AdminGameHistoryFeeBreakdown, type AdminGameHistoryFeePlayer, type AdminGameHistoryPlayer, type AdminMarketDailyStats, type AdminMarketDailyStatsItem, type AdminMarketDetail, type AdminMarketStats, type AdminStats, type AdminWalletActivityItem, type AdminWalletActivityResponse, type ApiError, type AppNotification, type AppNotificationType, type ApplyReferralCodeResponse, type BalanceResponse, type BetOption, type BroadcastTipRequest, BrowserLocalStorage, Challenges, Chat, type ChatContext, type ChatContextType, type ChatMessage, type ChatMessageReply, type ChatMessageType, type ChatReaction, type ChatReadBy, type ChatState, type ChatStore, type ChatStoreState, type ClaimReferralRewardsResponse, type CreateChallengeRequest, type CreateChallengeResponse, type CreateLobbyRequest, type CreateTicketData, type CriticalIncident, type CriticalIncidentCategory, type CriticalIncidentImpactType, type CriticalIncidentSeverity, type CriticalIncidentStatus, type CriticalIncidentSummary, type CurrentGame, Daily, type DailyParticipant, type DailyRoom, type DailyToken, type DepositStatus, type DepositStatusResponse, type DmThread, type DmThreadsStore, type DmThreadsStoreState, type DonateToGameResponse, ESTIMATED_SOL_FEE_LAMPORTS, Escrow, type EscrowSweepPreview, type EscrowSweepRecord, type FaucetResponse, type FeatureFlag, type FriendRequestItem, type FriendsStore, type FriendsStoreState, type FriendshipStatus, type Game, type GameActionsStore, type GameActionsStoreState, type GameHistoryItem, type GameMetrics, type GamePlayer, type GameStateResponse, type GameStore, type GameStoreState, type GameType, Games, type GenerateHandshakeResponse, type GetTicketsOptions, HttpClient, type IHttpClient, type ILogger, type IStorage, type InviteFriendRequest, type LeaderboardEntry, type LeaderboardQuery, type LeaderboardRange, type LeaderboardResponse, Leaderboards, type LivePlayer, type LivePlayersPage, Lobbies, type Lobby, type LobbyMatchedEvent, type LobbyPlayer, type LobbyStore, type LobbyStoreState, type LogLevel, type LoginResponse, MIN_SOL_TRANSFER_AMOUNT, MIN_TRANSFER_AMOUNT, type MarketBuyResult, type MarketPosition, type MarketSellResult, type MarketState, Markets, type MoneyMinor, NodeStorage, type NotificationEvent, type NotificationsStore, type NotificationsStoreState, type PaginatedCriticalIncidents, type PaginatedFriends, type PaginatedNotificationsResponse, type PaginatedReports, type PaginatedSearchUsers, type PaginatedSessions, type PaginatedSupportTickets, type PaginatedUsers, type PrepareDepositResponse, type PrepareTipRequest, type PrepareTipResponse, type PrepareTransferRequest, type PrepareTransferResponse, type PublicUser, type QueueStats, type RedeemResult, type ReferralRewardItem, type ReferralRewardStatus, type ReferralRewardsResponse, type ReferralSummary, type ReferralTreeItem, type ReferralTreeResponse, Referrals, type Report, type ReportCount, type ReportStatus, type ReportUser, Reports, type RetryOptions, SDK, type SDKConfig, SDK_VERSION, SOL_DECIMALS, SOL_MINT, type SdkStore, type SdkUpgradeInfo, type SearchUser, type SendMessageRequest, type SendTipResponse, type SendTransferResponse, type Session, SharedWorkerTransport, Spectate, type SpectatorMetrics, type SpectatorMetricsByUser, StandaloneWsTransport, type SubmitDepositResponse, type SubmitTransferRequest, type SubmitTransferResponse, Support, type SupportMessage, type SupportMessageSenderRole, type SupportTicket, type SupportTicketCategory, type SupportTicketPriority, type SupportTicketStatus, type SupportTicketUser, type SystemMessageType, TOKEN_KEY, TRANSFER_FEE_MINOR, Tips, type TransferToken, type TypingUser, type UpdateTicketData, type User, type UserAchievement, type UserActivity, type UserActivityStatus, type UserStats, type UsernameAvailabilityResponse, Users, type ValidAction, Wallet, type WalletActivityCounterpartyType, type WalletActivityDirection, type WalletActivityItem, type WalletActivityKind, type WalletActivityResponse, type WalletActivityStatus, type WalletClaimAction, type WalletMeta, type WalletResponse, type WalletSigner, type WsEvent, WsEventBus, type WsEventName, type WsTransport, type ConnectionState as WsTransportState, createChatStore, createDmThreadsStore, createFriendsStore, createGameActionsStore, createGameStore, createLobbyStore, createLogger, createNotificationsStore, createSdkStore, isRetryableError, logger, withRetry };
|
|
2712
|
+
export { type AcceptChallengeResponse, type Achievement, Activity, type ActivityFeedItem, type ActivityFeedItemType, type ActivityFeedResponse, type ActivityFeedUser, Admin, type AdminDailyStats, type AdminDailyStatsItem, type AdminGameHistory, type AdminGameHistoryFeeBreakdown, type AdminGameHistoryFeePlayer, type AdminGameHistoryPlayer, type AdminMarketDailyStats, type AdminMarketDailyStatsItem, type AdminMarketDetail, type AdminMarketStats, type AdminStats, type AdminWalletActivityItem, type AdminWalletActivityResponse, type ApiError, type AppNotification, type AppNotificationType, type ApplyReferralCodeResponse, type BalanceResponse, type BetOption, type BroadcastTipRequest, BrowserLocalStorage, Challenges, Chat, type ChatContext, type ChatContextType, type ChatMessage, type ChatMessageReply, type ChatMessageType, type ChatReaction, type ChatReadBy, type ChatState, type ChatStore, type ChatStoreState, type ClaimReferralRewardsResponse, type CreateChallengeRequest, type CreateChallengeResponse, type CreateLobbyRequest, type CreateTicketData, type CriticalIncident, type CriticalIncidentCategory, type CriticalIncidentImpactType, type CriticalIncidentSeverity, type CriticalIncidentStatus, type CriticalIncidentSummary, type CurrentGame, Daily, type DailyParticipant, type DailyRoom, type DailyToken, type DepositStatus, type DepositStatusResponse, type DmThread, type DmThreadsStore, type DmThreadsStoreState, type DonateToGameResponse, ESTIMATED_SOL_FEE_LAMPORTS, Escrow, type EscrowSweepPreview, type EscrowSweepRecord, type FaucetResponse, type FeatureFlag, type FriendRequestItem, type FriendsStore, type FriendsStoreState, type FriendshipStatus, type Game, type GameActionsStore, type GameActionsStoreState, type GameHistoryItem, type GameMetrics, type GamePlayer, type GameStateResponse, type GameStore, type GameStoreState, type GameType, Games, type GenerateHandshakeResponse, type GetTicketsOptions, HttpClient, type IHttpClient, type ILogger, type IStorage, type InviteFriendRequest, type LeaderboardEntry, type LeaderboardQuery, type LeaderboardRange, type LeaderboardResponse, Leaderboards, type LivePlayer, type LivePlayersPage, Lobbies, type Lobby, type LobbyMatchedEvent, type LobbyPlayer, type LobbyStore, type LobbyStoreState, type LogLevel, type LoginResponse, MIN_SOL_TRANSFER_AMOUNT, MIN_TRANSFER_AMOUNT, type MarketBuyResult, type MarketPosition, type MarketSellResult, type MarketState, Markets, type MoneyMinor, NodeStorage, type NotificationEvent, type NotificationsStore, type NotificationsStoreState, type PaginatedCriticalIncidents, type PaginatedFriends, type PaginatedNotificationsResponse, type PaginatedPlatformFees, type PaginatedReports, type PaginatedSearchUsers, type PaginatedSessions, type PaginatedSupportTickets, type PaginatedUsers, type PaymentRequiredChallenge, type PlatformFeeItem, type PrepareDepositResponse, type PrepareTipRequest, type PrepareTipResponse, type PrepareTransferRequest, type PrepareTransferResponse, type PublicUser, type QueueStats, type RedeemResult, type ReferralRewardItem, type ReferralRewardStatus, type ReferralRewardsResponse, type ReferralSummary, type ReferralTreeItem, type ReferralTreeResponse, Referrals, type Report, type ReportCount, type ReportStatus, type ReportUser, Reports, type RetryOptions, SDK, type SDKConfig, SDK_VERSION, SOL_DECIMALS, SOL_MINT, type SdkStore, type SdkUpgradeInfo, type SearchUser, type SendMessageRequest, type SendTipResponse, type SendTransferResponse, type Session, SharedWorkerTransport, Spectate, type SpectatorMetrics, type SpectatorMetricsByUser, StandaloneWsTransport, type SubmitDepositResponse, type SubmitTransferRequest, type SubmitTransferResponse, Support, type SupportMessage, type SupportMessageSenderRole, type SupportTicket, type SupportTicketCategory, type SupportTicketPriority, type SupportTicketStatus, type SupportTicketUser, type SystemMessageType, TOKEN_KEY, TRANSFER_FEE_MINOR, Tips, type TransferToken, type TypingUser, type UpdateTicketData, type User, type UserAchievement, type UserActivity, type UserActivityStatus, type UserStats, type UsernameAvailabilityResponse, Users, type ValidAction, Wallet, type WalletActivityCounterpartyType, type WalletActivityDirection, type WalletActivityItem, type WalletActivityKind, type WalletActivityResponse, type WalletActivityStatus, type WalletClaimAction, type WalletMeta, type WalletResponse, type WalletSigner, type WsEvent, WsEventBus, type WsEventName, type WsTransport, type ConnectionState as WsTransportState, createChatStore, createDmThreadsStore, createFriendsStore, createGameActionsStore, createGameStore, createLobbyStore, createLogger, createNotificationsStore, createSdkStore, isRetryableError, logger, withRetry };
|
package/dist/index.d.ts
CHANGED
|
@@ -115,6 +115,34 @@ interface SDKConfig {
|
|
|
115
115
|
httpClient?: IHttpClient;
|
|
116
116
|
wsTransport?: WsTransport;
|
|
117
117
|
logger?: ILogger;
|
|
118
|
+
autoPay?: {
|
|
119
|
+
enabled?: boolean;
|
|
120
|
+
maxAmountMinor?: number;
|
|
121
|
+
maxRetries?: number;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
interface PaymentRequiredChallenge {
|
|
125
|
+
paymentIntentId: string;
|
|
126
|
+
scheme: 'exact';
|
|
127
|
+
network: 'solana';
|
|
128
|
+
token: 'USDC';
|
|
129
|
+
amountMinor: number;
|
|
130
|
+
purpose: string;
|
|
131
|
+
expiresAt: string;
|
|
132
|
+
nonce: string;
|
|
133
|
+
resourceBinding: {
|
|
134
|
+
method: string;
|
|
135
|
+
path: string;
|
|
136
|
+
requestHash: string;
|
|
137
|
+
};
|
|
138
|
+
throttle?: {
|
|
139
|
+
bucket: string;
|
|
140
|
+
limit: number;
|
|
141
|
+
windowSec: number;
|
|
142
|
+
current: number;
|
|
143
|
+
retryAfterSec: number;
|
|
144
|
+
resetPriceMinor: number;
|
|
145
|
+
};
|
|
118
146
|
}
|
|
119
147
|
type MoneyMinor = number;
|
|
120
148
|
interface LoginResponse {
|
|
@@ -389,6 +417,10 @@ interface AdminStats {
|
|
|
389
417
|
totalMarketVolume: MoneyMinor;
|
|
390
418
|
/** Total fees collected from prediction markets (minor units). */
|
|
391
419
|
totalMarketFees: MoneyMinor;
|
|
420
|
+
/** Total platform fees collected through payment-gated API actions (minor units). */
|
|
421
|
+
totalPaymentGateFeesUsdc: MoneyMinor;
|
|
422
|
+
/** Total confirmed payment-gate fee transactions. */
|
|
423
|
+
paymentGateFeeCount: number;
|
|
392
424
|
}
|
|
393
425
|
interface EscrowSweepPreview {
|
|
394
426
|
escrowSolBalance: number;
|
|
@@ -466,6 +498,30 @@ interface AdminDailyStatsItem {
|
|
|
466
498
|
referralFees: MoneyMinor;
|
|
467
499
|
bettingFees: MoneyMinor;
|
|
468
500
|
marketFees: MoneyMinor;
|
|
501
|
+
paymentGateFees: MoneyMinor;
|
|
502
|
+
}
|
|
503
|
+
interface PlatformFeeItem {
|
|
504
|
+
id: string;
|
|
505
|
+
createdAt: string;
|
|
506
|
+
confirmedAt: string | null;
|
|
507
|
+
purpose: string;
|
|
508
|
+
appId?: string;
|
|
509
|
+
endpointMethod?: string;
|
|
510
|
+
endpointPath?: string;
|
|
511
|
+
paymentIntentId?: string;
|
|
512
|
+
payerUserId: string | null;
|
|
513
|
+
payerAddress: string;
|
|
514
|
+
amountMinor: MoneyMinor;
|
|
515
|
+
mint: string;
|
|
516
|
+
signature: string;
|
|
517
|
+
status: string;
|
|
518
|
+
}
|
|
519
|
+
interface PaginatedPlatformFees {
|
|
520
|
+
items: PlatformFeeItem[];
|
|
521
|
+
total: number;
|
|
522
|
+
page: number;
|
|
523
|
+
limit: number;
|
|
524
|
+
totalPages: number;
|
|
469
525
|
}
|
|
470
526
|
interface AdminDailyStats {
|
|
471
527
|
days: AdminDailyStatsItem[];
|
|
@@ -914,6 +970,18 @@ declare class Admin {
|
|
|
914
970
|
category?: CriticalIncidentCategory;
|
|
915
971
|
}): Promise<PaginatedCriticalIncidents>;
|
|
916
972
|
resolveCriticalIncident(id: string, resolutionNote?: string): Promise<CriticalIncident>;
|
|
973
|
+
getPlatformFees(input?: {
|
|
974
|
+
page?: number;
|
|
975
|
+
limit?: number;
|
|
976
|
+
from?: string;
|
|
977
|
+
to?: string;
|
|
978
|
+
purpose?: string;
|
|
979
|
+
appId?: string;
|
|
980
|
+
payerUserId?: string;
|
|
981
|
+
payerAddress?: string;
|
|
982
|
+
minAmount?: number;
|
|
983
|
+
maxAmount?: number;
|
|
984
|
+
}): Promise<PaginatedPlatformFees>;
|
|
917
985
|
}
|
|
918
986
|
|
|
919
987
|
declare class Users {
|
|
@@ -2617,13 +2685,28 @@ declare class HttpClient implements IHttpClient {
|
|
|
2617
2685
|
private storage;
|
|
2618
2686
|
private logger;
|
|
2619
2687
|
private appId?;
|
|
2620
|
-
|
|
2688
|
+
private autoPayConfig;
|
|
2689
|
+
private signerAddressProvider?;
|
|
2690
|
+
private signTransactionHandler?;
|
|
2691
|
+
constructor(baseUrl: string, storage: IStorage, logger?: ILogger, appId?: string, autoPayConfig?: {
|
|
2692
|
+
enabled?: boolean;
|
|
2693
|
+
maxAmountMinor?: number;
|
|
2694
|
+
maxRetries?: number;
|
|
2695
|
+
});
|
|
2696
|
+
setAutoPayHandlers(input: {
|
|
2697
|
+
signerAddressProvider: () => string | null;
|
|
2698
|
+
signTransactionHandler: (transaction: Transaction) => Promise<Transaction>;
|
|
2699
|
+
}): void;
|
|
2621
2700
|
request<T>(endpoint: string, options?: RequestInit): Promise<T>;
|
|
2701
|
+
private requestInternal;
|
|
2622
2702
|
get<T>(endpoint: string, options?: RequestInit): Promise<T>;
|
|
2623
2703
|
post<T>(endpoint: string, data?: any, options?: RequestInit): Promise<T>;
|
|
2624
2704
|
patch<T>(endpoint: string, data?: any, options?: RequestInit): Promise<T>;
|
|
2625
2705
|
delete<T>(endpoint: string, options?: RequestInit): Promise<T>;
|
|
2626
2706
|
upload<T>(endpoint: string, formData: FormData): Promise<T>;
|
|
2707
|
+
private extractPaymentChallenge;
|
|
2708
|
+
private canAutoPayChallenge;
|
|
2709
|
+
private payChallenge;
|
|
2627
2710
|
}
|
|
2628
2711
|
|
|
2629
|
-
export { type AcceptChallengeResponse, type Achievement, Activity, type ActivityFeedItem, type ActivityFeedItemType, type ActivityFeedResponse, type ActivityFeedUser, Admin, type AdminDailyStats, type AdminDailyStatsItem, type AdminGameHistory, type AdminGameHistoryFeeBreakdown, type AdminGameHistoryFeePlayer, type AdminGameHistoryPlayer, type AdminMarketDailyStats, type AdminMarketDailyStatsItem, type AdminMarketDetail, type AdminMarketStats, type AdminStats, type AdminWalletActivityItem, type AdminWalletActivityResponse, type ApiError, type AppNotification, type AppNotificationType, type ApplyReferralCodeResponse, type BalanceResponse, type BetOption, type BroadcastTipRequest, BrowserLocalStorage, Challenges, Chat, type ChatContext, type ChatContextType, type ChatMessage, type ChatMessageReply, type ChatMessageType, type ChatReaction, type ChatReadBy, type ChatState, type ChatStore, type ChatStoreState, type ClaimReferralRewardsResponse, type CreateChallengeRequest, type CreateChallengeResponse, type CreateLobbyRequest, type CreateTicketData, type CriticalIncident, type CriticalIncidentCategory, type CriticalIncidentImpactType, type CriticalIncidentSeverity, type CriticalIncidentStatus, type CriticalIncidentSummary, type CurrentGame, Daily, type DailyParticipant, type DailyRoom, type DailyToken, type DepositStatus, type DepositStatusResponse, type DmThread, type DmThreadsStore, type DmThreadsStoreState, type DonateToGameResponse, ESTIMATED_SOL_FEE_LAMPORTS, Escrow, type EscrowSweepPreview, type EscrowSweepRecord, type FaucetResponse, type FeatureFlag, type FriendRequestItem, type FriendsStore, type FriendsStoreState, type FriendshipStatus, type Game, type GameActionsStore, type GameActionsStoreState, type GameHistoryItem, type GameMetrics, type GamePlayer, type GameStateResponse, type GameStore, type GameStoreState, type GameType, Games, type GenerateHandshakeResponse, type GetTicketsOptions, HttpClient, type IHttpClient, type ILogger, type IStorage, type InviteFriendRequest, type LeaderboardEntry, type LeaderboardQuery, type LeaderboardRange, type LeaderboardResponse, Leaderboards, type LivePlayer, type LivePlayersPage, Lobbies, type Lobby, type LobbyMatchedEvent, type LobbyPlayer, type LobbyStore, type LobbyStoreState, type LogLevel, type LoginResponse, MIN_SOL_TRANSFER_AMOUNT, MIN_TRANSFER_AMOUNT, type MarketBuyResult, type MarketPosition, type MarketSellResult, type MarketState, Markets, type MoneyMinor, NodeStorage, type NotificationEvent, type NotificationsStore, type NotificationsStoreState, type PaginatedCriticalIncidents, type PaginatedFriends, type PaginatedNotificationsResponse, type PaginatedReports, type PaginatedSearchUsers, type PaginatedSessions, type PaginatedSupportTickets, type PaginatedUsers, type PrepareDepositResponse, type PrepareTipRequest, type PrepareTipResponse, type PrepareTransferRequest, type PrepareTransferResponse, type PublicUser, type QueueStats, type RedeemResult, type ReferralRewardItem, type ReferralRewardStatus, type ReferralRewardsResponse, type ReferralSummary, type ReferralTreeItem, type ReferralTreeResponse, Referrals, type Report, type ReportCount, type ReportStatus, type ReportUser, Reports, type RetryOptions, SDK, type SDKConfig, SDK_VERSION, SOL_DECIMALS, SOL_MINT, type SdkStore, type SdkUpgradeInfo, type SearchUser, type SendMessageRequest, type SendTipResponse, type SendTransferResponse, type Session, SharedWorkerTransport, Spectate, type SpectatorMetrics, type SpectatorMetricsByUser, StandaloneWsTransport, type SubmitDepositResponse, type SubmitTransferRequest, type SubmitTransferResponse, Support, type SupportMessage, type SupportMessageSenderRole, type SupportTicket, type SupportTicketCategory, type SupportTicketPriority, type SupportTicketStatus, type SupportTicketUser, type SystemMessageType, TOKEN_KEY, TRANSFER_FEE_MINOR, Tips, type TransferToken, type TypingUser, type UpdateTicketData, type User, type UserAchievement, type UserActivity, type UserActivityStatus, type UserStats, type UsernameAvailabilityResponse, Users, type ValidAction, Wallet, type WalletActivityCounterpartyType, type WalletActivityDirection, type WalletActivityItem, type WalletActivityKind, type WalletActivityResponse, type WalletActivityStatus, type WalletClaimAction, type WalletMeta, type WalletResponse, type WalletSigner, type WsEvent, WsEventBus, type WsEventName, type WsTransport, type ConnectionState as WsTransportState, createChatStore, createDmThreadsStore, createFriendsStore, createGameActionsStore, createGameStore, createLobbyStore, createLogger, createNotificationsStore, createSdkStore, isRetryableError, logger, withRetry };
|
|
2712
|
+
export { type AcceptChallengeResponse, type Achievement, Activity, type ActivityFeedItem, type ActivityFeedItemType, type ActivityFeedResponse, type ActivityFeedUser, Admin, type AdminDailyStats, type AdminDailyStatsItem, type AdminGameHistory, type AdminGameHistoryFeeBreakdown, type AdminGameHistoryFeePlayer, type AdminGameHistoryPlayer, type AdminMarketDailyStats, type AdminMarketDailyStatsItem, type AdminMarketDetail, type AdminMarketStats, type AdminStats, type AdminWalletActivityItem, type AdminWalletActivityResponse, type ApiError, type AppNotification, type AppNotificationType, type ApplyReferralCodeResponse, type BalanceResponse, type BetOption, type BroadcastTipRequest, BrowserLocalStorage, Challenges, Chat, type ChatContext, type ChatContextType, type ChatMessage, type ChatMessageReply, type ChatMessageType, type ChatReaction, type ChatReadBy, type ChatState, type ChatStore, type ChatStoreState, type ClaimReferralRewardsResponse, type CreateChallengeRequest, type CreateChallengeResponse, type CreateLobbyRequest, type CreateTicketData, type CriticalIncident, type CriticalIncidentCategory, type CriticalIncidentImpactType, type CriticalIncidentSeverity, type CriticalIncidentStatus, type CriticalIncidentSummary, type CurrentGame, Daily, type DailyParticipant, type DailyRoom, type DailyToken, type DepositStatus, type DepositStatusResponse, type DmThread, type DmThreadsStore, type DmThreadsStoreState, type DonateToGameResponse, ESTIMATED_SOL_FEE_LAMPORTS, Escrow, type EscrowSweepPreview, type EscrowSweepRecord, type FaucetResponse, type FeatureFlag, type FriendRequestItem, type FriendsStore, type FriendsStoreState, type FriendshipStatus, type Game, type GameActionsStore, type GameActionsStoreState, type GameHistoryItem, type GameMetrics, type GamePlayer, type GameStateResponse, type GameStore, type GameStoreState, type GameType, Games, type GenerateHandshakeResponse, type GetTicketsOptions, HttpClient, type IHttpClient, type ILogger, type IStorage, type InviteFriendRequest, type LeaderboardEntry, type LeaderboardQuery, type LeaderboardRange, type LeaderboardResponse, Leaderboards, type LivePlayer, type LivePlayersPage, Lobbies, type Lobby, type LobbyMatchedEvent, type LobbyPlayer, type LobbyStore, type LobbyStoreState, type LogLevel, type LoginResponse, MIN_SOL_TRANSFER_AMOUNT, MIN_TRANSFER_AMOUNT, type MarketBuyResult, type MarketPosition, type MarketSellResult, type MarketState, Markets, type MoneyMinor, NodeStorage, type NotificationEvent, type NotificationsStore, type NotificationsStoreState, type PaginatedCriticalIncidents, type PaginatedFriends, type PaginatedNotificationsResponse, type PaginatedPlatformFees, type PaginatedReports, type PaginatedSearchUsers, type PaginatedSessions, type PaginatedSupportTickets, type PaginatedUsers, type PaymentRequiredChallenge, type PlatformFeeItem, type PrepareDepositResponse, type PrepareTipRequest, type PrepareTipResponse, type PrepareTransferRequest, type PrepareTransferResponse, type PublicUser, type QueueStats, type RedeemResult, type ReferralRewardItem, type ReferralRewardStatus, type ReferralRewardsResponse, type ReferralSummary, type ReferralTreeItem, type ReferralTreeResponse, Referrals, type Report, type ReportCount, type ReportStatus, type ReportUser, Reports, type RetryOptions, SDK, type SDKConfig, SDK_VERSION, SOL_DECIMALS, SOL_MINT, type SdkStore, type SdkUpgradeInfo, type SearchUser, type SendMessageRequest, type SendTipResponse, type SendTransferResponse, type Session, SharedWorkerTransport, Spectate, type SpectatorMetrics, type SpectatorMetricsByUser, StandaloneWsTransport, type SubmitDepositResponse, type SubmitTransferRequest, type SubmitTransferResponse, Support, type SupportMessage, type SupportMessageSenderRole, type SupportTicket, type SupportTicketCategory, type SupportTicketPriority, type SupportTicketStatus, type SupportTicketUser, type SystemMessageType, TOKEN_KEY, TRANSFER_FEE_MINOR, Tips, type TransferToken, type TypingUser, type UpdateTicketData, type User, type UserAchievement, type UserActivity, type UserActivityStatus, type UserStats, type UsernameAvailabilityResponse, Users, type ValidAction, Wallet, type WalletActivityCounterpartyType, type WalletActivityDirection, type WalletActivityItem, type WalletActivityKind, type WalletActivityResponse, type WalletActivityStatus, type WalletClaimAction, type WalletMeta, type WalletResponse, type WalletSigner, type WsEvent, WsEventBus, type WsEventName, type WsTransport, type ConnectionState as WsTransportState, createChatStore, createDmThreadsStore, createFriendsStore, createGameActionsStore, createGameStore, createLobbyStore, createLogger, createNotificationsStore, createSdkStore, isRetryableError, logger, withRetry };
|