You can find links to our previous messaging products and features, including the JavaScript library here.
The products and features listed here are only partially supported. All Afterpay merchants with a direct integration should use Dynamic Messaging for on-site messaging. See Getting Started with On-Site Messaging and Migration for more details.