@motopays/pay-form 2.6.6-rc.9 → 2.6.6

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 2.6.6-rc.9
3
+ ## 2.6.6
4
4
  ### Added
5
5
  - Redesign of cvv input on card verification, card selection dropdown instead of list, confirmation dialog on card removal
6
6
 
@@ -8,16 +8,11 @@ New phrases added:
8
8
  existingCards: {
9
9
  confirmRemoveCard: 'Are you sure you want to remove this card?',
10
10
  cancel: 'Cancel',
11
- verifyCardCodeLabels: {
12
- CVV: 'Please verify your CVV',
13
- CVC: 'Please verify your CVC',
14
- CID: 'Please verify your CID',
15
- CVN: 'Please verify your CVN',
16
- CVE: 'Please verify your CVE',
17
- CVP2: 'Please verify your CVP2',
18
- }
11
+ verifyCardCodeLabel: 'Please verify your {code}:'
19
12
  }
20
13
 
14
+ `{code}` is a placeholder that will be replaced with the card's security code type (e.g. CVV, CVC, CID).
15
+
21
16
 
22
17
 
23
18
 
package/README.md CHANGED
@@ -372,7 +372,10 @@ const settings: ISettings = {
372
372
  existingCards: {
373
373
  addNewCard: 'custom',
374
374
  manageCardsHeader: 'custom',
375
- removeCard: 'custom'
375
+ removeCard: 'custom',
376
+ confirmRemoveCard: 'custom',
377
+ cancel: 'custom',
378
+ verifyCardCodeLabel: 'custom {code}:'
376
379
  },
377
380
  header: 'custom',
378
381
  noAvailablePaymentMethods: 'custom',
package/index.d.ts CHANGED
@@ -80,7 +80,7 @@ export interface ILanguage {
80
80
  removeCard: string;
81
81
  confirmRemoveCard: string;
82
82
  cancel: string;
83
- verifyCardCodeLabels?: Record<string, string>;
83
+ verifyCardCodeLabel?: string;
84
84
  };
85
85
  paymentResult: {
86
86
  success: string;