@stytch/vanilla-js 4.13.1 → 4.13.2
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 +7 -0
- package/dist/b2b/index.esm.js +2 -2
- package/dist/b2b/index.headless.esm.js +1 -1
- package/dist/b2b/index.headless.js +1 -1
- package/dist/b2b/index.js +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/{index.headless-BMU_pBP_.js → index.headless-B3xD-OBz.js} +2 -2
- package/dist/{index.headless-Hm4-qWxa.js → index.headless-CL2Gf2QN.js} +2 -2
- package/dist/index.headless.esm.js +1 -1
- package/dist/index.headless.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/b2b/index.esm.js
CHANGED
|
@@ -27,7 +27,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
27
27
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
28
28
|
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); }
|
|
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 { E as EMAIL_REGEX, d as debounce, S as StytchB2BHeadlessClient } from '../index.headless-
|
|
30
|
+
import { E as EMAIL_REGEX, d as debounce, S as StytchB2BHeadlessClient } from '../index.headless-B3xD-OBz.js';
|
|
31
31
|
import { w as wn, q, F, m as merge, y, p as p$1, a as w, g as g$1, h as h$1, N, H as He, b as withMiddleware, u as useSWR, c as useSWRConfig, _, d as useStateWithDeps, T, s as serialize, e as mergeObjects, f as getTimestamp, U as UNDEFINED, i as useIsomorphicLayoutEffect, j as Ue, Z as Ze, k as extractErrorMessage, C as CreateSSRSafeWebComponent, l as Fe } from '../extractErrorMessage-HqH3v6mm.js';
|
|
32
32
|
import { B as B2BMFAProducts, A as AuthFlowType, a as B2BProducts, b as OTPMethods, W as Wallets, P as Products, S as StytchEventType, r as readB2BInternals, D as DEFAULT_SESSION_DURATION_MINUTES, _ as __awaiter, c as StytchAPIError, d as B2BOAuthProviders, l as logger, e as OneTapPositions, i as isTestPublicToken, C as COUNTRIES_LIST, f as StytchSDKError, g as checkNotSSR } from '../internal-CfUZ681R.js';
|
|
33
33
|
export { h as BiometricsFailedError, j as BiometricsUnavailableError, k as ChallengeSigningFailedError, m as DeviceCredentialsNotAllowedError, F as FailedCodeChallengeError, n as FailedToDecryptDataError, I as InternalError, o as InvalidAuthorizationCredentialError, p as InvalidCredentialTypeError, q as InvalidRedirectSchemeError, s as InvalidStartUrlError, J as JSONDataNotConvertibleToStringError, K as KeyInvalidatedError, t as KeystoreUnavailableError, M as MissingAttestationObjectError, u as MissingAuthorizationCredentialIDTokenError, v as MissingGoogleClientIDError, w as MissingPKCEError, x as MissingPublicKeyError, y as MissingUrlError, N as NoBiometricsEnrolledError, z as NoBiometricsRegistrationError, E as NoCredentialsPresentError, G as NoCurrentSessionError, O as OAuthProviders, H as PasskeysInvalidEncoding, L as PasskeysMisconfigured, Q as PasskeysUnsupportedError, R as RNUIProducts, T as RandomNumberGenerationFailed, U as SDKAPIUnreachableError, V as SDKNotConfiguredError, X as SignInWithAppleMisconfigured, Y as StytchAPISchemaError, Z as StytchAPIUnreachableError, $ as StytchError, a0 as StytchSDKAPIError, a1 as StytchSDKSchemaError, a2 as StytchSDKUsageError, a3 as UNRECOVERABLE_ERROR_TYPES, a4 as UserCancellationError, a5 as UserLockedOutError, a6 as errorToStytchError } from '../internal-CfUZ681R.js';
|
|
@@ -4695,7 +4695,7 @@ var CountrySelector = function CountrySelector(_ref74) {
|
|
|
4695
4695
|
}, countryCode !== country ? "+".concat(countryNumber, " ").concat(countryFormatter.of(countryCode)) : "+".concat(countryNumber));
|
|
4696
4696
|
}));
|
|
4697
4697
|
};
|
|
4698
|
-
var PhoneStyledInput = He(Input)(_templateObject42 || (_templateObject42 = _taggedTemplateLiteral(["\n flex-grow: 1;\n"])));
|
|
4698
|
+
var PhoneStyledInput = He(Input)(_templateObject42 || (_templateObject42 = _taggedTemplateLiteral(["\n flex-grow: 1;\n min-width: 100px;\n"])));
|
|
4699
4699
|
var PhoneInput = function PhoneInput(_ref77) {
|
|
4700
4700
|
var phone = _ref77.phone,
|
|
4701
4701
|
setPhone = _ref77.setPhone,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { S as StytchB2BHeadlessClient } from '../index.headless-
|
|
1
|
+
export { S as StytchB2BHeadlessClient } from '../index.headless-B3xD-OBz.js';
|
|
2
2
|
export { A as AuthFlowType, B as B2BMFAProducts, d as B2BOAuthProviders, a as B2BProducts, h as BiometricsFailedError, j as BiometricsUnavailableError, k as ChallengeSigningFailedError, m as DeviceCredentialsNotAllowedError, F as FailedCodeChallengeError, n as FailedToDecryptDataError, I as InternalError, o as InvalidAuthorizationCredentialError, p as InvalidCredentialTypeError, q as InvalidRedirectSchemeError, s as InvalidStartUrlError, J as JSONDataNotConvertibleToStringError, K as KeyInvalidatedError, t as KeystoreUnavailableError, M as MissingAttestationObjectError, u as MissingAuthorizationCredentialIDTokenError, v as MissingGoogleClientIDError, w as MissingPKCEError, x as MissingPublicKeyError, y as MissingUrlError, N as NoBiometricsEnrolledError, z as NoBiometricsRegistrationError, E as NoCredentialsPresentError, G as NoCurrentSessionError, O as OAuthProviders, b as OTPMethods, e as OneTapPositions, H as PasskeysInvalidEncoding, L as PasskeysMisconfigured, Q as PasskeysUnsupportedError, P as Products, R as RNUIProducts, T as RandomNumberGenerationFailed, U as SDKAPIUnreachableError, V as SDKNotConfiguredError, X as SignInWithAppleMisconfigured, c as StytchAPIError, Y as StytchAPISchemaError, Z as StytchAPIUnreachableError, $ as StytchError, S as StytchEventType, a0 as StytchSDKAPIError, f as StytchSDKError, a1 as StytchSDKSchemaError, a2 as StytchSDKUsageError, a3 as UNRECOVERABLE_ERROR_TYPES, a4 as UserCancellationError, a5 as UserLockedOutError, W as Wallets, a6 as errorToStytchError } from '../internal-CfUZ681R.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var b2b_index_headless = require('../index.headless-
|
|
3
|
+
var b2b_index_headless = require('../index.headless-CL2Gf2QN.js');
|
|
4
4
|
var internal = require('../internal-BNX5AEoW.js');
|
|
5
5
|
exports.StytchB2BHeadlessClient = b2b_index_headless.StytchB2BHeadlessClient;
|
|
6
6
|
Object.defineProperty(exports, "AuthFlowType", {
|
package/dist/b2b/index.js
CHANGED
|
@@ -29,7 +29,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
29
29
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
30
30
|
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); }
|
|
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 b2b_index_headless = require('../index.headless-
|
|
32
|
+
var b2b_index_headless = require('../index.headless-CL2Gf2QN.js');
|
|
33
33
|
var extractErrorMessage = require('../extractErrorMessage-Dg5V9q2V.js');
|
|
34
34
|
var internal = require('../internal-BNX5AEoW.js');
|
|
35
35
|
var DEFAULT_MFA_STATE = {
|
|
@@ -4696,7 +4696,7 @@ var CountrySelector = function CountrySelector(_ref74) {
|
|
|
4696
4696
|
}, countryCode !== country ? "+".concat(countryNumber, " ").concat(countryFormatter.of(countryCode)) : "+".concat(countryNumber));
|
|
4697
4697
|
}));
|
|
4698
4698
|
};
|
|
4699
|
-
var PhoneStyledInput = extractErrorMessage.He(Input)(_templateObject42 || (_templateObject42 = _taggedTemplateLiteral(["\n flex-grow: 1;\n"])));
|
|
4699
|
+
var PhoneStyledInput = extractErrorMessage.He(Input)(_templateObject42 || (_templateObject42 = _taggedTemplateLiteral(["\n flex-grow: 1;\n min-width: 100px;\n"])));
|
|
4700
4700
|
var PhoneInput = function PhoneInput(_ref77) {
|
|
4701
4701
|
var phone = _ref77.phone,
|
|
4702
4702
|
setPhone = _ref77.setPhone,
|