Aegis: load the DigiByte deps module as ESM in a dev checkout
lib/dgb/deps.js is ESM, but in a dev checkout the nearest package.json is TheseusNavigator's, which says "type": "commonjs"; the import threw and DigiByte was silently unavailable whenever Theseus ran from the repo. Shipped installs have no package.json above the add-on, so they were unaffected. lib/dgb/core and lib/dgb/psbt already carry the same marker.
This commit is contained in:
parent
f57cf4c894
commit
5769d837bd
1 changed files with 1 additions and 0 deletions
1
bundled-addons/aegis/lib/dgb/package.json
Normal file
1
bundled-addons/aegis/lib/dgb/package.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"type":"module"}
|
||||
Loading…
Add table
Reference in a new issue