Commit
·
2445c98
1
Parent(s):
d568eb7
Update index.js
Browse files
index.js
CHANGED
|
@@ -4,7 +4,7 @@ async function createApiError(res) {
|
|
| 4 |
throw new Error (await res.text());
|
| 5 |
}
|
| 6 |
|
| 7 |
-
function hexFromBytes(arr
|
| 8 |
if (globalThis.Buffer) {
|
| 9 |
return globalThis.Buffer.from(arr).toString("hex");
|
| 10 |
} else {
|
|
|
|
| 4 |
throw new Error (await res.text());
|
| 5 |
}
|
| 6 |
|
| 7 |
+
function hexFromBytes(arr) {
|
| 8 |
if (globalThis.Buffer) {
|
| 9 |
return globalThis.Buffer.from(arr).toString("hex");
|
| 10 |
} else {
|