@wvdsh/api 0.1.27 → 0.1.28
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.
|
@@ -102,6 +102,7 @@ export declare const IFRAME_MESSAGE_TYPE: {
|
|
|
102
102
|
readonly SET_FULLSCREEN: "SetFullscreen";
|
|
103
103
|
readonly TOGGLE_FULLSCREEN: "ToggleFullscreen";
|
|
104
104
|
readonly FULLSCREEN_CHANGED: "FullscreenChanged";
|
|
105
|
+
readonly MUTE_CHANGED: "MuteChanged";
|
|
105
106
|
readonly GAMEPLAY_JWT_READY: "GameplayJwtReady";
|
|
106
107
|
readonly END_SESSION: "EndSession";
|
|
107
108
|
};
|
|
@@ -141,6 +142,9 @@ export type IFrameEventPayloadMap = {
|
|
|
141
142
|
[IFRAME_MESSAGE_TYPE.FULLSCREEN_CHANGED]: {
|
|
142
143
|
isFullscreen: boolean;
|
|
143
144
|
};
|
|
145
|
+
[IFRAME_MESSAGE_TYPE.MUTE_CHANGED]: {
|
|
146
|
+
isMuted: boolean;
|
|
147
|
+
};
|
|
144
148
|
[IFRAME_MESSAGE_TYPE.TAKE_FOCUS]: void;
|
|
145
149
|
[IFRAME_MESSAGE_TYPE.GET_LOBBY_INVITE_LINK]: string;
|
|
146
150
|
[IFRAME_MESSAGE_TYPE.GET_DEVICE_FINGERPRINT]: DeviceFingerprint;
|
|
@@ -79,6 +79,7 @@ export const IFRAME_MESSAGE_TYPE = {
|
|
|
79
79
|
SET_FULLSCREEN: 'SetFullscreen',
|
|
80
80
|
TOGGLE_FULLSCREEN: 'ToggleFullscreen',
|
|
81
81
|
FULLSCREEN_CHANGED: 'FullscreenChanged',
|
|
82
|
+
MUTE_CHANGED: 'MuteChanged',
|
|
82
83
|
GAMEPLAY_JWT_READY: 'GameplayJwtReady',
|
|
83
84
|
END_SESSION: 'EndSession'
|
|
84
85
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wvdsh/api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
4
4
|
"description": "Public API types and shared constants for the Wavedash platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
"node": ">=18"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
19
|
-
"access": "public"
|
|
19
|
+
"access": "public",
|
|
20
|
+
"registry": "https://registry.npmjs.org/",
|
|
21
|
+
"@wvdsh:registry": "https://registry.npmjs.org/"
|
|
20
22
|
},
|
|
21
23
|
"repository": {
|
|
22
24
|
"type": "git",
|
|
@@ -32,10 +34,10 @@
|
|
|
32
34
|
"convex"
|
|
33
35
|
],
|
|
34
36
|
"devDependencies": {
|
|
35
|
-
"convex": "^1.
|
|
37
|
+
"convex": "^1.39.1",
|
|
36
38
|
"typescript": "^5.0.0"
|
|
37
39
|
},
|
|
38
40
|
"peerDependencies": {
|
|
39
|
-
"convex": "^1.
|
|
41
|
+
"convex": "^1.39.1"
|
|
40
42
|
}
|
|
41
43
|
}
|