permitio / permit-node

Node.js SDK for Permit.io: Plug & Play Application Level Authorization
MIT License
25 stars 1 forks source link

Error when importing lib in Next 14 #76

Closed jeremyrx7 closed 5 months ago

jeremyrx7 commented 6 months ago
> 4 | const permit = new Permit({ token: process.env.PERMIT_IO_API_KEY });

As a standalone js file that syncs resources works fine.

obsd commented 5 months ago

Fixed in version 2.4.1. Thanks for reporting.