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.15.0 to 0.16.0

2

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

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

updateAction(messageId: string, executedType: ButtonTypeEnum, status: MessageActionStatusEnum, payload?: Record<string, unknown>): Promise<any>;
markMessageAsSeen(messageId: string | string[]): Promise<any>;
markMessageAsRead(messageId: string | string[]): Promise<any>;
markMessageAs(messageId: string | string[], mark: {

@@ -15,0 +13,0 @@ seen?: boolean;

@@ -37,14 +37,2 @@ "use strict";

}
markMessageAsSeen(messageId) {
return __awaiter(this, void 0, void 0, function* () {
const messageIdString = messageId ? messageId.toString() : '';
return yield this.httpClient.post(`/widgets/messages/${messageIdString}/seen`, {});
});
}
markMessageAsRead(messageId) {
return __awaiter(this, void 0, void 0, function* () {
const messageIdString = messageId ? messageId.toString() : '';
return yield this.httpClient.post(`/widgets/messages/${messageIdString}/read`, {});
});
}
markMessageAs(messageId, mark) {

@@ -51,0 +39,0 @@ return __awaiter(this, void 0, void 0, function* () {

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

updateAction(messageId: string, executedType: ButtonTypeEnum, status: MessageActionStatusEnum, payload?: Record<string, unknown>): Promise<any>;
markMessageAsSeen(messageId: string | string[]): Promise<any>;
markMessageAsRead(messageId: string | string[]): Promise<any>;
markMessageAs(messageId: string | string[], mark: {

@@ -15,0 +13,0 @@ seen?: boolean;

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

}
markMessageAsSeen(messageId) {
return __awaiter(this, void 0, void 0, function* () {
const messageIdString = messageId ? messageId.toString() : '';
return yield this.httpClient.post(`/widgets/messages/${messageIdString}/seen`, {});
});
}
markMessageAsRead(messageId) {
return __awaiter(this, void 0, void 0, function* () {
const messageIdString = messageId ? messageId.toString() : '';
return yield this.httpClient.post(`/widgets/messages/${messageIdString}/read`, {});
});
}
markMessageAs(messageId, mark) {

@@ -48,0 +36,0 @@ return __awaiter(this, void 0, void 0, function* () {

8

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

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

"dependencies": {
"@novu/shared": "^0.15.0"
"@novu/shared": "^0.16.0"
},
"devDependencies": {
"@types/jest": "27.5.2",
"@types/jest": "29.5.1",
"@types/node": "^14.6.0",

@@ -64,3 +64,3 @@ "codecov": "^3.5.0",

},
"gitHead": "6fedeccbd9598a6b445bfbfd732098193a7c7e42"
"gitHead": "8a562d7395c5c16e98af84ebd9773657320af26a"
}

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