@cloudgaming/paas-web
Advanced tools
Comparing version 0.5.3 to 0.6.0
import * as rpc from '@cloudgaming/rpc'; | ||
import { FunctionName, FunctionResult } from '@cloudgaming/rpc'; | ||
import TypedEmitter from 'typed-emitter'; | ||
@@ -54,2 +55,9 @@ export declare enum GameClientState { | ||
} | ||
export interface CheckQueueOptions { | ||
getAuthToken: (session: string) => Promise<string>; | ||
gameName?: string; | ||
spec?: string; | ||
gameArgs?: Record<string, string>; | ||
migrateSession?: boolean; | ||
} | ||
declare const Game_base: new (options?: any) => TypedEmitter<IGameClientEvents>; | ||
@@ -78,8 +86,11 @@ export declare class Game extends Game_base { | ||
private _checkQueue; | ||
readonly checkQueue: (getAuthToken: (session: string) => Promise<string>, gameName?: string, spec?: string, gameArgs?: Record<string, string> | undefined) => Promise<{ | ||
serverId?: number | undefined; | ||
queuePosition?: number | undefined; | ||
isInUse: boolean; | ||
sdkToken: any; | ||
}>; | ||
readonly checkQueue: { | ||
(getAuthToken: (session: string) => Promise<string>, gameName?: string | undefined, spec?: string | undefined, gameArgs?: Record<string, string> | undefined): Promise<{ | ||
serverId?: number | undefined; | ||
queuePosition?: number | undefined; | ||
isInUse: boolean; | ||
sdkToken: any; | ||
}>; | ||
(options: CheckQueueOptions): Promise<FunctionResult[FunctionName.TryStartGame]>; | ||
}; | ||
private setupJy; | ||
@@ -86,0 +97,0 @@ private _startGame; |
{ | ||
"name": "@cloudgaming/paas-web", | ||
"license": "BSD-3-Clause", | ||
"version": "0.5.3", | ||
"version": "0.6.0", | ||
"files": [ | ||
@@ -50,5 +50,5 @@ "dist" | ||
"dependencies": { | ||
"@cloudgaming/rpc": "1.1.1", | ||
"@cloudgaming/rpc": "1.2.0", | ||
"typed-emitter": "^1.3.1" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
501886
2048
+ Added@cloudgaming/rpc@1.2.0(transitive)
- Removed@cloudgaming/rpc@1.1.1(transitive)
Updated@cloudgaming/rpc@1.2.0