simplepay-js-sdk 0.3.3 → 0.3.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.
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ const prepareRequestBody = (body) => JSON.stringify(body).replace(/\//g, '\\/');
17
17
  const getSimplePayConfig = () => {
18
18
  const SIMPLEPAY_API_URL = 'https://secure.simplepay.hu/payment/v2';
19
19
  const SIMPLEPAY_SANDBOX_URL = 'https://sandbox.simplepay.hu/payment/v2/start';
20
- const SDK_VERSION = 'SimplePayV2.1_Rrd_0.3.3';
20
+ const SDK_VERSION = 'SimplePayV2.1_Rrd_0.3.4';
21
21
  const MERCHANT_KEY = process.env.SIMPLEPAY_MERCHANT_KEY_HUF;
22
22
  const MERCHANT_ID = process.env.SIMPLEPAY_MERCHANT_ID_HUF;
23
23
  const API_URL = process.env.SIMPLEPAY_PRODUCTION === 'true' ? SIMPLEPAY_API_URL : SIMPLEPAY_SANDBOX_URL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simplepay-js-sdk",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "A Node.js utility for SimplePay payment integration",
5
5
  "repository": {
6
6
  "type": "git",
package/src/index.ts CHANGED
@@ -27,7 +27,7 @@ const prepareRequestBody = (body: SimplePayRequestBody) =>
27
27
  const getSimplePayConfig = () => {
28
28
  const SIMPLEPAY_API_URL = 'https://secure.simplepay.hu/payment/v2'
29
29
  const SIMPLEPAY_SANDBOX_URL = 'https://sandbox.simplepay.hu/payment/v2/start'
30
- const SDK_VERSION = 'SimplePayV2.1_Rrd_0.3.3'
30
+ const SDK_VERSION = 'SimplePayV2.1_Rrd_0.3.4'
31
31
  const MERCHANT_KEY = process.env.SIMPLEPAY_MERCHANT_KEY_HUF
32
32
  const MERCHANT_ID = process.env.SIMPLEPAY_MERCHANT_ID_HUF
33
33
  const API_URL = process.env.SIMPLEPAY_PRODUCTION === 'true' ? SIMPLEPAY_API_URL : SIMPLEPAY_SANDBOX_URL