@series-inc/rundot-game-sdk 5.18.0 → 5.19.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/{AdsApi-Bd_OGDEt.d.ts → AdsApi-BzXK22tl.d.ts} +6 -5
- package/dist/{LeaderboardApi-BKte9LP0.d.ts → LeaderboardApi-CBSE1wBb.d.ts} +4 -1
- package/dist/{chunk-2OT27YOG.js → chunk-BXGNMZKL.js} +12 -11
- package/dist/chunk-BXGNMZKL.js.map +1 -0
- package/dist/{chunk-APXEJWB6.js → chunk-QS23KQWG.js} +6 -6
- package/dist/chunk-QS23KQWG.js.map +1 -0
- package/dist/host-http.d.ts +1 -1
- package/dist/index.d.ts +30 -5
- package/dist/index.js +3 -3
- package/dist/rundot-game-api/index.d.ts +3 -3
- package/dist/rundot-game-api/index.js +2 -2
- package/dist/sandbox/index.js +12 -4
- package/dist/sandbox/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-2OT27YOG.js.map +0 -1
- package/dist/chunk-APXEJWB6.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as LeaderboardApi, I as ImageGenApi, A as AudioGenApi, V as VideoGenApi, q as SpriteGenApi, T as ThreeDGenApi } from './LeaderboardApi-
|
|
1
|
+
import { H as LeaderboardApi, I as ImageGenApi, A as AudioGenApi, V as VideoGenApi, q as SpriteGenApi, T as ThreeDGenApi } from './LeaderboardApi-CBSE1wBb.js';
|
|
2
2
|
|
|
3
3
|
interface StorageApi {
|
|
4
4
|
key(index: number): Promise<string | null>;
|
|
@@ -1705,7 +1705,7 @@ interface UgcRangeFilter {
|
|
|
1705
1705
|
}
|
|
1706
1706
|
type UgcFilterValue = string | number | UgcRangeFilter;
|
|
1707
1707
|
interface UgcBrowseParams {
|
|
1708
|
-
contentType?: string;
|
|
1708
|
+
contentType?: string | string[];
|
|
1709
1709
|
authorId?: string;
|
|
1710
1710
|
cursor?: string;
|
|
1711
1711
|
limit?: number;
|
|
@@ -1722,7 +1722,7 @@ interface UgcGetManyResponse {
|
|
|
1722
1722
|
}>;
|
|
1723
1723
|
}
|
|
1724
1724
|
interface UgcCountParams {
|
|
1725
|
-
contentType?: string;
|
|
1725
|
+
contentType?: string | string[];
|
|
1726
1726
|
filters?: Record<string, UgcFilterValue>;
|
|
1727
1727
|
}
|
|
1728
1728
|
interface UgcCrossAppBrowseParams extends UgcBrowseParams {
|
|
@@ -2310,7 +2310,8 @@ interface StorageQuota {
|
|
|
2310
2310
|
capBytes: number;
|
|
2311
2311
|
availableBytes: number;
|
|
2312
2312
|
maxFileBytes: number;
|
|
2313
|
-
tier
|
|
2313
|
+
/** Creator entitlement tier driving the storage cap. */
|
|
2314
|
+
tier: 'free' | 'creator' | 'plus' | 'pro' | 'power' | 'max';
|
|
2314
2315
|
}
|
|
2315
2316
|
type TransformParams = {
|
|
2316
2317
|
op: 'concat';
|
|
@@ -2898,7 +2899,7 @@ interface AdminGenApi<TEntry, TReport> {
|
|
|
2898
2899
|
|
|
2899
2900
|
type AppRole = 'owner' | 'editor' | 'none';
|
|
2900
2901
|
interface AdminUgcBrowseParams {
|
|
2901
|
-
contentType?: string;
|
|
2902
|
+
contentType?: string | string[];
|
|
2902
2903
|
authorId?: string;
|
|
2903
2904
|
cursor?: string;
|
|
2904
2905
|
limit?: number;
|
|
@@ -501,7 +501,10 @@ interface RemeshResult {
|
|
|
501
501
|
provider: 'meshy';
|
|
502
502
|
}
|
|
503
503
|
interface RigParams {
|
|
504
|
-
|
|
504
|
+
/** URL of the GLB model to rig. Provide this or `modelFileKey`. */
|
|
505
|
+
modelUrl?: string;
|
|
506
|
+
/** Resolve a Files SDK key as the source model (alternative to modelUrl) */
|
|
507
|
+
modelFileKey?: string;
|
|
505
508
|
heightMeters?: number;
|
|
506
509
|
clientRef?: string;
|
|
507
510
|
}
|
|
@@ -1842,21 +1842,22 @@ var RpcLoggingApi = class {
|
|
|
1842
1842
|
logDebug(message, ...args) {
|
|
1843
1843
|
if (!this.host.isInitialized) {
|
|
1844
1844
|
console.log(message, args);
|
|
1845
|
-
|
|
1846
|
-
message = this.buildMessage(message, ...args);
|
|
1847
|
-
this.rpcClient.call("H5_DEBUG" /* DEBUG */, { level: "log", message });
|
|
1845
|
+
return;
|
|
1848
1846
|
}
|
|
1847
|
+
this.rpcClient.notify(
|
|
1848
|
+
"H5_DEBUG" /* DEBUG */,
|
|
1849
|
+
{ level: "log", message: this.buildMessage(message, ...args) }
|
|
1850
|
+
);
|
|
1849
1851
|
}
|
|
1850
1852
|
logError(message, ...args) {
|
|
1851
1853
|
if (!this.host.isInitialized) {
|
|
1852
1854
|
console.error(message, ...args);
|
|
1853
|
-
|
|
1854
|
-
message = this.buildMessage(message, ...args);
|
|
1855
|
-
this.rpcClient.call("H5_DEBUG" /* DEBUG */, {
|
|
1856
|
-
level: "error",
|
|
1857
|
-
message
|
|
1858
|
-
});
|
|
1855
|
+
return;
|
|
1859
1856
|
}
|
|
1857
|
+
this.rpcClient.notify(
|
|
1858
|
+
"H5_DEBUG" /* DEBUG */,
|
|
1859
|
+
{ level: "error", message: this.buildMessage(message, ...args) }
|
|
1860
|
+
);
|
|
1860
1861
|
}
|
|
1861
1862
|
buildMessage(message, ...args) {
|
|
1862
1863
|
if (args && args.length > 0) {
|
|
@@ -6656,5 +6657,5 @@ var MockMultiplayerApi = class {
|
|
|
6656
6657
|
};
|
|
6657
6658
|
|
|
6658
6659
|
export { AccessDeniedError, BaseCdnApi, BrowserCaptureConsent, CLIP_CONTENT_TYPE, ClipRecorder, ClipsApiImpl, 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, 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, PER_APP_SUBDOMAIN_HOST_PATTERN, ROOM_GAME_PHASES, RpcAccessGateApi, RpcAdsApi, RpcAnalyticsApi, RpcAttributionApi, RpcAvatarApi, RpcEntitlementApi, RpcFeaturesApi, RpcHapticsApi, RpcInboundStorageApi, RpcLifecycleApi, RpcLoggingApi, RpcNavigationApi, RpcNotificationsApi, RpcPopupsApi, RpcPreloaderApi, RpcRoomsApi, RpcSharedAssetsApi, RpcShopApi, RpcStorageApi, RpcVideoApi, RundotGameMessageId, RundotGameRoom, SHARE_FILE_ALLOWED_MIME_TYPES, SHARE_FILE_MAX_SIZE_BYTES, SandboxAppApi, SandboxProfileApi, WsMultiplayerApi, applyAccessGates, base64ToArrayBuffer, base64ToUtf8, buildFunctionsBaseUrl, createAccessGatedApi, createMockAdminGenApi, createMockStorageApi, createRpcAdminGenApi, exchangeForCustomToken, generateId, getCloudRunUrl, getFirebaseClient, getLibraryDefinition, getSandboxConfig, hasHostedUrlStructure, initializeAccessGate, initializeAds, initializeAnalytics, initializeAttribution, initializeAvatar3d, initializeCdn, initializeEntitlements, initializeFeaturesApi, initializeHaptics, initializeLifecycleApi, initializeLocalNotifications, initializeLoggingApi, initializePopups, initializePreloader, initializeProfile, initializeRoomsApi, initializeShop, initializeStackNavigation, initializeStorage, initializeSystem, initializeTime, initializeVideo, isPacificDaylightTime, isPerAppSubdomain, isSandboxEnabled, mockLog, observeFirestoreCollection, observeFirestoreDocument, parseCdnLocationFromUrl, parseCdnLocationFromWindow, parseCdnPathSegments, resolveCollectionItemPrice, setStoredAppRole, setupRoomNotifications, signInWithGoogle };
|
|
6659
|
-
//# sourceMappingURL=chunk-
|
|
6660
|
-
//# sourceMappingURL=chunk-
|
|
6660
|
+
//# sourceMappingURL=chunk-BXGNMZKL.js.map
|
|
6661
|
+
//# sourceMappingURL=chunk-BXGNMZKL.js.map
|