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 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
@@ -1 +1,2 @@
1
1
  export * from './sdk';
2
+ export * from './openapi/models/all';
package/dist/index.js CHANGED
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./sdk"), exports);
18
+ __exportStar(require("./openapi/models/all"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vayu-ts",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Simple and easy to use typescript package for utilizing vayu billing system",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",