@vitalfit/sdk 0.3.6 → 0.3.7

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/dist/index.cjs CHANGED
@@ -2340,10 +2340,15 @@ var NotificationService = class {
2340
2340
  this.markAllAsRead = this.markAllAsRead.bind(this);
2341
2341
  this.sendBroadcast = this.sendBroadcast.bind(this);
2342
2342
  }
2343
- async getNotifications(jwt) {
2343
+ async getNotifications(jwt, { page = 10, limit = 10, sort = "desc" }) {
2344
2344
  const response = await this.client.get({
2345
2345
  url: "/notifications",
2346
- jwt
2346
+ jwt,
2347
+ params: {
2348
+ page,
2349
+ limit,
2350
+ sort
2351
+ }
2347
2352
  });
2348
2353
  return response;
2349
2354
  }
@@ -2533,7 +2538,7 @@ var VitalFit = class _VitalFit {
2533
2538
  return _VitalFit.instance;
2534
2539
  }
2535
2540
  version() {
2536
- return "0.3.6";
2541
+ return "0.3.7";
2537
2542
  }
2538
2543
  };
2539
2544
  // Annotate the CommonJS export names for ESM import in node: