@stytch/vanilla-js 5.0.0 → 5.1.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.
@@ -194,6 +194,7 @@ exports.StytchEventType = void 0;
194
194
  StytchEventType["PasskeyAuthenticate"] = "PASSKEY_AUTHENTICATE";
195
195
  StytchEventType["PasskeySkip"] = "PASSKEY_SKIP";
196
196
  StytchEventType["PasskeyDone"] = "PASSKEY_DONE";
197
+ StytchEventType["AuthenticateFlowComplete"] = "AUTHENTICATE_FLOW_COMPLETE";
197
198
  StytchEventType["B2BMagicLinkEmailLoginOrSignup"] = "B2B_MAGIC_LINK_EMAIL_LOGIN_OR_SIGNUP";
198
199
  StytchEventType["B2BMagicLinkAuthenticate"] = "B2B_MAGIC_LINK_AUTHENTICATE";
199
200
  StytchEventType["B2BMagicLinkEmailDiscoverySend"] = "B2B_MAGIC_LINK_EMAIL_DISCOVERY_SEND";
@@ -192,6 +192,7 @@ var StytchEventType;
192
192
  StytchEventType["PasskeyAuthenticate"] = "PASSKEY_AUTHENTICATE";
193
193
  StytchEventType["PasskeySkip"] = "PASSKEY_SKIP";
194
194
  StytchEventType["PasskeyDone"] = "PASSKEY_DONE";
195
+ StytchEventType["AuthenticateFlowComplete"] = "AUTHENTICATE_FLOW_COMPLETE";
195
196
  StytchEventType["B2BMagicLinkEmailLoginOrSignup"] = "B2B_MAGIC_LINK_EMAIL_LOGIN_OR_SIGNUP";
196
197
  StytchEventType["B2BMagicLinkAuthenticate"] = "B2B_MAGIC_LINK_AUTHENTICATE";
197
198
  StytchEventType["B2BMagicLinkEmailDiscoverySend"] = "B2B_MAGIC_LINK_EMAIL_DISCOVERY_SEND";
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const ConfirmationScreen: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const ConfirmationScreen: () => React.JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import * as React from 'react';
2
- export declare const ConfirmationScreen: () => React.JSX.Element;
2
+ export declare const Confirmation: () => React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { EffectCallback } from 'react';
2
+ /**
3
+ * Run an effect only once, on mount
4
+ * @param effect An effect to run only once, on mount
5
+ */
6
+ export declare const useMountEffect: (effect: EffectCallback) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stytch/vanilla-js",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "description": "Stytch's official Javascript Client Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -38,7 +38,7 @@
38
38
  "hoistingLimits": "workspaces"
39
39
  },
40
40
  "dependencies": {
41
- "@stytch/core": "2.23.1",
41
+ "@stytch/core": "2.24.0",
42
42
  "@types/google-one-tap": "^1.2.0",
43
43
  "type-fest": "4.15.0"
44
44
  },