// app/modules/loyalty/static/merchant/js/loyalty-devices.js
const merchantDevicesLog = window.LogConfig.loggers.merchantDevices || window.LogConfig.createLogger('merchantDevices');

function merchantLoyaltyDevices() {
    return loyaltyDevicesList({
        apiPrefix: '/merchants/loyalty',
        showStoreFilter: true,
        showCrud: true,
        currentPage: 'devices',
    });
}

if (!window.LogConfig.loggers.merchantDevices) {
    window.LogConfig.loggers.merchantDevices = window.LogConfig.createLogger('merchantDevices');
}
merchantDevicesLog.info('Merchant loyalty devices module loaded');
