Skip to content
Sarj Workspace Sync

operations/canonical

@sarj-ai/workspace-sync/operations/canonical ยท Source

import { type JsonValue } from "./schemas.ts";
export declare function canonicalJson(value: JsonValue): string;
export declare function sha256Hex(value: JsonValue): Promise<string>;
export declare function sameJson(left: JsonValue, right: JsonValue): boolean;
export { bytesToHex } from "../runtime/sha256.ts";
export declare function hexToBytes(value: string): null | Uint8Array<ArrayBuffer>;