UNPKG

@sastatesla/payment-gateway-sdk

Version:

A unified interface for integrating multiple payment providers (e.g., Razorpay, Cashfree) in your Node.js application.

12 lines 516 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const client_1 = require("@prisma/client"); const config_1 = __importDefault(require("./configs/config")); const prisma = global.prisma || new client_1.PrismaClient(); if (config_1.default.env === "development") global.prisma = prisma; exports.default = prisma; //# sourceMappingURL=client.js.map