tigertag 1.0.0 → 1.0.1
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.
- package/CHANGELOG.md +21 -0
- package/README.md +15 -0
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,27 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
Format based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
5
5
|
|
|
6
|
+
## [1.0.1] — 2026-05-20
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- Playground: live ACR122U / PC-SC reader integration via WebSocket
|
|
10
|
+
- Up to 2 simultaneous USB readers supported
|
|
11
|
+
- Card placement auto-populates playground form and displays full SDK output
|
|
12
|
+
- Reader status bar in playground header (green dot / orange pulse)
|
|
13
|
+
- WebSocket server on same port as HTTP (no extra port needed)
|
|
14
|
+
- Graceful fallback: playground works normally without `ws` and `nfc-pcsc`
|
|
15
|
+
- `tools/server.js`: WebSocket server attached to HTTP server; nfc-pcsc reader loop
|
|
16
|
+
broadcasting `card:detected`, `card:removed`, `reader:connected`, `reader:disconnected`
|
|
17
|
+
- README: full parity with Python SDK — input format tables, key methods/properties,
|
|
18
|
+
CRUD operations, ApiDiff docs, signature status table, DB auto-update table,
|
|
19
|
+
chip_layout.svg diagram, ACR122U full example, ecosystem table,
|
|
20
|
+
community integrations, AI-CONTEXT block
|
|
21
|
+
- `llms.txt`: added npm URL, install command, playground section with ACR122U details
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
- `package.json`: `ws ^8.x` and `nfc-pcsc ^0.8.x` added as devDependencies
|
|
25
|
+
- Published to npm: `npm install tigertag` now available globally
|
|
26
|
+
|
|
6
27
|
## [1.0.0] — 2026-05-20
|
|
7
28
|
|
|
8
29
|
### Added
|
package/README.md
CHANGED
|
@@ -130,6 +130,21 @@ The playground has three panels:
|
|
|
130
130
|
- **Center** — parsed output cards: Protocol, Material, Colors, Print Settings, Quantity, Traceability, Cloud API
|
|
131
131
|
- **Right** — collapsible SDK panel: `pretty()`, `verify()`, `toRawDict()`, `toDict()`, `rawApi()`, `diffApi()`
|
|
132
132
|
|
|
133
|
+
### ACR122U / PC-SC live reader
|
|
134
|
+
|
|
135
|
+
Place a chip on your reader and the playground auto-populates instantly — no manual action needed.
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
# Enable live reader support (one-time install)
|
|
139
|
+
npm install ws nfc-pcsc
|
|
140
|
+
|
|
141
|
+
# Then launch as usual — readers detected automatically
|
|
142
|
+
npm run playground
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
Up to **2 simultaneous USB readers** supported. Reader status shown in the playground header:
|
|
146
|
+
`● green` = connected · `● orange pulse` = reading card
|
|
147
|
+
|
|
133
148
|
---
|
|
134
149
|
|
|
135
150
|
## Install
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tigertag",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "JavaScript SDK for TigerTag RFID material identification",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"homepage": "https://tigertag.io",
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
39
|
-
"url": "https://github.com/TigerTag-Project/TigerTag-SDK-JS.git"
|
|
39
|
+
"url": "git+https://github.com/TigerTag-Project/TigerTag-SDK-JS.git"
|
|
40
40
|
},
|
|
41
41
|
"bugs": {
|
|
42
42
|
"url": "https://github.com/TigerTag-Project/TigerTag-SDK-JS/issues"
|
|
@@ -44,10 +44,13 @@
|
|
|
44
44
|
"scripts": {
|
|
45
45
|
"test": "jest --testPathPattern=test/",
|
|
46
46
|
"generate-fixtures": "node scripts/generate_fixtures.js",
|
|
47
|
+
"sync-db": "node scripts/sync_databases.js",
|
|
47
48
|
"playground": "node tools/server.js"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
|
-
"jest": "^29.0.0"
|
|
51
|
+
"jest": "^29.0.0"
|
|
52
|
+
},
|
|
53
|
+
"optionalDependencies": {
|
|
51
54
|
"nfc-pcsc": "^0.8.1",
|
|
52
55
|
"ws": "^8.20.1"
|
|
53
56
|
}
|