mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
[PM-5972] add subaddress generator strategy (#7897)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/** Settings supported when generating an email subaddress */
|
||||
export type SubaddressGenerationOptions = {
|
||||
type?: "random" | "website-name";
|
||||
email?: string;
|
||||
};
|
||||
|
||||
/** The default options for email subaddress generation. */
|
||||
export const DefaultSubaddressOptions: Partial<SubaddressGenerationOptions> = Object.freeze({
|
||||
type: "random",
|
||||
});
|
||||
Reference in New Issue
Block a user