@tap-payments/apple-pay-button 1.2.0 → 1.2.1
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/build/@types/index.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export interface Acceptance {
|
|
|
27
27
|
supportedBrands?: Array<typeof SupportedNetworks[keyof typeof SupportedNetworks]>;
|
|
28
28
|
supportedCards?: Array<string>;
|
|
29
29
|
supportedCardsWithAuthentications?: Array<string>;
|
|
30
|
+
supportedRegions?: Array<string>;
|
|
31
|
+
supportedCountries?: Array<string>;
|
|
30
32
|
}
|
|
31
33
|
export interface Transaction {
|
|
32
34
|
amount: string;
|
|
@@ -143,4 +145,8 @@ export interface CheckoutProfileRequest {
|
|
|
143
145
|
platform?: {
|
|
144
146
|
id?: string;
|
|
145
147
|
};
|
|
148
|
+
supported_schemes?: Array<string>;
|
|
149
|
+
supported_fund_source?: Array<string>;
|
|
150
|
+
supported_regions?: Array<string>;
|
|
151
|
+
supported_countries?: Array<string>;
|
|
146
152
|
}
|
|
@@ -124,7 +124,11 @@ export var useApplePay = function (_a) {
|
|
|
124
124
|
requiresShipping: 'no'
|
|
125
125
|
}
|
|
126
126
|
] }),
|
|
127
|
-
platform: platform
|
|
127
|
+
platform: platform,
|
|
128
|
+
supported_schemes: acceptance.supportedBrands,
|
|
129
|
+
supported_fund_source: acceptance.supportedCards,
|
|
130
|
+
supported_regions: acceptance.supportedRegions,
|
|
131
|
+
supported_countries: acceptance.supportedCountries
|
|
128
132
|
})];
|
|
129
133
|
case 3:
|
|
130
134
|
data = _h.sent();
|