@rebilly/framepay 5.242.2 → 5.242.4

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -8
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -522,29 +522,29 @@ export declare class FramePay {
522
522
  * @param cardDetails - Object containing card details
523
523
  * @param cardDetails.bin - The first 6 digits of the card number
524
524
  * @param cardDetails.last4 The last 4 digits of the card number
525
- * @param cardDetails.expMonth The expiration month of the card
526
- * @param cardDetails.expYear The expiration year of the card
525
+ * @param cardDetails.expMonth The expiration month of the card, such as 3 or '03'
526
+ * @param cardDetails.expYear The expiration year of the card, such as 2030 or '30'
527
527
  * @return Returns true if there is an encrypted CVV stored, false otherwise.
528
528
  */
529
529
  hasEncryptedCVV(cardDetails: {
530
530
  bin: string;
531
531
  last4: string;
532
- expMonth: string;
533
- expYear: string;
532
+ expMonth: string | number;
533
+ expYear: string | number;
534
534
  }): Promise<boolean>;
535
535
  /**
536
536
  * Remove stored encrypted CVV for the provided card details.
537
537
  * @param cardDetails - Object containing card details
538
538
  * @param cardDetails.bin - The first 6 digits of the card number
539
539
  * @param cardDetails.last4 The last 4 digits of the card number
540
- * @param cardDetails.expMonth The expiration month of the card
541
- * @param cardDetails.expYear The expiration year of the card
540
+ * @param cardDetails.expMonth The expiration month of the card, such as 3 or '03'
541
+ * @param cardDetails.expYear The expiration year of the card, such as 2030 or '30'
542
542
  */
543
543
  removeEncryptedCVV(cardDetails: {
544
544
  bin: string;
545
545
  last4: string;
546
- expMonth: string;
547
- expYear: string;
546
+ expMonth: string | number;
547
+ expYear: string | number;
548
548
  }): void;
549
549
  /**
550
550
  * Remove all stored encrypted CVVs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/framepay",
3
- "version": "5.242.2",
3
+ "version": "5.242.4",
4
4
  "description": "A wrapper to load Rebilly's FramePay library and provide TypeScript types",
5
5
  "type": "module",
6
6
  "repository": {