@pay-com/js 1.2.3 → 1.2.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.
@@ -556,10 +556,10 @@ export type CanMakePaymentsFn = () => Promise<unknown>
556
556
 
557
557
  export type InitHeadlessCtpParams = {
558
558
  emailInputRef?: HTMLDivElement | string
559
- email: string
559
+ email?: string
560
560
  containers: {
561
561
  mainWidget: HTMLDivElement | string
562
- linkNewCard: HTMLDivElement | string
562
+ linkNewCard?: HTMLDivElement | string
563
563
  }
564
564
  style?: CTPStyles
565
565
  }
package/lib/index.d.ts CHANGED
@@ -555,10 +555,10 @@ type CanMakePaymentsFn = () => Promise<unknown>
555
555
 
556
556
  type InitHeadlessCtpParams = {
557
557
  emailInputRef?: HTMLDivElement | string
558
- email: string
558
+ email?: string
559
559
  containers: {
560
560
  mainWidget: HTMLDivElement | string
561
- linkNewCard: HTMLDivElement | string
561
+ linkNewCard?: HTMLDivElement | string
562
562
  }
563
563
  style?: CTPStyles
564
564
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pay-com/js",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Pay.com JS loading utility",
5
5
  "keywords": [
6
6
  "Pay.com",