Right now, each LibHaLo user has to include the entire library, which could cause a lot of burden to be included in certain contexts. Especially desktop and React Native environments are currently using a tiny percent of the entire code. There is no need to include web-specific hacks in these environments. This makes the situation with dependencies a lot easier.
Description
Checklist
Changes to the drivers
[ ] (PR Author) The affected drivers were manually tested
Changes to CLI
[x] (PR Author) The change was manually tested with the CLI
[x] (PR Author) The affected CLI features are working with the standalone binary (at least one platform)
[x] (Checked by maintainer) The CLI test procedure was run by the project's maintainer
Changes to web library
[x] (PR Author) The change was manually tested with the web library included within a classic HTML application (flat libhalo.js)
[x] (PR Author) The change was manually tested with the web library included within an app based on frontend framework (React.js or similar based on webpack)
[x] (Checked by maintainer) The web test suite was run by the project's maintainer
Changes to nfc-manager driver
[x] (PR Author) The change was manually tested in React Native app
[ ] (Checked by maintainer) The test suite was run through the test React Native project
Documentation update
[x] Docs were updated to cover for the API import changes in:
Right now, each LibHaLo user has to include the entire library, which could cause a lot of burden to be included in certain contexts. Especially desktop and React Native environments are currently using a tiny percent of the entire code. There is no need to include web-specific hacks in these environments. This makes the situation with dependencies a lot easier.
Description
Checklist
Changes to the drivers
Changes to CLI
Changes to web library
libhalo.js
)Changes to nfc-manager driver
Documentation update