@wvdsh/api 0.1.67 → 0.1.69
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.
|
@@ -146,11 +146,6 @@ export declare const SERVICE_WORKER_MESSAGE_TYPE: {
|
|
|
146
146
|
readonly EMBED_CREDS_REQUEST: "embed.creds-request";
|
|
147
147
|
readonly EMBED_CREDS_RESPONSE: "embed.creds-response";
|
|
148
148
|
};
|
|
149
|
-
export declare const SW_PRELOAD_MESSAGE_TYPE: {
|
|
150
|
-
readonly PROGRESS: "sw-progress";
|
|
151
|
-
readonly READY: "sw-ready";
|
|
152
|
-
readonly FAILED: "sw-failed";
|
|
153
|
-
};
|
|
154
149
|
export interface IFrameResponse<T> {
|
|
155
150
|
requestId: string;
|
|
156
151
|
requestType: (typeof IFRAME_MESSAGE_TYPE)[keyof typeof IFRAME_MESSAGE_TYPE];
|
|
@@ -228,7 +223,6 @@ export declare const UrlParams: {
|
|
|
228
223
|
readonly EngineVersion: "engineversion";
|
|
229
224
|
readonly PlayKey: "pk";
|
|
230
225
|
readonly SdkConfig: "sdkconfig";
|
|
231
|
-
readonly Caller: "caller";
|
|
232
226
|
readonly VirtualGamepad: "virtualGamepad";
|
|
233
227
|
readonly GameSlug: "gameSlug";
|
|
234
228
|
readonly UgcUploadExpires: "exp";
|
|
@@ -254,9 +248,6 @@ export declare const UgcStorage: {
|
|
|
254
248
|
readonly encodeKeyPath: (objectKey: string) => string;
|
|
255
249
|
readonly decodeKeyPath: (pathname: string) => string;
|
|
256
250
|
};
|
|
257
|
-
export declare const PlayRouteCaller: {
|
|
258
|
-
readonly Wavedash: "wavedash";
|
|
259
|
-
};
|
|
260
251
|
export declare const PAID_CONTENT_PICOMATCH_OPTIONS: {
|
|
261
252
|
readonly dot: true;
|
|
262
253
|
};
|
|
@@ -130,11 +130,6 @@ export const SERVICE_WORKER_MESSAGE_TYPE = {
|
|
|
130
130
|
EMBED_CREDS_REQUEST: 'embed.creds-request',
|
|
131
131
|
EMBED_CREDS_RESPONSE: 'embed.creds-response'
|
|
132
132
|
};
|
|
133
|
-
export const SW_PRELOAD_MESSAGE_TYPE = {
|
|
134
|
-
PROGRESS: 'sw-progress',
|
|
135
|
-
READY: 'sw-ready',
|
|
136
|
-
FAILED: 'sw-failed'
|
|
137
|
-
};
|
|
138
133
|
// Launch params passed from URL query params to the game SDK
|
|
139
134
|
export const LAUNCH_PARAM_PREFIX = 'wvdsh_';
|
|
140
135
|
// URL params referenced by external consumers
|
|
@@ -146,7 +141,6 @@ export const UrlParams = {
|
|
|
146
141
|
EngineVersion: 'engineversion',
|
|
147
142
|
PlayKey: 'pk',
|
|
148
143
|
SdkConfig: 'sdkconfig',
|
|
149
|
-
Caller: 'caller',
|
|
150
144
|
VirtualGamepad: 'virtualGamepad',
|
|
151
145
|
// Read by the cross-origin play iframe for its Sentry tags — it can't read this URL.
|
|
152
146
|
GameSlug: 'gameSlug',
|
|
@@ -208,9 +202,6 @@ export const UgcStorage = {
|
|
|
208
202
|
}
|
|
209
203
|
}
|
|
210
204
|
};
|
|
211
|
-
export const PlayRouteCaller = {
|
|
212
|
-
Wavedash: 'wavedash'
|
|
213
|
-
};
|
|
214
205
|
// ========== PAID CONTENT ==========
|
|
215
206
|
export const PAID_CONTENT_PICOMATCH_OPTIONS = { dot: true };
|
|
216
207
|
// ========== HEARTBEAT (client-side constants) ==========
|