libp2p-test-plans/multidim-interop/versions.ts

52 lines
1.4 KiB
TypeScript

import gov024 from "./go/v0.24/image.json"
import gov023 from "./go/v0.23/image.json"
import gov022 from "./go/v0.22/image.json"
import rustv050 from "./rust/v0.50/image.json"
import jsV041 from "./js/v0.41/image.json"
export type Version = {
id: string,
containerImageID: string,
transports: string[],
secureChannels: string[],
muxers: string[],
}
export const versions: Array<Version> = [
{
id: "rust-v0.50.0",
containerImageID: rustv050.imageID,
transports: ["ws", "tcp", "quic-v1", "webrtc"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "js-v0.41.0",
containerImageID: jsV041.imageID,
transports: ["tcp", "ws"],
secureChannels: ["noise"],
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.24.2",
containerImageID: gov024.imageID,
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.23.4",
containerImageID: gov023.imageID,
transports: ["tcp", "ws", "quic"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.22.0",
containerImageID: gov022.imageID,
transports: ["tcp", "ws", "quic"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
]