Allow setting a custom path for assets like translations, the qr scanner worker and the identicon svg. By default, these assets are resolved relatively to the importing script's location (the importing script's currentScript src) as base path. This default behavior lead to issues in the hub for sub paths like /sign-transaction.
In the storybook, the identicon svg is now also loaded as separate asset instead of as an inlined data-url for consistency and removal of extra handling of the data url.
qr worker file name now includes a file hash to avoid that an outdated, cached version might be used on updates.
Also improves on the documentation.
The changes have been tested in the storybook, app development builds and production builds.
See here for changes in hub and wallt which will be merged when this PR is merged:
/sign-transaction
.The changes have been tested in the storybook, app development builds and production builds. See here for changes in hub and wallt which will be merged when this PR is merged: