https://github.com/paypal/kraken-js/pull/122