@pelcro/react-pelcro-js 3.26.0-beta.25 → 3.26.0-beta.27

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.cjs.js CHANGED
@@ -11908,7 +11908,7 @@ const loadPaymentSDKs = () => {
11908
11908
  if (!window.jQuery) {
11909
11909
  window.Pelcro.helpers.loadSDK("https://code.jquery.com/jquery-3.6.0.slim.min.js", "vantiv-jquery-sdk");
11910
11910
  }
11911
- window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", "vantiv-jquery-sdk");
11911
+ window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js", "vantiv-jquery-sdk");
11912
11912
  const eProtectApi3PreLiveURL = "https://request.eprotect.vantivprelive.com/eProtect/eProtect-api3.js";
11913
11913
  const eProtectApi3ProductionURL = "https://request.eprotect.vantivcnp.com/eProtect/eProtect-api3.js";
11914
11914
  const eProtectApi3scriptUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectApi3ProductionURL : eProtectApi3PreLiveURL;
@@ -21416,13 +21416,16 @@ const ApplePayButton = _ref => {
21416
21416
  }
21417
21417
  };
21418
21418
  const orderId = `pelcro-${new Date().getTime()}`;
21419
+ const eProtectRequestPreLiveURL = "https://request.eprotect.vantivprelive.com";
21420
+ const eProtectRequestProductionURL = "https://request.eprotect.vantivcnp.com";
21421
+ const eProtectRequestUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectRequestProductionURL : eProtectRequestPreLiveURL;
21419
21422
  const eProtectRequest = {
21420
21423
  paypageId: payPageId,
21421
21424
  reportGroup: reportGroup,
21422
21425
  orderId: orderId,
21423
21426
  id: orderId,
21424
21427
  applepay: applePayToken,
21425
- url: "https://request.eprotect.vantivprelive.com"
21428
+ url: eProtectRequestUrlToUse
21426
21429
  };
21427
21430
 
21428
21431
  // successCallback function to handle the response from WorldPay.
package/dist/index.esm.js CHANGED
@@ -11878,7 +11878,7 @@ const loadPaymentSDKs = () => {
11878
11878
  if (!window.jQuery) {
11879
11879
  window.Pelcro.helpers.loadSDK("https://code.jquery.com/jquery-3.6.0.slim.min.js", "vantiv-jquery-sdk");
11880
11880
  }
11881
- window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", "vantiv-jquery-sdk");
11881
+ window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js", "vantiv-jquery-sdk");
11882
11882
  const eProtectApi3PreLiveURL = "https://request.eprotect.vantivprelive.com/eProtect/eProtect-api3.js";
11883
11883
  const eProtectApi3ProductionURL = "https://request.eprotect.vantivcnp.com/eProtect/eProtect-api3.js";
11884
11884
  const eProtectApi3scriptUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectApi3ProductionURL : eProtectApi3PreLiveURL;
@@ -21386,13 +21386,16 @@ const ApplePayButton = _ref => {
21386
21386
  }
21387
21387
  };
21388
21388
  const orderId = `pelcro-${new Date().getTime()}`;
21389
+ const eProtectRequestPreLiveURL = "https://request.eprotect.vantivprelive.com";
21390
+ const eProtectRequestProductionURL = "https://request.eprotect.vantivcnp.com";
21391
+ const eProtectRequestUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectRequestProductionURL : eProtectRequestPreLiveURL;
21389
21392
  const eProtectRequest = {
21390
21393
  paypageId: payPageId,
21391
21394
  reportGroup: reportGroup,
21392
21395
  orderId: orderId,
21393
21396
  id: orderId,
21394
21397
  applepay: applePayToken,
21395
- url: "https://request.eprotect.vantivprelive.com"
21398
+ url: eProtectRequestUrlToUse
21396
21399
  };
21397
21400
 
21398
21401
  // successCallback function to handle the response from WorldPay.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "3.26.0-beta.25",
4
+ "version": "3.26.0-beta.27",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",