Square has published the Web Payments SDK to enable integration with Square on a web client. See all Web Payments SDK release notes.