@pague-dev/sdk-node 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -35,6 +35,10 @@ await pdev.projects.list({ page, limit });
35
35
 
36
36
  // Transactions
37
37
  await pdev.transactions.get(id);
38
+
39
+ // Webhooks
40
+ import { parseWebhook } from '@pague-dev/sdk-node';
41
+ const event = parseWebhook(req.body);
38
42
  ```
39
43
 
40
44
  ## Recursos
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pague-dev/sdk-node",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Node.js SDK for the pague.dev API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",