diff options
author | Matthew Miller <matthew@millerti.me> | 2021-02-02 14:28:07 -0800 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2021-02-02 14:28:07 -0800 |
commit | 52eebc5bcc5c7e48f2cd1d74ed43c9ba46bc61f5 (patch) | |
tree | 0fc46f1c860423ec073cf26990c5059dc3ae5045 | |
parent | 0ae478ab58b0826daba32ed9d854cb3f3fd3cba7 (diff) |
Remove unused Browser helper
-rw-r--r-- | packages/browser/src/helpers/toUint8Array.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/browser/src/helpers/toUint8Array.ts b/packages/browser/src/helpers/toUint8Array.ts deleted file mode 100644 index 1e2243f..0000000 --- a/packages/browser/src/helpers/toUint8Array.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * A helper method to convert an arbitrary string sent from the server to a Uint8Array the - * authenticator will expect. - */ -export default function toUint8Array(value: string): Uint8Array { - return new TextEncoder().encode(value); -} |