@depay/widgets 12.15.0 → 12.16.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.
@@ -25680,6 +25680,22 @@ function addressEllipsis (address) {
25680
25680
  return _address;
25681
25681
  }
25682
25682
 
25683
+ var initDebug = function initDebug() {
25684
+ if (typeof window.eruda === 'undefined') {
25685
+ // Create a script element
25686
+ var script = document.createElement('script');
25687
+ script.src = 'https://cdn.jsdelivr.net/npm/eruda';
25688
+ script.onload = function () {
25689
+ // Initialize Eruda once the script is loaded
25690
+ window.eruda.init();
25691
+ console.log('Eruda has been initialized.');
25692
+ };
25693
+ document.body.appendChild(script);
25694
+ } else {
25695
+ console.log('Eruda is already loaded.');
25696
+ }
25697
+ };
25698
+
25683
25699
  var NoPaymentOptionFoundDialog = (function () {
25684
25700
  var _useContext = useContext(NavigateStackContext);
25685
25701
  _useContext.navigate;
@@ -25703,7 +25719,8 @@ var NoPaymentOptionFoundDialog = (function () {
25703
25719
  body: /*#__PURE__*/React.createElement("div", {
25704
25720
  className: "TextCenter"
25705
25721
  }, /*#__PURE__*/React.createElement("div", {
25706
- className: "GraphicWrapper"
25722
+ className: "GraphicWrapper",
25723
+ onClick: initDebug
25707
25724
  }, /*#__PURE__*/React.createElement("img", {
25708
25725
  className: "Graphic",
25709
25726
  src: QuestionsGraphic