@mxenabled/connect-widget 0.20.4 → 0.20.5
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.es.js +34 -18
- package/dist/index.es.js.map +1 -1
- package/dist/lastBuild.txt +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5087,23 +5087,39 @@ function baseFindIndex$2(array, predicate, fromIndex, fromRight) {
|
|
|
5087
5087
|
}
|
|
5088
5088
|
var _baseFindIndex = baseFindIndex$2;
|
|
5089
5089
|
|
|
5090
|
-
var
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5090
|
+
var _trimmedEndIndex;
|
|
5091
|
+
var hasRequired_trimmedEndIndex;
|
|
5092
|
+
|
|
5093
|
+
function require_trimmedEndIndex () {
|
|
5094
|
+
if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
|
|
5095
|
+
hasRequired_trimmedEndIndex = 1;
|
|
5096
|
+
var reWhitespace = /\s/;
|
|
5097
|
+
function trimmedEndIndex(string) {
|
|
5098
|
+
var index = string.length;
|
|
5099
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
5100
|
+
}
|
|
5101
|
+
return index;
|
|
5102
|
+
}
|
|
5103
|
+
_trimmedEndIndex = trimmedEndIndex;
|
|
5104
|
+
return _trimmedEndIndex;
|
|
5096
5105
|
}
|
|
5097
|
-
var _trimmedEndIndex = trimmedEndIndex$1;
|
|
5098
5106
|
|
|
5099
|
-
var
|
|
5100
|
-
var
|
|
5101
|
-
|
|
5102
|
-
|
|
5107
|
+
var _baseTrim;
|
|
5108
|
+
var hasRequired_baseTrim;
|
|
5109
|
+
|
|
5110
|
+
function require_baseTrim () {
|
|
5111
|
+
if (hasRequired_baseTrim) return _baseTrim;
|
|
5112
|
+
hasRequired_baseTrim = 1;
|
|
5113
|
+
var trimmedEndIndex = require_trimmedEndIndex();
|
|
5114
|
+
var reTrimStart = /^\s+/;
|
|
5115
|
+
function baseTrim(string) {
|
|
5116
|
+
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
5117
|
+
}
|
|
5118
|
+
_baseTrim = baseTrim;
|
|
5119
|
+
return _baseTrim;
|
|
5103
5120
|
}
|
|
5104
|
-
var _baseTrim = baseTrim$1;
|
|
5105
5121
|
|
|
5106
|
-
var baseTrim =
|
|
5122
|
+
var baseTrim = require_baseTrim(), isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
|
|
5107
5123
|
var NAN = 0 / 0;
|
|
5108
5124
|
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
5109
5125
|
var reIsBinary = /^0b[01]+$/i;
|
|
@@ -8559,7 +8575,7 @@ var hasRequiredTrim;
|
|
|
8559
8575
|
function requireTrim () {
|
|
8560
8576
|
if (hasRequiredTrim) return trim_1;
|
|
8561
8577
|
hasRequiredTrim = 1;
|
|
8562
|
-
var baseToString = _baseToString, baseTrim =
|
|
8578
|
+
var baseToString = _baseToString, baseTrim = require_baseTrim(), castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
|
|
8563
8579
|
function trim(string, chars, guard) {
|
|
8564
8580
|
string = toString(string);
|
|
8565
8581
|
if (string && (guard || chars === void 0)) {
|
|
@@ -9589,12 +9605,12 @@ const connect = createReducer(defaultState$1, {
|
|
|
9589
9605
|
[ActionTypes$2.ACCEPT_DISCLOSURE]: acceptDisclosure,
|
|
9590
9606
|
[ActionTypes$2.CREATE_MEMBER_SUCCESS]: createMemberSuccess,
|
|
9591
9607
|
[ActionTypes$2.CONNECT_COMPLETE]: connectComplete,
|
|
9592
|
-
[ActionTypes$2.GO_BACK_CREDENTIALS]:
|
|
9608
|
+
[ActionTypes$2.GO_BACK_CREDENTIALS]: connectGoBack,
|
|
9593
9609
|
[ActionTypes$2.GO_BACK_CONSENT]: goBackSearchOrVerify,
|
|
9594
9610
|
[ActionTypes$2.GO_BACK_POST_MESSAGE]: goBackSearchOrVerify,
|
|
9595
9611
|
[ActionTypes$2.EXIT_MICRODEPOSITS]: exitMicrodeposits,
|
|
9596
9612
|
[ActionTypes$2.FINISH_MICRODEPOSITS]: finishMicrodeposits,
|
|
9597
|
-
[ActionTypes$2.GO_BACK_OAUTH]:
|
|
9613
|
+
[ActionTypes$2.GO_BACK_OAUTH]: connectGoBack,
|
|
9598
9614
|
[ActionTypes$2.DELETE_MEMBER_SUCCESS]: deleteMemberSuccess,
|
|
9599
9615
|
[ActionTypes$2.STEP_TO_DELETE_MEMBER_SUCCESS]: stepToDeleteMemberSuccess,
|
|
9600
9616
|
[ActionTypes$2.DELETE_MEMBER_SUCCESS_RESET]: deleteMemberSuccessReset,
|
|
@@ -79738,7 +79754,7 @@ const Connect$2 = ({
|
|
|
79738
79754
|
dispatch(handleGoBackWithSideEffects());
|
|
79739
79755
|
} else {
|
|
79740
79756
|
postMessageFunctions.onPostMessage(POST_MESSAGES.BACK_TO_SEARCH, {});
|
|
79741
|
-
dispatch({ type: ActionTypes$2.GO_BACK_CREDENTIALS
|
|
79757
|
+
dispatch({ type: ActionTypes$2.GO_BACK_CREDENTIALS });
|
|
79742
79758
|
}
|
|
79743
79759
|
};
|
|
79744
79760
|
const _handleOAuthGoBack = () => {
|
|
@@ -79749,7 +79765,7 @@ const Connect$2 = ({
|
|
|
79749
79765
|
dispatch(handleGoBackWithSideEffects());
|
|
79750
79766
|
} else {
|
|
79751
79767
|
postMessageFunctions.onPostMessage(POST_MESSAGES.BACK_TO_SEARCH, {});
|
|
79752
|
-
dispatch({ type: ActionTypes$2.GO_BACK_OAUTH
|
|
79768
|
+
dispatch({ type: ActionTypes$2.GO_BACK_OAUTH });
|
|
79753
79769
|
}
|
|
79754
79770
|
};
|
|
79755
79771
|
const _handleStepDOMChange = useCallback((ref) => {
|