@evervault/js 2.10.0 → 2.12.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.
@@ -70,6 +70,7 @@ declare interface ApplePayErrorMessage {
70
70
  }
71
71
 
72
72
  declare interface ApplePayEvents {
73
+ ready: () => void;
73
74
  success: () => void;
74
75
  error: (message?: string) => void;
75
76
  cancel: () => void;
@@ -138,6 +139,9 @@ declare class Card {
138
139
  name?: {
139
140
  regex?: RegExp;
140
141
  };
142
+ cvc?: {
143
+ optional?: boolean;
144
+ };
141
145
  } | undefined;
142
146
  };
143
147
  };
@@ -219,6 +223,9 @@ declare interface CardOptions {
219
223
  name?: {
220
224
  regex?: RegExp;
221
225
  };
226
+ cvc?: {
227
+ optional?: boolean;
228
+ };
222
229
  };
223
230
  }
224
231
 
@@ -844,6 +851,7 @@ declare interface EncryptedDPAN<P> {
844
851
  brand: string;
845
852
  lastFour?: string;
846
853
  displayName?: string;
854
+ paymentMethodType?: PaymentMethodType;
847
855
  };
848
856
  cryptogram: string;
849
857
  eci: string;
@@ -857,6 +865,7 @@ declare interface EncryptedFPAN {
857
865
  number: string;
858
866
  lastFour?: string;
859
867
  displayName?: string;
868
+ paymentMethodType?: PaymentMethodType;
860
869
  expiry: {
861
870
  month: string;
862
871
  year: string;
@@ -2540,6 +2549,8 @@ declare interface ObsoleteProperties<TLength = (string & {}) | 0, TTime = string
2540
2549
  WebkitScrollSnapPointsY?: Property.ScrollSnapPointsY | undefined;
2541
2550
  }
2542
2551
 
2552
+ declare type PaymentMethodType = "credit" | "debit" | "prepaid" | "store";
2553
+
2543
2554
  declare interface PaymentMethodUpdate {
2544
2555
  type?: string;
2545
2556
  billingContact?: BillingContact;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@evervault/js",
4
- "version": "2.10.0",
4
+ "version": "2.12.0",
5
5
  "description": "Evervault.js loader for client-side browser applications",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -18,12 +18,12 @@
18
18
  "types": "dist/evervault.d.ts",
19
19
  "devDependencies": {
20
20
  "typescript": "5.5.4",
21
- "vite": "^7.3.1",
21
+ "vite": "^7.3.2",
22
22
  "vite-plugin-dts": "^4.5.4",
23
- "@evervault/browser": "2.52.0",
24
- "themes": "0.1.22",
23
+ "themes": "0.1.23",
25
24
  "tsconfig": "0.1.0",
26
- "types": "0.22.0"
25
+ "@evervault/browser": "2.55.1",
26
+ "types": "0.23.0"
27
27
  },
28
28
  "scripts": {
29
29
  "build": "vite build",