mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
29 lines • 1.4 kB
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "mongodb-stitch-core-services-http", "./internal/HttpServiceClientImpl"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var mongodb_stitch_core_services_http_1 = require("mongodb-stitch-core-services-http");
var HttpServiceClientImpl_1 = __importDefault(require("./internal/HttpServiceClientImpl"));
var HttpServiceClient;
(function (HttpServiceClient) {
HttpServiceClient.factory = new (function () {
function class_1() {
}
class_1.prototype.getNamedClient = function (service, client) {
return new HttpServiceClientImpl_1.default(new mongodb_stitch_core_services_http_1.CoreHttpServiceClient(service));
};
return class_1;
}())();
})(HttpServiceClient = exports.HttpServiceClient || (exports.HttpServiceClient = {}));
});
//# sourceMappingURL=HttpServiceClient.js.map