@stytch/vanilla-js 4.18.2 → 5.0.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @stytch/vanilla-js
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 3c39a997: Upgrades the Vanilla JS SDK to use a new backend implementation with increased performance, support tooling, and end-to-end observability
8
+
3
9
  ## 4.18.2
4
10
 
5
11
  ### Patch Changes
@@ -4,10 +4,10 @@ import { B2BSubscriptionDataLayer, ConsumerSubscriptionDataLayer } from './Subsc
4
4
  export declare class NetworkClient implements INetworkClient {
5
5
  private _publicToken;
6
6
  private _subscriptionDataLayer;
7
- private baseURL;
8
7
  private additionalTelemetryDataFn;
9
8
  private eventLogger;
10
- constructor(_publicToken: string, _subscriptionDataLayer: ConsumerSubscriptionDataLayer | B2BSubscriptionDataLayer, baseURL: string, additionalTelemetryDataFn: () => AdditionalTelemetryData);
9
+ private readonly baseURL;
10
+ constructor(_publicToken: string, _subscriptionDataLayer: ConsumerSubscriptionDataLayer | B2BSubscriptionDataLayer, _liveAPIURL: string, _testAPIURL: string, additionalTelemetryDataFn: () => AdditionalTelemetryData);
11
11
  updateSessionToken: () => null;
12
12
  logEvent({ name, details, error, }: {
13
13
  name: string;
@@ -18,7 +18,6 @@ export declare class StytchHeadlessClient {
18
18
  private readonly _subscriptionService;
19
19
  private readonly _sessionManager;
20
20
  private readonly _networkClient;
21
- private readonly _apiNetworkClient;
22
21
  private readonly _dataLayer;
23
22
  private readonly _stateChangeClient;
24
23
  user: IHeadlessUserClient;