authhero 5.1.1 → 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 +32 -0
- package/dist/authhero.mjs +2625 -2545
- package/dist/stats.html +1 -1
- package/package.json +1 -1
package/dist/authhero.d.ts
CHANGED
|
@@ -56350,6 +56350,38 @@ export declare class MailgunEmailService implements EmailServiceAdapter {
|
|
|
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
|
*
|