File tree 1 file changed +20
-5
lines changed
packages/next-auth/src/providers
1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { Transport , TransportOptions , createTransport } from "nodemailer"
2
- import * as JSONTransport from "nodemailer/lib/json-transport.js"
2
+ import * as JSONTransport from "nodemailer/lib/json-transport/index .js"
3
3
import * as SendmailTransport from "nodemailer/lib/sendmail-transport/index.js"
4
- import * as SESTransport from "nodemailer/lib/ses-transport.js"
4
+ import * as SESTransport from "nodemailer/lib/ses-transport/index .js"
5
5
import * as SMTPPool from "nodemailer/lib/smtp-pool/index.js"
6
- import * as SMTPTransport from "nodemailer/lib/smtp-transport.js"
7
- import * as StreamTransport from "nodemailer/lib/stream-transport.js"
6
+ import * as SMTPTransport from "nodemailer/lib/smtp-transport/index .js"
7
+ import * as StreamTransport from "nodemailer/lib/stream-transport/index .js"
8
8
import type { Awaitable } from ".."
9
9
import type { CommonProviderOptions } from "."
10
10
import type { Theme } from "../core/types"
11
11
12
12
// TODO: Make use of https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html for the string
13
- type AllTransportOptions = string | SMTPTransport | SMTPTransport . Options | SMTPPool | SMTPPool . Options | SendmailTransport | SendmailTransport . Options | StreamTransport | StreamTransport . Options | JSONTransport | JSONTransport . Options | SESTransport | SESTransport . Options | Transport < any > | TransportOptions
13
+ type AllTransportOptions =
14
+ | string
15
+ | SMTPTransport
16
+ | SMTPTransport . Options
17
+ | SMTPPool
18
+ | SMTPPool . Options
19
+ | SendmailTransport
20
+ | SendmailTransport . Options
21
+ | StreamTransport
22
+ | StreamTransport . Options
23
+ | JSONTransport
24
+ | JSONTransport . Options
25
+ | SESTransport
26
+ | SESTransport . Options
27
+ | Transport < any >
28
+ | TransportOptions
14
29
15
30
export interface SendVerificationRequestParams {
16
31
identifier : string
You can’t perform that action at this time.
1 commit comments
vercel[bot] commentedon Nov 28, 2023
Successfully deployed to the following URLs:
next-auth-docs – ./docs
next-auth-docs-authjs.vercel.app
v4.authjs.dev
next-auth.js.org
next-auth-docs-git-v4-authjs.vercel.app
next-auth-docs-dun.vercel.app
www.next-auth.js.org