export function sanitizePeerConfigSnapshotForLog(snapshot) {
    return {
        ...snapshot,
        global: snapshot.global ? { ...snapshot.global, auth: undefined } : undefined,
        cwdLayer: snapshot.cwdLayer ? { ...snapshot.cwdLayer, auth: undefined } : undefined,
    };
}
//# sourceMappingURL=types.js.map