paymob-pixel-alpha 1.1.70 → 1.1.71
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/main.js +3 -3
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -84634,10 +84634,10 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
84634
84634
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", {
|
|
84635
84635
|
title: 'Elements',
|
|
84636
84636
|
id: "iFrame",
|
|
84637
|
-
ref: iframeRef
|
|
84638
|
-
|
|
84637
|
+
ref: iframeRef,
|
|
84638
|
+
src: `${baseUrl}/${environment['IFRAME_PATH']}/?type=card&v=2&integration_type=${integrationType}`
|
|
84639
|
+
// src={`http://localhost:9001/${environment['IFRAME_PATH']}/?type=card&v=2&integration_type=${integrationType}`}
|
|
84639
84640
|
,
|
|
84640
|
-
src: `http://localhost:9001/${environment['IFRAME_PATH']}/?type=card&v=2&integration_type=${integrationType}`,
|
|
84641
84641
|
className: Card_card_module['iframe'],
|
|
84642
84642
|
style: {
|
|
84643
84643
|
display: isIframeLoaded && (payment.token || integrationType === INTEGRATION_TYPE.TOKENIZATION) ? 'block' : 'none'
|