Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / packages / shared / lib / keys / userKeys.ts
blobb9d88b464a4443dd2cad3231f62930d8e4516376
1 import type { GenerateAddressKeyArguments } from './addressKeys';
2 import { generateAddressKey } from './addressKeys';
4 export const USER_KEY_USERID = 'not_for_email_use@domain.tld';
6 export const generateUserKey = async (args: Omit<GenerateAddressKeyArguments, 'email' | 'name'>) => {
7     return generateAddressKey({ email: USER_KEY_USERID, ...args });
8 };