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