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.16.1 to 0.16.2

1

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

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

removeMessage(messageId: string): Promise<any>;
removeAllMessages(feedId?: string): Promise<any>;
markAllMessagesAsRead(feedId?: string | string[]): Promise<any>;

@@ -18,0 +19,0 @@ markAllMessagesAsSeen(feedId?: string | string[]): Promise<any>;

@@ -53,2 +53,10 @@ "use strict";

}
removeAllMessages(feedId) {
return __awaiter(this, void 0, void 0, function* () {
const url = feedId
? `/widgets/messages?feedId=${feedId}`
: `/widgets/messages`;
return yield this.httpClient.delete(url);
});
}
markAllMessagesAsRead(feedId) {

@@ -55,0 +63,0 @@ return __awaiter(this, void 0, void 0, function* () {

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

removeMessage(messageId: string): Promise<any>;
removeAllMessages(feedId?: string): Promise<any>;
markAllMessagesAsRead(feedId?: string | string[]): Promise<any>;

@@ -18,0 +19,0 @@ markAllMessagesAsSeen(feedId?: string | string[]): Promise<any>;

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

}
removeAllMessages(feedId) {
return __awaiter(this, void 0, void 0, function* () {
const url = feedId
? `/widgets/messages?feedId=${feedId}`
: `/widgets/messages`;
return yield this.httpClient.delete(url);
});
}
markAllMessagesAsRead(feedId) {

@@ -52,0 +60,0 @@ return __awaiter(this, void 0, void 0, function* () {

6

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

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

"dependencies": {
"@novu/shared": "^0.16.1"
"@novu/shared": "^0.16.2"
},

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

},
"gitHead": "cdad350d5aa584e172f0142319b38402a30ac215"
"gitHead": "e6a93d2f140f43b8a7ab556c0eac80b5b9f527e7"
}

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