Comments (2)
This is a tricky subject. We required some workarounds to package it even as a UMD module, which is partially rooted in upstream bugs. See:
hcert-kotlin/webpack.config.d/patch.js
Line 33 in ebb6644
We'd very much appreciate help on this. The "ground truth" for the webpack'd UMD distribution is actually a valid node module. So if you successfully manage to add build/packages/js/hcert
as a dependency to your node project, let us know how you pulled it off, and we'll see what we can do.
However, we targeted the browser and node was never a requirement, so we directly depend on quite some browserified libraries, which will almost certainly cause issues. "Fixing" this would require changes to the build process. There's probably a way to accomplish this, but this is a non-priority for us, so we are very hesitant to invest in this.
You can, of course, directly integrate the UMD module we currently provide with your node app (with all obvious drawbacks of this approach).
from hcert-kotlin.
@JesusMcCloud Thanks for your explanation. We use JavaScript mainly for our API tests and hoped for a simple solution :).
We do not have resources to follow up right now, but I leave the issue open. Maybe someone else steps in.
from hcert-kotlin.
Related Issues (20)
- Empty "dr" field
- Integration questions HOT 2
- Data Classes for Business Rules HOT 1
- Debugging Issue with v.1.3.0 HOT 4
- Cose.kt?5e47:24 Uncaught TypeError: sign$Companion.createSync is not a function HOT 2
- Probably Wrong expirationTime? HOT 7
- HCERT DOB is weakly verified HOT 1
- Where can I find SignedDataDownloader? HOT 2
- javascript: Possible to inject clock? HOT 3
- metaInformation missing time/timezone information
- JVM library missing public constructors HOT 3
- Missing hcert-kotlin.js HOT 5
- cbor+BigInt and Safari <14 HOT 1
- Java Maven Integration HOT 7
- Offline Validation for more than 48h 7 VerificationException: Expiration<clock.now() HOT 5
- CWT_Expired Error on Check with a new 3/3 valid cert HOT 2
- Add Anonymisation feature to JS Target
- KEY_NOT_IN_TRUST_LIST error after certificate update HOT 4
- Update JS to IR Backend
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hcert-kotlin.