diff options
Diffstat (limited to 'packages/browser/src/helpers')
-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); -} |