UNPKG

lightning-auth-and-payment

Version:

Lightning Network authentication and payment processing library for modern web applications

15 lines (12 loc) 416 B
import { withLightningPayment } from 'lightning-auth-and-payment/nextjs'; /** @type {import('next').NextConfig} */ const nextConfig = { // Zero-config handles everything automatically! }; // Payment-only plugin - automatically disables authentication export default withLightningPayment({ database: 'prisma', storage: 'database', btcpay: true, // Required for payments development: true, })(nextConfig);