@stytch/vanilla-js 5.7.0 → 5.9.0

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +1 -1
  3. package/dist/adminPortal/index.esm.js +2 -2
  4. package/dist/adminPortal/index.js +2 -2
  5. package/dist/adminPortal/settings/AdminPortalOrgSettings.d.ts +1 -0
  6. package/dist/b2b/index.esm.js +2602 -2181
  7. package/dist/b2b/index.headless.esm.js +3 -3
  8. package/dist/b2b/index.headless.js +2 -2
  9. package/dist/b2b/index.js +2607 -2186
  10. package/dist/{extractErrorMessage-ZR2dlrSk.js → extractErrorMessage-C0TeBTBa.js} +4 -4
  11. package/dist/{extractErrorMessage-DK-YyUyE.js → extractErrorMessage-CYXucHbA.js} +5 -5
  12. package/dist/index.esm.js +1 -1
  13. package/dist/index.headless.esm.js +2 -1
  14. package/dist/index.headless.js +2 -1
  15. package/dist/index.js +1 -1
  16. package/dist/{internal-yKvEN9N6.js → internal-BeiYVaO7.js} +2 -1
  17. package/dist/{internal-DB9djgAd.js → internal-HC6WhS3G.js} +3 -2
  18. package/dist/ui/b2b/GlobalContextProvider.d.ts +11 -5
  19. package/dist/ui/b2b/generateProductComponentsOrdering.d.ts +4 -4
  20. package/dist/ui/b2b/getOtpCodeExpiration.d.ts +1 -0
  21. package/dist/ui/b2b/hooks/useEmailOtpDiscoverySend.d.ts +5 -0
  22. package/dist/ui/b2b/hooks/useEmailOtpLoginOrSignup.d.ts +6 -0
  23. package/dist/ui/b2b/hooks/useEmlDiscoverySend.d.ts +5 -0
  24. package/dist/ui/b2b/hooks/useEmlLoginOrSignup.d.ts +6 -0
  25. package/dist/ui/b2b/reducer.d.ts +7 -2
  26. package/dist/ui/b2b/screens/EmailForm.d.ts +3 -0
  27. package/dist/ui/b2b/screens/EmailMethodSelectionScreen.d.ts +2 -0
  28. package/dist/ui/b2b/screens/EmailOTPEntryScreen.d.ts +2 -0
  29. package/dist/ui/b2b/utils.d.ts +2 -1
  30. package/dist/ui/components/LoadingButton.d.ts +8 -0
  31. package/dist/ui/components/MenuButton.d.ts +6 -0
  32. package/dist/ui/components/SubmitButton.d.ts +1 -1
  33. package/dist/utils/StyledComponentProps.d.ts +2 -0
  34. package/package.json +2 -2
  35. package/dist/ui/b2b/screens/MagicLinkForm.d.ts +0 -3
@@ -29,7 +29,7 @@ function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf
29
29
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
30
30
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
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-yKvEN9N6.js');
32
+ var internal = require('./internal-BeiYVaO7.js');
33
33
  var n$3,
34
34
  l$4,
35
35
  u$3,
@@ -3469,6 +3469,9 @@ lodash_merge.exports;
3469
3469
  })(lodash_merge, lodash_merge.exports);
3470
3470
  var lodash_mergeExports = lodash_merge.exports;
3471
3471
  var merge = /*@__PURE__*/getDefaultExportFromCjs(lodash_mergeExports);
3472
+ var passwordManagerDisableAutofillProps = {
3473
+ 'data-1p-ignore': true
3474
+ };
3472
3475
  var shim = {
3473
3476
  exports: {}
3474
3477
  };
@@ -4488,9 +4491,6 @@ var unstable_serialize = function unstable_serialize(key) {
4488
4491
  return serialize(key)[0];
4489
4492
  };
4490
4493
  var useSWR = withArgs(useSWRHandler);
