react-native-urovo-rfid 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,6 +15,21 @@ Install the library from [npm](https://www.npmjs.com/package/react-native-urovo-
15
15
  npm install react-native-urovo-rfid
16
16
  ```
17
17
 
18
+ #### Alternative: GitHub Packages
19
+
20
+ The package is also published to [GitHub Packages](https://github.com/rafaax/react-native-urovo-rfid/pkgs/npm/react-native-urovo-rfid) as `@rafaax/react-native-urovo-rfid`. GitHub's npm registry requires authentication even for public packages, so create a personal access token (classic) with the `read:packages` scope and add this to your project's `.npmrc`:
21
+
22
+ ```
23
+ @rafaax:registry=https://npm.pkg.github.com
24
+ //npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
25
+ ```
26
+
27
+ Then install it:
28
+
29
+ ```bash
30
+ npm install @rafaax/react-native-urovo-rfid
31
+ ```
32
+
18
33
  ### Mandatory Requirement (Urovo SDK)
19
34
  Due to copyright issues, Urovo's proprietary drivers are not included in the public repository. You need to provide them:
20
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-urovo-rfid",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "React Native bridge for Urovo DT50P and DT50P Lite handhelds (UHF RFID and barcode scanner)",
5
5
  "main": "src/index",
6
6
  "author": "Raphael Meireles <raphael.meireles@ssector7.com> (https://github.com/rafaax)",