@wvdsh/api 0.1.63 → 0.1.65
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.
|
@@ -204,6 +204,7 @@ export type IFrameEventPayloadMap = {
|
|
|
204
204
|
contentIdentifiers: string[];
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
|
+
export declare const LAUNCH_PARAM_PREFIX = "wvdsh_";
|
|
207
208
|
export interface GameLaunchParams {
|
|
208
209
|
lobby?: GenericId<'lobbies'>;
|
|
209
210
|
[key: string]: string | undefined;
|
|
@@ -217,6 +218,7 @@ export declare const UrlParams: {
|
|
|
217
218
|
readonly PlayKey: "pk";
|
|
218
219
|
readonly SdkConfig: "sdkconfig";
|
|
219
220
|
readonly Caller: "caller";
|
|
221
|
+
readonly VirtualGamepad: "virtualGamepad";
|
|
220
222
|
readonly GameSlug: "gameSlug";
|
|
221
223
|
readonly UgcUploadExpires: "exp";
|
|
222
224
|
readonly UgcUploadSignature: "sig";
|
|
@@ -127,6 +127,8 @@ export const SW_PRELOAD_MESSAGE_TYPE = {
|
|
|
127
127
|
READY: 'sw-ready',
|
|
128
128
|
FAILED: 'sw-failed'
|
|
129
129
|
};
|
|
130
|
+
// Launch params passed from URL query params to the game SDK
|
|
131
|
+
export const LAUNCH_PARAM_PREFIX = 'wvdsh_';
|
|
130
132
|
// URL params referenced by external consumers
|
|
131
133
|
export const UrlParams = {
|
|
132
134
|
RedirectUrl: 'rdurl',
|
|
@@ -137,6 +139,7 @@ export const UrlParams = {
|
|
|
137
139
|
PlayKey: 'pk',
|
|
138
140
|
SdkConfig: 'sdkconfig',
|
|
139
141
|
Caller: 'caller',
|
|
142
|
+
VirtualGamepad: 'virtualGamepad',
|
|
140
143
|
// Read by the cross-origin play iframe for its Sentry tags — it can't read this URL.
|
|
141
144
|
GameSlug: 'gameSlug',
|
|
142
145
|
// Signed upload URL params authorizing a UGC/userfs PUT (see createUgcUploadUrl).
|