UNPKG

poe-api-manager

Version:
27 lines (26 loc) 813 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.WatchAPI = void 0; const WatchViewModule_1 = __importDefault(require("./modules/poe.watch/WatchViewModule")); /** * Represents an API for interacting with a poe.watch service. * @class */ class WatchAPI { /** * The WatchViewModule instance associated with this API. * @type {WatchViewModule} */ view; /** * Creates an instance of WatchAPI. * @param {string} league - The league for which the API should be initialized. */ constructor(league) { this.view = new WatchViewModule_1.default(league); } } exports.WatchAPI = WatchAPI;