next-auth
e7a52077 - feat: introduce `@auth/pouchdb-adapter` (#7805)

Commit
2 years ago
feat: introduce `@auth/pouchdb-adapter` (#7805) Database adapters are not dependent on Next.js features, so it makes sense to republish them under the `@auth/*` scope. This PR is part of a series to convert adapters, using `@auth/core` for types. BREAKING CHANGE: If you are coming from the previous adapter, change your `package.json`: ```diff - "@next-auth/pouchdb-adapter": "0.0.0", + "@auth/pouchdb-adapter": "0.0.0", ``` And run `npm install`, `yarn install` or `pnpm install` respectively. **Note:** This packages is published as ESM-only This package assumes that `globalThis.crypto` is available. In older Node.js versions, you can polyfill by adding: `globalThis.crypto ??= require("node:crypto").webcrypto`
Author
Parents
Loading