vayu-ts 0.2.8 → 0.2.9
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 +9 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -170,6 +170,15 @@ console.log(response.hasMore);
|
|
|
170
170
|
console.log(response.nextCursor);
|
|
171
171
|
```
|
|
172
172
|
|
|
173
|
+
#### Subscribing to Vayu events
|
|
174
|
+
|
|
175
|
+
```typescript
|
|
176
|
+
vayu.webhooks.subscribe({
|
|
177
|
+
callbackUrl: 'https://webhook.site/1234567890',
|
|
178
|
+
eventType: NotificationEventType.Overage,
|
|
179
|
+
})
|
|
180
|
+
```
|
|
181
|
+
|
|
173
182
|
## Features
|
|
174
183
|
|
|
175
184
|
The Vayu API client library provides access to the following features:
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED