Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/
"use strict";
var $protobuf = require("protobufjs/minimal");
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
$root.selenium = (function() {
/**
* Namespace selenium.
* @exports selenium
* @namespace
*/
var selenium = {};
selenium.proto = (function() {
/**
/*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/
"use strict";
var $protobuf = require("protobufjs/minimal");
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
$root.github = (function() {
/**
* Namespace github.
* @exports github
* @namespace
*/
var github = {};
github.proto = (function() {
/**
/*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/
"use strict";
var $protobuf = require("protobufjs/minimal");
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
$root.master = (function() {
/**
* Namespace master.
* @exports master
* @namespace
*/
var master = {};
master.Player = (function() {
/**
/*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/
"use strict";
var $protobuf = require("protobufjs/minimal");
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
$root.Address = (function() {
/**
* Properties of an Address.
* @exports IAddress
* @interface IAddress
* @property {string} [addr] Address addr
* @property {number} [code] Address code
*/
/**
* Constructs a new Address.
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
"use strict";
var $protobuf = require("protobufjs/minimal");
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
$root.api_proto = (function() {
/**
* Namespace api_proto.
* @exports api_proto
* @namespace
*/
var api_proto = {};
api_proto.Request = (function() {
/**
/*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/
"use strict";
var $protobuf = require("protobufjs/minimal");
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
$root.mozaic = (function() {
/**
* Namespace mozaic.
* @exports mozaic
* @namespace
*/
var mozaic = {};
mozaic.client_server = (function() {
/**
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/
"use strict";
var $protobuf = require("protobufjs/minimal");
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["echo-client"] || ($protobuf.roots["echo-client"] = {});
$root.plexus = (function() {
/**
* Namespace plexus.
* @exports plexus
* @namespace
*/
var plexus = {};
plexus.interop = (function() {
/**
/*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/
"use strict";
var $protobuf = require("protobufjs/minimal");
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
$root.messages = (function() {
/**
* Namespace messages.
* @exports messages
* @namespace
*/
var messages = {};
messages.HelloRequest = (function() {
/**
/*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/
"use strict";
var $protobuf = require("protobufjs/minimal");
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
$root.actor = (function() {
/**
* Namespace actor.
* @exports actor
* @namespace
*/
var actor = {};
actor.PID = (function() {
/**
}
if (key.length > KEY_LENGTH_LIMIT) {
throw new SigverError(SigverError.KEY_ERROR, `The key length exceeds the limit of ${KEY_LENGTH_LIMIT} characters`);
}
}
validateId(id) {
if (typeof id !== 'string') {
throw new SigverError(SigverError.MESSAGE_ERROR, `The joining id is not a string`);
}
}
}
/*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/
const $Reader = $protobuf.Reader;
const $Writer = $protobuf.Writer;
const $util = $protobuf.util;
const $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
const Incoming = $root.Incoming = (() => {
function Incoming(properties) {
if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
}
Incoming.prototype.content = null;
Incoming.prototype.joined = false;
Incoming.prototype.ping = false;
Incoming.prototype.pong = false;
let $oneOfFields;