LeastAuthority / haskell-magic-wormhole

Magic Wormhole for Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AppVersions

meejah opened this issue · comments

commented

There is no support for "application versions".

The code-comments indicate that the Python implementation will always send {"app_versions": {}} for the "Versions" message. While this is true for the file-transfer application, other users may send information in this field. It is open-ended JSON-encodable information, provided by application code.

For example, magic-folder invites will end up sending app-versions like this:

{
    "app_versions": {
        "magic-folder": {
            "supported-messages": [
                "invite-v1",
            ],
        },
    }
}