@arcware-cloud/pixelstreaming-websdk 1.0.10 → 1.1.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.
- package/README.md +16 -0
- package/index.cjs.js +10413 -9713
- package/index.esm.js +10411 -9694
- package/index.umd.js +10413 -9713
- package/package.json +1 -1
- package/types/lib/ArcwareApplication.d.ts +1 -0
- package/types/lib/ArcwarePixelStreaming.d.ts +1 -1
- package/types/shared/lib/Messages/Ping.d.ts +4 -1
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.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./index.umd.js",
|
|
7
7
|
"module": "./index.umd.js",
|
|
@@ -15,6 +15,7 @@ export declare class ArcwareApplication extends Application {
|
|
|
15
15
|
constructor(options: UIOptions & {
|
|
16
16
|
stream: ArcwarePixelStreaming;
|
|
17
17
|
});
|
|
18
|
+
addLoveLetterhandler(): void;
|
|
18
19
|
/** Set's and resets hidden state of "additional" UI Elements.
|
|
19
20
|
* For example buttons or connection icon.
|
|
20
21
|
* These will fade in through css animation upon the videoInitialized event.
|
|
@@ -83,7 +83,7 @@ export declare class ArcwarePixelStreaming extends PixelStreaming {
|
|
|
83
83
|
private applyResolutionIfPlaying;
|
|
84
84
|
removePlayer(): void;
|
|
85
85
|
private handleMouseLock;
|
|
86
|
-
|
|
86
|
+
initLoveLettersContainer(): void;
|
|
87
87
|
private pushLetter;
|
|
88
88
|
private processLoveLetterQueue;
|
|
89
89
|
private handleRemoveLoveLetters;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ZPing: z.ZodObject<{
|
|
3
3
|
type: z.ZodLiteral<"ping">;
|
|
4
|
-
message: z.ZodString
|
|
4
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5
|
+
time: z.ZodNumber;
|
|
5
6
|
}, "strip", z.ZodTypeAny, {
|
|
6
7
|
type?: "ping";
|
|
7
8
|
message?: string;
|
|
9
|
+
time?: number;
|
|
8
10
|
}, {
|
|
9
11
|
type?: "ping";
|
|
10
12
|
message?: string;
|
|
13
|
+
time?: number;
|
|
11
14
|
}>;
|
|
12
15
|
export type Ping = z.infer<typeof ZPing>;
|