@technoeren/tdk-api
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -1,3 +0,2 @@ | ||
export * from './libs'; | ||
export * from './typings'; | ||
export * from './helpers'; | ||
import { TDKAPI } from './libs'; | ||
export { TDKAPI }; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./libs"), exports); | ||
__exportStar(require("./typings"), exports); | ||
__exportStar(require("./helpers"), exports); | ||
exports.TDKAPI = void 0; | ||
const libs_1 = require("./libs"); | ||
Object.defineProperty(exports, "TDKAPI", { enumerable: true, get: function () { return libs_1.TDKAPI; } }); |
import { IGetWord } from '../typings'; | ||
declare class TDKAPI { | ||
export declare class TDKAPI { | ||
constructor(); | ||
@@ -8,2 +8,1 @@ getWord(word: string): Promise<IGetWord>; | ||
} | ||
export default TDKAPI; |
@@ -6,4 +6,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TDKAPI = void 0; | ||
const axios_1 = __importDefault(require("axios")); | ||
const tdk_errors_1 = require("../helpers/tdk-errors"); | ||
const tdk_errors_1 = require("../errors/tdk-errors"); | ||
class TDKAPI { | ||
@@ -54,2 +55,2 @@ constructor() { } | ||
} | ||
exports.default = TDKAPI; | ||
exports.TDKAPI = TDKAPI; |
{ | ||
"name": "@technoeren/tdk-api", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
@@ -1,4 +0,3 @@ | ||
export * from './libs' | ||
export * from './typings' | ||
export * from './errors' | ||
export * from './errors' | ||
import { TDKAPI } from './libs'; | ||
export { TDKAPI }; |
10307
202