UNPKG

next-auth-pubkey

Version:

A light-weight Lightning and Nostr auth provider for your Next.js app that's entirely self-hosted and plugs seamlessly into the next-auth framework.

14 lines 477 B
import { QRGenerator } from "./types.js"; /** * An async function that generates a QR code. * * @param {String} data - data to be made into a QR code * @param {String} config - the `next-auth-pubkey` config object * * @returns {Object} * @returns {String} data - a base64 encoded png/jpg OR svg XML markup * @returns {String} type - image type: "svg" | "png" | "jpg" */ declare const generateQr: QRGenerator; export default generateQr; //# sourceMappingURL=qr.d.ts.map