authhero 5.1.0 → 5.2.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/authhero.cjs +92 -92
- package/dist/authhero.d.ts +33 -1
- package/dist/authhero.mjs +2633 -2553
- package/dist/stats.html +1 -1
- package/package.json +2 -2
package/dist/authhero.d.ts
CHANGED
|
@@ -56346,10 +56346,42 @@ export interface MailgunEmailServiceOptions {
|
|
|
56346
56346
|
fetchImpl?: typeof fetch;
|
|
56347
56347
|
}
|
|
56348
56348
|
export declare class MailgunEmailService implements EmailServiceAdapter {
|
|
56349
|
-
private readonly
|
|
56349
|
+
private readonly options;
|
|
56350
56350
|
constructor(options?: MailgunEmailServiceOptions);
|
|
56351
56351
|
send(params: EmailServiceSendParams): Promise<void>;
|
|
56352
56352
|
}
|
|
56353
|
+
export declare const resendCredentialsSchema: z.ZodObject<{
|
|
56354
|
+
api_key: z.ZodString;
|
|
56355
|
+
}, "strip", z.ZodTypeAny, {
|
|
56356
|
+
api_key: string;
|
|
56357
|
+
}, {
|
|
56358
|
+
api_key: string;
|
|
56359
|
+
}>;
|
|
56360
|
+
export type ResendCredentials = z.infer<typeof resendCredentialsSchema>;
|
|
56361
|
+
export interface ResendEmailServiceOptions {
|
|
56362
|
+
fetchImpl?: typeof fetch;
|
|
56363
|
+
}
|
|
56364
|
+
export declare class ResendEmailService implements EmailServiceAdapter {
|
|
56365
|
+
private readonly options;
|
|
56366
|
+
constructor(options?: ResendEmailServiceOptions);
|
|
56367
|
+
send(params: EmailServiceSendParams): Promise<void>;
|
|
56368
|
+
}
|
|
56369
|
+
export declare const postmarkCredentialsSchema: z.ZodObject<{
|
|
56370
|
+
api_key: z.ZodString;
|
|
56371
|
+
}, "strip", z.ZodTypeAny, {
|
|
56372
|
+
api_key: string;
|
|
56373
|
+
}, {
|
|
56374
|
+
api_key: string;
|
|
56375
|
+
}>;
|
|
56376
|
+
export type PostmarkCredentials = z.infer<typeof postmarkCredentialsSchema>;
|
|
56377
|
+
export interface PostmarkEmailServiceOptions {
|
|
56378
|
+
fetchImpl?: typeof fetch;
|
|
56379
|
+
}
|
|
56380
|
+
export declare class PostmarkEmailService implements EmailServiceAdapter {
|
|
56381
|
+
private readonly options;
|
|
56382
|
+
constructor(options?: PostmarkEmailServiceOptions);
|
|
56383
|
+
send(params: EmailServiceSendParams): Promise<void>;
|
|
56384
|
+
}
|
|
56353
56385
|
/**
|
|
56354
56386
|
* Register a background promise tied to the current request.
|
|
56355
56387
|
*
|