redsys-easy 5.3.1 → 5.3.2

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.
@@ -61,6 +61,14 @@ export interface BaseInputParams {
61
61
  DS_MERCHANT_COF_TXNID?: string | undefined;
62
62
  /** Credential On File transaction type */
63
63
  DS_MERCHANT_COF_TYPE?: 'I' | 'R' | 'H' | 'E' | 'D' | 'M' | 'N' | 'C' | undefined;
64
+ /** xPay data in base64 format, mutually exclusive with DS_XPAYDECODEDDATA */
65
+ DS_XPAYDATA?: string | undefined;
66
+ /** xPay data in json format, mutually exclusive with DS_XPAYDATA */
67
+ DS_XPAYDECODEDDATA?: Record<string, unknown> | undefined;
68
+ /** xPay origin */
69
+ DS_XPAYORIGEN?: 'WEB' | 'InApp' | undefined;
70
+ /** xPay type */
71
+ DS_XPAYTYPE?: 'Google' | 'Apple' | undefined;
64
72
  }
65
73
  /**
66
74
  * Input parameters for a redsys redirect request
@@ -91,14 +99,6 @@ export interface RedirectInputParams extends BaseInputParams {
91
99
  * @public
92
100
  */
93
101
  export interface RequestInputParams extends BaseInputParams, Pick<RedirectInputParams, 'DS_MERCHANT_MERCHANTURL' | 'DS_MERCHANT_URLOK' | 'DS_MERCHANT_URLKO' | 'DS_MERCHANT_CONSUMERLANGUAGE' | 'DS_MERCHANT_PAYMETHODS' | 'DS_MERCHANT_PERSOCODE' | 'DS_MERCHANT_SHIPPINGADDRESSPYP'> {
94
- /** xPay data in base64 format, mutually exclusive with DS_XPAYDECODEDDATA */
95
- DS_XPAYDATA?: string | undefined;
96
- /** xPay data in json format, mutually exclusive with DS_XPAYDATA */
97
- DS_XPAYDECODEDDATA?: Record<string, unknown> | undefined;
98
- /** xPay origin */
99
- DS_XPAYORIGEN?: 'WEB' | 'InApp' | undefined;
100
- /** xPay type */
101
- DS_XPAYTYPE?: 'Google' | 'Apple' | undefined;
102
102
  /** PUC identifier, number */
103
103
  DS_ACQUIRER_IDENTIFIER?: string | undefined;
104
104
  /** Matching data */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "redsys-easy",
3
3
  "description": "Node JS interface for Redsys payment gateway",
4
- "version": "5.3.1",
4
+ "version": "5.3.2",
5
5
  "author": "Javier Garcia <javiertury@gmail.com>",
6
6
  "license": "MIT",
7
7
  "keywords": [