Skip to content

Commit c4cf938

Browse files
committed
Fix package exports
1 parent 9f575d3 commit c4cf938

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Login API
2-
export * from "./src/login";
2+
export * as login from "./src/login";
33

44
// Monitoring API
5-
export * from "./src/monitoring";
5+
export * as monitoring from "./src/monitoring";
66

77
// Ban API
8-
export * from "./src/banned";
8+
export * as banned from "./src/banned";

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"name": "messenger-botcore",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "A collection of tools for writing Facebook Messenger bots.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
7-
"type": "module",
87
"scripts": {
98
"prepublish": "npm run build",
109
"build": "tsc"
@@ -43,4 +42,4 @@
4342
"typedoc": "^0.20.32",
4443
"typescript": "^4.2.3"
4544
}
46-
}
45+
}

0 commit comments

Comments
 (0)