UNPKG

xdl

Version:
29 lines (27 loc) 707 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ServiceClient = exports.ResponseError = void 0; /** * Copyright (c) 2021 Expo, Inc. * Copyright (c) 2018 Drifty Co. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ class ServiceClient { constructor(socket, protocolClient) { this.socket = socket; this.protocolClient = protocolClient; } } exports.ServiceClient = ServiceClient; class ResponseError extends Error { constructor(msg, response) { super(msg); this.response = response; } } exports.ResponseError = ResponseError; //# sourceMappingURL=client.js.map