@stytch/vanilla-js 5.24.2 → 5.24.4
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/CHANGELOG.md +14 -0
- package/dist/adminPortal/index.esm.js +1 -1
- package/dist/adminPortal/index.js +1 -1
- package/dist/b2b/index.esm.js +10 -9
- package/dist/b2b/index.headless.esm.js +3 -3
- package/dist/b2b/index.headless.js +2 -2
- package/dist/b2b/index.js +9 -8
- package/dist/{extractErrorMessage-srtVp7Jv.js → extractErrorMessage-CFBC76C1.js} +1 -1
- package/dist/{extractErrorMessage-DiCva4gS.js → extractErrorMessage-DS3D8CPf.js} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.headless.esm.js +567 -529
- package/dist/index.headless.js +567 -529
- package/dist/index.js +1 -1
- package/dist/{internal-64venB4k.js → internal-B5ow3XSB.js} +1162 -1066
- package/dist/{internal-Bd3Djulx.js → internal-BArKrHsQ.js} +1162 -1066
- package/package.json +2 -2
package/dist/b2b/index.esm.js
CHANGED
|
@@ -31,9 +31,9 @@ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Sym
|
|
|
31
31
|
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
32
32
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
33
33
|
import { StytchB2BHeadlessClient } from './index.headless.esm.js';
|
|
34
|
-
import { i as isTruthy, w as wn, q, F as F$1, m as merge, H as He, Z as Ze, p as passwordManagerDisableAutofillProps, U as Ue, a as withMiddleware, u as useSWR, b as useSWRConfig, _ as _$1, c as useStateWithDeps, T as T$1, s as serialize, d as mergeObjects, g as getTimestamp, e as UNDEFINED, f as useIsomorphicLayoutEffect, h as h$2, j as p$1, y, k as g$1, l as extractErrorMessage, n as w$1, C as Cn, o as s$1, r as F$2, t as CreateSSRSafeWebComponent, v as Fe } from '../extractErrorMessage-
|
|
35
|
-
import { B as B2BMFAProducts, A as AuthFlowType, a as B2BProducts, b as OTPMethods, W as Wallets, P as Products, _ as __rest, c as B2BOAuthProviders, S as StytchEventType, r as readB2BInternals, D as DEFAULT_SESSION_DURATION_MINUTES, d as __awaiter, E as EMAIL_REGEX, e as StytchAPIError, l as logger, f as OneTapPositions, i as isTestPublicToken, g as debounce, C as COUNTRIES_LIST, h as StytchSDKError, I as IDPOAuthFlowMissingParamError, N as NoCurrentSessionError, R as RedirectURLType, j as checkB2BNotSSR } from '../internal-
|
|
36
|
-
export { k as BiometricRegistrationIdIsNullOrBlank, m as BiometricsAlreadyEnrolledError, n as BiometricsFailedError, o as BiometricsUnavailableError, p as ChallengeSigningFailedError, q as DFPNotConfigured, s as DeviceCredentialsNotAllowedError, F as FailedCodeChallengeError, t as FailedToDecryptDataError, u as InternalError, v as InvalidAuthorizationCredentialError, w as InvalidCredentialTypeError, x as InvalidPrivateKeyLength, y as InvalidRedirectSchemeError, z as InvalidStartUrlError, J as JSONDataNotConvertibleToStringError, K as KeyInvalidatedError, G as KeystoreUnavailableError, M as MissingAttestationObjectError, H as MissingAuthorizationCredentialIDTokenError, L as MissingCipherIv, Q as MissingGoogleClientIDError, T as MissingPKCEError, U as MissingPublicKeyError, V as MissingUrlError, X as NoBiometricsEnrolledError, Y as NoBiometricsRegistrationError, Z as NoCredentialsPresentError, O as OAuthProviders, $ as PasskeysInvalidEncoding, a0 as PasskeysMisconfigured, a1 as PasskeysUnsupportedError, a2 as RNUIProducts, a3 as RandomNumberGenerationFailed, a4 as SDKAPIUnreachableError, a5 as SDKNotConfiguredError, a6 as SignInWithAppleMisconfigured, a7 as StytchAPISchemaError, a8 as StytchAPIUnreachableError, a9 as StytchError, aa as StytchSDKAPIError, ab as StytchSDKSchemaError, ac as StytchSDKUsageError, ad as UNRECOVERABLE_ERROR_TYPES, ae as UserCancellationError, af as UserLockedOutError, ag as errorToStytchError } from '../internal-
|
|
34
|
+
import { i as isTruthy, w as wn, q, F as F$1, m as merge, H as He, Z as Ze, p as passwordManagerDisableAutofillProps, U as Ue, a as withMiddleware, u as useSWR, b as useSWRConfig, _ as _$1, c as useStateWithDeps, T as T$1, s as serialize, d as mergeObjects, g as getTimestamp, e as UNDEFINED, f as useIsomorphicLayoutEffect, h as h$2, j as p$1, y, k as g$1, l as extractErrorMessage, n as w$1, C as Cn, o as s$1, r as F$2, t as CreateSSRSafeWebComponent, v as Fe } from '../extractErrorMessage-CFBC76C1.js';
|
|
35
|
+
import { B as B2BMFAProducts, A as AuthFlowType, a as B2BProducts, b as OTPMethods, W as Wallets, P as Products, _ as __rest, c as B2BOAuthProviders, S as StytchEventType, r as readB2BInternals, D as DEFAULT_SESSION_DURATION_MINUTES, d as __awaiter, E as EMAIL_REGEX, e as StytchAPIError, l as logger, f as OneTapPositions, i as isTestPublicToken, g as debounce, C as COUNTRIES_LIST, h as StytchSDKError, I as IDPOAuthFlowMissingParamError, N as NoCurrentSessionError, R as RedirectURLType, j as checkB2BNotSSR } from '../internal-B5ow3XSB.js';
|
|
36
|
+
export { k as BiometricRegistrationIdIsNullOrBlank, m as BiometricsAlreadyEnrolledError, n as BiometricsFailedError, o as BiometricsUnavailableError, p as ChallengeSigningFailedError, q as DFPNotConfigured, s as DeviceCredentialsNotAllowedError, F as FailedCodeChallengeError, t as FailedToDecryptDataError, u as InternalError, v as InvalidAuthorizationCredentialError, w as InvalidCredentialTypeError, x as InvalidPrivateKeyLength, y as InvalidRedirectSchemeError, z as InvalidStartUrlError, J as JSONDataNotConvertibleToStringError, K as KeyInvalidatedError, G as KeystoreUnavailableError, M as MissingAttestationObjectError, H as MissingAuthorizationCredentialIDTokenError, L as MissingCipherIv, Q as MissingGoogleClientIDError, T as MissingPKCEError, U as MissingPublicKeyError, V as MissingUrlError, X as NoBiometricsEnrolledError, Y as NoBiometricsRegistrationError, Z as NoCredentialsPresentError, O as OAuthProviders, $ as PasskeysInvalidEncoding, a0 as PasskeysMisconfigured, a1 as PasskeysUnsupportedError, a2 as RNUIProducts, a3 as RandomNumberGenerationFailed, a4 as SDKAPIUnreachableError, a5 as SDKNotConfiguredError, a6 as SignInWithAppleMisconfigured, a7 as StytchAPISchemaError, a8 as StytchAPIUnreachableError, a9 as StytchError, aa as StytchSDKAPIError, ab as StytchSDKSchemaError, ac as StytchSDKUsageError, ad as UNRECOVERABLE_ERROR_TYPES, ae as UserCancellationError, af as UserLockedOutError, ag as errorToStytchError } from '../internal-B5ow3XSB.js';
|
|
37
37
|
var DEFAULT_MFA_STATE = {
|
|
38
38
|
primaryInfo: null,
|
|
39
39
|
isEnrolling: false,
|
|
@@ -3576,10 +3576,11 @@ var DiscoverNoOrganizations = function DiscoverNoOrganizations() {
|
|
|
3576
3576
|
onSuccess: function onSuccess(data) {
|
|
3577
3577
|
onAuthenticateSuccess(data, dispatch, config);
|
|
3578
3578
|
},
|
|
3579
|
-
onError: function onError() {
|
|
3579
|
+
onError: function onError(error) {
|
|
3580
3580
|
dispatch({
|
|
3581
|
-
type: '
|
|
3582
|
-
|
|
3581
|
+
type: 'set_error_message_and_transition',
|
|
3582
|
+
errorType: error.error_type === 'action_not_allowed_email_domain_is_claimed' ? ErrorType.OrganizationDiscoveryClaimedDomain : ErrorType.Default,
|
|
3583
|
+
canGoBack: true
|
|
3583
3584
|
});
|
|
3584
3585
|
}
|
|
3585
3586
|
}),
|
|
@@ -7284,10 +7285,10 @@ var parseOAuthAuthorizeParams = function parseOAuthAuthorizeParams(params) {
|
|
|
7284
7285
|
var authorizeParams = {
|
|
7285
7286
|
client_id: '',
|
|
7286
7287
|
redirect_uri: '',
|
|
7287
|
-
response_type: '',
|
|
7288
|
+
response_type: 'code',
|
|
7288
7289
|
scope: FALLBACK_SCOPE
|
|
7289
7290
|
};
|
|
7290
|
-
var requiredFields = ['client_id', 'redirect_uri'
|
|
7291
|
+
var requiredFields = ['client_id', 'redirect_uri'];
|
|
7291
7292
|
for (var _i3 = 0, _requiredFields = requiredFields; _i3 < _requiredFields.length; _i3++) {
|
|
7292
7293
|
var field = _requiredFields[_i3];
|
|
7293
7294
|
var value = params.get(field);
|
|
@@ -7299,7 +7300,7 @@ var parseOAuthAuthorizeParams = function parseOAuthAuthorizeParams(params) {
|
|
|
7299
7300
|
}
|
|
7300
7301
|
authorizeParams[field] = value;
|
|
7301
7302
|
}
|
|
7302
|
-
var optionalFields = ['scope', 'code_challenge', 'state', 'nonce'];
|
|
7303
|
+
var optionalFields = ['response_type', 'scope', 'code_challenge', 'state', 'nonce'];
|
|
7303
7304
|
for (var _i4 = 0, _optionalFields = optionalFields; _i4 < _optionalFields.length; _i4++) {
|
|
7304
7305
|
var _field = _optionalFields[_i4];
|
|
7305
7306
|
var _value = params.get(_field);
|
|
@@ -22,8 +22,8 @@ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o =
|
|
|
22
22
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
23
23
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
24
24
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25
|
-
import { l as logger, d as __awaiter, aj as loadESModule, ak as IframeHostClient, i as isTestPublicToken, al as EventLogger, am as DEFAULT_MAX_BATCH_SIZE, an as DEFAULT_INTERVAL_DURATION_MS, ao as createEventId, ap as createAppSessionId, aq as createPersistentId, ar as baseFetchSDK, as as baseSubmitFormSDK, at as _retriableFetchSDK, ai as getPersistentStorageKey, au as validate, av as hasMultipleCookies, aw as isLocalhost, ax as HeadlessB2BOAuthClient$1, ay as DisabledDFPProtectedAuthProvider, f as OneTapPositions, ac as StytchSDKUsageError, az as GOOGLE_ONE_TAP_HOST, aA as GOOGLE_ONE_TAP_SCRIPT_URL, e as StytchAPIError, j as checkB2BNotSSR, aB as checkPublicToken, aC as buildFinalConfig, aD as StateChangeClient, aE as DFPProtectedAuthProvider, aF as HeadlessB2BOrganizationClient, aG as HeadlessB2BSelfClient, aH as HeadlessB2BSessionClient, aI as HeadlessB2BMagicLinksClient, aJ as HeadlessB2BSSOClient, aK as HeadlessB2BDiscoveryClient, aL as HeadlessB2BPasswordsClient, aM as HeadlessB2BOTPsClient, aN as HeadlessB2BTOTPsClient, aO as HeadlessB2BRecoveryCodesClient, aP as HeadlessB2BRBACClient, aQ as HeadlessB2BSCIMClient, aR as HeadlessB2BImpersonationClient, aS as SessionManager, aT as SearchDataManager, aU as VERTICAL_CONSUMER, aV as writeB2BInternals } from '../internal-
|
|
26
|
-
export { A as AuthFlowType, B as B2BMFAProducts, c as B2BOAuthProviders, a as B2BProducts, k as BiometricRegistrationIdIsNullOrBlank, m as BiometricsAlreadyEnrolledError, n as BiometricsFailedError, o as BiometricsUnavailableError, p as ChallengeSigningFailedError, q as DFPNotConfigured, s as DeviceCredentialsNotAllowedError, F as FailedCodeChallengeError, t as FailedToDecryptDataError, I as IDPOAuthFlowMissingParamError, u as InternalError, v as InvalidAuthorizationCredentialError, w as InvalidCredentialTypeError, x as InvalidPrivateKeyLength, y as InvalidRedirectSchemeError, z as InvalidStartUrlError, J as JSONDataNotConvertibleToStringError, K as KeyInvalidatedError, G as KeystoreUnavailableError, M as MissingAttestationObjectError, H as MissingAuthorizationCredentialIDTokenError, L as MissingCipherIv, Q as MissingGoogleClientIDError, T as MissingPKCEError, U as MissingPublicKeyError, V as MissingUrlError, X as NoBiometricsEnrolledError, Y as NoBiometricsRegistrationError, Z as NoCredentialsPresentError, N as NoCurrentSessionError, O as OAuthProviders, b as OTPMethods, $ as PasskeysInvalidEncoding, a0 as PasskeysMisconfigured, a1 as PasskeysUnsupportedError, P as Products, a2 as RNUIProducts, a3 as RandomNumberGenerationFailed, R as RedirectURLType, a4 as SDKAPIUnreachableError, a5 as SDKNotConfiguredError, a6 as SignInWithAppleMisconfigured, a7 as StytchAPISchemaError, a8 as StytchAPIUnreachableError, a9 as StytchError, S as StytchEventType, aa as StytchSDKAPIError, h as StytchSDKError, ab as StytchSDKSchemaError, ad as UNRECOVERABLE_ERROR_TYPES, ae as UserCancellationError, af as UserLockedOutError, W as Wallets, ag as errorToStytchError } from '../internal-
|
|
25
|
+
import { l as logger, d as __awaiter, aj as loadESModule, ak as IframeHostClient, i as isTestPublicToken, al as EventLogger, am as DEFAULT_MAX_BATCH_SIZE, an as DEFAULT_INTERVAL_DURATION_MS, ao as createEventId, ap as createAppSessionId, aq as createPersistentId, ar as baseFetchSDK, as as baseSubmitFormSDK, at as _retriableFetchSDK, ai as getPersistentStorageKey, au as validate, av as hasMultipleCookies, aw as isLocalhost, ax as HeadlessB2BOAuthClient$1, ay as DisabledDFPProtectedAuthProvider, f as OneTapPositions, ac as StytchSDKUsageError, az as GOOGLE_ONE_TAP_HOST, aA as GOOGLE_ONE_TAP_SCRIPT_URL, e as StytchAPIError, j as checkB2BNotSSR, aB as checkPublicToken, aC as buildFinalConfig, aD as StateChangeClient, aE as DFPProtectedAuthProvider, aF as HeadlessB2BOrganizationClient, aG as HeadlessB2BSelfClient, aH as HeadlessB2BSessionClient, aI as HeadlessB2BMagicLinksClient, aJ as HeadlessB2BSSOClient, aK as HeadlessB2BDiscoveryClient, aL as HeadlessB2BPasswordsClient, aM as HeadlessB2BOTPsClient, aN as HeadlessB2BTOTPsClient, aO as HeadlessB2BRecoveryCodesClient, aP as HeadlessB2BRBACClient, aQ as HeadlessB2BSCIMClient, aR as HeadlessB2BImpersonationClient, aS as SessionManager, aT as SearchDataManager, aU as VERTICAL_CONSUMER, aV as writeB2BInternals } from '../internal-B5ow3XSB.js';
|
|
26
|
+
export { A as AuthFlowType, B as B2BMFAProducts, c as B2BOAuthProviders, a as B2BProducts, k as BiometricRegistrationIdIsNullOrBlank, m as BiometricsAlreadyEnrolledError, n as BiometricsFailedError, o as BiometricsUnavailableError, p as ChallengeSigningFailedError, q as DFPNotConfigured, s as DeviceCredentialsNotAllowedError, F as FailedCodeChallengeError, t as FailedToDecryptDataError, I as IDPOAuthFlowMissingParamError, u as InternalError, v as InvalidAuthorizationCredentialError, w as InvalidCredentialTypeError, x as InvalidPrivateKeyLength, y as InvalidRedirectSchemeError, z as InvalidStartUrlError, J as JSONDataNotConvertibleToStringError, K as KeyInvalidatedError, G as KeystoreUnavailableError, M as MissingAttestationObjectError, H as MissingAuthorizationCredentialIDTokenError, L as MissingCipherIv, Q as MissingGoogleClientIDError, T as MissingPKCEError, U as MissingPublicKeyError, V as MissingUrlError, X as NoBiometricsEnrolledError, Y as NoBiometricsRegistrationError, Z as NoCredentialsPresentError, N as NoCurrentSessionError, O as OAuthProviders, b as OTPMethods, $ as PasskeysInvalidEncoding, a0 as PasskeysMisconfigured, a1 as PasskeysUnsupportedError, P as Products, a2 as RNUIProducts, a3 as RandomNumberGenerationFailed, R as RedirectURLType, a4 as SDKAPIUnreachableError, a5 as SDKNotConfiguredError, a6 as SignInWithAppleMisconfigured, a7 as StytchAPISchemaError, a8 as StytchAPIUnreachableError, a9 as StytchError, S as StytchEventType, aa as StytchSDKAPIError, h as StytchSDKError, ab as StytchSDKSchemaError, ad as UNRECOVERABLE_ERROR_TYPES, ae as UserCancellationError, af as UserLockedOutError, W as Wallets, ag as errorToStytchError } from '../internal-B5ow3XSB.js';
|
|
27
27
|
var BOOTSTRAP_CACHE_KEY = 'bootstrap';
|
|
28
28
|
var DEFAULT_BOOTSTRAP = function DEFAULT_BOOTSTRAP() {
|
|
29
29
|
return {
|
|
@@ -216,7 +216,7 @@ var ClientsideServicesProvider = /*#__PURE__*/function () {
|
|
|
216
216
|
}
|
|
217
217
|
}]);
|
|
218
218
|
}();
|
|
219
|
-
var version = "5.24.
|
|
219
|
+
var version = "5.24.4";
|
|
220
220
|
var NetworkClient = /*#__PURE__*/function () {
|
|
221
221
|
function NetworkClient(_publicToken, _subscriptionDataLayer, _liveAPIURL, _testAPIURL, additionalTelemetryDataFn) {
|
|
222
222
|
_classCallCheck(this, NetworkClient);
|
|
@@ -24,7 +24,7 @@ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o =
|
|
|
24
24
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
25
25
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
26
26
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
27
|
-
var internal = require('../internal-
|
|
27
|
+
var internal = require('../internal-BArKrHsQ.js');
|
|
28
28
|
var BOOTSTRAP_CACHE_KEY = 'bootstrap';
|
|
29
29
|
var DEFAULT_BOOTSTRAP = function DEFAULT_BOOTSTRAP() {
|
|
30
30
|
return {
|
|
@@ -217,7 +217,7 @@ var ClientsideServicesProvider = /*#__PURE__*/function () {
|
|
|
217
217
|
}
|
|
218
218
|
}]);
|
|
219
219
|
}();
|
|
220
|
-
var version = "5.24.
|
|
220
|
+
var version = "5.24.4";
|
|
221
221
|
var NetworkClient = /*#__PURE__*/function () {
|
|
222
222
|
function NetworkClient(_publicToken, _subscriptionDataLayer, _liveAPIURL, _testAPIURL, additionalTelemetryDataFn) {
|
|
223
223
|
_classCallCheck(this, NetworkClient);
|
package/dist/b2b/index.js
CHANGED
|
@@ -33,8 +33,8 @@ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Sym
|
|
|
33
33
|
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
34
34
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
35
35
|
var b2b_index_headless = require('./index.headless.js');
|
|
36
|
-
var extractErrorMessage = require('../extractErrorMessage-
|
|
37
|
-
var internal = require('../internal-
|
|
36
|
+
var extractErrorMessage = require('../extractErrorMessage-DS3D8CPf.js');
|
|
37
|
+
var internal = require('../internal-BArKrHsQ.js');
|
|
38
38
|
var DEFAULT_MFA_STATE = {
|
|
39
39
|
primaryInfo: null,
|
|
40
40
|
isEnrolling: false,
|
|
@@ -3577,10 +3577,11 @@ var DiscoverNoOrganizations = function DiscoverNoOrganizations() {
|
|
|
3577
3577
|
onSuccess: function onSuccess(data) {
|
|
3578
3578
|
onAuthenticateSuccess(data, dispatch, config);
|
|
3579
3579
|
},
|
|
3580
|
-
onError: function onError() {
|
|
3580
|
+
onError: function onError(error) {
|
|
3581
3581
|
dispatch({
|
|
3582
|
-
type: '
|
|
3583
|
-
|
|
3582
|
+
type: 'set_error_message_and_transition',
|
|
3583
|
+
errorType: error.error_type === 'action_not_allowed_email_domain_is_claimed' ? ErrorType.OrganizationDiscoveryClaimedDomain : ErrorType.Default,
|
|
3584
|
+
canGoBack: true
|
|
3584
3585
|
});
|
|
3585
3586
|
}
|
|
3586
3587
|
}),
|
|
@@ -7285,10 +7286,10 @@ var parseOAuthAuthorizeParams = function parseOAuthAuthorizeParams(params) {
|
|
|
7285
7286
|
var authorizeParams = {
|
|
7286
7287
|
client_id: '',
|
|
7287
7288
|
redirect_uri: '',
|
|
7288
|
-
response_type: '',
|
|
7289
|
+
response_type: 'code',
|
|
7289
7290
|
scope: FALLBACK_SCOPE
|
|
7290
7291
|
};
|
|
7291
|
-
var requiredFields = ['client_id', 'redirect_uri'
|
|
7292
|
+
var requiredFields = ['client_id', 'redirect_uri'];
|
|
7292
7293
|
for (var _i3 = 0, _requiredFields = requiredFields; _i3 < _requiredFields.length; _i3++) {
|
|
7293
7294
|
var field = _requiredFields[_i3];
|
|
7294
7295
|
var value = params.get(field);
|
|
@@ -7300,7 +7301,7 @@ var parseOAuthAuthorizeParams = function parseOAuthAuthorizeParams(params) {
|
|
|
7300
7301
|
}
|
|
7301
7302
|
authorizeParams[field] = value;
|
|
7302
7303
|
}
|
|
7303
|
-
var optionalFields = ['scope', 'code_challenge', 'state', 'nonce'];
|
|
7304
|
+
var optionalFields = ['response_type', 'scope', 'code_challenge', 'state', 'nonce'];
|
|
7304
7305
|
for (var _i4 = 0, _optionalFields = optionalFields; _i4 < _optionalFields.length; _i4++) {
|
|
7305
7306
|
var _field = _optionalFields[_i4];
|
|
7306
7307
|
var _value = params.get(_field);
|
|
@@ -27,7 +27,7 @@ function _isNativeFunction(t) { try { return -1 !== Function.toString.call(t).in
|
|
|
27
27
|
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
28
28
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
29
29
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
30
|
-
import { O as OAuthProviders } from './internal-
|
|
30
|
+
import { O as OAuthProviders } from './internal-B5ow3XSB.js';
|
|
31
31
|
var n$2,
|
|
32
32
|
l$3,
|
|
33
33
|
u$2,
|
|
@@ -29,7 +29,7 @@ function _isNativeFunction(t) { try { return -1 !== Function.toString.call(t).in
|
|
|
29
29
|
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
30
30
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
31
31
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
32
|
-
var internal = require('./internal-
|
|
32
|
+
var internal = require('./internal-BArKrHsQ.js');
|
|
33
33
|
var n$2;
|
|
34
34
|
exports.l = void 0;
|
|
35
35
|
var u$2,
|