straumur-web-component 0.6.0-alpha.1 → 0.6.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/dist/index.d.ts +0 -3
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -80,7 +80,6 @@ type StraumurWebConfiguration = {
|
|
|
80
80
|
placeholders?: Placeholders;
|
|
81
81
|
locale?: "is" | "en";
|
|
82
82
|
localizations?: Partial<Record<Language, Partial<Record<TranslationKey, string>>>>;
|
|
83
|
-
customCardSubmission?: boolean;
|
|
84
83
|
};
|
|
85
84
|
type ResultCode = "AuthenticationFinished" | "AuthenticationNotRequired" | "Authorised" | "Cancelled" | "ChallengeShopper" | "Error" | "IdentifyShopper" | "PartiallyAuthorised" | "Pending" | "PresentToShopper" | "Received" | "RedirectShopper" | "Refused";
|
|
86
85
|
type PaymentCompletedData = {
|
|
@@ -97,7 +96,6 @@ type StraumurCheckoutConfiguration = {
|
|
|
97
96
|
placeholders?: Placeholders;
|
|
98
97
|
locale: Language;
|
|
99
98
|
customLocalizations?: Partial<Record<Language, Partial<Record<TranslationKey, string>>>>;
|
|
100
|
-
customCardSubmission?: boolean;
|
|
101
99
|
};
|
|
102
100
|
type PlaceholderKeys = "cardNumber" | "expiryDate" | "expiryMonth" | "expiryYear" | "securityCodeThreeDigits" | "securityCodeFourDigits";
|
|
103
101
|
type Placeholders = Partial<Record<PlaceholderKeys, string>>;
|
|
@@ -117,7 +115,6 @@ declare class StraumurCheckout {
|
|
|
117
115
|
updateConfig(newConfig: Partial<StraumurCheckoutConfiguration>): void;
|
|
118
116
|
setLanguage(locale: Language): void;
|
|
119
117
|
destroy(): void;
|
|
120
|
-
customCardSubmit(): void;
|
|
121
118
|
}
|
|
122
119
|
|
|
123
120
|
export { StraumurCheckout };
|