Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudgaming/rpc

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudgaming/rpc - npm Package Compare versions

Comparing version 0.8.2 to 1.0.0-alpha.0

dist/Client.d.ts.map

1

dist/Client.d.ts

@@ -29,1 +29,2 @@ import { RpcClientObject, FunctionName, FunctionPayload, FunctionResult } from './types';

export {};
//# sourceMappingURL=Client.d.ts.map

8

dist/Client.js

@@ -151,9 +151,3 @@ "use strict";

if (!this.skipAuth) {
try {
await this.Auth({ token: this.authToken });
}
catch (e) {
this.handleError(e);
return;
}
await this.Auth({ token: this.authToken });
}

@@ -160,0 +154,0 @@ this.websocket.addEventListener('error', this.handleError);

@@ -5,1 +5,2 @@ export * from './types';

export * from './RpcError';
//# sourceMappingURL=index.d.ts.map

@@ -6,1 +6,2 @@ export declare class RpcError extends Error {

}
//# sourceMappingURL=RpcError.d.ts.map

@@ -17,2 +17,4 @@ /// <reference types="node" />

DoStartGame = "dsg",
/** client->server, renew game */
RenewGame = "rg",
/** client->server, set display grade */

@@ -64,7 +66,7 @@ SetDisplayGrade = "sdg",

/** server name */
serverName: string;
serverId: number;
};
[FunctionName.CanStartGame]: {
/** server name */
serverName: string;
serverId: number;
};

@@ -85,2 +87,8 @@ [FunctionName.DoStartGame]: {

};
[FunctionName.RenewGame]: {
/** server name */
serverId: number;
/** renew token */
renewToken: string;
};
[FunctionName.SetDisplayGrade]: {

@@ -154,2 +162,5 @@ displayGrade: number;

[FunctionName.CanStartGame]: void;
[FunctionName.RenewGame]: {
deadline: number;
};
[FunctionName.DoStartGame]: {

@@ -204,1 +215,2 @@ data: any;

export {};
//# sourceMappingURL=types.d.ts.map

@@ -20,2 +20,4 @@ "use strict";

FunctionName["DoStartGame"] = "dsg";
/** client->server, renew game */
FunctionName["RenewGame"] = "rg";
/** client->server, set display grade */

@@ -22,0 +24,0 @@ FunctionName["SetDisplayGrade"] = "sdg";

@@ -12,1 +12,2 @@ import { FunctionName, FunctionPayload, IFunctionRequest, IFunctionResponse, FunctionResult } from './types';

};
//# sourceMappingURL=wrap.d.ts.map
{
"name": "@cloudgaming/rpc",
"version": "0.8.2",
"version": "1.0.0-alpha.0",
"main": "dist/index.js",
"type": "commonjs",
"types": "dist/index.d.ts",

@@ -16,3 +17,4 @@ "license": "UNLICENSED",

"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"clean": "rimraf dist"
"clean": "rimraf dist",
"publicpublish": "yarn publish --registry=https://registry.npmjs.org --access=public"
},

@@ -19,0 +21,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc