@cloudgaming/rpc
Advanced tools
Comparing version 1.2.2 to 1.3.0
@@ -35,2 +35,14 @@ /// <reference types="node" /> | ||
AgentBatch = "ab", | ||
/** server->agent, set payload commands */ | ||
AgentSetPayload = "asp", | ||
/** agent->server, disconnect session */ | ||
AgentDisconnectSession = "ads", | ||
/** agent->server, report prepare progress */ | ||
AgentReportPrepare = "arp", | ||
/** agent->server, get steam guard */ | ||
LicenseSteamQueryGuard = "lqsg", | ||
/** agent->server, update steam sentry file */ | ||
LicenseSteamUpdateSentry = "luss", | ||
/** server->agent, create steam */ | ||
LicenseSteamCreate = "lcs", | ||
/** server->agent, mount vhd file */ | ||
@@ -115,2 +127,4 @@ MountVhd = "mo", | ||
position: number; | ||
/** extra status */ | ||
status?: string; | ||
}; | ||
@@ -145,2 +159,40 @@ [FunctionName.GetCurrentCredits]: {}; | ||
}; | ||
[FunctionName.AgentSetPayload]: { | ||
launchScript: Array<IFunctionRequest & { | ||
ignoreFail?: boolean; | ||
}>; | ||
processWatcher?: { | ||
processNames?: string[]; | ||
watchTimeoutSeconds?: number; | ||
retryTimeoutSeconds?: number; | ||
}; | ||
processWatcherDelaySeconds?: number; | ||
}; | ||
[FunctionName.AgentReportPrepare]: { | ||
statusText?: string; | ||
error?: string; | ||
code: string; | ||
ok: number; | ||
}; | ||
[FunctionName.LicenseSteamQueryGuard]: {}; | ||
[FunctionName.LicenseSteamUpdateSentry]: { | ||
sentries: Array<{ | ||
name: string; | ||
content: string; | ||
hidden: boolean; | ||
master: boolean; | ||
}>; | ||
}; | ||
[FunctionName.LicenseSteamCreate]: { | ||
username: string; | ||
password: string; | ||
steamId: string; | ||
sentries?: Array<{ | ||
name: string; | ||
content: string; | ||
hidden: boolean; | ||
master: boolean; | ||
}>; | ||
}; | ||
[FunctionName.AgentDisconnectSession]: {}; | ||
[FunctionName.MountVhd]: { | ||
@@ -195,2 +247,4 @@ src: string; | ||
path: string; | ||
globIncludes?: string[]; | ||
globExcludes?: string[]; | ||
}[]; | ||
@@ -236,2 +290,10 @@ }[]; | ||
[FunctionName.AgentAttach]: void; | ||
[FunctionName.AgentReportPrepare]: void; | ||
[FunctionName.LicenseSteamQueryGuard]: { | ||
guard: string; | ||
}; | ||
[FunctionName.LicenseSteamUpdateSentry]: void; | ||
[FunctionName.LicenseSteamCreate]: void; | ||
[FunctionName.AgentDisconnectSession]: void; | ||
[FunctionName.AgentSetPayload]: void; | ||
[FunctionName.AgentBatch]: { | ||
@@ -238,0 +300,0 @@ responses: IFunctionResponse[]; |
@@ -38,2 +38,14 @@ "use strict"; | ||
FunctionName["AgentBatch"] = "ab"; | ||
/** server->agent, set payload commands */ | ||
FunctionName["AgentSetPayload"] = "asp"; | ||
/** agent->server, disconnect session */ | ||
FunctionName["AgentDisconnectSession"] = "ads"; | ||
/** agent->server, report prepare progress */ | ||
FunctionName["AgentReportPrepare"] = "arp"; | ||
/** agent->server, get steam guard */ | ||
FunctionName["LicenseSteamQueryGuard"] = "lqsg"; | ||
/** agent->server, update steam sentry file */ | ||
FunctionName["LicenseSteamUpdateSentry"] = "luss"; | ||
/** server->agent, create steam */ | ||
FunctionName["LicenseSteamCreate"] = "lcs"; | ||
/** server->agent, mount vhd file */ | ||
@@ -40,0 +52,0 @@ FunctionName["MountVhd"] = "mo"; |
{ | ||
"name": "@cloudgaming/rpc", | ||
"version": "1.2.2", | ||
"version": "1.3.0", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
49425
798