Skip to content

Commit

Permalink
chore: bump sdk version, shift to new subscribe fn
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman035 committed Dec 22, 2023
1 parent a4d9ba4 commit f872529
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ export const runNotificationClassUseCases = async (): Promise<void> => {
// -------------------------------------------------------------------
// -------------------------------------------------------------------
console.log('PushAPI.channel.subscribers');
const channelSubscribers = await userAlice.channel.subscribers();
const channelSubscribers = await userAlice.channel.subscribers({
limit: 10,
page: 1,
});
if (showAPIResponse) {
console.log(channelSubscribers);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/sdk-backend-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@pushprotocol/restapi": "1.5.0",
"@pushprotocol/restapi": "1.5.1",
"@pushprotocol/socket": "^0.5.2"
}
}

0 comments on commit f872529

Please sign in to comment.