@series-inc/rundot-game-sdk 5.6.0-beta4 → 5.6.0-beta5
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/{AdsApi-B6wYxaGq.d.ts → AdsApi-CQO0YbAu.d.ts} +4 -1
- package/dist/{chunk-LWRCIQM2.js → chunk-UHGVYI7N.js} +3 -3
- package/dist/{chunk-LWRCIQM2.js.map → chunk-UHGVYI7N.js.map} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/rundot-game-api/index.d.ts +2 -2
- package/dist/rundot-game-api/index.js +1 -1
- package/dist/vite/index.js +12 -5
- package/dist/vite/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1423,6 +1423,7 @@ interface SocialApi {
|
|
|
1423
1423
|
}): Promise<ShareClickData | null>;
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
|
+
type ImageGenModel = 'gemini-3.1-flash-image-preview' | 'gemini-3-pro-image-preview';
|
|
1426
1427
|
interface ImageGenParams {
|
|
1427
1428
|
prompt: string;
|
|
1428
1429
|
negativePrompt?: string;
|
|
@@ -1431,6 +1432,8 @@ interface ImageGenParams {
|
|
|
1431
1432
|
seed?: number;
|
|
1432
1433
|
/** When true, removes the background from the generated image and returns a transparent PNG. */
|
|
1433
1434
|
removeBackground?: boolean;
|
|
1435
|
+
/** Model to use. Defaults to 'gemini-3.1-flash-image-preview' (Nano Banana 2). */
|
|
1436
|
+
model?: ImageGenModel;
|
|
1434
1437
|
}
|
|
1435
1438
|
interface ImageGenResult {
|
|
1436
1439
|
imageUrl: string;
|
|
@@ -2044,4 +2047,4 @@ interface AdsApi {
|
|
|
2044
2047
|
showInterstitialAd(options?: ShowInterstitialAdOptions): Promise<boolean>;
|
|
2045
2048
|
}
|
|
2046
2049
|
|
|
2047
|
-
export { type AiChatCompletionRequest as $, type AnalyticsApi as A, type BatchRecipeRequirementsResult as B, type ScheduleLocalNotification as C, type ScheduleNotificationOptions as D, type PopupsApi as E, type ShowToastOptions as F, type ShowInterstitialAdOptions as G, type Host as H, type ShowRewardedAdOptions as I, type ProfileApi as J, type DeviceApi as K, type DeviceInfo as L, type EnvironmentApi as M, type NavigationApi as N, type EnvironmentInfo as O, type Profile as P, type QuitOptions as Q, type RundotGameAPI as R, type SimulationRunSummary as S, type SystemApi as T, type SafeArea as U, type CdnApi as V, type FetchFromCdnOptions as W, type TimeApi as X, type ServerTimeData as Y, type GetFutureTimeOptions as Z, type AiApi as _, type RecipeRequirementResult as a, type SubmitScoreParams as a$, type AiChatCompletionData as a0, type HapticsApi as a1, HapticFeedbackStyle as a2, type FeaturesApi as a3, type Experiment as a4, type LifecycleApi as a5, type SleepCallback as a6, type Subscription as a7, type AwakeCallback as a8, type PauseCallback as a9, type RoomMessageEvent as aA, type ProposedMoveEvent as aB, RundotGameTransport as aC, type RoomsApi as aD, type CreateRoomOptions as aE, type JoinOrCreateRoomOptions as aF, type JoinOrCreateResult as aG, type ListRoomsOptions as aH, type UpdateRoomDataOptions as aI, type RoomMessageRequest as aJ, type StartRoomGameOptions as aK, type ProposeMoveRequest as aL, type ProposeMoveResult as aM, type ValidateMoveVerdict as aN, type ValidateMoveResult as aO, type RoomSubscriptionOptions as aP, type LoggingApi as aQ, type IapApi as aR, type SpendCurrencyOptions as aS, type OpenStoreResult as aT, type LoadEmbeddedAssetsResponse as aU, type SubscriptionStatusResponse as aV, type IapSubscription as aW, type PurchaseResponse as aX, type SharedAssetsApi as aY, type LeaderboardApi as aZ, type ScoreToken as a_, type ResumeCallback as aa, type QuitCallback as ab, type SimulationApi as ac, type SimulationSlotValidationResult as ad, type SimulationBatchOperation as ae, type SimulationBatchOperationsResult as af, type SimulationAvailableItem as ag, type SimulationPowerPreview as ah, type SimulationSlotMutationResult as ai, type SimulationSlotContainer as aj, type SimulationAssignment as ak, type SimulationState as al, type ExecuteRecipeOptions as am, type ExecuteRecipeResponse as an, type CollectRecipeResult as ao, type ResetStateOptions as ap, type ResetStateResult as aq, type GetActiveRunsOptions as ar, type ExecuteScopedRecipeOptions as as, type ExecuteScopedRecipeResult as at, type GetAvailableRecipesOptions as au, type GetAvailableRecipesResult as av, type Recipe as aw, type GetBatchRecipeRequirements as ax, type TriggerRecipeChainOptions as ay, type RoomDataUpdate as az, type RundotGameSimulationStateResponse as b, type
|
|
2050
|
+
export { type AiChatCompletionRequest as $, type AnalyticsApi as A, type BatchRecipeRequirementsResult as B, type ScheduleLocalNotification as C, type ScheduleNotificationOptions as D, type PopupsApi as E, type ShowToastOptions as F, type ShowInterstitialAdOptions as G, type Host as H, type ShowRewardedAdOptions as I, type ProfileApi as J, type DeviceApi as K, type DeviceInfo as L, type EnvironmentApi as M, type NavigationApi as N, type EnvironmentInfo as O, type Profile as P, type QuitOptions as Q, type RundotGameAPI as R, type SimulationRunSummary as S, type SystemApi as T, type SafeArea as U, type CdnApi as V, type FetchFromCdnOptions as W, type TimeApi as X, type ServerTimeData as Y, type GetFutureTimeOptions as Z, type AiApi as _, type RecipeRequirementResult as a, type SubmitScoreParams as a$, type AiChatCompletionData as a0, type HapticsApi as a1, HapticFeedbackStyle as a2, type FeaturesApi as a3, type Experiment as a4, type LifecycleApi as a5, type SleepCallback as a6, type Subscription as a7, type AwakeCallback as a8, type PauseCallback as a9, type RoomMessageEvent as aA, type ProposedMoveEvent as aB, RundotGameTransport as aC, type RoomsApi as aD, type CreateRoomOptions as aE, type JoinOrCreateRoomOptions as aF, type JoinOrCreateResult as aG, type ListRoomsOptions as aH, type UpdateRoomDataOptions as aI, type RoomMessageRequest as aJ, type StartRoomGameOptions as aK, type ProposeMoveRequest as aL, type ProposeMoveResult as aM, type ValidateMoveVerdict as aN, type ValidateMoveResult as aO, type RoomSubscriptionOptions as aP, type LoggingApi as aQ, type IapApi as aR, type SpendCurrencyOptions as aS, type OpenStoreResult as aT, type LoadEmbeddedAssetsResponse as aU, type SubscriptionStatusResponse as aV, type IapSubscription as aW, type PurchaseResponse as aX, type SharedAssetsApi as aY, type LeaderboardApi as aZ, type ScoreToken as a_, type ResumeCallback as aa, type QuitCallback as ab, type SimulationApi as ac, type SimulationSlotValidationResult as ad, type SimulationBatchOperation as ae, type SimulationBatchOperationsResult as af, type SimulationAvailableItem as ag, type SimulationPowerPreview as ah, type SimulationSlotMutationResult as ai, type SimulationSlotContainer as aj, type SimulationAssignment as ak, type SimulationState as al, type ExecuteRecipeOptions as am, type ExecuteRecipeResponse as an, type CollectRecipeResult as ao, type ResetStateOptions as ap, type ResetStateResult as aq, type GetActiveRunsOptions as ar, type ExecuteScopedRecipeOptions as as, type ExecuteScopedRecipeResult as at, type GetAvailableRecipesOptions as au, type GetAvailableRecipesResult as av, type Recipe as aw, type GetBatchRecipeRequirements as ax, type TriggerRecipeChainOptions as ay, type RoomDataUpdate as az, type RundotGameSimulationStateResponse as b, type SimulationBatchOperationRemove as b$, type SubmitScoreResult as b0, type GetPagedScoresOptions as b1, type PagedScoresResponse as b2, type PlayerRankOptions as b3, type PlayerRankResult as b4, type GetPodiumScoresOptions as b5, type PodiumScoresResponse as b6, type PreloaderApi as b7, type SocialApi as b8, type ShareMetadata as b9, type SubPath as bA, PackageType as bB, type TimeIntervalTriggerInput as bC, type NotificationTriggerInput as bD, type OnRequestCallback as bE, type OnResponseCallback as bF, type OnNotificationCallback as bG, type RpcTransport as bH, type ImageGenModel as bI, type JoinRoomMatchCriteria as bJ, type RoomMessageEventType as bK, type RoomMessagePayload as bL, type ProposedMovePayload as bM, ROOM_GAME_PHASES as bN, type RoomGamePhase as bO, type RundotGameRoomRulesGameState as bP, type RundotGameRoomRules as bQ, type RundotGameRoomCustomMetadata as bR, type RundotGameRoomPayload as bS, type RoomEnvelopeResponse as bT, type RoomsEnvelopeResponse as bU, type JoinOrCreateRoomEnvelopeResponse as bV, type RecipeInfo as bW, type SimulationPersonalState as bX, type SimulationRoomActiveRecipe as bY, type SimulationRoomState as bZ, type SimulationBatchOperationAssign as b_, type ShareLinkResult as ba, type SocialQRCodeOptions as bb, type QRCodeResult as bc, type ShareClickData as bd, type EntitlementApi as be, type Entitlement as bf, type LedgerEntry as bg, type PromptLoginResult as bh, type AccessTier as bi, type AccessGateApi as bj, type ImageGenApi as bk, type UgcApi as bl, type Avatar3dApi as bm, type AssetManifest as bn, type Avatar3dConfig as bo, type ShowEditorOptions as bp, type Avatar3dEdits as bq, type AdsApi as br, type ImageGenParams as bs, type ImageGenResult as bt, type InitializationContext as bu, type InitializationOptions as bv, type AiMessage as bw, type Asset as bx, type Category as by, MockAvatarApi as bz, type SimulationUpdateType as c, type SimulationBatchOperationResult as c0, RpcSharedAssetsApi as c1, type LoadEmbeddedAssetsRequest as c2, type LeaderboardModeConfig as c3, type LeaderboardPeriodType as c4, type LeaderboardPeriodConfig as c5, type LeaderboardAntiCheatConfig as c6, type LeaderboardDisplaySettings as c7, type LeaderboardConfig as c8, type LeaderboardEntry as c9, type PodiumScoresContext as ca, type HudInsets as cb, createHost as cc, AccessDeniedError as cd, type SimulationEntityUpdate as d, type SimulationActiveRunsUpdate as e, type SimulationSnapshotUpdate as f, type SimulationUpdateData as g, type SimulationSubscribeOptions as h, type RundotGameSimulationEffect as i, type RundotGameSimulationRecipe as j, type RundotGameSimulationConfig as k, type RecipeRequirementQuery as l, type RundotGameExecuteRecipeOptions as m, type RundotGameExecuteScopedRecipeOptions as n, type RundotGameAvailableRecipe as o, type RundotGameCollectRecipeResult as p, type RundotGameExecuteRecipeResult as q, RundotGameRoom as r, type RpcRequest as s, type RpcResponse as t, type RpcNotification as u, RpcClient as v, type StorageApi as w, type NavigationStackInfo as x, type PushAppOptions as y, type NotificationsApi as z };
|
|
@@ -532,7 +532,7 @@ function initializeSimulation(rundotGameApi, host) {
|
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
// src/version.ts
|
|
535
|
-
var SDK_VERSION = "5.6.0-
|
|
535
|
+
var SDK_VERSION = "5.6.0-beta5";
|
|
536
536
|
|
|
537
537
|
// src/leaderboard/utils.ts
|
|
538
538
|
var HASH_ALGORITHM_WEB_CRYPTO = "SHA-256";
|
|
@@ -2035,5 +2035,5 @@ function initializeSocial(rundotGameApi, host) {
|
|
|
2035
2035
|
}
|
|
2036
2036
|
|
|
2037
2037
|
export { HASH_ALGORITHM_NODE, HASH_ALGORITHM_WEB_CRYPTO, MockImageGenApi, MockLeaderboardApi, RemoteHost, RpcClient, RpcImageGenApi, RpcLeaderboardApi, RpcSimulationApi, RpcSocialApi, SDK_VERSION, computeScoreHash, createHost, initializeImageGen, initializeLeaderboard, initializeSimulation, initializeSocial, initializeUgc };
|
|
2038
|
-
//# sourceMappingURL=chunk-
|
|
2039
|
-
//# sourceMappingURL=chunk-
|
|
2038
|
+
//# sourceMappingURL=chunk-UHGVYI7N.js.map
|
|
2039
|
+
//# sourceMappingURL=chunk-UHGVYI7N.js.map
|