@henrylabs-interview/payment-processor 0.2.5 → 0.2.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.
@@ -35,7 +35,7 @@ export async function renderEmbeddedCheckout(containerElementId, checkoutId, cal
35
35
  font-weight: 600;
36
36
  color: #111827;
37
37
  ">
38
- Henry Labs — "Secure" Checkout
38
+ "Secure" Checkout
39
39
  </h3>
40
40
 
41
41
  <div style="display:flex; flex-direction:column; gap:14px;">
@@ -48,9 +48,9 @@ export async function renderEmbeddedCheckout(containerElementId, checkoutId, cal
48
48
  id="card-number"
49
49
  type="text"
50
50
  placeholder="4242 4242 4242 4242"
51
- maxlength="19"
51
+ maxlength="16"
52
52
  inputmode="numeric"
53
- pattern="[0-9 ]*"
53
+ pattern="[0-9]*"
54
54
  style="
55
55
  padding: 10px 12px;
56
56
  border-radius: 10px;
@@ -70,7 +70,7 @@ export async function renderEmbeddedCheckout(containerElementId, checkoutId, cal
70
70
  </label>
71
71
  <input
72
72
  id="exp-month"
73
- type="number"
73
+ type="text"
74
74
  placeholder="12"
75
75
  min="1"
76
76
  max="12"
@@ -94,7 +94,7 @@ export async function renderEmbeddedCheckout(containerElementId, checkoutId, cal
94
94
  </label>
95
95
  <input
96
96
  id="exp-year"
97
- type="number"
97
+ type="text"
98
98
  placeholder="2030"
99
99
  maxlength="4"
100
100
  inputmode="numeric"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henrylabs-interview/payment-processor",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",