@pay-com/js 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <h1 align="center">Pay Components JS Package</h1>
1
+ <h1>Pay Components JS Package</h1>
2
2
 
3
3
  Pay Components are ready-to-use PCI DSS compliant payment fields you can embed into your checkout page through simple code. Your branding and styling remain untouched, and you don't have to worry about storing card data.
4
4
 
package/lib/index.d.ts CHANGED
@@ -341,10 +341,12 @@ type ValidateResponse = {
341
341
  invalidFields: string[]
342
342
  paymentMethodDetails?: {
343
343
  type: string
344
- card: {
344
+ card?: {
345
345
  bin: string
346
346
  last4: string
347
347
  name: string
348
+ expirationMonth: string
349
+ expirationYear: string
348
350
  }
349
351
  }
350
352
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pay-com/js",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "payments"