feat: Convert helpers to use JS files

This commit is contained in:
Faruk AYDIN
2024-01-04 19:55:41 +01:00
parent 8819ddefa7
commit 85141812d9
48 changed files with 259 additions and 384 deletions

View File

@@ -0,0 +1,18 @@
import appConfig from '../../config/app';
import paddleClient from './paddle.ee';
import paddlePlans from './plans.ee';
import webhooks from './webhooks.ee';
const paddleInfo = {
sandbox: appConfig.isProd ? false : true,
vendorId: appConfig.paddleVendorId,
};
const billing = {
paddleClient,
paddlePlans,
paddleInfo,
webhooks,
};
export default billing;