@evervault/js 2.3.0 → 2.5.0

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.
@@ -133,6 +133,11 @@ declare class Card {
133
133
  autoProgress: boolean | undefined;
134
134
  redactCVC: boolean | undefined;
135
135
  allow3DigitAmexCVC: boolean | undefined;
136
+ validation: {
137
+ name?: {
138
+ regex?: RegExp;
139
+ };
140
+ } | undefined;
136
141
  };
137
142
  };
138
143
  mount(selector: SelectorType): this;
@@ -208,6 +213,11 @@ declare interface CardOptions {
208
213
  expiry?: boolean;
209
214
  cvc?: boolean;
210
215
  };
216
+ validation?: {
217
+ name?: {
218
+ regex?: RegExp;
219
+ };
220
+ };
211
221
  }
212
222
 
213
223
  declare interface CardPayload {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@evervault/js",
4
- "version": "2.3.0",
4
+ "version": "2.5.0",
5
5
  "description": "Evervault.js loader for client-side browser applications",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -20,10 +20,10 @@
20
20
  "typescript": "5.5.4",
21
21
  "vite": "^5.4.11",
22
22
  "vite-plugin-dts": "^4.3.0",
23
- "@evervault/browser": "2.47.0",
23
+ "@evervault/browser": "2.48.1",
24
+ "themes": "0.1.18",
24
25
  "tsconfig": "0.1.0",
25
- "themes": "0.1.16",
26
- "types": "0.16.0"
26
+ "types": "0.18.0"
27
27
  },
28
28
  "scripts": {
29
29
  "build": "vite build",