@arcware-cloud/pixelstreaming-websdk 1.1.19 → 1.1.21

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arcware-cloud/pixelstreaming-websdk",
3
3
  "description": "WebSDK for easy implementation of pixel streaming with Arcware Cloud Services. Heavily based on the '@epicgames-ps' library.",
4
- "version": "1.1.19",
4
+ "version": "1.1.21",
5
5
  "type": "commonjs",
6
6
  "main": "./index.umd.js",
7
7
  "module": "./index.umd.js",
@@ -26,7 +26,7 @@ export declare class ArcwareConfig extends Config {
26
26
  readonly session: Session;
27
27
  readonly settings: Settings;
28
28
  private _initialSettings;
29
- readonly VERSION = "1.1.19";
29
+ readonly VERSION = "1.1.21";
30
30
  constructor(config: ArcwareConfigParams);
31
31
  /** Setup connection string. */
32
32
  get urlFlags(): string;
@@ -7,7 +7,7 @@ type DeepPartial<T> = T extends Function ? T : T extends object ? {
7
7
  export declare function ArcwareInit({ shareId, projectId }: {
8
8
  shareId?: string;
9
9
  projectId?: string;
10
- }, configuration?: DeepPartial<ArcwareConfigParams>): {
10
+ }, configuration?: DeepPartial<ArcwareConfigParams>, forceRefresh?: boolean): {
11
11
  Config: ArcwareConfig;
12
12
  PixelStreaming: ArcwarePixelStreaming;
13
13
  Application: ArcwareApplication;
@@ -36,8 +36,8 @@ export declare const ArcwareSettingsSchema: z.ZodObject<{
36
36
  */
37
37
  queueLength: z.ZodOptional<z.ZodNumber>;
38
38
  waited: z.ZodOptional<z.ZodNumber>;
39
- estimatedWaitTime: z.ZodOptional<z.ZodNumber>;
40
- averageWaitTime: z.ZodOptional<z.ZodNumber>;
39
+ estimatedWaitTime: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
40
+ averageWaitTime: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
41
  valueType: z.ZodEnum<["milliseconds", "seconds", "minutes", "hours", "days"]>;
42
42
  }, "strip", z.ZodTypeAny, {
43
43
  index?: number;
@@ -0,0 +1 @@
1
+ export default function debounce<T extends (...args: any[]) => void>(func: T, wait: number): (...args: Parameters<T>) => void;
@@ -2,4 +2,5 @@ export declare class ArcwareLogoLoader {
2
2
  arcwareLogoLoader: HTMLDivElement;
3
3
  constructor();
4
4
  private createArcwareLogoLoader;
5
+ private getSvg;
5
6
  }
@@ -12,11 +12,11 @@ export declare const ZQueue: z.ZodObject<{
12
12
  /** Based on Average Watch Time,
13
13
  * we calculate an average interval of expected connection closings and based on the amount of concurrent sessions,
14
14
  * we can calculate the estimated time until another slot will be freed up. */
15
- estimatedWaitTime: z.ZodOptional<z.ZodNumber>;
15
+ estimatedWaitTime: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
16
16
  /** The average time all current sessions.
17
17
  * (How long did it actually take those that waited for them that received a connection to the currently running instances.)
18
18
  */
19
- averageWaitTime: z.ZodOptional<z.ZodNumber>;
19
+ averageWaitTime: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20
20
  /** Type of all time-values in the que. */
21
21
  valueType: z.ZodEnum<["milliseconds", "seconds", "minutes", "hours", "days"]>;
22
22
  }, "strip", z.ZodTypeAny, {