1 import type { KeyGenConfig, KeyGenConfigV6 } from '../interfaces';
2 import type { GenerateAddressKeyArguments } from './addressKeys';
3 import { generateAddressKey } from './addressKeys';
5 export const USER_KEY_USERID = 'not_for_email_use@domain.tld';
7 export const generateUserKey = async <C extends KeyGenConfig | KeyGenConfigV6>(args: Omit<GenerateAddressKeyArguments<C>, 'email' | 'name'>) => {
8 return generateAddressKey({ email: USER_KEY_USERID, ...args });