Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@novu/client

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@novu/client - npm Package Compare versions

Comparing version 0.12.0 to 0.13.0

1

dist/cjs/api/api.service.d.ts

@@ -18,2 +18,3 @@ import { IMessage, ButtonTypeEnum, MessageActionStatusEnum, IPaginatedResponse } from '@novu/shared';

removeMessage(messageId: string): Promise<any>;
markAllMessagesAsRead(feedId?: string | string[]): Promise<any>;
getNotificationsList(page: number, query?: IStoreQuery): Promise<IPaginatedResponse<IMessage>>;

@@ -20,0 +21,0 @@ initializeSession(appId: string, subscriberId: string, hmacHash?: any): Promise<any>;

@@ -65,2 +65,9 @@ "use strict";

}
markAllMessagesAsRead(feedId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.httpClient.post(`/widgets/messages/read`, {
feedId,
});
});
}
getNotificationsList(page, query = {}) {

@@ -67,0 +74,0 @@ return __awaiter(this, void 0, void 0, function* () {

@@ -18,2 +18,3 @@ import { IMessage, ButtonTypeEnum, MessageActionStatusEnum, IPaginatedResponse } from '@novu/shared';

removeMessage(messageId: string): Promise<any>;
markAllMessagesAsRead(feedId?: string | string[]): Promise<any>;
getNotificationsList(page: number, query?: IStoreQuery): Promise<IPaginatedResponse<IMessage>>;

@@ -20,0 +21,0 @@ initializeSession(appId: string, subscriberId: string, hmacHash?: any): Promise<any>;

@@ -62,2 +62,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
markAllMessagesAsRead(feedId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.httpClient.post(`/widgets/messages/read`, {
feedId,
});
});
}
getNotificationsList(page, query = {}) {

@@ -64,0 +71,0 @@ return __awaiter(this, void 0, void 0, function* () {

6

package.json
{
"name": "@novu/client",
"version": "0.12.0",
"version": "0.13.0",
"repository": "https://github.com/novuhq/novu",

@@ -48,3 +48,3 @@ "description": "API client to be used in end user environments",

"dependencies": {
"@novu/shared": "^0.12.0"
"@novu/shared": "^0.13.0"
},

@@ -64,3 +64,3 @@ "devDependencies": {

},
"gitHead": "89b5d99d45c58a4d2d13b2a0f59d0ed53b26f154"
"gitHead": "83ab81ded688f81da436ac5b5c934beb27442476"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc