@mxenabled/connect-widget 2.10.0 → 2.10.1
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 +31 -16
- 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
|
@@ -5099,23 +5099,39 @@ function baseFindIndex$2(array, predicate, fromIndex, fromRight) {
|
|
|
5099
5099
|
}
|
|
5100
5100
|
var _baseFindIndex = baseFindIndex$2;
|
|
5101
5101
|
|
|
5102
|
-
var
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5102
|
+
var _trimmedEndIndex;
|
|
5103
|
+
var hasRequired_trimmedEndIndex;
|
|
5104
|
+
|
|
5105
|
+
function require_trimmedEndIndex () {
|
|
5106
|
+
if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
|
|
5107
|
+
hasRequired_trimmedEndIndex = 1;
|
|
5108
|
+
var reWhitespace = /\s/;
|
|
5109
|
+
function trimmedEndIndex(string) {
|
|
5110
|
+
var index = string.length;
|
|
5111
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
5112
|
+
}
|
|
5113
|
+
return index;
|
|
5114
|
+
}
|
|
5115
|
+
_trimmedEndIndex = trimmedEndIndex;
|
|
5116
|
+
return _trimmedEndIndex;
|
|
5108
5117
|
}
|
|
5109
|
-
var _trimmedEndIndex = trimmedEndIndex$1;
|
|
5110
5118
|
|
|
5111
|
-
var
|
|
5112
|
-
var
|
|
5113
|
-
|
|
5114
|
-
|
|
5119
|
+
var _baseTrim;
|
|
5120
|
+
var hasRequired_baseTrim;
|
|
5121
|
+
|
|
5122
|
+
function require_baseTrim () {
|
|
5123
|
+
if (hasRequired_baseTrim) return _baseTrim;
|
|
5124
|
+
hasRequired_baseTrim = 1;
|
|
5125
|
+
var trimmedEndIndex = require_trimmedEndIndex();
|
|
5126
|
+
var reTrimStart = /^\s+/;
|
|
5127
|
+
function baseTrim(string) {
|
|
5128
|
+
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
5129
|
+
}
|
|
5130
|
+
_baseTrim = baseTrim;
|
|
5131
|
+
return _baseTrim;
|
|
5115
5132
|
}
|
|
5116
|
-
var _baseTrim = baseTrim$1;
|
|
5117
5133
|
|
|
5118
|
-
var baseTrim =
|
|
5134
|
+
var baseTrim = require_baseTrim(), isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
|
|
5119
5135
|
var NAN = 0 / 0;
|
|
5120
5136
|
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
5121
5137
|
var reIsBinary = /^0b[01]+$/i;
|
|
@@ -8597,7 +8613,7 @@ var hasRequiredTrim;
|
|
|
8597
8613
|
function requireTrim () {
|
|
8598
8614
|
if (hasRequiredTrim) return trim_1;
|
|
8599
8615
|
hasRequiredTrim = 1;
|
|
8600
|
-
var baseToString = _baseToString, baseTrim =
|
|
8616
|
+
var baseToString = _baseToString, baseTrim = require_baseTrim(), castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
|
|
8601
8617
|
function trim(string, chars, guard) {
|
|
8602
8618
|
string = toString(string);
|
|
8603
8619
|
if (string && (guard || chars === void 0)) {
|
|
@@ -71567,7 +71583,6 @@ const defaultApiValue = {
|
|
|
71567
71583
|
//OAuth
|
|
71568
71584
|
loadOAuthState: () => Promise.resolve({}),
|
|
71569
71585
|
loadOAuthStates: () => Promise.resolve([]),
|
|
71570
|
-
getOAuthWindowURI: () => Promise.resolve({}),
|
|
71571
71586
|
oAuthStart: () => Promise.resolve(),
|
|
71572
71587
|
// Support
|
|
71573
71588
|
createSupportTicket: () => Promise.resolve(),
|
|
@@ -76686,7 +76701,7 @@ const OAuthStep = React__default.forwardRef((props, navigationRef) => {
|
|
|
76686
76701
|
if (!isStartingOauth) return () => {
|
|
76687
76702
|
};
|
|
76688
76703
|
let member$;
|
|
76689
|
-
if (member && member.is_oauth) {
|
|
76704
|
+
if (member && member.is_oauth && api.getOAuthWindowURI) {
|
|
76690
76705
|
member$ = of(member);
|
|
76691
76706
|
} else if (pendingOauthMember) {
|
|
76692
76707
|
member$ = of(pendingOauthMember);
|