summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/helpers/toUint8Array.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2021-02-02 14:28:07 -0800
committerMatthew Miller <matthew@millerti.me>2021-02-02 14:28:07 -0800
commit52eebc5bcc5c7e48f2cd1d74ed43c9ba46bc61f5 (patch)
tree0fc46f1c860423ec073cf26990c5059dc3ae5045 /packages/browser/src/helpers/toUint8Array.ts
parent0ae478ab58b0826daba32ed9d854cb3f3fd3cba7 (diff)
Remove unused Browser helper
Diffstat (limited to 'packages/browser/src/helpers/toUint8Array.ts')
-rw-r--r--packages/browser/src/helpers/toUint8Array.ts7
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);
-}