UNPKG

riotg.api

Version:

<a href="https://www.npmjs.com/package/riotg.api"> <img src="https://img.shields.io/static/v1?label=npm&message=riotg.api&color=red&style=for-the-badge&logo=NPM" /> </a>

15 lines (14 loc) 387 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Lol = void 0; const summoner_1 = require("./summoner"); class Lol { constructor({ apiKey, region }) { this.apiKey = apiKey; this.region = region; } summoner() { return new summoner_1.Summoner({ apiKey: this.apiKey, region: this.region }); } } exports.Lol = Lol;