UNPKG

jswagger-client

Version:

This is jswagger's client package.

21 lines (20 loc) 741 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; const client_1 = __importDefault(require("./client")); const internals = __importStar(require("./internals")); function index(config) { return new client_1.default(config); } Object.defineProperty(index, 'internal', { value: Object.freeze(internals) }); module.exports = index;