* Move types.d.ts -> types.ts * Bump common deps
Implementation of the types and their (de-)serialisation via parity-codec.