I tried enqueuing a custom js file as per @justlevine suggestion: Best practice would be to either create something like inc/Scripts/Component.php, or if it's related ...
Due to #491 the wc-gateway-ppec-smart-payment-buttons script no longer gets enqueued as part of the wp_enqueue_scripts hook, which means if theme developers are enqueuing JS that specifically depends ...