@pelcro/react-pelcro-js 3.30.0 → 3.32.0

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
@@ -11617,7 +11617,7 @@ const loadPaymentSDKs = () => {
11617
11617
  if (!window.jQuery) {
11618
11618
  window.Pelcro.helpers.loadSDK("https://code.jquery.com/jquery-3.6.0.slim.min.js", "vantiv-jquery-sdk");
11619
11619
  }
11620
- window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", "vantiv-jquery-sdk");
11620
+ window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js", "vantiv-jquery-sdk");
11621
11621
  const eProtectApi3PreLiveURL = "https://request.eprotect.vantivprelive.com/eProtect/eProtect-api3.js";
11622
11622
  const eProtectApi3ProductionURL = "https://request.eprotect.vantivcnp.com/eProtect/eProtect-api3.js";
11623
11623
  const eProtectApi3scriptUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectApi3ProductionURL : eProtectApi3PreLiveURL;
@@ -20446,13 +20446,16 @@ const ApplePayButton = _ref => {
20446
20446
  }
20447
20447
  };
20448
20448
  const orderId = `pelcro-${new Date().getTime()}`;
20449
+ const eProtectRequestPreLiveURL = "https://request.eprotect.vantivprelive.com";
20450
+ const eProtectRequestProductionURL = "https://request.eprotect.vantivcnp.com";
20451
+ const eProtectRequestUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectRequestProductionURL : eProtectRequestPreLiveURL;
20449
20452
  const eProtectRequest = {
20450
20453
  paypageId: payPageId,
20451
20454
  reportGroup: reportGroup,
20452
20455
  orderId: orderId,
20453
20456
  id: orderId,
20454
20457
  applepay: applePayToken,
20455
- url: "https://request.eprotect.vantivprelive.com"
20458
+ url: eProtectRequestUrlToUse
20456
20459
  };
20457
20460
 
20458
20461
  // successCallback function to handle the response from WorldPay.
package/dist/index.esm.js CHANGED
@@ -11587,7 +11587,7 @@ const loadPaymentSDKs = () => {
11587
11587
  if (!window.jQuery) {
11588
11588
  window.Pelcro.helpers.loadSDK("https://code.jquery.com/jquery-3.6.0.slim.min.js", "vantiv-jquery-sdk");
11589
11589
  }
11590
- window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", "vantiv-jquery-sdk");
11590
+ window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js", "vantiv-jquery-sdk");
11591
11591
  const eProtectApi3PreLiveURL = "https://request.eprotect.vantivprelive.com/eProtect/eProtect-api3.js";
11592
11592
  const eProtectApi3ProductionURL = "https://request.eprotect.vantivcnp.com/eProtect/eProtect-api3.js";
11593
11593
  const eProtectApi3scriptUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectApi3ProductionURL : eProtectApi3PreLiveURL;
@@ -20416,13 +20416,16 @@ const ApplePayButton = _ref => {
20416
20416
  }
20417
20417
  };
20418
20418
  const orderId = `pelcro-${new Date().getTime()}`;
20419
+ const eProtectRequestPreLiveURL = "https://request.eprotect.vantivprelive.com";
20420
+ const eProtectRequestProductionURL = "https://request.eprotect.vantivcnp.com";
20421
+ const eProtectRequestUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectRequestProductionURL : eProtectRequestPreLiveURL;
20419
20422
  const eProtectRequest = {
20420
20423
  paypageId: payPageId,
20421
20424
  reportGroup: reportGroup,
20422
20425
  orderId: orderId,
20423
20426
  id: orderId,
20424
20427
  applepay: applePayToken,
20425
- url: "https://request.eprotect.vantivprelive.com"
20428
+ url: eProtectRequestUrlToUse
20426
20429
  };
20427
20430
 
20428
20431
  // 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.30.0",
4
+ "version": "3.32.0",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",