Skip to content

Commit

Permalink
fix(interfaces): export contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZillaGold committed Jun 13, 2021
1 parent 6d0595d commit 58dc9a6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "namemcwrapper",
"version": "2.1.1",
"version": "2.1.2",
"description": "ES6 Promise based wrapper for NameMC.com",
"main": "./dist/NameMC.js",
"exports": {
Expand Down
11 changes: 10 additions & 1 deletion src/interfaces/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
export * from "./NameMC";
export * from "./API";

export { NameMC } from "../NameMC";
export {
NameMC,
API,

RendersContext,
ServerContext,
SkinContext,
CapeContext,
PlayerContext
} from "../NameMC";
export * from "../API";

0 comments on commit 58dc9a6

Please sign in to comment.