@stytch/vanilla-js 5.4.0 → 5.5.1
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 +19 -0
- package/dist/adminPortal/components/DeleteConnection.d.ts +5 -2
- package/dist/adminPortal/components/Select.d.ts +2 -0
- package/dist/adminPortal/index.esm.js +1 -1
- package/dist/adminPortal/index.js +1 -1
- package/dist/adminPortal/scim/AdminPortalSCIM.d.ts +11 -1
- package/dist/adminPortal/scim/SCIMConnectionDangerZoneSection.d.ts +5 -0
- package/dist/adminPortal/scim/SCIMConnectionDetailsSection.d.ts +5 -0
- package/dist/adminPortal/scim/SCIMConnectionRoleAssignmentsSection.d.ts +7 -0
- package/dist/adminPortal/scim/SCIMConnectionTokenRotationSection.d.ts +5 -0
- package/dist/adminPortal/scim/mountAdminPortalSCIM.d.ts +1 -1
- package/dist/adminPortal/sso/AdminPortalSSO.d.ts +2 -2
- package/dist/adminPortal/sso/IdpInfo.d.ts +6 -2
- package/dist/adminPortal/sso/RoleAssignmentsSection.d.ts +2 -2
- package/dist/adminPortal/sso/SSONewConnectionConfigureScreen.d.ts +3 -3
- package/dist/adminPortal/sso/SSORouter.d.ts +7 -7
- package/dist/adminPortal/sso/TaggedConnection.d.ts +5 -2
- package/dist/adminPortal/utils/Connection.d.ts +1 -1
- package/dist/adminPortal/utils/ConnectionType.d.ts +1 -1
- package/dist/adminPortal/utils/getSsoRoleAssignments.d.ts +8 -0
- package/dist/adminPortal/utils/prependAsterisks.d.ts +1 -0
- package/dist/adminPortal/utils/useMutateScimConnection.d.ts +1 -1
- package/dist/adminPortal/utils/useMutateSsoConnection.d.ts +2 -5
- package/dist/b2b/index.esm.js +17 -11
- package/dist/b2b/index.headless.esm.js +1 -1
- package/dist/b2b/index.headless.js +1 -1
- package/dist/b2b/index.js +17 -11
- package/dist/index.esm.js +1 -1
- package/dist/index.headless.esm.js +1 -1
- package/dist/index.headless.js +1 -1
- package/dist/index.js +1 -1
- package/dist/ui/b2b/hooks/useEffectiveAuthConfig.d.ts +3 -3
- package/dist/ui/b2b/screens/OAuthButtons.d.ts +2 -2
- package/dist/utils/oauthProviderType.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { B2BOAuthProviders, B2BProducts } from '@stytch/core/public';
|
|
2
2
|
export declare const useEffectiveAuthConfig: () => {
|
|
3
3
|
products: B2BProducts[];
|
|
4
|
-
oauthProviderSettings:
|
|
4
|
+
oauthProviderSettings: {
|
|
5
5
|
type: B2BOAuthProviders;
|
|
6
|
-
|
|
6
|
+
one_tap: boolean;
|
|
7
7
|
customScopes: string[];
|
|
8
8
|
providerParams: Record<string, string>;
|
|
9
|
-
}
|
|
9
|
+
}[];
|
|
10
10
|
};
|
|
@@ -2,13 +2,13 @@ import { B2BOAuthProviders } from '@stytch/core/public';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
export declare const getCustomScopesForProvider: (oauthProvider: {
|
|
4
4
|
type: B2BOAuthProviders;
|
|
5
|
-
|
|
5
|
+
one_tap: boolean;
|
|
6
6
|
customScopes: string[];
|
|
7
7
|
providerParams: Record<string, string>;
|
|
8
8
|
}, oauthOptionsCustomScopes: string[] | undefined) => string[];
|
|
9
9
|
export declare const getProviderParamsForProvider: (oauthProvider: {
|
|
10
10
|
type: B2BOAuthProviders;
|
|
11
|
-
|
|
11
|
+
one_tap: boolean;
|
|
12
12
|
customScopes: string[];
|
|
13
13
|
providerParams: Record<string, string>;
|
|
14
14
|
}, oauthOptionsProviderParams: Record<string, string> | undefined, email: string | undefined) => Record<string, string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B2BOAuthProviderConfig, B2BOAuthProviders } from '@stytch/core/public';
|
|
2
2
|
export declare const getParamsFromB2BOAuthProviderConfig: (provider: B2BOAuthProviderConfig) => {
|
|
3
3
|
type: B2BOAuthProviders;
|
|
4
|
-
|
|
4
|
+
one_tap: boolean;
|
|
5
5
|
customScopes: string[];
|
|
6
6
|
providerParams: Record<string, string>;
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stytch/vanilla-js",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"description": "Stytch's official Javascript Client Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"hoistingLimits": "workspaces"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@stytch/core": "2.
|
|
42
|
+
"@stytch/core": "2.29.0",
|
|
43
43
|
"@types/google-one-tap": "^1.2.0",
|
|
44
44
|
"type-fest": "4.15.0"
|
|
45
45
|
},
|