import { createPaymentHelper } from './payment-helper'; import { createJolicoinPaymentHandler } from './registers/joli-coin'; import { createJolicoinIAPPaymentHandler } from './registers/jolicoin-iap'; export const paymentHelper = createPaymentHelper(); paymentHelper.registerPaymentHandler('JOLI_COIN', createJolicoinPaymentHandler()); paymentHelper.registerPaymentHandler('JOLI_COIN_IAP', createJolicoinIAPPaymentHandler()); // Temporarily reuse the same IAP handler for gem, can be extended later with gem-specific logic paymentHelper.registerPaymentHandler('JOLI_GEM_IAP', createJolicoinIAPPaymentHandler());