Skip to content

Commit f0e109f

Browse files
committed
feat(index): export as default WhatsMulti
1 parent a47ce5a commit f0e109f

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,11 @@
3737
"bugs": {
3838
"url": "https://github.com/DutaKey/WhatsMulti/issues"
3939
},
40-
"homepage": "https://github.com/DutaKey/WhatsMulti#readme"
40+
"homepage": "https://github.com/DutaKey/WhatsMulti#readme",
41+
"files": [
42+
"lib/*",
43+
"README.md"
44+
],
45+
"publishConfig": {
46+
"access": "public"}
4147
}

src/index.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
export * from "./Handlers";
2-
export * from "./Services";
1+
import * as Handlers from "./Handlers";
2+
import * as Services from "./Services";
3+
4+
const WhatsMulti = {
5+
...Handlers,
6+
...Services,
7+
};
8+
9+
export default WhatsMulti;

0 commit comments

Comments
 (0)