We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1309ba2 commit 706b572Copy full SHA for 706b572
src/utils.ts
@@ -7,7 +7,7 @@ export const toObject = <T = any>(data: any) => {
7
// return String(data);
8
};
9
/** md5 hash */
10
-export const md5 = (data: BinaryLike) => createHash("md5").update(data).digest()
+export const md5 = (data: BinaryLike) => createHash("md5").update(data).digest().toString();
11
export function isEmpty<T>(data: T) {
12
if (!data) return true;
13
if (typeof data !== "object") return false
0 commit comments