@meowinc/meow-sdk 0.14.1 → 0.14.2

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.
@@ -28,6 +28,7 @@ export interface Params {
28
28
  channel: string;
29
29
  offset?: number;
30
30
  limit?: number;
31
+ isRead?: boolean;
31
32
  }
32
33
  export declare function request(params: Params, auth: AuthorizationProvider): Promise<MeowResult<Response>>;
33
34
  export {};
@@ -2,7 +2,7 @@ import { NOTIFICATION_API } from "..";
2
2
  import { ErrorToMessage } from "../../error";
3
3
  import { HttpClient } from "../../http-client";
4
4
  export async function request(params, auth) {
5
- const { channel, offset, limit } = params;
5
+ const { channel, offset, limit, isRead } = params;
6
6
  return await new HttpClient()
7
7
  .withAuthorization(auth)
8
8
  .withMethodGet()
@@ -10,6 +10,7 @@ export async function request(params, auth) {
10
10
  .withParam("channel", channel)
11
11
  .withParam("offset", offset)
12
12
  .withParam("limit", limit)
13
+ .withParam("isRead", isRead)
13
14
  .send()
14
15
  .then((r) => r.mapError(ErrorToMessage));
15
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meowinc/meow-sdk",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "Meow SDK",
5
5
  "keywords": [
6
6
  "sdk"