initial public commit

This commit is contained in:
2026-02-22 21:26:15 -05:00
commit 9dbf7ae796
100 changed files with 18823 additions and 0 deletions

11
dist-node/utils.js Normal file
View File

@@ -0,0 +1,11 @@
import base32 from "base32.js";
const base32Encode = (payload) => {
const encoder = new base32.Encoder({ type: "rfc4648" });
return encoder.write(payload).finalize();
};
const getValueOrFirstEntry = (value) => Array.isArray(value) && value.length ? value[0] : value;
export {
base32Encode,
getValueOrFirstEntry
};
//# sourceMappingURL=utils.js.map