@stytch/vanilla-js 5.7.0 → 5.8.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.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/dist/adminPortal/index.esm.js +2 -2
- package/dist/adminPortal/index.js +2 -2
- package/dist/adminPortal/settings/AdminPortalOrgSettings.d.ts +1 -0
- package/dist/b2b/index.esm.js +2628 -2186
- package/dist/b2b/index.headless.esm.js +3 -3
- package/dist/b2b/index.headless.js +2 -2
- package/dist/b2b/index.js +2633 -2191
- package/dist/{extractErrorMessage-ZR2dlrSk.js → extractErrorMessage-C0TeBTBa.js} +4 -4
- package/dist/{extractErrorMessage-DK-YyUyE.js → extractErrorMessage-CYXucHbA.js} +5 -5
- package/dist/index.esm.js +1 -1
- package/dist/index.headless.esm.js +2 -1
- package/dist/index.headless.js +2 -1
- package/dist/index.js +1 -1
- package/dist/{internal-yKvEN9N6.js → internal-BeiYVaO7.js} +2 -1
- package/dist/{internal-DB9djgAd.js → internal-HC6WhS3G.js} +3 -2
- package/dist/ui/b2b/GlobalContextProvider.d.ts +11 -4
- package/dist/ui/b2b/generateProductComponentsOrdering.d.ts +4 -4
- package/dist/ui/b2b/getOtpCodeExpiration.d.ts +1 -0
- package/dist/ui/b2b/hooks/useEmailOtpDiscoverySend.d.ts +5 -0
- package/dist/ui/b2b/hooks/useEmailOtpLoginOrSignup.d.ts +6 -0
- package/dist/ui/b2b/hooks/useEmlDiscoverySend.d.ts +5 -0
- package/dist/ui/b2b/hooks/useEmlLoginOrSignup.d.ts +6 -0
- package/dist/ui/b2b/reducer.d.ts +7 -1
- package/dist/ui/b2b/screens/EmailForm.d.ts +3 -0
- package/dist/ui/b2b/screens/EmailMethodSelectionScreen.d.ts +2 -0
- package/dist/ui/b2b/screens/EmailOTPEntryScreen.d.ts +2 -0
- package/dist/ui/b2b/utils.d.ts +2 -1
- package/dist/ui/components/LoadingButton.d.ts +8 -0
- package/dist/ui/components/MenuButton.d.ts +6 -0
- package/dist/ui/components/SubmitButton.d.ts +1 -1
- package/dist/utils/StyledComponentProps.d.ts +2 -0
- package/package.json +2 -2
- package/dist/ui/b2b/screens/MagicLinkForm.d.ts +0 -3
|
@@ -707,6 +707,7 @@ function errorToStytchError(error) {
|
|
|
707
707
|
var B2BProducts;
|
|
708
708
|
(function (B2BProducts) {
|
|
709
709
|
B2BProducts["emailMagicLinks"] = "emailMagicLinks";
|
|
710
|
+
B2BProducts["emailOtp"] = "emailOtp";
|
|
710
711
|
B2BProducts["sso"] = "sso";
|
|
711
712
|
B2BProducts["passwords"] = "passwords";
|
|
712
713
|
B2BProducts["oauth"] = "oauth";
|
|
@@ -5673,7 +5674,7 @@ var internalSymB2C = Symbol["for"]('stytch__internal_b2c');
|
|
|
5673
5674
|
var writeB2CInternals = function writeB2CInternals(obj, internals) {
|
|
5674
5675
|
Object.assign(obj, _defineProperty({}, internalSymB2C, internals));
|
|
5675
5676
|
};
|
|
5676
|
-
var version = "5.
|
|
5677
|
+
var version = "5.8.0";
|
|
5677
5678
|
var NetworkClient = /*#__PURE__*/function () {
|
|
5678
5679
|
function NetworkClient(_publicToken, _subscriptionDataLayer, _liveAPIURL, _testAPIURL, additionalTelemetryDataFn) {
|
|
5679
5680
|
_classCallCheck2(this, NetworkClient);
|
package/dist/index.headless.js
CHANGED
|
@@ -709,6 +709,7 @@ function errorToStytchError(error) {
|
|
|
709
709
|
exports.B2BProducts = void 0;
|
|
710
710
|
(function (B2BProducts) {
|
|
711
711
|
B2BProducts["emailMagicLinks"] = "emailMagicLinks";
|
|
712
|
+
B2BProducts["emailOtp"] = "emailOtp";
|
|
712
713
|
B2BProducts["sso"] = "sso";
|
|
713
714
|
B2BProducts["passwords"] = "passwords";
|
|
714
715
|
B2BProducts["oauth"] = "oauth";
|
|
@@ -5675,7 +5676,7 @@ var internalSymB2C = Symbol["for"]('stytch__internal_b2c');
|
|
|
5675
5676
|
var writeB2CInternals = function writeB2CInternals(obj, internals) {
|
|
5676
5677
|
Object.assign(obj, _defineProperty({}, internalSymB2C, internals));
|
|
5677
5678
|
};
|
|
5678
|
-
var version = "5.
|
|
5679
|
+
var version = "5.8.0";
|
|
5679
5680
|
var NetworkClient = /*#__PURE__*/function () {
|
|
5680
5681
|
function NetworkClient(_publicToken, _subscriptionDataLayer, _liveAPIURL, _testAPIURL, additionalTelemetryDataFn) {
|
|
5681
5682
|
_classCallCheck2(this, NetworkClient);
|