connectbase-client 6.27.1 → 6.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -4928,6 +4928,21 @@ interface LeaderboardScoreEntry {
4928
4928
  updated_at: string;
4929
4929
  rank?: number;
4930
4930
  }
4931
+ /** 게임 하나의 리더보드 목록(`cb.game.hubLeaderboard(...).list()`). 키는 게임 이름공간 접두사를 뺀 이름. */
4932
+ interface HubLeaderboardBoards {
4933
+ boards: {
4934
+ leaderboard_key: string;
4935
+ member_count: number;
4936
+ }[];
4937
+ count: number;
4938
+ }
4939
+ /** 허브 페이지용 게임 랭킹 읽기 전용 클라이언트(`cb.game.hubLeaderboard`). */
4940
+ interface HubLeaderboardReader {
4941
+ list(): Promise<HubLeaderboardBoards>;
4942
+ top(key: string, n?: number): Promise<LeaderboardListResponse>;
4943
+ rank(key: string, member: string): Promise<LeaderboardScoreEntry>;
4944
+ around(key: string, member: string, above?: number, below?: number): Promise<LeaderboardListResponse>;
4945
+ }
4931
4946
  interface LeaderboardListResponse {
4932
4947
  entries: LeaderboardScoreEntry[];
4933
4948
  count: number;
@@ -5854,12 +5869,19 @@ declare class GameAPI {
5854
5869
  createClient(config: Omit<GameClientConfig, "gameServerUrl">): GameRoom;
5855
5870
  /**
5856
5871
  * 룸 목록 조회 (HTTP)
5872
+ *
5873
+ * `options.gameId` 를 주면 그 게임의 방만 본다(`?game_id=`). 게임 격리를 켠 앱의 로비나 허브는 게임 토큰 없이
5874
+ * 회원 토큰이나 공개 키로 이렇게 읽는다(허브 읽기 예외). 방 상태는 게임 토큰이나 서버 함수 자격으로만 읽는다.
5857
5875
  */
5858
- listRooms(appId?: string): Promise<GameRoomInfo[]>;
5876
+ listRooms(appId?: string, options?: {
5877
+ gameId?: string;
5878
+ }): Promise<GameRoomInfo[]>;
5859
5879
  /**
5860
- * 룸 상세 조회 (HTTP)
5880
+ * 룸 상세 조회 (HTTP). `options.gameId` 는 listRooms 와 같다.
5861
5881
  */
5862
- getRoom(roomId: string): Promise<GameRoomInfo>;
5882
+ getRoom(roomId: string, options?: {
5883
+ gameId?: string;
5884
+ }): Promise<GameRoomInfo>;
5863
5885
  /**
5864
5886
  * 룸 생성 (HTTP, gRPC 대안)
5865
5887
  *
@@ -5927,6 +5949,20 @@ declare class GameAPI {
5927
5949
  * member 주변 (위 above 명 + 본인 + 아래 below 명) 조회.
5928
5950
  */
5929
5951
  getRankAround(appId: string, leaderboardKey: string, member: string, above?: number, below?: number): Promise<LeaderboardListResponse>;
5952
+ /**
5953
+ * 허브 페이지가 게임 하나의 랭킹을 **읽기만** 하는 클라이언트.
5954
+ *
5955
+ * 게임 토큰 없이 공개 키(+ 선택으로 회원 토큰)로 `?game_id=` 를 붙여 읽는다. 게임 격리를 켠 앱의
5956
+ * `required` 모드에서도 리더보드 읽기 GET 만은 이 선언을 그 게임의 필터로 믿는다(허브 읽기 예외).
5957
+ * 쓰기와 다른 기능은 게임 토큰(`cb.game.forGame`)으로 한다. member 값은 게임의 player id 방식을
5958
+ * 따른다(`anonymous` 면 `gp_...`).
5959
+ *
5960
+ * @example
5961
+ * const lb = cb.game.hubLeaderboard(appId, "space-shooter")
5962
+ * const { boards } = await lb.list()
5963
+ * const top = await lb.top("ranking", 10)
5964
+ */
5965
+ hubLeaderboard(appId: string, gameId: string): HubLeaderboardReader;
5930
5966
  /**
5931
5967
  * leaderboard 전체 reset (시즌 종료 시).
5932
5968
  *
@@ -13877,4 +13913,4 @@ declare class ConnectBase {
13877
13913
  updateConfig(config: Partial<ConnectBaseConfig>): void;
13878
13914
  }
13879
13915
 
13880
- export { AIAPI, type AIChatOptions, type AIChatRequest, type AIChatResponse, type AIChatStreamCallbacks, type AIChatStreamOptions, AIError, type AIErrorCode, type AIGeneratedImage, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, AUTH_MEMBER_ID_TOKEN, type AcceptInvitationResponse, type AckMessagesRequest, type AckMessagesResponse, type AdMobDailyReport, type AdMobReportResponse, type AdMobReportSummary, type AdReportResponse, type AdReportSummary, type AdmobConnectionInfo, AdsAPI, type AdsenseConnectionInfo, type AgenticSearchProgress, type AggregateResult, type AggregateStage, type AnalyticsConfig, type AnalyticsEvent, ApiError, type ApiErrorDetail, type AppMemberDetail, type AppMemberIdentityDetail, type AppMemberIdentitySummary, type AppMemberList, type AppMemberListItem, type AppMemberProviderType, AppMembersAPI, type AppStatsResponse, type ArchivePolicy, type AtomicOperator, type AtomicOperatorType, AuthError, type AuthSettingsResponse, type BackupInfo, type BatchOperation, type BatchOperationResult, type BatchSetPageMetaRequest, type BatchWriteResult, type BillingCycle, type BillingKeyResponse, type BiometricInfo, type BiometricResult, type BulkCreateResponse, type BulkError, type CPUInfo, type CancelPaymentRequest, type CancelPaymentResponse, type CancelSubscriptionRequest, type CategoryInfo, type ChangePlanOptions, type ChangePlanPreview, type ChangePlanRequest, type ChangePlanWithPriceRef, type ChangePlanWithProduct, type Channel, type ChannelMembership, type ChannelStats, type ChargeWithBillingKeyAmount, type ChargeWithBillingKeyOptions, type ChargeWithBillingKeyProduct, type ChargeWithBillingKeyRequest, type ChargeWithBillingKeyResponse, type ChatMessage, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsentOptions, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateCheckoutSessionOptions, type CreateCheckoutSessionRequest, type CreateCheckoutSessionResponse, type CreateCheckoutSessionWithAmount, type CreateCheckoutSessionWithProduct, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGameUnitRequest, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateInvitationRequest, type CreateInvitationResponse, type CreateLobbyRequest, type CreateOrganizationRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateRolePayload, type CreateRoleResult, type CreateRoomResult, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionOptions, type CreateSubscriptionRequest, type CreateSubscriptionWithAmount, type CreateSubscriptionWithProduct, type CreateTableRequest, type CreateTopicOptions, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteBillingKeyResponse, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, EndpointAPI, type EndpointCallInit, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GAME_MESSAGE, GameAPI, type GameAction, type GameAppIsolation, type GameCaps, type GameClientConfig, type GameConfig, GameConfigAPI, type GameConfigPatch, type GameConnectionState, type GameConnectionStatus, type GameCreatedVia, type GameCreatorToken, type GameCreatorTokenScope, type GameDelta, type GameEffectiveCaps, type GameEffectiveFeatures, type GameEntity, type GameEntityListResponse, GameError, type GameErrorCode, type GameEventHandlers, type GameFeatureOverrides, type GameFromHostOptions, GameHubAPI, type GameHubHandle, type GameHubMountOptions, type GamePlayer, type GamePlayerIdMode, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, GameScope, type GameScopeOptions, type GameServerMessage, type GameServerMessageType, type GameState, type GameStatus, type GameTokenGrant, type GameTokenResponse, type GameTransportConfig, type GameUnit, type GameUsageDay, type GameUsageResponse, GamesAPI, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoBoundingBox, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type HistoryResponse, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type IssueGameCreatorTokenRequest, type IssueGameTokenOptions, type IssuedGameCreatorToken, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LeaderboardListResponse, type LeaderboardScoreEntry, type LifecyclePolicy, type ListAppMembersOptions, type ListBillingKeysResponse, type ListDocumentsResponse, type ListFilesOptions, type ListFilesResult, type ListPageMetasOptions, type ListPageMetasResponse, type ListPaymentsOptions, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MatchqueueListResponse, type MatchqueueTicket, type MemberChangePasswordRequest, type MemberCredentialMessageResponse, type MemberEmailVerificationConfirmRequest, type MemberEmailVerificationConfirmResponse, type MemberEmailVerificationRequest, type MemberInfoResponse, type MemberPasswordResetConfirmRequest, type MemberPasswordResetRequest, type MemberRedirectOption, type MemberSession, type MemberSessionList, type MemberSessionRevokeResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, type NackMessageResponse, NativeAPI, type OAuthCallbackResponse, type OAuthPrompt, type OAuthProvider, type OnPaymentFailure, type OpenDialogOptions, type OpenDialogResult, type Organization, type OrganizationContext, type OrganizationInvitation, type OrganizationMember, type OrganizationMemberList, type OrganizationRole, OrganizationsAPI, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentListItem, type PaymentListResult, type PaymentMode, type PaymentProvider, type PaymentStatus, type PaymentSummaryAmounts, type PaymentSummaryOptions, type PaymentSummaryResult, type PeerInfo, type Platform, type PlayerEvent, type PlayerKVItem, type PlayerKVListResponse, type PlayerKVWriteResult, type PlayerStats, type Playlist, type PlaylistItem, type PollUntilOptions, type PongMessage, type PopulateOption, type Position, type PostponeBillingRequest, type PreparePaymentOptions, type PreparePaymentRequest, type PreparePaymentResponse, type PreparePaymentWithAmount, type PreparePaymentWithProduct, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type ProrationMode, type PublicKeyItem, type PublicKeyPaymentMode, type PublishBatchError, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type PushStatsResult, type PushTopicInfo, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, RealtimeConnectionError, type RealtimeConnectionErrorCode, type RealtimeMessage, RealtimeRequestError, type RealtimeSendPolicy, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type ResolveGamePlayersResponse, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoleDetail, type RoleList, type RoleListItem, type RolePermissionItem, type RoleUserItem, RolesAPI, type RoomInfo, type RoomStaleMessage, type RoomSummary, type RoomsResponse, type RotatePublicKeyRequest, type RotatePublicKeyResponse, type SFUTokenOptions, type SFUTokenResponse, type SaveDialogOptions, type SaveDialogResult, type ScriptDetailResponse, type ScriptListResponse, type ScriptLogEntry, type ScriptLogsResponse, type ScriptMeta, type ScriptMetricsResponse, type ScriptVersion, type ScriptVersionListResponse, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type SendSuperChatOptions, type SendSuperChatResponse, type ServerMessage, SessionManager, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type SpeechRecognizeOptions, type SpeechResult, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StorageUploadProgress, type StorageVideoListOptions, type StreamContentPart, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamImageURLPart, type StreamMessage, type StreamOptions, type StreamSession, type StreamTextPart, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SuperChatType, type SuspendAppMemberOptions, type SuspendAppMemberResult, type SyncLostMessage, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TokenPersistence, type TransactionRead, type TransactionResult, type TransactionWrite, type TransactionWriteResult, type TranscodeJob, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UnsuspendAppMemberResult, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateDocumentRequest, type UpdateGameUnitRequest, type UpdateLobbyRequest, type UpdateOrganizationRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateRolePayload, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type ValidationSchema, type ValidationSchemaField, type ValidationStateTransitions, type Video, type VideoComment, type VideoCompleteUploadResponse, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageAccessLevel, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WebRTCWarning, type WhereCondition, type WhereOperator, WsTicketError, ConnectBase as default, detectInAppBrowser, escapeToExternalBrowser, isWebTransportSupported, toAIError, toCreateRoomWire };
13916
+ export { AIAPI, type AIChatOptions, type AIChatRequest, type AIChatResponse, type AIChatStreamCallbacks, type AIChatStreamOptions, AIError, type AIErrorCode, type AIGeneratedImage, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, AUTH_MEMBER_ID_TOKEN, type AcceptInvitationResponse, type AckMessagesRequest, type AckMessagesResponse, type AdMobDailyReport, type AdMobReportResponse, type AdMobReportSummary, type AdReportResponse, type AdReportSummary, type AdmobConnectionInfo, AdsAPI, type AdsenseConnectionInfo, type AgenticSearchProgress, type AggregateResult, type AggregateStage, type AnalyticsConfig, type AnalyticsEvent, ApiError, type ApiErrorDetail, type AppMemberDetail, type AppMemberIdentityDetail, type AppMemberIdentitySummary, type AppMemberList, type AppMemberListItem, type AppMemberProviderType, AppMembersAPI, type AppStatsResponse, type ArchivePolicy, type AtomicOperator, type AtomicOperatorType, AuthError, type AuthSettingsResponse, type BackupInfo, type BatchOperation, type BatchOperationResult, type BatchSetPageMetaRequest, type BatchWriteResult, type BillingCycle, type BillingKeyResponse, type BiometricInfo, type BiometricResult, type BulkCreateResponse, type BulkError, type CPUInfo, type CancelPaymentRequest, type CancelPaymentResponse, type CancelSubscriptionRequest, type CategoryInfo, type ChangePlanOptions, type ChangePlanPreview, type ChangePlanRequest, type ChangePlanWithPriceRef, type ChangePlanWithProduct, type Channel, type ChannelMembership, type ChannelStats, type ChargeWithBillingKeyAmount, type ChargeWithBillingKeyOptions, type ChargeWithBillingKeyProduct, type ChargeWithBillingKeyRequest, type ChargeWithBillingKeyResponse, type ChatMessage, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsentOptions, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateCheckoutSessionOptions, type CreateCheckoutSessionRequest, type CreateCheckoutSessionResponse, type CreateCheckoutSessionWithAmount, type CreateCheckoutSessionWithProduct, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGameUnitRequest, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateInvitationRequest, type CreateInvitationResponse, type CreateLobbyRequest, type CreateOrganizationRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateRolePayload, type CreateRoleResult, type CreateRoomResult, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionOptions, type CreateSubscriptionRequest, type CreateSubscriptionWithAmount, type CreateSubscriptionWithProduct, type CreateTableRequest, type CreateTopicOptions, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteBillingKeyResponse, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, EndpointAPI, type EndpointCallInit, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GAME_MESSAGE, GameAPI, type GameAction, type GameAppIsolation, type GameCaps, type GameClientConfig, type GameConfig, GameConfigAPI, type GameConfigPatch, type GameConnectionState, type GameConnectionStatus, type GameCreatedVia, type GameCreatorToken, type GameCreatorTokenScope, type GameDelta, type GameEffectiveCaps, type GameEffectiveFeatures, type GameEntity, type GameEntityListResponse, GameError, type GameErrorCode, type GameEventHandlers, type GameFeatureOverrides, type GameFromHostOptions, GameHubAPI, type GameHubHandle, type GameHubMountOptions, type GamePlayer, type GamePlayerIdMode, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, GameScope, type GameScopeOptions, type GameServerMessage, type GameServerMessageType, type GameState, type GameStatus, type GameTokenGrant, type GameTokenResponse, type GameTransportConfig, type GameUnit, type GameUsageDay, type GameUsageResponse, GamesAPI, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoBoundingBox, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type HistoryResponse, type HubLeaderboardBoards, type HubLeaderboardReader, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type IssueGameCreatorTokenRequest, type IssueGameTokenOptions, type IssuedGameCreatorToken, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LeaderboardListResponse, type LeaderboardScoreEntry, type LifecyclePolicy, type ListAppMembersOptions, type ListBillingKeysResponse, type ListDocumentsResponse, type ListFilesOptions, type ListFilesResult, type ListPageMetasOptions, type ListPageMetasResponse, type ListPaymentsOptions, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MatchqueueListResponse, type MatchqueueTicket, type MemberChangePasswordRequest, type MemberCredentialMessageResponse, type MemberEmailVerificationConfirmRequest, type MemberEmailVerificationConfirmResponse, type MemberEmailVerificationRequest, type MemberInfoResponse, type MemberPasswordResetConfirmRequest, type MemberPasswordResetRequest, type MemberRedirectOption, type MemberSession, type MemberSessionList, type MemberSessionRevokeResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, type NackMessageResponse, NativeAPI, type OAuthCallbackResponse, type OAuthPrompt, type OAuthProvider, type OnPaymentFailure, type OpenDialogOptions, type OpenDialogResult, type Organization, type OrganizationContext, type OrganizationInvitation, type OrganizationMember, type OrganizationMemberList, type OrganizationRole, OrganizationsAPI, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentListItem, type PaymentListResult, type PaymentMode, type PaymentProvider, type PaymentStatus, type PaymentSummaryAmounts, type PaymentSummaryOptions, type PaymentSummaryResult, type PeerInfo, type Platform, type PlayerEvent, type PlayerKVItem, type PlayerKVListResponse, type PlayerKVWriteResult, type PlayerStats, type Playlist, type PlaylistItem, type PollUntilOptions, type PongMessage, type PopulateOption, type Position, type PostponeBillingRequest, type PreparePaymentOptions, type PreparePaymentRequest, type PreparePaymentResponse, type PreparePaymentWithAmount, type PreparePaymentWithProduct, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type ProrationMode, type PublicKeyItem, type PublicKeyPaymentMode, type PublishBatchError, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type PushStatsResult, type PushTopicInfo, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, RealtimeConnectionError, type RealtimeConnectionErrorCode, type RealtimeMessage, RealtimeRequestError, type RealtimeSendPolicy, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type ResolveGamePlayersResponse, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoleDetail, type RoleList, type RoleListItem, type RolePermissionItem, type RoleUserItem, RolesAPI, type RoomInfo, type RoomStaleMessage, type RoomSummary, type RoomsResponse, type RotatePublicKeyRequest, type RotatePublicKeyResponse, type SFUTokenOptions, type SFUTokenResponse, type SaveDialogOptions, type SaveDialogResult, type ScriptDetailResponse, type ScriptListResponse, type ScriptLogEntry, type ScriptLogsResponse, type ScriptMeta, type ScriptMetricsResponse, type ScriptVersion, type ScriptVersionListResponse, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type SendSuperChatOptions, type SendSuperChatResponse, type ServerMessage, SessionManager, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type SpeechRecognizeOptions, type SpeechResult, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StorageUploadProgress, type StorageVideoListOptions, type StreamContentPart, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamImageURLPart, type StreamMessage, type StreamOptions, type StreamSession, type StreamTextPart, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SuperChatType, type SuspendAppMemberOptions, type SuspendAppMemberResult, type SyncLostMessage, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TokenPersistence, type TransactionRead, type TransactionResult, type TransactionWrite, type TransactionWriteResult, type TranscodeJob, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UnsuspendAppMemberResult, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateDocumentRequest, type UpdateGameUnitRequest, type UpdateLobbyRequest, type UpdateOrganizationRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateRolePayload, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type ValidationSchema, type ValidationSchemaField, type ValidationStateTransitions, type Video, type VideoComment, type VideoCompleteUploadResponse, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageAccessLevel, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WebRTCWarning, type WhereCondition, type WhereOperator, WsTicketError, ConnectBase as default, detectInAppBrowser, escapeToExternalBrowser, isWebTransportSupported, toAIError, toCreateRoomWire };
package/dist/index.d.ts CHANGED
@@ -4928,6 +4928,21 @@ interface LeaderboardScoreEntry {
4928
4928
  updated_at: string;
4929
4929
  rank?: number;
4930
4930
  }
4931
+ /** 게임 하나의 리더보드 목록(`cb.game.hubLeaderboard(...).list()`). 키는 게임 이름공간 접두사를 뺀 이름. */
4932
+ interface HubLeaderboardBoards {
4933
+ boards: {
4934
+ leaderboard_key: string;
4935
+ member_count: number;
4936
+ }[];
4937
+ count: number;
4938
+ }
4939
+ /** 허브 페이지용 게임 랭킹 읽기 전용 클라이언트(`cb.game.hubLeaderboard`). */
4940
+ interface HubLeaderboardReader {
4941
+ list(): Promise<HubLeaderboardBoards>;
4942
+ top(key: string, n?: number): Promise<LeaderboardListResponse>;
4943
+ rank(key: string, member: string): Promise<LeaderboardScoreEntry>;
4944
+ around(key: string, member: string, above?: number, below?: number): Promise<LeaderboardListResponse>;
4945
+ }
4931
4946
  interface LeaderboardListResponse {
4932
4947
  entries: LeaderboardScoreEntry[];
4933
4948
  count: number;
@@ -5854,12 +5869,19 @@ declare class GameAPI {
5854
5869
  createClient(config: Omit<GameClientConfig, "gameServerUrl">): GameRoom;
5855
5870
  /**
5856
5871
  * 룸 목록 조회 (HTTP)
5872
+ *
5873
+ * `options.gameId` 를 주면 그 게임의 방만 본다(`?game_id=`). 게임 격리를 켠 앱의 로비나 허브는 게임 토큰 없이
5874
+ * 회원 토큰이나 공개 키로 이렇게 읽는다(허브 읽기 예외). 방 상태는 게임 토큰이나 서버 함수 자격으로만 읽는다.
5857
5875
  */
5858
- listRooms(appId?: string): Promise<GameRoomInfo[]>;
5876
+ listRooms(appId?: string, options?: {
5877
+ gameId?: string;
5878
+ }): Promise<GameRoomInfo[]>;
5859
5879
  /**
5860
- * 룸 상세 조회 (HTTP)
5880
+ * 룸 상세 조회 (HTTP). `options.gameId` 는 listRooms 와 같다.
5861
5881
  */
5862
- getRoom(roomId: string): Promise<GameRoomInfo>;
5882
+ getRoom(roomId: string, options?: {
5883
+ gameId?: string;
5884
+ }): Promise<GameRoomInfo>;
5863
5885
  /**
5864
5886
  * 룸 생성 (HTTP, gRPC 대안)
5865
5887
  *
@@ -5927,6 +5949,20 @@ declare class GameAPI {
5927
5949
  * member 주변 (위 above 명 + 본인 + 아래 below 명) 조회.
5928
5950
  */
5929
5951
  getRankAround(appId: string, leaderboardKey: string, member: string, above?: number, below?: number): Promise<LeaderboardListResponse>;
5952
+ /**
5953
+ * 허브 페이지가 게임 하나의 랭킹을 **읽기만** 하는 클라이언트.
5954
+ *
5955
+ * 게임 토큰 없이 공개 키(+ 선택으로 회원 토큰)로 `?game_id=` 를 붙여 읽는다. 게임 격리를 켠 앱의
5956
+ * `required` 모드에서도 리더보드 읽기 GET 만은 이 선언을 그 게임의 필터로 믿는다(허브 읽기 예외).
5957
+ * 쓰기와 다른 기능은 게임 토큰(`cb.game.forGame`)으로 한다. member 값은 게임의 player id 방식을
5958
+ * 따른다(`anonymous` 면 `gp_...`).
5959
+ *
5960
+ * @example
5961
+ * const lb = cb.game.hubLeaderboard(appId, "space-shooter")
5962
+ * const { boards } = await lb.list()
5963
+ * const top = await lb.top("ranking", 10)
5964
+ */
5965
+ hubLeaderboard(appId: string, gameId: string): HubLeaderboardReader;
5930
5966
  /**
5931
5967
  * leaderboard 전체 reset (시즌 종료 시).
5932
5968
  *
@@ -13877,4 +13913,4 @@ declare class ConnectBase {
13877
13913
  updateConfig(config: Partial<ConnectBaseConfig>): void;
13878
13914
  }
13879
13915
 
13880
- export { AIAPI, type AIChatOptions, type AIChatRequest, type AIChatResponse, type AIChatStreamCallbacks, type AIChatStreamOptions, AIError, type AIErrorCode, type AIGeneratedImage, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, AUTH_MEMBER_ID_TOKEN, type AcceptInvitationResponse, type AckMessagesRequest, type AckMessagesResponse, type AdMobDailyReport, type AdMobReportResponse, type AdMobReportSummary, type AdReportResponse, type AdReportSummary, type AdmobConnectionInfo, AdsAPI, type AdsenseConnectionInfo, type AgenticSearchProgress, type AggregateResult, type AggregateStage, type AnalyticsConfig, type AnalyticsEvent, ApiError, type ApiErrorDetail, type AppMemberDetail, type AppMemberIdentityDetail, type AppMemberIdentitySummary, type AppMemberList, type AppMemberListItem, type AppMemberProviderType, AppMembersAPI, type AppStatsResponse, type ArchivePolicy, type AtomicOperator, type AtomicOperatorType, AuthError, type AuthSettingsResponse, type BackupInfo, type BatchOperation, type BatchOperationResult, type BatchSetPageMetaRequest, type BatchWriteResult, type BillingCycle, type BillingKeyResponse, type BiometricInfo, type BiometricResult, type BulkCreateResponse, type BulkError, type CPUInfo, type CancelPaymentRequest, type CancelPaymentResponse, type CancelSubscriptionRequest, type CategoryInfo, type ChangePlanOptions, type ChangePlanPreview, type ChangePlanRequest, type ChangePlanWithPriceRef, type ChangePlanWithProduct, type Channel, type ChannelMembership, type ChannelStats, type ChargeWithBillingKeyAmount, type ChargeWithBillingKeyOptions, type ChargeWithBillingKeyProduct, type ChargeWithBillingKeyRequest, type ChargeWithBillingKeyResponse, type ChatMessage, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsentOptions, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateCheckoutSessionOptions, type CreateCheckoutSessionRequest, type CreateCheckoutSessionResponse, type CreateCheckoutSessionWithAmount, type CreateCheckoutSessionWithProduct, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGameUnitRequest, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateInvitationRequest, type CreateInvitationResponse, type CreateLobbyRequest, type CreateOrganizationRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateRolePayload, type CreateRoleResult, type CreateRoomResult, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionOptions, type CreateSubscriptionRequest, type CreateSubscriptionWithAmount, type CreateSubscriptionWithProduct, type CreateTableRequest, type CreateTopicOptions, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteBillingKeyResponse, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, EndpointAPI, type EndpointCallInit, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GAME_MESSAGE, GameAPI, type GameAction, type GameAppIsolation, type GameCaps, type GameClientConfig, type GameConfig, GameConfigAPI, type GameConfigPatch, type GameConnectionState, type GameConnectionStatus, type GameCreatedVia, type GameCreatorToken, type GameCreatorTokenScope, type GameDelta, type GameEffectiveCaps, type GameEffectiveFeatures, type GameEntity, type GameEntityListResponse, GameError, type GameErrorCode, type GameEventHandlers, type GameFeatureOverrides, type GameFromHostOptions, GameHubAPI, type GameHubHandle, type GameHubMountOptions, type GamePlayer, type GamePlayerIdMode, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, GameScope, type GameScopeOptions, type GameServerMessage, type GameServerMessageType, type GameState, type GameStatus, type GameTokenGrant, type GameTokenResponse, type GameTransportConfig, type GameUnit, type GameUsageDay, type GameUsageResponse, GamesAPI, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoBoundingBox, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type HistoryResponse, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type IssueGameCreatorTokenRequest, type IssueGameTokenOptions, type IssuedGameCreatorToken, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LeaderboardListResponse, type LeaderboardScoreEntry, type LifecyclePolicy, type ListAppMembersOptions, type ListBillingKeysResponse, type ListDocumentsResponse, type ListFilesOptions, type ListFilesResult, type ListPageMetasOptions, type ListPageMetasResponse, type ListPaymentsOptions, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MatchqueueListResponse, type MatchqueueTicket, type MemberChangePasswordRequest, type MemberCredentialMessageResponse, type MemberEmailVerificationConfirmRequest, type MemberEmailVerificationConfirmResponse, type MemberEmailVerificationRequest, type MemberInfoResponse, type MemberPasswordResetConfirmRequest, type MemberPasswordResetRequest, type MemberRedirectOption, type MemberSession, type MemberSessionList, type MemberSessionRevokeResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, type NackMessageResponse, NativeAPI, type OAuthCallbackResponse, type OAuthPrompt, type OAuthProvider, type OnPaymentFailure, type OpenDialogOptions, type OpenDialogResult, type Organization, type OrganizationContext, type OrganizationInvitation, type OrganizationMember, type OrganizationMemberList, type OrganizationRole, OrganizationsAPI, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentListItem, type PaymentListResult, type PaymentMode, type PaymentProvider, type PaymentStatus, type PaymentSummaryAmounts, type PaymentSummaryOptions, type PaymentSummaryResult, type PeerInfo, type Platform, type PlayerEvent, type PlayerKVItem, type PlayerKVListResponse, type PlayerKVWriteResult, type PlayerStats, type Playlist, type PlaylistItem, type PollUntilOptions, type PongMessage, type PopulateOption, type Position, type PostponeBillingRequest, type PreparePaymentOptions, type PreparePaymentRequest, type PreparePaymentResponse, type PreparePaymentWithAmount, type PreparePaymentWithProduct, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type ProrationMode, type PublicKeyItem, type PublicKeyPaymentMode, type PublishBatchError, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type PushStatsResult, type PushTopicInfo, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, RealtimeConnectionError, type RealtimeConnectionErrorCode, type RealtimeMessage, RealtimeRequestError, type RealtimeSendPolicy, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type ResolveGamePlayersResponse, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoleDetail, type RoleList, type RoleListItem, type RolePermissionItem, type RoleUserItem, RolesAPI, type RoomInfo, type RoomStaleMessage, type RoomSummary, type RoomsResponse, type RotatePublicKeyRequest, type RotatePublicKeyResponse, type SFUTokenOptions, type SFUTokenResponse, type SaveDialogOptions, type SaveDialogResult, type ScriptDetailResponse, type ScriptListResponse, type ScriptLogEntry, type ScriptLogsResponse, type ScriptMeta, type ScriptMetricsResponse, type ScriptVersion, type ScriptVersionListResponse, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type SendSuperChatOptions, type SendSuperChatResponse, type ServerMessage, SessionManager, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type SpeechRecognizeOptions, type SpeechResult, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StorageUploadProgress, type StorageVideoListOptions, type StreamContentPart, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamImageURLPart, type StreamMessage, type StreamOptions, type StreamSession, type StreamTextPart, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SuperChatType, type SuspendAppMemberOptions, type SuspendAppMemberResult, type SyncLostMessage, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TokenPersistence, type TransactionRead, type TransactionResult, type TransactionWrite, type TransactionWriteResult, type TranscodeJob, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UnsuspendAppMemberResult, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateDocumentRequest, type UpdateGameUnitRequest, type UpdateLobbyRequest, type UpdateOrganizationRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateRolePayload, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type ValidationSchema, type ValidationSchemaField, type ValidationStateTransitions, type Video, type VideoComment, type VideoCompleteUploadResponse, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageAccessLevel, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WebRTCWarning, type WhereCondition, type WhereOperator, WsTicketError, ConnectBase as default, detectInAppBrowser, escapeToExternalBrowser, isWebTransportSupported, toAIError, toCreateRoomWire };
13916
+ export { AIAPI, type AIChatOptions, type AIChatRequest, type AIChatResponse, type AIChatStreamCallbacks, type AIChatStreamOptions, AIError, type AIErrorCode, type AIGeneratedImage, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, AUTH_MEMBER_ID_TOKEN, type AcceptInvitationResponse, type AckMessagesRequest, type AckMessagesResponse, type AdMobDailyReport, type AdMobReportResponse, type AdMobReportSummary, type AdReportResponse, type AdReportSummary, type AdmobConnectionInfo, AdsAPI, type AdsenseConnectionInfo, type AgenticSearchProgress, type AggregateResult, type AggregateStage, type AnalyticsConfig, type AnalyticsEvent, ApiError, type ApiErrorDetail, type AppMemberDetail, type AppMemberIdentityDetail, type AppMemberIdentitySummary, type AppMemberList, type AppMemberListItem, type AppMemberProviderType, AppMembersAPI, type AppStatsResponse, type ArchivePolicy, type AtomicOperator, type AtomicOperatorType, AuthError, type AuthSettingsResponse, type BackupInfo, type BatchOperation, type BatchOperationResult, type BatchSetPageMetaRequest, type BatchWriteResult, type BillingCycle, type BillingKeyResponse, type BiometricInfo, type BiometricResult, type BulkCreateResponse, type BulkError, type CPUInfo, type CancelPaymentRequest, type CancelPaymentResponse, type CancelSubscriptionRequest, type CategoryInfo, type ChangePlanOptions, type ChangePlanPreview, type ChangePlanRequest, type ChangePlanWithPriceRef, type ChangePlanWithProduct, type Channel, type ChannelMembership, type ChannelStats, type ChargeWithBillingKeyAmount, type ChargeWithBillingKeyOptions, type ChargeWithBillingKeyProduct, type ChargeWithBillingKeyRequest, type ChargeWithBillingKeyResponse, type ChatMessage, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsentOptions, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateCheckoutSessionOptions, type CreateCheckoutSessionRequest, type CreateCheckoutSessionResponse, type CreateCheckoutSessionWithAmount, type CreateCheckoutSessionWithProduct, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGameUnitRequest, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateInvitationRequest, type CreateInvitationResponse, type CreateLobbyRequest, type CreateOrganizationRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateRolePayload, type CreateRoleResult, type CreateRoomResult, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionOptions, type CreateSubscriptionRequest, type CreateSubscriptionWithAmount, type CreateSubscriptionWithProduct, type CreateTableRequest, type CreateTopicOptions, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteBillingKeyResponse, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, EndpointAPI, type EndpointCallInit, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GAME_MESSAGE, GameAPI, type GameAction, type GameAppIsolation, type GameCaps, type GameClientConfig, type GameConfig, GameConfigAPI, type GameConfigPatch, type GameConnectionState, type GameConnectionStatus, type GameCreatedVia, type GameCreatorToken, type GameCreatorTokenScope, type GameDelta, type GameEffectiveCaps, type GameEffectiveFeatures, type GameEntity, type GameEntityListResponse, GameError, type GameErrorCode, type GameEventHandlers, type GameFeatureOverrides, type GameFromHostOptions, GameHubAPI, type GameHubHandle, type GameHubMountOptions, type GamePlayer, type GamePlayerIdMode, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, GameScope, type GameScopeOptions, type GameServerMessage, type GameServerMessageType, type GameState, type GameStatus, type GameTokenGrant, type GameTokenResponse, type GameTransportConfig, type GameUnit, type GameUsageDay, type GameUsageResponse, GamesAPI, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoBoundingBox, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type HistoryResponse, type HubLeaderboardBoards, type HubLeaderboardReader, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type IssueGameCreatorTokenRequest, type IssueGameTokenOptions, type IssuedGameCreatorToken, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LeaderboardListResponse, type LeaderboardScoreEntry, type LifecyclePolicy, type ListAppMembersOptions, type ListBillingKeysResponse, type ListDocumentsResponse, type ListFilesOptions, type ListFilesResult, type ListPageMetasOptions, type ListPageMetasResponse, type ListPaymentsOptions, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MatchqueueListResponse, type MatchqueueTicket, type MemberChangePasswordRequest, type MemberCredentialMessageResponse, type MemberEmailVerificationConfirmRequest, type MemberEmailVerificationConfirmResponse, type MemberEmailVerificationRequest, type MemberInfoResponse, type MemberPasswordResetConfirmRequest, type MemberPasswordResetRequest, type MemberRedirectOption, type MemberSession, type MemberSessionList, type MemberSessionRevokeResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, type NackMessageResponse, NativeAPI, type OAuthCallbackResponse, type OAuthPrompt, type OAuthProvider, type OnPaymentFailure, type OpenDialogOptions, type OpenDialogResult, type Organization, type OrganizationContext, type OrganizationInvitation, type OrganizationMember, type OrganizationMemberList, type OrganizationRole, OrganizationsAPI, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentListItem, type PaymentListResult, type PaymentMode, type PaymentProvider, type PaymentStatus, type PaymentSummaryAmounts, type PaymentSummaryOptions, type PaymentSummaryResult, type PeerInfo, type Platform, type PlayerEvent, type PlayerKVItem, type PlayerKVListResponse, type PlayerKVWriteResult, type PlayerStats, type Playlist, type PlaylistItem, type PollUntilOptions, type PongMessage, type PopulateOption, type Position, type PostponeBillingRequest, type PreparePaymentOptions, type PreparePaymentRequest, type PreparePaymentResponse, type PreparePaymentWithAmount, type PreparePaymentWithProduct, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type ProrationMode, type PublicKeyItem, type PublicKeyPaymentMode, type PublishBatchError, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type PushStatsResult, type PushTopicInfo, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, RealtimeConnectionError, type RealtimeConnectionErrorCode, type RealtimeMessage, RealtimeRequestError, type RealtimeSendPolicy, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type ResolveGamePlayersResponse, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoleDetail, type RoleList, type RoleListItem, type RolePermissionItem, type RoleUserItem, RolesAPI, type RoomInfo, type RoomStaleMessage, type RoomSummary, type RoomsResponse, type RotatePublicKeyRequest, type RotatePublicKeyResponse, type SFUTokenOptions, type SFUTokenResponse, type SaveDialogOptions, type SaveDialogResult, type ScriptDetailResponse, type ScriptListResponse, type ScriptLogEntry, type ScriptLogsResponse, type ScriptMeta, type ScriptMetricsResponse, type ScriptVersion, type ScriptVersionListResponse, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type SendSuperChatOptions, type SendSuperChatResponse, type ServerMessage, SessionManager, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type SpeechRecognizeOptions, type SpeechResult, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StorageUploadProgress, type StorageVideoListOptions, type StreamContentPart, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamImageURLPart, type StreamMessage, type StreamOptions, type StreamSession, type StreamTextPart, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SuperChatType, type SuspendAppMemberOptions, type SuspendAppMemberResult, type SyncLostMessage, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TokenPersistence, type TransactionRead, type TransactionResult, type TransactionWrite, type TransactionWriteResult, type TranscodeJob, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UnsuspendAppMemberResult, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateDocumentRequest, type UpdateGameUnitRequest, type UpdateLobbyRequest, type UpdateOrganizationRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateRolePayload, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type ValidationSchema, type ValidationSchemaField, type ValidationStateTransitions, type Video, type VideoComment, type VideoCompleteUploadResponse, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageAccessLevel, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WebRTCWarning, type WhereCondition, type WhereOperator, WsTicketError, ConnectBase as default, detectInAppBrowser, escapeToExternalBrowser, isWebTransportSupported, toAIError, toCreateRoomWire };
package/dist/index.js CHANGED
@@ -7486,12 +7486,19 @@ var GameAPI = class {
7486
7486
  }
7487
7487
  /**
7488
7488
  * 룸 목록 조회 (HTTP)
7489
+ *
7490
+ * `options.gameId` 를 주면 그 게임의 방만 본다(`?game_id=`). 게임 격리를 켠 앱의 로비나 허브는 게임 토큰 없이
7491
+ * 회원 토큰이나 공개 키로 이렇게 읽는다(허브 읽기 예외). 방 상태는 게임 토큰이나 서버 함수 자격으로만 읽는다.
7489
7492
  */
7490
- async listRooms(appId) {
7493
+ async listRooms(appId, options) {
7491
7494
  const id = appId || this.appId || "";
7492
- const response = await fetch(`${this.gameServerUrl}/v1/game/${id}/rooms`, {
7493
- headers: this.getHeaders()
7494
- });
7495
+ const q = options?.gameId ? `?game_id=${encodeURIComponent(options.gameId)}` : "";
7496
+ const response = await fetch(
7497
+ `${this.gameServerUrl}/v1/game/${id}/rooms${q}`,
7498
+ {
7499
+ headers: this.getHeaders()
7500
+ }
7501
+ );
7495
7502
  if (!response.ok) {
7496
7503
  throw new ApiError(
7497
7504
  response.status,
@@ -7503,12 +7510,13 @@ var GameAPI = class {
7503
7510
  return data.rooms;
7504
7511
  }
7505
7512
  /**
7506
- * 룸 상세 조회 (HTTP)
7513
+ * 룸 상세 조회 (HTTP). `options.gameId` 는 listRooms 와 같다.
7507
7514
  */
7508
- async getRoom(roomId) {
7515
+ async getRoom(roomId, options) {
7509
7516
  const id = this.appId || "";
7517
+ const q = options?.gameId ? `?game_id=${encodeURIComponent(options.gameId)}` : "";
7510
7518
  const response = await fetch(
7511
- `${this.gameServerUrl}/v1/game/${id}/rooms/${roomId}`,
7519
+ `${this.gameServerUrl}/v1/game/${id}/rooms/${roomId}${q}`,
7512
7520
  {
7513
7521
  headers: this.getHeaders()
7514
7522
  }
@@ -7846,6 +7854,53 @@ var GameAPI = class {
7846
7854
  "GAME_GET_RANK_AROUND_FAILED"
7847
7855
  );
7848
7856
  }
7857
+ /**
7858
+ * 허브 페이지가 게임 하나의 랭킹을 **읽기만** 하는 클라이언트.
7859
+ *
7860
+ * 게임 토큰 없이 공개 키(+ 선택으로 회원 토큰)로 `?game_id=` 를 붙여 읽는다. 게임 격리를 켠 앱의
7861
+ * `required` 모드에서도 리더보드 읽기 GET 만은 이 선언을 그 게임의 필터로 믿는다(허브 읽기 예외).
7862
+ * 쓰기와 다른 기능은 게임 토큰(`cb.game.forGame`)으로 한다. member 값은 게임의 player id 방식을
7863
+ * 따른다(`anonymous` 면 `gp_...`).
7864
+ *
7865
+ * @example
7866
+ * const lb = cb.game.hubLeaderboard(appId, "space-shooter")
7867
+ * const { boards } = await lb.list()
7868
+ * const top = await lb.top("ranking", 10)
7869
+ */
7870
+ hubLeaderboard(appId, gameId) {
7871
+ if (!appId) throw new Error("cb.game.hubLeaderboard: appId \uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.");
7872
+ if (!gameId)
7873
+ throw new Error("cb.game.hubLeaderboard: gameId \uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.");
7874
+ const base = `/v1/game/${encodeURIComponent(appId)}/leaderboards`;
7875
+ const g = `game_id=${encodeURIComponent(gameId)}`;
7876
+ const seg = encodeURIComponent;
7877
+ return {
7878
+ list: () => this.gameFetch(
7879
+ "GET",
7880
+ `${base}?${g}`,
7881
+ void 0,
7882
+ "GAME_LIST_LEADERBOARDS_FAILED"
7883
+ ),
7884
+ top: (key, n = 10) => this.gameFetch(
7885
+ "GET",
7886
+ `${base}/${seg(key)}/top?n=${n}&${g}`,
7887
+ void 0,
7888
+ "GAME_GET_TOP_SCORES_FAILED"
7889
+ ),
7890
+ rank: (key, member) => this.gameFetch(
7891
+ "GET",
7892
+ `${base}/${seg(key)}/members/${seg(member)}?${g}`,
7893
+ void 0,
7894
+ "GAME_GET_MEMBER_RANK_FAILED"
7895
+ ),
7896
+ around: (key, member, above = 5, below = 5) => this.gameFetch(
7897
+ "GET",
7898
+ `${base}/${seg(key)}/around/${seg(member)}?above=${above}&below=${below}&${g}`,
7899
+ void 0,
7900
+ "GAME_GET_RANK_AROUND_FAILED"
7901
+ )
7902
+ };
7903
+ }
7849
7904
  /**
7850
7905
  * leaderboard 전체 reset (시즌 종료 시).
7851
7906
  *
@@ -14612,8 +14667,8 @@ var SupportAPI = class {
14612
14667
  }
14613
14668
  };
14614
14669
  function detectSdkVersion() {
14615
- if ("6.27.1") {
14616
- return "6.27.1";
14670
+ if ("6.29.0") {
14671
+ return "6.29.0";
14617
14672
  }
14618
14673
  return "unknown";
14619
14674
  }
package/dist/index.mjs CHANGED
@@ -7429,12 +7429,19 @@ var GameAPI = class {
7429
7429
  }
7430
7430
  /**
7431
7431
  * 룸 목록 조회 (HTTP)
7432
+ *
7433
+ * `options.gameId` 를 주면 그 게임의 방만 본다(`?game_id=`). 게임 격리를 켠 앱의 로비나 허브는 게임 토큰 없이
7434
+ * 회원 토큰이나 공개 키로 이렇게 읽는다(허브 읽기 예외). 방 상태는 게임 토큰이나 서버 함수 자격으로만 읽는다.
7432
7435
  */
7433
- async listRooms(appId) {
7436
+ async listRooms(appId, options) {
7434
7437
  const id = appId || this.appId || "";
7435
- const response = await fetch(`${this.gameServerUrl}/v1/game/${id}/rooms`, {
7436
- headers: this.getHeaders()
7437
- });
7438
+ const q = options?.gameId ? `?game_id=${encodeURIComponent(options.gameId)}` : "";
7439
+ const response = await fetch(
7440
+ `${this.gameServerUrl}/v1/game/${id}/rooms${q}`,
7441
+ {
7442
+ headers: this.getHeaders()
7443
+ }
7444
+ );
7438
7445
  if (!response.ok) {
7439
7446
  throw new ApiError(
7440
7447
  response.status,
@@ -7446,12 +7453,13 @@ var GameAPI = class {
7446
7453
  return data.rooms;
7447
7454
  }
7448
7455
  /**
7449
- * 룸 상세 조회 (HTTP)
7456
+ * 룸 상세 조회 (HTTP). `options.gameId` 는 listRooms 와 같다.
7450
7457
  */
7451
- async getRoom(roomId) {
7458
+ async getRoom(roomId, options) {
7452
7459
  const id = this.appId || "";
7460
+ const q = options?.gameId ? `?game_id=${encodeURIComponent(options.gameId)}` : "";
7453
7461
  const response = await fetch(
7454
- `${this.gameServerUrl}/v1/game/${id}/rooms/${roomId}`,
7462
+ `${this.gameServerUrl}/v1/game/${id}/rooms/${roomId}${q}`,
7455
7463
  {
7456
7464
  headers: this.getHeaders()
7457
7465
  }
@@ -7789,6 +7797,53 @@ var GameAPI = class {
7789
7797
  "GAME_GET_RANK_AROUND_FAILED"
7790
7798
  );
7791
7799
  }
7800
+ /**
7801
+ * 허브 페이지가 게임 하나의 랭킹을 **읽기만** 하는 클라이언트.
7802
+ *
7803
+ * 게임 토큰 없이 공개 키(+ 선택으로 회원 토큰)로 `?game_id=` 를 붙여 읽는다. 게임 격리를 켠 앱의
7804
+ * `required` 모드에서도 리더보드 읽기 GET 만은 이 선언을 그 게임의 필터로 믿는다(허브 읽기 예외).
7805
+ * 쓰기와 다른 기능은 게임 토큰(`cb.game.forGame`)으로 한다. member 값은 게임의 player id 방식을
7806
+ * 따른다(`anonymous` 면 `gp_...`).
7807
+ *
7808
+ * @example
7809
+ * const lb = cb.game.hubLeaderboard(appId, "space-shooter")
7810
+ * const { boards } = await lb.list()
7811
+ * const top = await lb.top("ranking", 10)
7812
+ */
7813
+ hubLeaderboard(appId, gameId) {
7814
+ if (!appId) throw new Error("cb.game.hubLeaderboard: appId \uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.");
7815
+ if (!gameId)
7816
+ throw new Error("cb.game.hubLeaderboard: gameId \uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.");
7817
+ const base = `/v1/game/${encodeURIComponent(appId)}/leaderboards`;
7818
+ const g = `game_id=${encodeURIComponent(gameId)}`;
7819
+ const seg = encodeURIComponent;
7820
+ return {
7821
+ list: () => this.gameFetch(
7822
+ "GET",
7823
+ `${base}?${g}`,
7824
+ void 0,
7825
+ "GAME_LIST_LEADERBOARDS_FAILED"
7826
+ ),
7827
+ top: (key, n = 10) => this.gameFetch(
7828
+ "GET",
7829
+ `${base}/${seg(key)}/top?n=${n}&${g}`,
7830
+ void 0,
7831
+ "GAME_GET_TOP_SCORES_FAILED"
7832
+ ),
7833
+ rank: (key, member) => this.gameFetch(
7834
+ "GET",
7835
+ `${base}/${seg(key)}/members/${seg(member)}?${g}`,
7836
+ void 0,
7837
+ "GAME_GET_MEMBER_RANK_FAILED"
7838
+ ),
7839
+ around: (key, member, above = 5, below = 5) => this.gameFetch(
7840
+ "GET",
7841
+ `${base}/${seg(key)}/around/${seg(member)}?above=${above}&below=${below}&${g}`,
7842
+ void 0,
7843
+ "GAME_GET_RANK_AROUND_FAILED"
7844
+ )
7845
+ };
7846
+ }
7792
7847
  /**
7793
7848
  * leaderboard 전체 reset (시즌 종료 시).
7794
7849
  *
@@ -14555,8 +14610,8 @@ var SupportAPI = class {
14555
14610
  }
14556
14611
  };
14557
14612
  function detectSdkVersion() {
14558
- if ("6.27.1") {
14559
- return "6.27.1";
14613
+ if ("6.29.0") {
14614
+ return "6.29.0";
14560
14615
  }
14561
14616
  return "unknown";
14562
14617
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectbase-client",
3
- "version": "6.27.1",
3
+ "version": "6.29.0",
4
4
  "description": "Connect Base JavaScript/TypeScript SDK for browser and Node.js",
5
5
  "repository": {
6
6
  "type": "git",