fix(core): update

This commit is contained in:
2020-12-31 04:11:33 +00:00
parent c517652122
commit 25d0ba8036
4 changed files with 31 additions and 13 deletions

View File

@ -21,9 +21,9 @@ export const createRandomString = (
};
/**
* creates a crytic string in the speicifed length
* creates a cryptic string in the speicifed length
* @param lengthArg the length of the crypto string
*/
export const createCryptoRandomString = (lengthArg: number): string => {
return plugins.cryptoRandomString(lengthArg);
return plugins.nanoid(lengthArg);
};