@mxenabled/connect-widget 0.17.1 → 0.17.3
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/README.md +6 -4
- package/dist/index.es.js +95 -37
- package/dist/index.es.js.map +1 -1
- package/dist/lastBuild.txt +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,10 +69,12 @@ You need to pass an object containing API endpoint callbacks as the `apiValue` p
|
|
|
69
69
|
_To make commits that trigger a package release, use `npx cz`, it will launch easy to follow commitizen prompts._
|
|
70
70
|
|
|
71
71
|
A new _MAJOR.MINOR.PATCH_ release will be generated if at least one of the following types are used, see [Conventional Commits Documentation](https://www.conventionalcommits.org/) for more specifics.
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
|
|
73
|
+
- `fix:` -> PATCH bump
|
|
74
|
+
- `feat:` -> MINOR bump
|
|
74
75
|
|
|
75
76
|
Major bump (any type with a footer of `BREAKING CHANGE:`)
|
|
77
|
+
|
|
76
78
|
```
|
|
77
79
|
<any_type>: <message>
|
|
78
80
|
|
|
@@ -94,6 +96,6 @@ Pull requests are welcome. Please open an issue first to discuss what you would
|
|
|
94
96
|
|
|
95
97
|
Make sure to add/update tests, translations, and documentation as appropriate.
|
|
96
98
|
|
|
97
|
-
##
|
|
99
|
+
## Changes
|
|
98
100
|
|
|
99
|
-
View our
|
|
101
|
+
View our notes for each release [here](https://github.com/mxenabled/connect-widget/releases)
|
package/dist/index.es.js
CHANGED
|
@@ -5131,39 +5131,23 @@ function baseFindIndex$2(array, predicate, fromIndex, fromRight) {
|
|
|
5131
5131
|
}
|
|
5132
5132
|
var _baseFindIndex = baseFindIndex$2;
|
|
5133
5133
|
|
|
5134
|
-
var
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
var reWhitespace = /\s/;
|
|
5141
|
-
function trimmedEndIndex(string) {
|
|
5142
|
-
var index = string.length;
|
|
5143
|
-
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
5144
|
-
}
|
|
5145
|
-
return index;
|
|
5146
|
-
}
|
|
5147
|
-
_trimmedEndIndex = trimmedEndIndex;
|
|
5148
|
-
return _trimmedEndIndex;
|
|
5134
|
+
var reWhitespace = /\s/;
|
|
5135
|
+
function trimmedEndIndex$1(string) {
|
|
5136
|
+
var index = string.length;
|
|
5137
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
5138
|
+
}
|
|
5139
|
+
return index;
|
|
5149
5140
|
}
|
|
5141
|
+
var _trimmedEndIndex = trimmedEndIndex$1;
|
|
5150
5142
|
|
|
5151
|
-
var
|
|
5152
|
-
var
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
if (hasRequired_baseTrim) return _baseTrim;
|
|
5156
|
-
hasRequired_baseTrim = 1;
|
|
5157
|
-
var trimmedEndIndex = require_trimmedEndIndex();
|
|
5158
|
-
var reTrimStart = /^\s+/;
|
|
5159
|
-
function baseTrim(string) {
|
|
5160
|
-
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
5161
|
-
}
|
|
5162
|
-
_baseTrim = baseTrim;
|
|
5163
|
-
return _baseTrim;
|
|
5143
|
+
var trimmedEndIndex = _trimmedEndIndex;
|
|
5144
|
+
var reTrimStart = /^\s+/;
|
|
5145
|
+
function baseTrim$1(string) {
|
|
5146
|
+
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
5164
5147
|
}
|
|
5148
|
+
var _baseTrim = baseTrim$1;
|
|
5165
5149
|
|
|
5166
|
-
var baseTrim =
|
|
5150
|
+
var baseTrim = _baseTrim, isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
|
|
5167
5151
|
var NAN = 0 / 0;
|
|
5168
5152
|
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
5169
5153
|
var reIsBinary = /^0b[01]+$/i;
|
|
@@ -8629,7 +8613,7 @@ var hasRequiredTrim;
|
|
|
8629
8613
|
function requireTrim () {
|
|
8630
8614
|
if (hasRequiredTrim) return trim_1;
|
|
8631
8615
|
hasRequiredTrim = 1;
|
|
8632
|
-
var baseToString = _baseToString, baseTrim =
|
|
8616
|
+
var baseToString = _baseToString, baseTrim = _baseTrim, castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
|
|
8633
8617
|
function trim(string, chars, guard) {
|
|
8634
8618
|
string = toString(string);
|
|
8635
8619
|
if (string && (guard || chars === void 0)) {
|
|
@@ -14606,7 +14590,7 @@ var isPropValid = /* @__PURE__ */ memoize$2(
|
|
|
14606
14590
|
/* Z+1 */
|
|
14607
14591
|
);
|
|
14608
14592
|
|
|
14609
|
-
var isDevelopment$
|
|
14593
|
+
var isDevelopment$3 = false;
|
|
14610
14594
|
function sheetForTag(tag) {
|
|
14611
14595
|
if (tag.sheet) {
|
|
14612
14596
|
return tag.sheet;
|
|
@@ -14647,7 +14631,7 @@ var StyleSheet = /* @__PURE__ */ function() {
|
|
|
14647
14631
|
_this.container.insertBefore(tag, before);
|
|
14648
14632
|
_this.tags.push(tag);
|
|
14649
14633
|
};
|
|
14650
|
-
this.isSpeedy = options.speedy === void 0 ? !isDevelopment$
|
|
14634
|
+
this.isSpeedy = options.speedy === void 0 ? !isDevelopment$3 : options.speedy;
|
|
14651
14635
|
this.tags = [];
|
|
14652
14636
|
this.ctr = 0;
|
|
14653
14637
|
this.nonce = options.nonce;
|
|
@@ -15085,7 +15069,8 @@ var compat = function compat2(element) {
|
|
|
15085
15069
|
element.length < 1) {
|
|
15086
15070
|
return;
|
|
15087
15071
|
}
|
|
15088
|
-
var value = element.value
|
|
15072
|
+
var value = element.value;
|
|
15073
|
+
var parent = element.parent;
|
|
15089
15074
|
var isImplicitRule = element.column === parent.column && element.line === parent.line;
|
|
15090
15075
|
while (parent.type !== "rule") {
|
|
15091
15076
|
parent = parent.parent;
|
|
@@ -15756,7 +15741,7 @@ var unitlessKeys = {
|
|
|
15756
15741
|
strokeWidth: 1
|
|
15757
15742
|
};
|
|
15758
15743
|
|
|
15759
|
-
var isDevelopment$
|
|
15744
|
+
var isDevelopment$2 = false;
|
|
15760
15745
|
var hyphenateRegex = /[A-Z]|^ms/g;
|
|
15761
15746
|
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
15762
15747
|
var isCustomProperty = function isCustomProperty2(property) {
|
|
@@ -15864,7 +15849,7 @@ function createStringFromObject(mergedProps, registered, obj) {
|
|
|
15864
15849
|
string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
|
|
15865
15850
|
}
|
|
15866
15851
|
} else {
|
|
15867
|
-
if (key === "NO_COMPONENT_SELECTOR" && isDevelopment$
|
|
15852
|
+
if (key === "NO_COMPONENT_SELECTOR" && isDevelopment$2) {
|
|
15868
15853
|
throw new Error(noComponentSelectorMessage);
|
|
15869
15854
|
}
|
|
15870
15855
|
if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
|
|
@@ -15936,6 +15921,7 @@ var useInsertionEffect = React$2["useInsertionEffect"] ? React$2["useInsertionEf
|
|
|
15936
15921
|
var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
|
|
15937
15922
|
var useInsertionEffectWithLayoutFallback = useInsertionEffect || React$2.useLayoutEffect;
|
|
15938
15923
|
|
|
15924
|
+
var isDevelopment$1 = false;
|
|
15939
15925
|
var EmotionCacheContext = /* @__PURE__ */ React$2.createContext(
|
|
15940
15926
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
15941
15927
|
// because this module is primarily intended for the browser and node
|
|
@@ -15955,6 +15941,58 @@ var withEmotionCache = function withEmotionCache2(func) {
|
|
|
15955
15941
|
});
|
|
15956
15942
|
};
|
|
15957
15943
|
var ThemeContext$1 = /* @__PURE__ */ React$2.createContext({});
|
|
15944
|
+
var hasOwn = {}.hasOwnProperty;
|
|
15945
|
+
var typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__";
|
|
15946
|
+
var createEmotionProps = function createEmotionProps2(type, props) {
|
|
15947
|
+
var newProps = {};
|
|
15948
|
+
for (var _key in props) {
|
|
15949
|
+
if (hasOwn.call(props, _key)) {
|
|
15950
|
+
newProps[_key] = props[_key];
|
|
15951
|
+
}
|
|
15952
|
+
}
|
|
15953
|
+
newProps[typePropName] = type;
|
|
15954
|
+
return newProps;
|
|
15955
|
+
};
|
|
15956
|
+
var Insertion$1 = function Insertion2(_ref) {
|
|
15957
|
+
var cache = _ref.cache, serialized = _ref.serialized, isStringTag = _ref.isStringTag;
|
|
15958
|
+
registerStyles(cache, serialized, isStringTag);
|
|
15959
|
+
useInsertionEffectAlwaysWithSyncFallback(function() {
|
|
15960
|
+
return insertStyles(cache, serialized, isStringTag);
|
|
15961
|
+
});
|
|
15962
|
+
return null;
|
|
15963
|
+
};
|
|
15964
|
+
var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
|
|
15965
|
+
var cssProp = props.css;
|
|
15966
|
+
if (typeof cssProp === "string" && cache.registered[cssProp] !== void 0) {
|
|
15967
|
+
cssProp = cache.registered[cssProp];
|
|
15968
|
+
}
|
|
15969
|
+
var WrappedComponent = props[typePropName];
|
|
15970
|
+
var registeredStyles = [cssProp];
|
|
15971
|
+
var className = "";
|
|
15972
|
+
if (typeof props.className === "string") {
|
|
15973
|
+
className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
|
|
15974
|
+
} else if (props.className != null) {
|
|
15975
|
+
className = props.className + " ";
|
|
15976
|
+
}
|
|
15977
|
+
var serialized = serializeStyles(registeredStyles, void 0, React$2.useContext(ThemeContext$1));
|
|
15978
|
+
className += cache.key + "-" + serialized.name;
|
|
15979
|
+
var newProps = {};
|
|
15980
|
+
for (var _key2 in props) {
|
|
15981
|
+
if (hasOwn.call(props, _key2) && _key2 !== "css" && _key2 !== typePropName && !isDevelopment$1) {
|
|
15982
|
+
newProps[_key2] = props[_key2];
|
|
15983
|
+
}
|
|
15984
|
+
}
|
|
15985
|
+
newProps.className = className;
|
|
15986
|
+
if (ref) {
|
|
15987
|
+
newProps.ref = ref;
|
|
15988
|
+
}
|
|
15989
|
+
return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(Insertion$1, {
|
|
15990
|
+
cache,
|
|
15991
|
+
serialized,
|
|
15992
|
+
isStringTag: typeof WrappedComponent === "string"
|
|
15993
|
+
}), /* @__PURE__ */ React$2.createElement(WrappedComponent, newProps));
|
|
15994
|
+
});
|
|
15995
|
+
var Emotion$1 = Emotion;
|
|
15958
15996
|
|
|
15959
15997
|
var _extends = {exports: {}};
|
|
15960
15998
|
|
|
@@ -15980,6 +16018,25 @@ function require_extends () {
|
|
|
15980
16018
|
|
|
15981
16019
|
require_extends();
|
|
15982
16020
|
|
|
16021
|
+
var jsx = function jsx2(type, props) {
|
|
16022
|
+
var args = arguments;
|
|
16023
|
+
if (props == null || !hasOwn.call(props, "css")) {
|
|
16024
|
+
return React$2.createElement.apply(void 0, args);
|
|
16025
|
+
}
|
|
16026
|
+
var argsLength = args.length;
|
|
16027
|
+
var createElementArgArray = new Array(argsLength);
|
|
16028
|
+
createElementArgArray[0] = Emotion$1;
|
|
16029
|
+
createElementArgArray[1] = createEmotionProps(type, props);
|
|
16030
|
+
for (var i = 2; i < argsLength; i++) {
|
|
16031
|
+
createElementArgArray[i] = args[i];
|
|
16032
|
+
}
|
|
16033
|
+
return React$2.createElement.apply(null, createElementArgArray);
|
|
16034
|
+
};
|
|
16035
|
+
(function(_jsx) {
|
|
16036
|
+
var JSX;
|
|
16037
|
+
/* @__PURE__ */ (function(_JSX) {
|
|
16038
|
+
})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
|
|
16039
|
+
})(jsx || (jsx = {}));
|
|
15983
16040
|
var Global = /* @__PURE__ */ withEmotionCache(function(props, cache) {
|
|
15984
16041
|
var styles = props.styles;
|
|
15985
16042
|
var serialized = serializeStyles([styles], void 0, React$2.useContext(ThemeContext$1));
|
|
@@ -16032,7 +16089,7 @@ function css() {
|
|
|
16032
16089
|
}
|
|
16033
16090
|
return serializeStyles(args);
|
|
16034
16091
|
}
|
|
16035
|
-
|
|
16092
|
+
function keyframes() {
|
|
16036
16093
|
var insertable = css.apply(void 0, arguments);
|
|
16037
16094
|
var name = "animation-" + insertable.name;
|
|
16038
16095
|
return {
|
|
@@ -16043,7 +16100,7 @@ var keyframes = function keyframes2() {
|
|
|
16043
16100
|
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
16044
16101
|
}
|
|
16045
16102
|
};
|
|
16046
|
-
}
|
|
16103
|
+
}
|
|
16047
16104
|
|
|
16048
16105
|
var testOmitPropsOnStringTag = isPropValid;
|
|
16049
16106
|
var testOmitPropsOnComponent = function testOmitPropsOnComponent2(key) {
|
|
@@ -74690,6 +74747,7 @@ const VerifyDeposits = ({ microdeposit, onSuccess }) => {
|
|
|
74690
74747
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: containerRef, children: [
|
|
74691
74748
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: styles.header, children: [
|
|
74692
74749
|
/* @__PURE__ */ jsxRuntimeExports.jsx(x, { "data-test": "title-header", style: styles.title, truncate: false, variant: "H2", children: __("Enter deposit amounts") }),
|
|
74750
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
|
|
74693
74751
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
74694
74752
|
ProtectedText,
|
|
74695
74753
|
{
|