Skip to content

Commit

Permalink
chore: add changeset for esm only
Browse files Browse the repository at this point in the history
  • Loading branch information
typicalninja committed Nov 1, 2024
1 parent d335437 commit 0df7809
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .changeset/short-coins-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@disci/adapter-hono": major
"disci": major
---

All provide packages are esm only

They can be only imported using `import` statements and cannot be used with `require` statements.
Check [here](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) for more information.

```diff
- const { createInteractionRequestHandler } = require('@disci/adapter-hono');
+ import { createInteractionRequestHandler } from "@disci/adapter-hono";
```

0 comments on commit 0df7809

Please sign in to comment.