@stytch/vanilla-js 5.15.0 → 5.16.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 +17 -0
- package/dist/StytchHeadlessClient.d.ts +2 -1
- package/dist/adminPortal/AdminPortalB2BProducts.d.ts +11 -0
- package/dist/adminPortal/components/Divider.d.ts +1 -1
- package/dist/adminPortal/components/SettingsSection.d.ts +1 -1
- package/dist/adminPortal/index.d.ts +1 -1
- package/dist/adminPortal/index.esm.js +1 -1
- package/dist/adminPortal/index.js +1 -1
- package/dist/adminPortal/settings/AdminPortalOrgSettings.d.ts +1 -11
- package/dist/adminPortal/shared/components/Typography.d.ts +1 -1
- package/dist/adminPortal/utils/isOauthMethod.d.ts +2 -0
- package/dist/adminPortal/utils/oAuthProviders.d.ts +1 -1
- package/dist/adminPortal/utils/useAllowedAuthMethods.d.ts +4 -0
- package/dist/adminPortal/utils/useAllowedMfaMethods.d.ts +2 -0
- package/dist/b2b/StytchB2BHeadlessClient.d.ts +1 -1
- package/dist/b2b/index.esm.js +1690 -1679
- package/dist/b2b/index.headless.esm.js +407 -407
- package/dist/b2b/index.headless.js +406 -406
- package/dist/b2b/index.js +1701 -1690
- package/dist/{extractErrorMessage-BrynWWN-.js → extractErrorMessage-BM4n36Tv.js} +1 -1
- package/dist/{extractErrorMessage-BeRZTaz9.js → extractErrorMessage-HMnBBd4l.js} +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.headless.esm.js +319 -262
- package/dist/index.headless.js +319 -262
- package/dist/index.js +1 -1
- package/dist/{internal-Bo90muiO.js → internal-Ce3H__v2.js} +1170 -1157
- package/dist/{internal-6_4VMEpz.js → internal-DPG_14Ie.js} +1169 -1156
- package/dist/ui/components/MainContainer.d.ts +7 -5
- package/dist/utils/index.d.ts +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @stytch/vanilla-js
|
|
2
2
|
|
|
3
|
+
## 5.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d5ed50c: Added User Impersonation to Consumer
|
|
8
|
+
- 9eb8e8c: Add dfpCdnDomain endpoint configuration
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 44db000: Improve appearance of nested headings within Admin Portal UI
|
|
13
|
+
- 327d692: Update watermark branding
|
|
14
|
+
- 550177f: Hide sections from Admin Portal user onboarding when corresponding auth methods are not allowed to be enabled
|
|
15
|
+
- Updated dependencies [8205f60]
|
|
16
|
+
- Updated dependencies [d5ed50c]
|
|
17
|
+
- Updated dependencies [9eb8e8c]
|
|
18
|
+
- @stytch/core@2.41.0
|
|
19
|
+
|
|
3
20
|
## 5.15.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StateChangeRegisterFunction } from '@stytch/core';
|
|
2
|
-
import { ConsumerState, IHeadlessCryptoWalletClient, IHeadlessMagicLinksClient, IHeadlessOTPsClient, IHeadlessPasswordClient, IHeadlessSessionClient, IHeadlessTOTPClient, IHeadlessUserClient, IHeadlessWebAuthnClient, StytchClientOptions, StytchProjectConfigurationInput } from '@stytch/core/public';
|
|
2
|
+
import { ConsumerState, IHeadlessCryptoWalletClient, IHeadlessMagicLinksClient, IHeadlessOTPsClient, IHeadlessPasswordClient, IHeadlessSessionClient, IHeadlessTOTPClient, IHeadlessUserClient, IHeadlessWebAuthnClient, IHeadlessImpersonationClient, StytchClientOptions, StytchProjectConfigurationInput } from '@stytch/core/public';
|
|
3
3
|
import { IWebOAuthClient } from './HeadlessOAuthClient';
|
|
4
4
|
/**
|
|
5
5
|
* A headless client used for invoking the Stytch API.
|
|
@@ -29,6 +29,7 @@ export declare class StytchHeadlessClient<TProjectConfiguration extends StytchPr
|
|
|
29
29
|
totps: IHeadlessTOTPClient<TProjectConfiguration>;
|
|
30
30
|
webauthn: IHeadlessWebAuthnClient<TProjectConfiguration>;
|
|
31
31
|
passwords: IHeadlessPasswordClient<TProjectConfiguration>;
|
|
32
|
+
impersonation: IHeadlessImpersonationClient<TProjectConfiguration>;
|
|
32
33
|
/**
|
|
33
34
|
* Register a callback function to be invoked whenever certain state changes
|
|
34
35
|
* occur, like a user or session object being updated.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum AdminPortalB2BProducts {
|
|
2
|
+
emailMagicLinks = "emailMagicLinks",
|
|
3
|
+
emailOtp = "emailOtp",
|
|
4
|
+
sso = "sso",
|
|
5
|
+
password = "password",
|
|
6
|
+
oauthGoogle = "oauthGoogle",
|
|
7
|
+
oauthMicrosoft = "oauthMicrosoft",
|
|
8
|
+
oauthHubspot = "oauthHubspot",
|
|
9
|
+
oauthSlack = "oauthSlack",
|
|
10
|
+
oauthGithub = "oauthGithub"
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const Divider: import("@emotion/styled").StyledComponent<import("@mui/material").DividerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLHRElement | null) => void) | import("react").RefObject<HTMLHRElement> | null | undefined;
|
|
4
|
-
}, "style" | "absolute" | "children" | "
|
|
4
|
+
}, "style" | "absolute" | "children" | "className" | "orientation" | "variant" | "light" | "textAlign" | "sx" | "classes" | "flexItem"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -3,5 +3,5 @@ export declare const SettingsSection: ({ children, title, tooltipText, titleVari
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
title: React.ReactNode;
|
|
5
5
|
tooltipText?: string | undefined;
|
|
6
|
-
titleVariant?: "h4" | "
|
|
6
|
+
titleVariant?: "h4" | "h5" | undefined;
|
|
7
7
|
}) => React.JSX.Element;
|
|
@@ -5,7 +5,7 @@ export { mountAdminPortalMemberManagement } from './memberManagement/mountAdminP
|
|
|
5
5
|
export { mountAdminPortalSCIM } from './scim/mountAdminPortalSCIM';
|
|
6
6
|
export type { AdminPortalSSOMountOptions } from './sso/mountAdminPortalSSO';
|
|
7
7
|
export type { AdminPortalOrgSettingsMountOptions } from './settings/mountAdminPortalOrgSettings';
|
|
8
|
-
export { AdminPortalB2BProducts } from './settings/AdminPortalOrgSettings';
|
|
9
8
|
export type { AdminPortalMemberManagementMountOptions } from './memberManagement/mountAdminPortalMemberManagement';
|
|
10
9
|
export type { AdminPortalSCIMMountOptions } from './scim/mountAdminPortalSCIM';
|
|
10
|
+
export { AdminPortalB2BProducts } from './AdminPortalB2BProducts';
|
|
11
11
|
export type { AdminPortalStyleConfig } from './AdminPortalStyleConfig';
|