As said in https://github.com/ox-it/moxie-js-client/pull/55#discussion_r6710593 - I must be doing something wrong but haven't found how to solve it in a nicer way.