Versions endpoint not working for dispatch namespace

For Workers & Pages, what is the name of the domain?

What is the issue or error you’re encountering

The versions endpoint does not work as intended for dispatch namespaces.

What are the steps to reproduce the issue?

While uploading multiple versions scripts for a worker does result in multiple versions of a script for normal worker script endpoints, performing the same operation on dispatch namespace workers only results in 1 script version.