@series-inc/rundot-game-sdk 5.16.0 → 5.17.0-beta.1

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.
@@ -2057,6 +2057,7 @@ interface VideoGenJobEvent {
2057
2057
  interface VideoGenApi {
2058
2058
  generate(params: VideoGenParams): Promise<VideoGenResult>;
2059
2059
  getCompletedJobs(): Promise<VideoGenJobEvent[]>;
2060
+ cancel(jobId: string): Promise<void>;
2060
2061
  }
2061
2062
 
2062
2063
  interface FileEntry {
@@ -2169,6 +2170,32 @@ type TransformParams = {
2169
2170
  input: string;
2170
2171
  outputKey: string;
2171
2172
  clientRef?: string;
2173
+ } | {
2174
+ op: 'fade';
2175
+ input: string;
2176
+ outputKey: string;
2177
+ fadeInMs?: number;
2178
+ fadeOutMs?: number;
2179
+ audioFade?: boolean;
2180
+ clientRef?: string;
2181
+ } | {
2182
+ op: 'split';
2183
+ input: string;
2184
+ outputKey: string;
2185
+ segments: Array<{
2186
+ startMs: number;
2187
+ endMs: number;
2188
+ }>;
2189
+ clientRef?: string;
2190
+ } | {
2191
+ op: 'audioMix';
2192
+ videoInput: string;
2193
+ audioInput: string;
2194
+ outputKey: string;
2195
+ audioFadeOutMs?: number;
2196
+ audioStartMs?: number;
2197
+ videoVolume?: number;
2198
+ clientRef?: string;
2172
2199
  };
2173
2200
  interface TransformResult {
2174
2201
  jobId: string;
@@ -185,6 +185,7 @@ var RundotGameMessageId = /* @__PURE__ */ ((RundotGameMessageId2) => {
185
185
  RundotGameMessageId2["H5_IMAGE_GEN_GENERATE"] = "H5_IMAGE_GEN_GENERATE";
186
186
  RundotGameMessageId2["H5_AUDIO_GEN_GENERATE"] = "H5_AUDIO_GEN_GENERATE";
187
187
  RundotGameMessageId2["H5_VIDEO_GEN_GENERATE"] = "H5_VIDEO_GEN_GENERATE";
188
+ RundotGameMessageId2["H5_VIDEO_GEN_CANCEL"] = "H5_VIDEO_GEN_CANCEL";
188
189
  RundotGameMessageId2["H5_FILES_UPLOAD"] = "H5_FILES_UPLOAD";
189
190
  RundotGameMessageId2["H5_FILES_CONFIRM_UPLOAD"] = "H5_FILES_CONFIRM_UPLOAD";
190
191
  RundotGameMessageId2["H5_FILES_GET_URL"] = "H5_FILES_GET_URL";
@@ -5954,5 +5955,5 @@ var MockMultiplayerApi = class {
5954
5955
  };
5955
5956
 
5956
5957
  export { AccessDeniedError, BaseCdnApi, DEFAULT_SHARED_LIB_CDN_BASE, DualEmitStorageApi, EMBEDDED_LIBRARIES, EMBEDDED_LIBRARY_BY_KEY, FILE_EXTENSION_PATTERN, HapticFeedbackStyle, HostCdnApi, HostDeviceApi, HostEnvironmentApi, HostProfileApi, HostSystemApi, HostTimeApi, MIN_CDN_PATH_SEGMENTS, MODULE_TO_LIBRARY_SPECIFIERS, MockAccessGateApi, MockAdminImageGenApi, MockAdminUgcApi, MockAdsApi, MockAnalyticsApi, MockAttributionApi, MockAvatarApi, MockCdnApi, MockDebug, MockDeviceApi, MockEntitlementApi, MockEnvironmentApi, MockFeaturesApi, MockHapticsApi, MockIapApi, MockLifecycleApi, MockLoggingApi, MockMultiplayerApi, MockNavigationApi, MockNotificationsApi, MockPopupsApi, MockPreloaderApi, MockProfileApi, MockSharedAssetsApi, MockShopApi, MockStorageApi, MockSystemApi, MockTimeApi, MockVideoApi, ROOM_GAME_PHASES, RateLimitedError, RpcAccessGateApi, RpcAdsApi, RpcAnalyticsApi, RpcAttributionApi, RpcAvatarApi, RpcEntitlementApi, RpcFeaturesApi, RpcHapticsApi, RpcIapApi, RpcInboundStorageApi, RpcLifecycleApi, RpcLoggingApi, RpcNavigationApi, RpcNotificationsApi, RpcPopupsApi, RpcPreloaderApi, RpcRoomsApi, RpcSharedAssetsApi, RpcShopApi, RpcStorageApi, RpcVideoApi, RundotApiError, RundotGameMessageId, RundotGameRoom, SandboxAppApi, SandboxProfileApi, WsMultiplayerApi, applyAccessGates, base64ToArrayBuffer, base64ToUtf8, buildFunctionsBaseUrl, createAccessGatedApi, createMockStorageApi, exchangeForCustomToken, generateId, getCloudRunUrl, getFirebaseClient, getLibraryDefinition, getSandboxConfig, hasHostedUrlStructure, initializeAccessGate, initializeAds, initializeAnalytics, initializeAttribution, initializeAvatar3d, initializeCdn, initializeEntitlements, initializeFeaturesApi, initializeHaptics, initializeIap, initializeLifecycleApi, initializeLocalNotifications, initializeLoggingApi, initializePopups, initializePreloader, initializeProfile, initializeRoomsApi, initializeShop, initializeStackNavigation, initializeStorage, initializeSystem, initializeTime, initializeVideo, isPacificDaylightTime, isSandboxEnabled, mockLog, observeFirestoreCollection, observeFirestoreDocument, parseCdnPathSegments, resolveCollectionItemPrice, setStoredAppRole, setupRoomNotifications, signInWithGoogle };
5957
- //# sourceMappingURL=chunk-B5FONOVZ.js.map
5958
- //# sourceMappingURL=chunk-B5FONOVZ.js.map
5958
+ //# sourceMappingURL=chunk-O7A2YEDV.js.map
5959
+ //# sourceMappingURL=chunk-O7A2YEDV.js.map