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.11.0 to 0.12.0

1

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

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

}): Promise<any>;
removeMessage(messageId: string): Promise<any>;
getNotificationsList(page: number, query?: IStoreQuery): Promise<IPaginatedResponse<IMessage>>;

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

@@ -60,2 +60,7 @@ "use strict";

}
removeMessage(messageId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.httpClient.delete(`/widgets/messages/${messageId}`, {});
});
}
getNotificationsList(page, query = {}) {

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

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

}): Promise<any>;
removeMessage(messageId: string): Promise<any>;
getNotificationsList(page: number, query?: IStoreQuery): Promise<IPaginatedResponse<IMessage>>;

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

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

}
removeMessage(messageId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.httpClient.delete(`/widgets/messages/${messageId}`, {});
});
}
getNotificationsList(page, query = {}) {

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

13

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

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

"dependencies": {
"@novu/shared": "^0.11.0",
"axios": "^0.26.1"
"@novu/shared": "^0.12.0"
},
"devDependencies": {
"@types/jest": "27.4.0",
"@types/jest": "27.5.2",
"@types/node": "^14.6.0",

@@ -59,4 +58,4 @@ "codecov": "^3.5.0",

"ts-jest": "^27.0.5",
"typedoc": "^0.19.0",
"typescript": "4.1.3"
"typedoc": "^0.23.0",
"typescript": "4.9.5"
},

@@ -66,3 +65,3 @@ "prettier": {

},
"gitHead": "cd83e3d7480d749cf806f5c791866f3490aa9393"
"gitHead": "89b5d99d45c58a4d2d13b2a0f59d0ed53b26f154"
}

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