@stytch/vanilla-js 0.9.1 → 0.9.3

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @stytch/vanilla-js
2
2
 
3
+ ## 0.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix cookie options
8
+
9
+ ## 0.9.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Release Stytch Client Options
14
+ - Updated dependencies
15
+ - @stytch/core@0.5.1
16
+
3
17
  ## 0.9.1
4
18
 
5
19
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IHeadlessCryptoWalletClient, IHeadlessMagicLinksClient, IHeadlessOAuthClient, IHeadlessOTPsClient, IHeadlessPasswordClient, IHeadlessSessionClient, IHeadlessUserClient, IHeadlessTOTPClient, IHeadlessWebAuthnClient, Callbacks, StytchLoginConfig, StyleConfig } from "@stytch/core/public";
1
+ import { IHeadlessCryptoWalletClient, IHeadlessMagicLinksClient, IHeadlessOAuthClient, IHeadlessOTPsClient, IHeadlessPasswordClient, IHeadlessSessionClient, IHeadlessUserClient, IHeadlessTOTPClient, IHeadlessWebAuthnClient, StytchClientOptions, Callbacks, StytchLoginConfig, StyleConfig } from "@stytch/core/public";
2
2
  /**
3
3
  * A headless client used for invoking the Stytch API.
4
4
  * The Stytch Headless Client can be used as a drop-in solution for authentication and session management.
@@ -27,7 +27,7 @@ declare class StytchHeadlessClient {
27
27
  totps: IHeadlessTOTPClient;
28
28
  webauthn: IHeadlessWebAuthnClient;
29
29
  passwords: IHeadlessPasswordClient;
30
- constructor(_PUBLIC_TOKEN: string);
30
+ constructor(_PUBLIC_TOKEN: string, options?: StytchClientOptions);
31
31
  }
32
32
  /**
33
33
  * A client used for invoking the Stytch API an.
@@ -1,4 +1,4 @@
1
- import { IHeadlessCryptoWalletClient, IHeadlessMagicLinksClient, IHeadlessOAuthClient, IHeadlessOTPsClient, IHeadlessPasswordClient, IHeadlessSessionClient, IHeadlessUserClient, IHeadlessTOTPClient, IHeadlessWebAuthnClient, Callbacks, StytchLoginConfig, StyleConfig } from "@stytch/core/public";
1
+ import { IHeadlessCryptoWalletClient, IHeadlessMagicLinksClient, IHeadlessOAuthClient, IHeadlessOTPsClient, IHeadlessPasswordClient, IHeadlessSessionClient, IHeadlessUserClient, IHeadlessTOTPClient, IHeadlessWebAuthnClient, StytchClientOptions, Callbacks, StytchLoginConfig, StyleConfig } from "@stytch/core/public";
2
2
  /**
3
3
  * A headless client used for invoking the Stytch API.
4
4
  * The Stytch Headless Client can be used as a drop-in solution for authentication and session management.
@@ -27,7 +27,7 @@ declare class StytchHeadlessClient {
27
27
  totps: IHeadlessTOTPClient;
28
28
  webauthn: IHeadlessWebAuthnClient;
29
29
  passwords: IHeadlessPasswordClient;
30
- constructor(_PUBLIC_TOKEN: string);
30
+ constructor(_PUBLIC_TOKEN: string, options?: StytchClientOptions);
31
31
  }
32
32
  /**
33
33
  * A client used for invoking the Stytch API an.