Skip to content

Commit

Permalink
feat: remove default export
Browse files Browse the repository at this point in the history
BREAKING CHANGE: There is no longer a default export. If you are using
TypeScript or ESM switch from using `import Client from "snoots"` to
using `import { Client } from "snoots"`. If you are using CommonJS
switch from `const Client = require("snoots")` to
`const { Client } = require("snoots")`, or to
`const Client = require("snoots").Client`.
  • Loading branch information
thislooksfun committed Feb 4, 2022
1 parent 751fd62 commit 3df8d41
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// eslint-disable-next-line import/no-default-export
export { Client as default } from "./client";
export * from "./client";
export * from "./controls";
export type { Credentials } from "./gateway/creds";
Expand Down

0 comments on commit 3df8d41

Please sign in to comment.