@govuk-pay/pay-js-commons
Advanced tools
Comparing version
@@ -7,3 +7,3 @@ 'use strict'; | ||
// Add to window.GOVUKPAY if in browser context | ||
if (window) { | ||
if (typeof window !== 'undefined') { | ||
window.GOVUKPAY = window.GOVUKPAY || {}; | ||
@@ -10,0 +10,0 @@ window.GOVUKPAY = { browsered: browsered }; |
{ | ||
"name": "@govuk-pay/pay-js-commons", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Reusable js scripts for GOV.UK Pay Node.js projects", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
10718
0.22%