@pay-com/js 1.1.15 → 1.1.16

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.
@@ -305,6 +305,7 @@ export interface CheckoutOpts {
305
305
  displayEndOfSessionFailureMessages?: boolean
306
306
  disableAdditionalFields?: boolean
307
307
  whiteLabel?: boolean
308
+ disableSetupFutureUsageCheckbox?: boolean
308
309
  }
309
310
  locale?: Locale
310
311
  }
@@ -352,6 +353,7 @@ export enum ELEMENT_TYPES {
352
353
  CHECKOUT = 'checkout',
353
354
  UNIVERSAL = 'universal',
354
355
  PAYPAL = 'paypal'
356
+ // UNIVERSAL_V2 = 'universal-v2'
355
357
  }
356
358
 
357
359
  enum TransactionStatusEnum {
@@ -432,7 +434,7 @@ export type UpdateTransactionDetailsOpts = {
432
434
  state?: string
433
435
  countryAlpha2: string
434
436
  }
435
- customFieldsValues: Record<string, string | number | boolean>
437
+ customFieldsValues?: Record<string, string | number | boolean>
436
438
  }
437
439
 
438
440
  export type PayOpts = {
@@ -461,6 +463,7 @@ export type CheckoutObject = {
461
463
  validate: ValidateFn
462
464
  reset: ResetFn
463
465
  pay: PayFn
466
+ // universalV2: UniversalFn
464
467
  }
465
468
 
466
469
  export type CheckoutFunction = (opts: CheckoutOpts) => CheckoutObject
package/lib/index.d.ts CHANGED
@@ -310,6 +310,7 @@ interface CheckoutOpts {
310
310
  displayEndOfSessionFailureMessages?: boolean
311
311
  disableAdditionalFields?: boolean
312
312
  whiteLabel?: boolean
313
+ disableSetupFutureUsageCheckbox?: boolean
313
314
  }
314
315
  locale?: Locale
315
316
  }
@@ -351,6 +352,7 @@ enum ELEMENT_TYPES {
351
352
  CHECKOUT = 'checkout',
352
353
  UNIVERSAL = 'universal',
353
354
  PAYPAL = 'paypal'
355
+ // UNIVERSAL_V2 = 'universal-v2'
354
356
  }
355
357
 
356
358
  enum TransactionStatusEnum {
@@ -431,7 +433,7 @@ type UpdateTransactionDetailsOpts = {
431
433
  state?: string
432
434
  countryAlpha2: string
433
435
  }
434
- customFieldsValues: Record<string, string | number | boolean>
436
+ customFieldsValues?: Record<string, string | number | boolean>
435
437
  }
436
438
 
437
439
  type PayOpts = {
@@ -460,6 +462,7 @@ type CheckoutObject = {
460
462
  validate: ValidateFn
461
463
  reset: ResetFn
462
464
  pay: PayFn
465
+ // universalV2: UniversalFn
463
466
  }
464
467
 
465
468
  type CheckoutFunction = (opts: CheckoutOpts) => CheckoutObject
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pay-com/js",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "Pay.com JS loading utility",
5
5
  "keywords": [
6
6
  "Pay.com",