@ariary/notification 3.0.0 → 3.0.1

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 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -49,6 +49,8 @@ const result = await Ariari.tasks({
49
49
  order: -1
50
50
  });
51
51
 
52
- const nextResult = await Ariari.tasks(result.next);
53
- const prevResult = await Ariari.tasks(result.prev);
52
+ const fetchTasks = (from) => Ariari.tasks({ from, count: 20, order: -1 });
53
+
54
+ const nextResult = await fetchTasks(result.next);
55
+ const prevResult = await fetchTasks(result.prev);
54
56
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ariary/notification",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "SMS et Notification Task SDK pour l'API Ariary",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",