Skip to content
PACKAGES

walFrameChecksum()

Hash the canonical WAL frame body, excluding the checksum field itself.

import { walFrameChecksum } from "@graphrefly/ts/storage";
function walFrameChecksum(body: WalFrameBody<T>): Promise<string>
ParameterTypeDescription
bodyWalFrameBody<T>body value used by the helper.

A Promise<string> value.

import { walFrameChecksum } from "@graphrefly/ts/storage";

packages/ts/src/storage/wal.ts