https://dfinity.atlassian.net/browse/ICSUP-2629
The JS library is not conforming to the spec. Decoding message record { } as type record { a : opt int } results in an error with field a not found. This means that the Candid JS binding has to always use the latest did file if there is an upgrade on the server side.