Skip to content

Commit 825fdfc

Browse files
committed
Remove CDN references (not available via GitHub Packages)
1 parent e4511b3 commit 825fdfc

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -190,19 +190,6 @@ await ws.writeCard(0, {
190190
});
191191
```
192192

193-
### Browser (CDN)
194-
195-
```html
196-
<script src="https://unpkg.com/@simplyprint/nfc-agent"></script>
197-
<script>
198-
const ws = new NFCAgent.WebSocket();
199-
ws.connect().then(() => {
200-
ws.subscribe(0);
201-
ws.on('card_detected', (e) => console.log('Card:', e.card.uid));
202-
});
203-
</script>
204-
```
205-
206193
See the full [SDK documentation](sdk/README.md) for more examples.
207194

208195
## Building from Source

sdk/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -182,23 +182,6 @@ const health = await ws.health();
182182
console.log('Status:', health.status);
183183
```
184184

185-
### Browser (CDN)
186-
187-
```html
188-
<script src="https://unpkg.com/@simplyprint/nfc-agent"></script>
189-
<script>
190-
const ws = new NFCAgent.WebSocket();
191-
192-
ws.connect().then(async () => {
193-
await ws.subscribe(0);
194-
195-
ws.on('card_detected', (event) => {
196-
console.log('Card:', event.card.uid);
197-
});
198-
});
199-
</script>
200-
```
201-
202185
---
203186

204187
## REST API

0 commit comments

Comments
 (0)