lightning-auth-and-payment
Version:
Lightning Network authentication and payment processing library for modern web applications
14 lines (11 loc) • 360 B
JavaScript
import { withLightningAuth } from 'lightning-auth-and-payment/nextjs';
/** @type {import('next').NextConfig} */
const nextConfig = {
// Zero-config handles everything automatically!
};
// Auth-only plugin - automatically disables payments
export default withLightningAuth({
database: 'prisma',
storage: 'database',
development: true,
})(nextConfig);