authhero 4.87.0 → 4.89.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/dist/assets/u/widget/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/p-53f4e14a.entry.js +1 -0
- package/dist/assets/u/widget/p-e91b632f.entry.js +1 -0
- package/dist/authhero.cjs +295 -171
- package/dist/authhero.d.ts +17 -2
- package/dist/authhero.mjs +21017 -19753
- package/dist/stats.html +1 -1
- package/package.json +4 -4
- package/dist/assets/u/widget/p-5428e2e1.entry.js +0 -1
- package/dist/assets/u/widget/p-8514f73f.entry.js +0 -1
package/dist/authhero.d.ts
CHANGED
|
@@ -48666,6 +48666,7 @@ export interface GeoAdapter {
|
|
|
48666
48666
|
export interface AuthenticationMethodsAdapter {
|
|
48667
48667
|
create: (tenant_id: string, method: AuthenticationMethodInsert) => Promise<AuthenticationMethod>;
|
|
48668
48668
|
get: (tenant_id: string, method_id: string) => Promise<AuthenticationMethod | null>;
|
|
48669
|
+
getByCredentialId: (tenant_id: string, credential_id: string) => Promise<AuthenticationMethod | null>;
|
|
48669
48670
|
list: (tenant_id: string, user_id: string) => Promise<AuthenticationMethod[]>;
|
|
48670
48671
|
update: (tenant_id: string, method_id: string, data: AuthenticationMethodUpdate) => Promise<AuthenticationMethod>;
|
|
48671
48672
|
remove: (tenant_id: string, method_id: string) => Promise<boolean>;
|
|
@@ -48883,7 +48884,7 @@ export type Variables = {
|
|
|
48883
48884
|
auth0_client?: Auth0Client$1;
|
|
48884
48885
|
useragent?: string;
|
|
48885
48886
|
countryCode?: CountryCode;
|
|
48886
|
-
|
|
48887
|
+
outboxEventPromises?: Promise<string>[];
|
|
48887
48888
|
};
|
|
48888
48889
|
/**
|
|
48889
48890
|
* Interface for SAML signing implementations.
|
|
@@ -52264,7 +52265,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
52264
52265
|
};
|
|
52265
52266
|
} & {
|
|
52266
52267
|
json: {
|
|
52267
|
-
type: "push" | "email" | "phone" | "passkey" | "
|
|
52268
|
+
type: "push" | "email" | "phone" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "totp";
|
|
52268
52269
|
phone_number?: string | undefined;
|
|
52269
52270
|
friendly_name?: string | undefined;
|
|
52270
52271
|
confirmed?: boolean | undefined;
|
|
@@ -65161,6 +65162,20 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65161
65162
|
};
|
|
65162
65163
|
type: "webauthn-registration";
|
|
65163
65164
|
successAction: string;
|
|
65165
|
+
} | {
|
|
65166
|
+
options: {
|
|
65167
|
+
challenge: string;
|
|
65168
|
+
userVerification?: string | undefined;
|
|
65169
|
+
timeout?: number | undefined;
|
|
65170
|
+
rpId?: string | undefined;
|
|
65171
|
+
allowCredentials?: {
|
|
65172
|
+
type: string;
|
|
65173
|
+
id: string;
|
|
65174
|
+
transports?: string[] | undefined;
|
|
65175
|
+
}[] | undefined;
|
|
65176
|
+
};
|
|
65177
|
+
type: "webauthn-authentication" | "webauthn-authentication-conditional";
|
|
65178
|
+
successAction: string;
|
|
65164
65179
|
} | undefined;
|
|
65165
65180
|
navigateUrl?: string | undefined;
|
|
65166
65181
|
} | {
|