@nomalism-com/api 0.40.28 → 0.40.29

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.d.ts CHANGED
@@ -70,7 +70,7 @@ declare class Repository$1R implements Nomalism$1.Chat.IRepository {
70
70
  deleteOne(selector: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
71
71
  resendLast({ owner_id }: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<void>;
72
72
  markAllAsRead(selector: Nomalism$1.Chat.IMarkAllRequest): Promise<void>;
73
- markAllAsUnread(selector: Nomalism$1.Chat.IMarkAllRequest): Promise<void>;
73
+ markAllAsUnread(body: Nomalism$1.Chat.IMarkAllRequest): Promise<void>;
74
74
  }
75
75
 
76
76
  type IPaginationResponse$4 = Nomalism$1.shared.IPaginationResponse<Nomalism$1.Commissioner.IFindResponse>;
package/dist/index.js CHANGED
@@ -297,8 +297,8 @@ var Repository4 = class {
297
297
  async markAllAsRead(selector) {
298
298
  await this.api.put(`${this.route}mark_all_as_read/${selector.owner_id}`);
299
299
  }
300
- async markAllAsUnread(selector) {
301
- await this.api.put(`${this.route}mark_all_as_unread/${selector.owner_id}`);
300
+ async markAllAsUnread(body) {
301
+ await this.api.put(`${this.route}mark_all_as_unread`, body);
302
302
  }
303
303
  };
304
304
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/api",
3
3
  "description": "A nomalism API package for performing HTTP requests on API endpoints",
4
- "version": "0.40.28",
4
+ "version": "0.40.29",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -23,7 +23,7 @@
23
23
  "prepack": "npm run lint && npm run build"
24
24
  },
25
25
  "dependencies": {
26
- "@nomalism-com/types": "^0.40.29",
26
+ "@nomalism-com/types": "^0.40.31",
27
27
  "axios": "^1.9.0"
28
28
  },
29
29
  "devDependencies": {