Previously, when I only had 1 .dar file, and ran my codgen script, and did npm install, when I am importing types into a react component, I was able to it quite neatly, as below, importing from the main @daml.js package.
When I have multiple .dar files, I only run the codegen script on the dar that imports the dependencies. But now it seems my imports look like this, is that normal? Do I have to import using the package IDs?
When I examin the daml.js file, Account-0.0.1 > lib > Account > module.d.ts, it seems that the asset is also being imported using the package ID.
pkg9a4b3aca4fdaf5d1dbcca764db53814394a59ba00a833450e7e07e8686031602.Asset.Asset