@stytch/react
Advanced tools
Comparing version 4.0.0 to 5.0.0
# @stytch/react | ||
## 5.0.0 | ||
### Patch Changes | ||
- Updated dependencies [f9c36c9] | ||
- @stytch/vanilla-js@1.0.0 | ||
## 4.0.0 | ||
@@ -4,0 +11,0 @@ |
@@ -194,4 +194,4 @@ /// <reference types="react" /> | ||
*/ | ||
declare const StytchB2B: ({ styles, callbacks, config }: StytchB2BProps) => JSX.Element; | ||
declare const StytchB2B: ({ styles, callbacks, config }: StytchB2BProps) => React.JSX.Element; | ||
export { StytchB2BProvider, useStytchB2BClient, useStytchMemberSession, useStytchMember, withStytchB2BClient, withStytchMemberSession, withStytchMember, StytchB2B }; | ||
export type { StytchB2BProviderProps }; |
@@ -194,4 +194,4 @@ /// <reference types="react" /> | ||
*/ | ||
declare const StytchB2B: ({ styles, callbacks, config }: StytchB2BProps) => JSX.Element; | ||
declare const StytchB2B: ({ styles, callbacks, config }: StytchB2BProps) => React.JSX.Element; | ||
export { StytchB2BProvider, useStytchB2BClient, useStytchMemberSession, useStytchMember, withStytchB2BClient, withStytchMemberSession, withStytchMember, StytchB2B }; | ||
export type { StytchB2BProviderProps }; |
/// <reference types="react" /> | ||
import React from "react"; | ||
import { ReactNode } from "react"; | ||
// We need to import the StytchUIClient type to give the TSDoc parser a hint as to where it is from | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
import { Callbacks, StytchLoginConfig, StyleConfig, User, Session, StytchUIClient } from "@stytch/vanilla-js"; | ||
import React from "react"; | ||
import { ReactNode } from "react"; | ||
import { StytchHeadlessClient } from "@stytch/vanilla-js/headless"; | ||
@@ -103,3 +103,3 @@ interface StytchProps { | ||
*/ | ||
declare const StytchLogin: ({ config, styles, callbacks }: StytchProps) => JSX.Element; | ||
declare const StytchLogin: ({ config, styles, callbacks }: StytchProps) => React.JSX.Element; | ||
interface StytchResetPasswordProps extends StytchProps { | ||
@@ -144,3 +144,3 @@ passwordResetToken: string; | ||
*/ | ||
declare const StytchPasswordReset: ({ config, styles, callbacks, passwordResetToken }: StytchResetPasswordProps) => JSX.Element; | ||
declare const StytchPasswordReset: ({ config, styles, callbacks, passwordResetToken }: StytchResetPasswordProps) => React.JSX.Element; | ||
/** | ||
@@ -147,0 +147,0 @@ * The Stytch Client object passed in to <StytchProvider /> in your application root. |
/// <reference types="react" /> | ||
import React from "react"; | ||
import { ReactNode } from "react"; | ||
// We need to import the StytchUIClient type to give the TSDoc parser a hint as to where it is from | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
import { Callbacks, StytchLoginConfig, StyleConfig, User, Session, StytchUIClient } from "@stytch/vanilla-js"; | ||
import React from "react"; | ||
import { ReactNode } from "react"; | ||
import { StytchHeadlessClient } from "@stytch/vanilla-js/headless"; | ||
@@ -103,3 +103,3 @@ interface StytchProps { | ||
*/ | ||
declare const StytchLogin: ({ config, styles, callbacks }: StytchProps) => JSX.Element; | ||
declare const StytchLogin: ({ config, styles, callbacks }: StytchProps) => React.JSX.Element; | ||
interface StytchResetPasswordProps extends StytchProps { | ||
@@ -144,3 +144,3 @@ passwordResetToken: string; | ||
*/ | ||
declare const StytchPasswordReset: ({ config, styles, callbacks, passwordResetToken }: StytchResetPasswordProps) => JSX.Element; | ||
declare const StytchPasswordReset: ({ config, styles, callbacks, passwordResetToken }: StytchResetPasswordProps) => React.JSX.Element; | ||
/** | ||
@@ -147,0 +147,0 @@ * The Stytch Client object passed in to <StytchProvider /> in your application root. |
{ | ||
"name": "@stytch/react", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "Stytch's official React Library", | ||
@@ -35,3 +35,3 @@ "main": "./dist/index.js", | ||
"@babel/runtime": "7.18.6", | ||
"@stytch/vanilla-js": "0.14.0", | ||
"@stytch/vanilla-js": "1.0.0", | ||
"@testing-library/react": "14.0.0", | ||
@@ -44,3 +44,3 @@ "eslint-config-custom": "0.0.1", | ||
"peerDependencies": { | ||
"@stytch/vanilla-js": "^0.14.0", | ||
"@stytch/vanilla-js": "^1.0.0", | ||
"react": ">= 17.0.2", | ||
@@ -47,0 +47,0 @@ "react-dom": ">= 17.0.2" |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
78271
0