MaskingTechnology/jitar

Jitar errors can't be deserialised in the web client

Closed this issue · 0 comments

When deserializing, for example, the Unauthorized error from Jitar in a web client, an error is thrown telling that the specifier jitar is invalid.

This seems to be an issue in the ModuleLoader that translates the /jitar/client.js imports to jitar. This behavior works for server worker nodes, but not for web client worker nodes.

Therefore we need to find a way to distinct server workers from client workers to provide them with the correct Jitar specifier.