Add bufferToHex, re-export some stuff from nostr-editor

This commit is contained in:
Jon Staab
2025-05-09 12:31:14 -07:00
parent 96b1f8872c
commit d2ba0f6642
4 changed files with 12 additions and 2 deletions
-1
View File
@@ -101,7 +101,6 @@ class Accumulator {
if (typeof window === "undefined") {
// node.js
const crypto = require("crypto")
this.sha256 = async slice =>
new Uint8Array(crypto.createHash("sha256").update(slice).digest())
} else {