@kadoa/node-sdk 0.16.1 → 0.17.0
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/README.md +5 -5
- package/dist/browser/index.global.js +12 -12
- package/dist/browser/index.global.js.map +1 -1
- package/dist/index.d.mts +126 -21
- package/dist/index.d.ts +126 -21
- package/dist/index.js +72 -24
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +133 -87
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -144,9 +144,9 @@ Monitor websites continuously and receive live updates when data changes.
|
|
|
144
144
|
**Setup:**
|
|
145
145
|
|
|
146
146
|
```typescript
|
|
147
|
-
// Enable real-time with
|
|
147
|
+
// Enable real-time with API key
|
|
148
148
|
const client = new KadoaClient({
|
|
149
|
-
apiKey: '
|
|
149
|
+
apiKey: 'your-api-key',
|
|
150
150
|
enableRealtime: true
|
|
151
151
|
});
|
|
152
152
|
|
|
@@ -184,7 +184,7 @@ client.realtime?.onEvent((event) => {
|
|
|
184
184
|
```
|
|
185
185
|
|
|
186
186
|
**Requirements:**
|
|
187
|
-
-
|
|
187
|
+
- API key (personal or team)
|
|
188
188
|
- `enableRealtime: true` in client configuration
|
|
189
189
|
- Notifications enabled for at least one channel ( Webhook, Email, or Slack)
|
|
190
190
|
|
|
@@ -318,11 +318,11 @@ const client = new KadoaClient({
|
|
|
318
318
|
|
|
319
319
|
### WebSocket & Realtime Events
|
|
320
320
|
|
|
321
|
-
Enable realtime notifications using
|
|
321
|
+
Enable realtime notifications using an API key:
|
|
322
322
|
|
|
323
323
|
```typescript
|
|
324
324
|
const client = new KadoaClient({
|
|
325
|
-
apiKey: '
|
|
325
|
+
apiKey: 'your-api-key',
|
|
326
326
|
enableRealtime: true
|
|
327
327
|
});
|
|
328
328
|
|