@evervault/js 2.15.0 → 2.16.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.
- package/dist/evervault.d.ts +17 -1
- package/package.json +3 -3
package/dist/evervault.d.ts
CHANGED
|
@@ -70,6 +70,14 @@ declare type ApplePayButtonStyle = "black" | "white" | "white-outline";
|
|
|
70
70
|
|
|
71
71
|
declare type ApplePayButtonType = "add-money" | "book" | "buy" | "check-out" | "continue" | "contribute" | "donate" | "order" | "pay" | "plain" | "reload" | "rent" | "set-up" | "subscribe" | "support" | "tip" | "top-up";
|
|
72
72
|
|
|
73
|
+
declare interface ApplePayCardEnrichment {
|
|
74
|
+
funding?: string;
|
|
75
|
+
segment?: string;
|
|
76
|
+
country?: string;
|
|
77
|
+
currency?: string;
|
|
78
|
+
issuer?: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
73
81
|
declare type ApplePayCardNetwork = "amex" | "bancomat" | "bancontact" | "cartesBancaires" | "chinaUnionPay" | "dankort" | "discover" | "eftpos" | "electron" | "elo" | "girocard" | "interac" | "jcb" | "mada" | "maestro" | "masterCard" | "mir" | "privateLabel" | "visa" | "vPay";
|
|
74
82
|
|
|
75
83
|
declare interface ApplePayErrorMessage {
|
|
@@ -871,11 +879,17 @@ declare interface DisbursementTransactionDetails extends BaseTransactionDetails
|
|
|
871
879
|
merchantCapabilities?: ApplePayMerchantCapability[];
|
|
872
880
|
}
|
|
873
881
|
|
|
874
|
-
declare type EncryptedApplePayData = Omit<
|
|
882
|
+
declare type EncryptedApplePayData = Omit<
|
|
883
|
+
EncryptedDPAN<"apple">,
|
|
884
|
+
"token" | "card"
|
|
885
|
+
> & {
|
|
875
886
|
networkToken: PaymentToken<"apple"> & { rawExpiry: string };
|
|
887
|
+
card: EncryptedDPAN<"apple">["card"] & ApplePayCardEnrichment;
|
|
876
888
|
billingContact?: {
|
|
877
889
|
givenName?: string;
|
|
878
890
|
familyName?: string;
|
|
891
|
+
phoneticGivenName?: string;
|
|
892
|
+
phoneticFamilyName?: string;
|
|
879
893
|
emailAddress?: string;
|
|
880
894
|
phoneNumber?: string;
|
|
881
895
|
address?: unknown;
|
|
@@ -886,6 +900,8 @@ declare type EncryptedApplePayData = Omit<EncryptedDPAN<"apple">, "token"> & {
|
|
|
886
900
|
shippingContact?: {
|
|
887
901
|
givenName?: string;
|
|
888
902
|
familyName?: string;
|
|
903
|
+
phoneticGivenName?: string;
|
|
904
|
+
phoneticFamilyName?: string;
|
|
889
905
|
emailAddress?: string;
|
|
890
906
|
phoneNumber?: string;
|
|
891
907
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": false,
|
|
3
3
|
"name": "@evervault/js",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.16.0",
|
|
5
5
|
"description": "Evervault.js loader for client-side browser applications",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"typescript": "5.6.3",
|
|
21
21
|
"vite": "^7.3.5",
|
|
22
22
|
"vite-plugin-dts": "^4.5.4",
|
|
23
|
-
"@evervault/browser": "2.58.0",
|
|
24
|
-
"themes": "0.1.24",
|
|
25
23
|
"types": "0.23.1",
|
|
24
|
+
"themes": "0.1.24",
|
|
25
|
+
"@evervault/browser": "2.59.0",
|
|
26
26
|
"tsconfig": "0.1.0"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|