mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-10-09 09:59:45 +07:00
node_modules: update (#332)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
1 parent
c1dac70e3a
commit
6bf0a2f26a
95 files changed
+1102
-503
No files matched your search
+13
-1
@@ -30,11 +30,23 @@ declare class DKIM {
|
||||
constructor(options: DKIMOptions);
|
||||
sign(input: Readable | Buffer | string, extraOptions?: DKIMOptions): DKIMSignedStream;
|
||||
}
|
||||
/** The signer options without any key material */
|
||||
export type DKIMOptionalOptions = Omit<DKIMOptions, 'keys' | 'domainName' | 'keySelector' | 'privateKey'>;
|
||||
/** The signer options for a single key given as domainName, keySelector and privateKey */
|
||||
export type DKIMSingleKeyOptions = Omit<DKIMOptions, 'keys'>;
|
||||
/** The signer options for one or more keys given through `keys` */
|
||||
export type DKIMMultipleKeysOptions = DKIMOptionalOptions & {
|
||||
keys: DKIMKey | DKIMKey[];
|
||||
};
|
||||
/**
|
||||
* Type aliases in the layout of @types/nodemailer, so `DKIM.Options` style references keep working
|
||||
*/
|
||||
declare namespace DKIM {
|
||||
type Options = DKIMOptions;
|
||||
type SingleKeyOptions = Omit<DKIMOptions, 'keys'>;
|
||||
type OptionalOptions = DKIMOptionalOptions;
|
||||
type SingleKeyOptions = DKIMSingleKeyOptions;
|
||||
type MultipleKeysOptions = DKIMMultipleKeysOptions;
|
||||
}
|
||||
/** The same aliases as module level exports, for `import * as DKIM` and `import DKIM = require()` */
|
||||
export type { DKIMOptions as Options, DKIMOptionalOptions as OptionalOptions, DKIMSingleKeyOptions as SingleKeyOptions, DKIMMultipleKeysOptions as MultipleKeysOptions };
|
||||
export default DKIM;
|
||||
Reference in new issue
Block a user