@casual-simulation/aux-common 3.1.1 → 3.1.2-alpha.3024784629

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.
@@ -1869,6 +1869,16 @@ declare interface EnablePOVAction {
1869
1869
  center?: { x: number, y: number, z: number };
1870
1870
  }
1871
1871
 
1872
+ /**
1873
+ * Defines an interface that represents a wake lock configuration.
1874
+ */
1875
+ declare interface WakeLockConfiguration {
1876
+ /**
1877
+ * Whether the wake lock is enabled.
1878
+ */
1879
+ enabled: boolean;
1880
+ }
1881
+
1872
1882
  /**
1873
1883
  * An event that is used to send a command to the Jitsi Meet API.
1874
1884
  */
@@ -2258,6 +2268,11 @@ declare interface RegisterPrefixOptions {
2258
2268
  * The possible languages that prefixes can use.
2259
2269
  */
2260
2270
  language?: 'javascript' | 'typescript' | 'json' | 'jsx' | 'tsx' | 'text';
2271
+
2272
+ /**
2273
+ * The name of the prefix.
2274
+ */
2275
+ name?: string;
2261
2276
  }
2262
2277
 
2263
2278
 
@@ -9020,6 +9035,21 @@ interface Os {
9020
9035
  */
9021
9036
  disablePointOfView(): EnablePOVAction;
9022
9037
 
9038
+ /**
9039
+ * Requests a wake lock that will keep the device screen awake.
9040
+ */
9041
+ requestWakeLock(): Promise<void>;
9042
+
9043
+ /**
9044
+ * Disables the wake lock.
9045
+ */
9046
+ disableWakeLock(): Promise<void>;
9047
+
9048
+ /**
9049
+ * Retrieves the current wake lock configuration.
9050
+ */
9051
+ getWakeLockConfiguration(): Promise<WakeLockConfiguration>;
9052
+
9023
9053
  /**
9024
9054
  * Gets the dimension that is loaded into the given portal for the player.
9025
9055
  * If no dimension is loaded, then null is returned.