@series-inc/venus-sdk 3.2.0 → 3.2.1-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.
@@ -43,9 +43,6 @@ var VenusMessageId = /* @__PURE__ */ ((VenusMessageId2) => {
43
43
  VenusMessageId2["IS_LOCAL_NOTIFICATIONS_ENABLED"] = "H5_IS_LOCAL_NOTIFICATIONS_ENABLED";
44
44
  VenusMessageId2["SET_LOCAL_NOTIFICATIONS_ENABLED"] = "H5_SET_LOCAL_NOTIFICATIONS_ENABLED";
45
45
  VenusMessageId2["TOAST"] = "H5_TOAST";
46
- VenusMessageId2["ALERT_DIALOG"] = "H5_ALERT_DIALOG";
47
- VenusMessageId2["CONFIRM_DIALOG"] = "H5_CONFIRM_DIALOG";
48
- VenusMessageId2["ACTION_SHEET_SHOW"] = "H5_ACTION_SHEET_SHOW";
49
46
  VenusMessageId2["REQUEST_SERVER_TIME"] = "H5_REQUEST_SERVER_TIME";
50
47
  VenusMessageId2["SHARE_LINK"] = "H5_SHARE_LINK";
51
48
  VenusMessageId2["CREATE_SHARE_QRCODE"] = "H5_CREATE_SHARE_QRCODE";
@@ -949,7 +946,7 @@ var MockCdnApi = class {
949
946
  const cleanSubPath = subPath.startsWith("/") ? subPath.slice(1) : subPath;
950
947
  const isLocalhost = typeof window !== "undefined" && (window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1");
951
948
  if (isLocalhost && !this.forceRemoteCdn) {
952
- return `/${cleanSubPath}`;
949
+ return `cdn/${cleanSubPath}`;
953
950
  }
954
951
  const pathParts = cleanSubPath.split("/");
955
952
  const encodedParts = pathParts.map((part, index) => {
@@ -1914,40 +1911,6 @@ var RpcPopupsApi = class {
1914
1911
  __publicField(this, "rpcClient");
1915
1912
  this.rpcClient = rpcClient;
1916
1913
  }
1917
- async showActionSheet(items, options) {
1918
- const result = await this.rpcClient.call(
1919
- "H5_ACTION_SHEET_SHOW" /* ACTION_SHEET_SHOW */,
1920
- {
1921
- title: options?.title || "",
1922
- message: options?.message || "",
1923
- options: items,
1924
- cancelButtonText: options?.cancelButtonText || "Cancel"
1925
- }
1926
- );
1927
- return result;
1928
- }
1929
- async showAlert(title, message, options) {
1930
- const buttonText = options?.buttonText || "OK";
1931
- await this.rpcClient.call("H5_ALERT_DIALOG" /* ALERT_DIALOG */, {
1932
- title,
1933
- message,
1934
- buttonText
1935
- });
1936
- }
1937
- async showConfirm(title, message, options) {
1938
- const confirmText = options?.confirmText || "OK";
1939
- const cancelText = options?.cancelText || "Cancel";
1940
- const result = await this.rpcClient.call(
1941
- "H5_CONFIRM_DIALOG" /* CONFIRM_DIALOG */,
1942
- {
1943
- title,
1944
- message,
1945
- confirmText,
1946
- cancelText
1947
- }
1948
- );
1949
- return result;
1950
- }
1951
1914
  async showToast(message, options) {
1952
1915
  const duration = options?.duration ?? 3e3;
1953
1916
  const variant = options?.variant ?? "info";
@@ -1971,21 +1934,6 @@ var MockPopupsApi = class {
1971
1934
  __publicField(this, "overlay");
1972
1935
  this.overlay = override;
1973
1936
  }
1974
- showActionSheet(items, options) {
1975
- console.log(
1976
- `[Venus Mock] Show Action sheet, items: ${JSON.stringify(items, null, 2)}, options: ${JSON.stringify(options, null, 2)}`
1977
- );
1978
- return this.overlay.showActionSheet(items, options);
1979
- }
1980
- async showAlert(title, message, options) {
1981
- window.alert(`${title}
1982
- ${message}`);
1983
- }
1984
- async showConfirm(title, message, options) {
1985
- const result = window.confirm(`${title || "Confirm"}
1986
- ${message}`);
1987
- return result;
1988
- }
1989
1937
  async showToast(message, options) {
1990
1938
  const variant = options?.variant ?? "info";
1991
1939
  const duration = options?.duration ?? 3e3;
@@ -2012,41 +1960,6 @@ ${message}`);
2012
1960
 
2013
1961
  // src/popups/index.ts
2014
1962
  function initializePopups(venusApi, host) {
2015
- venusApi.showToast = async (input) => {
2016
- if (typeof input === "string") {
2017
- return await host.popups.showToast(input);
2018
- } else {
2019
- return await host.popups.showToast(input.message, {
2020
- duration: input.duration,
2021
- action: input.action,
2022
- variant: "success"
2023
- });
2024
- }
2025
- };
2026
- venusApi.showAlert = async (input) => {
2027
- await host.popups.showAlert(input.title, input.message, {
2028
- buttonText: input.buttonText
2029
- });
2030
- };
2031
- venusApi.showConfirm = async (input) => {
2032
- const confirmed = await host.popups.showConfirm(
2033
- input.title,
2034
- input.message,
2035
- {
2036
- confirmText: input.confirmText,
2037
- cancelText: input.cancelText
2038
- }
2039
- );
2040
- return confirmed;
2041
- };
2042
- venusApi.showActionSheet = async (input) => {
2043
- return await host.popups.showActionSheet(input.options, {
2044
- title: input.title,
2045
- message: input.message,
2046
- cancelButtonText: input.cancelButtonText,
2047
- disableCancel: input.disableCancel
2048
- });
2049
- };
2050
1963
  venusApi.popups = host.popups;
2051
1964
  }
2052
1965
 
@@ -2632,21 +2545,23 @@ function initializeRoomsApi(venusApi, host) {
2632
2545
  }
2633
2546
 
2634
2547
  // src/storage/MockStorageApi.ts
2548
+ var STORAGE_PREFIXES = {
2549
+ globalStorage: "venus:global",
2550
+ deviceCache: "venus:deviceCache",
2551
+ appStorage: "venus:appStorage"
2552
+ };
2635
2553
  function createMockStorageApi(storageType, appUrl) {
2636
2554
  const appIdentifier = appUrl ? generateAppIdentifier(appUrl) : null;
2637
- let prefix;
2555
+ let prefix = STORAGE_PREFIXES[storageType];
2638
2556
  let syncDelay = 0;
2639
2557
  switch (storageType) {
2640
2558
  case "deviceCache":
2641
- prefix = "venus:app";
2642
2559
  syncDelay = 0;
2643
2560
  break;
2644
2561
  case "appStorage":
2645
- prefix = "venus:app";
2646
2562
  syncDelay = 100;
2647
2563
  break;
2648
2564
  case "globalStorage":
2649
- prefix = "venus:global";
2650
2565
  syncDelay = 100;
2651
2566
  break;
2652
2567
  default:
@@ -2659,29 +2574,38 @@ var MockStorageApi = class {
2659
2574
  constructor(prefix, syncDelay) {
2660
2575
  __publicField(this, "prefix");
2661
2576
  __publicField(this, "syncDelay");
2577
+ __publicField(this, "orderStorageKey");
2662
2578
  this.prefix = prefix;
2663
2579
  this.syncDelay = syncDelay;
2580
+ this.orderStorageKey = `${prefix}__order__`;
2664
2581
  }
2665
2582
  async clear() {
2583
+ const keysToRemove = [];
2666
2584
  const fullLength = localStorage.length;
2667
2585
  for (let i = 0; i < fullLength; i++) {
2668
2586
  const fullKey = localStorage.key(i);
2669
- if (fullKey && fullKey.startsWith(this.prefix)) {
2670
- localStorage.removeItem(fullKey);
2587
+ if (!fullKey || fullKey === this.orderStorageKey) {
2588
+ continue;
2589
+ }
2590
+ if (fullKey.startsWith(this.prefix)) {
2591
+ keysToRemove.push(fullKey);
2671
2592
  }
2672
2593
  }
2594
+ for (const key of keysToRemove) {
2595
+ localStorage.removeItem(key);
2596
+ }
2597
+ this.clearOrder();
2673
2598
  await this.simulateSyncDelay();
2674
2599
  }
2675
2600
  async getAllItems() {
2676
2601
  const items = new Array();
2677
- const fullLength = localStorage.length;
2678
- for (let i = 0; i < fullLength; i++) {
2679
- const fullKey = localStorage.key(i);
2680
- if (fullKey && fullKey.startsWith(this.prefix)) {
2681
- const item = localStorage.getItem(fullKey);
2682
- if (item) {
2683
- items.push(item);
2684
- }
2602
+ const orderedKeys = this.keys();
2603
+ for (const key of orderedKeys) {
2604
+ const value = localStorage.getItem(this.buildKey(key));
2605
+ if (value !== null) {
2606
+ items.push(value);
2607
+ } else {
2608
+ this.removeFromOrder(key);
2685
2609
  }
2686
2610
  }
2687
2611
  return items;
@@ -2706,11 +2630,13 @@ var MockStorageApi = class {
2706
2630
  const fullKey = this.buildKey(key);
2707
2631
  await this.simulateSyncDelay();
2708
2632
  localStorage.removeItem(fullKey);
2633
+ this.removeFromOrder(key);
2709
2634
  }
2710
2635
  async setItem(key, item) {
2711
2636
  const fullKey = this.buildKey(key);
2712
2637
  await this.simulateSyncDelay();
2713
2638
  localStorage.setItem(fullKey, item);
2639
+ this.upsertOrder(key);
2714
2640
  }
2715
2641
  async setMultipleItems(entries) {
2716
2642
  for (const entry of entries) {
@@ -2718,6 +2644,7 @@ var MockStorageApi = class {
2718
2644
  localStorage.setItem(fullKey, entry.value);
2719
2645
  }
2720
2646
  await this.simulateSyncDelay();
2647
+ this.bulkUpsertOrder(entries.map((entry) => entry.key));
2721
2648
  }
2722
2649
  async removeMultipleItems(keys) {
2723
2650
  for (const key of keys) {
@@ -2725,6 +2652,7 @@ var MockStorageApi = class {
2725
2652
  localStorage.removeItem(fullKey);
2726
2653
  }
2727
2654
  await this.simulateSyncDelay();
2655
+ this.bulkRemoveFromOrder(keys);
2728
2656
  }
2729
2657
  buildKey(key) {
2730
2658
  const prefix = this.prefix;
@@ -2735,17 +2663,8 @@ var MockStorageApi = class {
2735
2663
  return fullKey.substring(prefix.length);
2736
2664
  }
2737
2665
  keys() {
2738
- const keys = new Array();
2739
- let length = localStorage.length;
2740
- for (let i = 0; i < length; i++) {
2741
- const fullKey = localStorage.key(i);
2742
- if (fullKey && fullKey.startsWith(this.prefix)) {
2743
- length++;
2744
- const key = this.extractKey(fullKey);
2745
- keys.push(key);
2746
- }
2747
- }
2748
- return keys;
2666
+ const order = this.readOrder();
2667
+ return [...order];
2749
2668
  }
2750
2669
  async simulateSyncDelay() {
2751
2670
  const syncDelay = this.syncDelay;
@@ -2753,6 +2672,127 @@ var MockStorageApi = class {
2753
2672
  await new Promise((resolve) => setTimeout(resolve, syncDelay));
2754
2673
  }
2755
2674
  }
2675
+ readOrder() {
2676
+ const raw = localStorage.getItem(this.orderStorageKey);
2677
+ if (!raw) {
2678
+ return this.rebuildOrderFromStorage();
2679
+ }
2680
+ try {
2681
+ const parsed = JSON.parse(raw);
2682
+ if (Array.isArray(parsed)) {
2683
+ return this.normalizeOrder(parsed);
2684
+ }
2685
+ } catch {
2686
+ }
2687
+ return this.rebuildOrderFromStorage();
2688
+ }
2689
+ normalizeOrder(order) {
2690
+ const seen = /* @__PURE__ */ new Set();
2691
+ const normalized = [];
2692
+ let changed = false;
2693
+ for (const entry of order) {
2694
+ if (typeof entry !== "string") {
2695
+ changed = true;
2696
+ continue;
2697
+ }
2698
+ if (seen.has(entry)) {
2699
+ changed = true;
2700
+ continue;
2701
+ }
2702
+ const fullKey = this.buildKey(entry);
2703
+ if (localStorage.getItem(fullKey) === null) {
2704
+ changed = true;
2705
+ continue;
2706
+ }
2707
+ seen.add(entry);
2708
+ normalized.push(entry);
2709
+ }
2710
+ if (changed) {
2711
+ this.writeOrder(normalized);
2712
+ }
2713
+ return normalized;
2714
+ }
2715
+ rebuildOrderFromStorage() {
2716
+ const keys = [];
2717
+ const total = localStorage.length;
2718
+ for (let i = 0; i < total; i++) {
2719
+ const fullKey = localStorage.key(i);
2720
+ if (!fullKey) continue;
2721
+ if (fullKey === this.orderStorageKey) continue;
2722
+ if (fullKey.startsWith(this.prefix)) {
2723
+ keys.push(this.extractKey(fullKey));
2724
+ }
2725
+ }
2726
+ this.writeOrder(keys);
2727
+ return keys;
2728
+ }
2729
+ upsertOrder(key) {
2730
+ const order = this.readOrder();
2731
+ const index = order.indexOf(key);
2732
+ if (index !== -1) {
2733
+ order.splice(index, 1);
2734
+ }
2735
+ order.push(key);
2736
+ this.writeOrder(order);
2737
+ }
2738
+ bulkUpsertOrder(keys) {
2739
+ const dedupedKeys = this.dedupeKeys(keys);
2740
+ if (dedupedKeys.length === 0) {
2741
+ return;
2742
+ }
2743
+ const order = this.readOrder();
2744
+ const keysSet = new Set(dedupedKeys);
2745
+ const filtered = order.filter((entry) => !keysSet.has(entry));
2746
+ for (const key of dedupedKeys) {
2747
+ filtered.push(key);
2748
+ }
2749
+ this.writeOrder(filtered);
2750
+ }
2751
+ removeFromOrder(key) {
2752
+ const order = this.readOrder();
2753
+ const index = order.indexOf(key);
2754
+ if (index !== -1) {
2755
+ order.splice(index, 1);
2756
+ this.writeOrder(order);
2757
+ }
2758
+ }
2759
+ bulkRemoveFromOrder(keys) {
2760
+ const dedupedKeys = this.dedupeKeys(keys);
2761
+ if (dedupedKeys.length === 0) {
2762
+ return;
2763
+ }
2764
+ const order = this.readOrder();
2765
+ const keysSet = new Set(dedupedKeys);
2766
+ const filtered = order.filter((entry) => !keysSet.has(entry));
2767
+ if (filtered.length !== order.length) {
2768
+ this.writeOrder(filtered);
2769
+ }
2770
+ }
2771
+ writeOrder(order) {
2772
+ if (order.length === 0) {
2773
+ localStorage.removeItem(this.orderStorageKey);
2774
+ return;
2775
+ }
2776
+ localStorage.setItem(this.orderStorageKey, JSON.stringify(order));
2777
+ }
2778
+ clearOrder() {
2779
+ localStorage.removeItem(this.orderStorageKey);
2780
+ }
2781
+ dedupeKeys(keys) {
2782
+ const result = [];
2783
+ const seen = /* @__PURE__ */ new Set();
2784
+ for (const key of keys) {
2785
+ if (typeof key !== "string") {
2786
+ continue;
2787
+ }
2788
+ if (seen.has(key)) {
2789
+ continue;
2790
+ }
2791
+ seen.add(key);
2792
+ result.push(key);
2793
+ }
2794
+ return result;
2795
+ }
2756
2796
  };
2757
2797
  function generateAppIdentifier(appUrl) {
2758
2798
  if (!appUrl) appUrl = "";
@@ -3423,7 +3463,72 @@ function initializeTime(venusApi, host) {
3423
3463
  }
3424
3464
 
3425
3465
  // src/version.ts
3426
- var SDK_VERSION = "3.2.0";
3466
+ var SDK_VERSION = "3.2.1-beta.1";
3467
+
3468
+ // src/shared-assets/base64Utils.ts
3469
+ function base64ToArrayBuffer(base64) {
3470
+ const binaryString = atob(base64);
3471
+ const len = binaryString.length;
3472
+ const bytes = new Uint8Array(len);
3473
+ for (let i = 0; i < len; i++) {
3474
+ bytes[i] = binaryString.charCodeAt(i);
3475
+ }
3476
+ return bytes.buffer;
3477
+ }
3478
+ function base64ToUtf8(base64) {
3479
+ if (typeof TextDecoder !== "undefined") {
3480
+ const decoder = new TextDecoder("utf-8");
3481
+ const buffer = base64ToArrayBuffer(base64);
3482
+ return decoder.decode(new Uint8Array(buffer));
3483
+ }
3484
+ if (typeof globalThis !== "undefined" && typeof globalThis.Buffer !== "undefined") {
3485
+ const BufferCtor = globalThis.Buffer;
3486
+ return BufferCtor.from(base64, "base64").toString("utf-8");
3487
+ }
3488
+ const binaryString = atob(base64);
3489
+ let result = "";
3490
+ for (let i = 0; i < binaryString.length; i++) {
3491
+ result += String.fromCharCode(binaryString.charCodeAt(i));
3492
+ }
3493
+ return decodeURIComponent(escape(result));
3494
+ }
3495
+
3496
+ // src/shared-assets/RpcSharedAssetsApi.ts
3497
+ var RpcSharedAssetsApi = class {
3498
+ constructor(rpcClient, venusApi) {
3499
+ __publicField(this, "venusApi");
3500
+ __publicField(this, "rpcClient");
3501
+ this.rpcClient = rpcClient;
3502
+ this.venusApi = venusApi;
3503
+ }
3504
+ async loadAssetsBundle(game, bundleKey, fileType = "stow") {
3505
+ try {
3506
+ const response = await this.rpcClient.callT("H5_LOAD_EMBEDDED_ASSET" /* H5_LOAD_EMBEDDED_ASSET */, {
3507
+ assetKey: bundleKey
3508
+ });
3509
+ return base64ToArrayBuffer(response.base64Data);
3510
+ } catch (err) {
3511
+ try {
3512
+ const blob = await this.venusApi.cdn.fetchBlob(`${game}/${bundleKey}.${fileType}`);
3513
+ return await blob.arrayBuffer();
3514
+ } catch (e) {
3515
+ throw new Error(`Failed to load ${bundleKey}`);
3516
+ }
3517
+ }
3518
+ }
3519
+ };
3520
+
3521
+ // src/shared-assets/MockSharedAssetsApi.ts
3522
+ var MockSharedAssetsApi = class {
3523
+ constructor(venusApi) {
3524
+ __publicField(this, "venusApi");
3525
+ this.venusApi = venusApi;
3526
+ }
3527
+ async loadAssetsBundle(game, bundleKey, fileType = "stow") {
3528
+ const blob = await this.venusApi.cdn.fetchBlob(`${game}/${bundleKey}.${fileType}`);
3529
+ return await blob.arrayBuffer();
3530
+ }
3531
+ };
3427
3532
 
3428
3533
  // src/shared-assets/embeddedLibrariesManifest.ts
3429
3534
  var DEFAULT_SHARED_LIB_CDN_BASE = "https://venus-static-01293ak.web.app/libs";
@@ -3566,103 +3671,6 @@ function getLibraryDefinition(libraryKey) {
3566
3671
  return definition;
3567
3672
  }
3568
3673
 
3569
- // src/shared-assets/base64Utils.ts
3570
- function base64ToArrayBuffer(base64) {
3571
- const binaryString = atob(base64);
3572
- const len = binaryString.length;
3573
- const bytes = new Uint8Array(len);
3574
- for (let i = 0; i < len; i++) {
3575
- bytes[i] = binaryString.charCodeAt(i);
3576
- }
3577
- return bytes.buffer;
3578
- }
3579
- function base64ToUtf8(base64) {
3580
- if (typeof TextDecoder !== "undefined") {
3581
- const decoder = new TextDecoder("utf-8");
3582
- const buffer = base64ToArrayBuffer(base64);
3583
- return decoder.decode(new Uint8Array(buffer));
3584
- }
3585
- if (typeof globalThis !== "undefined" && typeof globalThis.Buffer !== "undefined") {
3586
- const BufferCtor = globalThis.Buffer;
3587
- return BufferCtor.from(base64, "base64").toString("utf-8");
3588
- }
3589
- const binaryString = atob(base64);
3590
- let result = "";
3591
- for (let i = 0; i < binaryString.length; i++) {
3592
- result += String.fromCharCode(binaryString.charCodeAt(i));
3593
- }
3594
- return decodeURIComponent(escape(result));
3595
- }
3596
-
3597
- // src/shared-assets/RpcSharedAssetsApi.ts
3598
- var RpcSharedAssetsApi = class {
3599
- constructor(rpcClient, venusApi) {
3600
- __publicField(this, "venusApi");
3601
- __publicField(this, "rpcClient");
3602
- this.rpcClient = rpcClient;
3603
- this.venusApi = venusApi;
3604
- }
3605
- async loadAssetsBundle(game, bundleKey, fileType = "stow") {
3606
- try {
3607
- const response = await this.rpcClient.callT("H5_LOAD_EMBEDDED_ASSET" /* H5_LOAD_EMBEDDED_ASSET */, {
3608
- assetKey: bundleKey
3609
- });
3610
- return base64ToArrayBuffer(response.base64Data);
3611
- } catch (err) {
3612
- try {
3613
- const blob = await this.venusApi.cdn.fetchBlob(`${game}/${bundleKey}.${fileType}`);
3614
- return await blob.arrayBuffer();
3615
- } catch (e) {
3616
- throw new Error(`Failed to load ${bundleKey}`);
3617
- }
3618
- }
3619
- }
3620
- async loadLibraryCode(libraryKey) {
3621
- const definition = getLibraryDefinition(libraryKey);
3622
- try {
3623
- const response = await this.rpcClient.callT("H5_LOAD_EMBEDDED_ASSET" /* H5_LOAD_EMBEDDED_ASSET */, {
3624
- assetKey: definition.assetKey
3625
- });
3626
- return base64ToUtf8(response.base64Data);
3627
- } catch (err) {
3628
- console.error(
3629
- `[Venus Libraries] Failed to load ${libraryKey} from host via RPC:`,
3630
- err
3631
- );
3632
- console.warn(
3633
- `[Venus Libraries] Falling back to CDN for ${libraryKey}. This may indicate an asset packaging issue.`
3634
- );
3635
- try {
3636
- const cdnUrl = this.venusApi.cdn.resolveSharedLibUrl(definition.cdnPath);
3637
- const response = await this.venusApi.cdn.fetchFromCdn(cdnUrl);
3638
- return await response.text();
3639
- } catch (cdnError) {
3640
- throw new Error(
3641
- `Failed to load embedded library ${libraryKey}: RPC failed, CDN fallback failed: ${cdnError.message}`
3642
- );
3643
- }
3644
- }
3645
- }
3646
- };
3647
-
3648
- // src/shared-assets/MockSharedAssetsApi.ts
3649
- var MockSharedAssetsApi = class {
3650
- constructor(venusApi) {
3651
- __publicField(this, "venusApi");
3652
- this.venusApi = venusApi;
3653
- }
3654
- async loadAssetsBundle(game, bundleKey, fileType = "stow") {
3655
- const blob = await this.venusApi.cdn.fetchBlob(`${game}/${bundleKey}.${fileType}`);
3656
- return await blob.arrayBuffer();
3657
- }
3658
- async loadLibraryCode(libraryKey) {
3659
- const definition = getLibraryDefinition(libraryKey);
3660
- const url = this.venusApi.cdn.resolveSharedLibUrl(definition.cdnPath);
3661
- const response = await this.venusApi.cdn.fetchFromCdn(url);
3662
- return await response.text();
3663
- }
3664
- };
3665
-
3666
3674
  // src/leaderboard/utils.ts
3667
3675
  var HASH_ALGORITHM_WEB_CRYPTO = "SHA-256";
3668
3676
  var HASH_ALGORITHM_NODE = "sha256";
@@ -5146,5 +5154,5 @@ function initializeSocial(venusApi, host) {
5146
5154
  }
5147
5155
 
5148
5156
  export { DEFAULT_SHARED_LIB_CDN_BASE, EMBEDDED_LIBRARIES, EMBEDDED_LIBRARY_BY_KEY, HASH_ALGORITHM_NODE, HASH_ALGORITHM_WEB_CRYPTO, HapticFeedbackStyle, HostCdnApi, HostDeviceApi, HostEnvironmentApi, HostProfileApi, HostSystemApi, HostTimeApi, MODULE_TO_LIBRARY_SPECIFIERS, MockAdsApi, MockAiApi, MockAnalyticsApi, MockAvatarApi, MockCdnApi, MockDeviceApi, MockEnvironmentApi, MockFeaturesApi, MockHapticsApi, MockIapApi, MockLeaderboardApi, MockLifecycleApi, MockLoggingApi, MockNavigationApi, MockNotificationsApi, MockPopupsApi, MockPreloaderApi, MockProfileApi, MockSharedAssetsApi, MockSocialApi, MockStorageApi, MockSystemApi, MockTimeApi, RemoteHost, RpcAdsApi, RpcAiApi, RpcAnalyticsApi, RpcAvatarApi, RpcClient, RpcFeaturesApi, RpcHapticsApi, RpcIapApi, RpcLeaderboardApi, RpcLifecycleApi, RpcLoggingApi, RpcNavigationApi, RpcNotificationsApi, RpcPopupsApi, RpcPreloaderApi, RpcRoomsApi, RpcSharedAssetsApi, RpcSimulationApi, RpcSocialApi, RpcStorageApi, SDK_VERSION, VenusMessageId, VenusRoom, base64ToArrayBuffer, base64ToUtf8, computeScoreHash, createHost, createMockStorageApi, getLibraryDefinition, initializeAds, initializeAi, initializeAnalytics, initializeAvatar3d, initializeCdn, initializeFeaturesApi, initializeHaptics, initializeIap, initializeLeaderboard, initializeLifecycleApi, initializeLocalNotifications, initializeLoggingApi, initializePopups, initializePreloader, initializeProfile, initializeRoomsApi, initializeSimulation, initializeSocial, initializeStackNavigation, initializeStorage, initializeSystem, initializeTime, isPacificDaylightTime, setupRoomNotifications };
5149
- //# sourceMappingURL=chunk-AGXMORDL.mjs.map
5150
- //# sourceMappingURL=chunk-AGXMORDL.mjs.map
5157
+ //# sourceMappingURL=chunk-46LCYRXS.mjs.map
5158
+ //# sourceMappingURL=chunk-46LCYRXS.mjs.map