@authsignal/browser 0.3.5 → 0.3.7
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/dist/api/passkey-api-client.d.ts +1 -2
- package/dist/api/types.d.ts +1 -1
- package/dist/authsignal.d.ts +2 -0
- package/dist/index.js +873 -1354
- package/dist/index.min.js +1 -2
- package/package.json +3 -3
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { KyInstance } from "ky/distribution/types/ky";
|
|
2
1
|
import { AddAuthenticatorRequest, AddAuthenticatorResponse, AuthenticationOptsRequest, AuthenticationOptsResponse, RegistrationOptsRequest, RegistrationOptsResponse, VerifyRequest, VerifyResponse } from "./types";
|
|
3
2
|
declare type PasskeyApiClientOptions = {
|
|
4
3
|
baseUrl: string;
|
|
@@ -6,7 +5,7 @@ declare type PasskeyApiClientOptions = {
|
|
|
6
5
|
};
|
|
7
6
|
export declare class PasskeyApiClient {
|
|
8
7
|
tenantId: string;
|
|
9
|
-
|
|
8
|
+
baseUrl: string;
|
|
10
9
|
constructor({ baseUrl, tenantId }: PasskeyApiClientOptions);
|
|
11
10
|
registrationOptions({ token, userName }: RegistrationOptsRequest): Promise<RegistrationOptsResponse>;
|
|
12
11
|
authenticationOptions({ token }: AuthenticationOptsRequest): Promise<AuthenticationOptsResponse>;
|
package/dist/api/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AuthenticationResponseJSON, PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON } from "@simplewebauthn/
|
|
1
|
+
import { AuthenticationResponseJSON, PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON } from "@simplewebauthn/types";
|
|
2
2
|
export declare type RegistrationOptsRequest = {
|
|
3
3
|
userName?: string;
|
|
4
4
|
token: string;
|
package/dist/authsignal.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { AuthsignalOptions, LaunchOptions, TokenPayload } from "./types";
|
|
|
2
2
|
import { Passkey } from "./passkey";
|
|
3
3
|
export declare class Authsignal {
|
|
4
4
|
anonymousId: string;
|
|
5
|
+
profilingId: string;
|
|
5
6
|
cookieDomain: string;
|
|
6
7
|
anonymousIdCookieName: string;
|
|
7
8
|
passkey: Passkey;
|
|
@@ -16,6 +17,7 @@ export declare class Authsignal {
|
|
|
16
17
|
launch(url: string, options?: {
|
|
17
18
|
mode: "window";
|
|
18
19
|
} & LaunchOptions): Promise<TokenPayload>;
|
|
20
|
+
initAdvancedProfiling(baseUrl?: string): void;
|
|
19
21
|
private launchWithRedirect;
|
|
20
22
|
private launchWithPopup;
|
|
21
23
|
private launchWithWindow;
|