[BUG] using this lib with expo web fails during bundling
mirceanis opened this issue · comments
Mircea Nistor commented
./node_modules/ethr-did-resolver/lib/index.module.js 1083:45
Module parse failed: Unexpected token (1083:45)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| if (typeof parsed.query === 'string') {
| const qParams = new URLSearchParams(parsed.query);
> blockTag = qParams.get('versionId') ?? blockTag;
|
| try {
Same as in decentralized-identity/did-jwt#236
Special care must be taken when qParams.get('versionId')
returns 0
because that should not be interpreted as the latest
block, but as the default DID document, before any updates.
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.