4491
- var passwordManagerDisableAutofillProps = {
4492
- 'data-1p-ignore': true
4493
- };
4494
4494
  var extractErrorMessage = function extractErrorMessage(error) {
4495
4495
  if (error && _typeof(error) === 'object') {
4496
4496
  if ('error_message' in error && typeof error.error_message === 'string') {
@@ -27,7 +27,7 @@ function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf
27
27
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
28
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
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-DB9djgAd.js';
30
+ import { O as OAuthProviders } from './internal-HC6WhS3G.js';
31
31
  var n$3,
32
32
  l$4,
33
33
  u$3,
@@ -3467,6 +3467,9 @@ lodash_merge.exports;
3467
3467
  })(lodash_merge, lodash_merge.exports);
3468
3468
  var lodash_mergeExports = lodash_merge.exports;
3469
3469
  var merge = /*@__PURE__*/getDefaultExportFromCjs(lodash_mergeExports);
3470
+ var passwordManagerDisableAutofillProps = {
3471
+ 'data-1p-ignore': true
3472
+ };
3470
3473
  var shim = {
3471
3474
  exports: {}
3472
3475
  };
@@ -4486,9 +4489,6 @@ var unstable_serialize = function unstable_serialize(key) {
4486
4489
  return serialize(key)[0];
4487
4490
  };
4488
4491
  var useSWR = withArgs(useSWRHandler);
4489
- var passwordManagerDisableAutofillProps = {
4490
- 'data-1p-ignore': true
4491
- };
4492
4492
  var extractErrorMessage = function extractErrorMessage(error) {
4493
4493
  if (error && _typeof(error) === 'object') {
4494
4494
  if ('error_message' in error && typeof error.error_message === 'string') {
@@ -4499,4 +4499,4 @@ var extractErrorMessage = function extractErrorMessage(error) {
4499
4499
  }
4500
4500
  }
4501
4501
  };
4502
- export { A$3 as A, F$4 as B, CreateSSRSafeWebComponent as C, A$4 as D, j$1 as E, F$3 as F, getAugmentedNamespace as G, He as H, require$$2 as I, getDefaultExportFromCjs as J, Cn as K, unstable_serialize as L, createCacheHelper as M, N$1 as N, isUndefined as O, shimExports as P, isFunction as Q, T$2 as T, UNDEFINED as U, Ze as Z, _$1 as _, w$3 as a, withMiddleware as b, useSWRConfig as c, useStateWithDeps as d, mergeObjects as e, getTimestamp as f, g$5 as g, h$4 as h, isTruthy as i, useIsomorphicLayoutEffect as j, Ue as k, passwordManagerDisableAutofillProps as l, merge as m, extractErrorMessage as n, Fe as o, p$3 as p, q$5 as q, hoistNonReactStatics$1 as r, serialize as s, fn as t, useSWR as u, y$2 as v, wn as w, vn as x, y$3 as y, sn as z };
4502
+ export { A$3 as A, F$4 as B, CreateSSRSafeWebComponent as C, A$4 as D, j$1 as E, F$3 as F, getAugmentedNamespace as G, He as H, require$$2 as I, getDefaultExportFromCjs as J, Cn as K, unstable_serialize as L, createCacheHelper as M, N$1 as N, isUndefined as O, shimExports as P, isFunction as Q, T$2 as T, Ue as U, Ze as Z, _$1 as _, w$3 as a, passwordManagerDisableAutofillProps as b, withMiddleware as c, useSWRConfig as d, useStateWithDeps as e, mergeObjects as f, g$5 as g, h$4 as h, isTruthy as i, getTimestamp as j, UNDEFINED as k, useIsomorphicLayoutEffect as l, merge as m, extractErrorMessage as n, Fe as o, p$3 as p, q$5 as q, hoistNonReactStatics$1 as r, serialize as s, fn as t, useSWR as u, y$2 as v, wn as w, vn as x, y$3 as y, sn as z };