Socket
Socket
Sign inDemoInstall

@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.10.2 to 0.11.0

4

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

@@ -1,2 +0,2 @@

import { IMessage, ButtonTypeEnum, MessageActionStatusEnum } from '@novu/shared';
import { IMessage, ButtonTypeEnum, MessageActionStatusEnum, IPaginatedResponse } from '@novu/shared';
import { ITabCountQuery, IStoreQuery, IUserPreferenceSettings, IUnseenCountQuery } from '../index';

@@ -17,3 +17,3 @@ export declare class ApiService {

}): Promise<any>;
getNotificationsList(page: number, query?: IStoreQuery): Promise<IMessage[]>;
getNotificationsList(page: number, query?: IStoreQuery): Promise<IPaginatedResponse<IMessage>>;
initializeSession(appId: string, subscriberId: string, hmacHash?: any): Promise<any>;

@@ -20,0 +20,0 @@ postUsageLog(name: string, payload: {

@@ -62,3 +62,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
return yield this.httpClient.get(`/widgets/notifications/feed`, Object.assign({ page }, query));
return yield this.httpClient.getFullResponse(`/widgets/notifications/feed`, Object.assign({ page }, query));
});

@@ -65,0 +65,0 @@ }

@@ -1,2 +0,2 @@

import { IMessage, ButtonTypeEnum, MessageActionStatusEnum } from '@novu/shared';
import { IMessage, ButtonTypeEnum, MessageActionStatusEnum, IPaginatedResponse } from '@novu/shared';
import { ITabCountQuery, IStoreQuery, IUserPreferenceSettings, IUnseenCountQuery } from '../index';

@@ -17,3 +17,3 @@ export declare class ApiService {

}): Promise<any>;
getNotificationsList(page: number, query?: IStoreQuery): Promise<IMessage[]>;
getNotificationsList(page: number, query?: IStoreQuery): Promise<IPaginatedResponse<IMessage>>;
initializeSession(appId: string, subscriberId: string, hmacHash?: any): Promise<any>;

@@ -20,0 +20,0 @@ postUsageLog(name: string, payload: {

@@ -59,3 +59,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

return __awaiter(this, void 0, void 0, function* () {
return yield this.httpClient.get(`/widgets/notifications/feed`, Object.assign({ page }, query));
return yield this.httpClient.getFullResponse(`/widgets/notifications/feed`, Object.assign({ page }, query));
});

@@ -62,0 +62,0 @@ }

{
"name": "@novu/client",
"version": "0.10.2",
"version": "0.11.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.10.2",
"@novu/shared": "^0.11.0",
"axios": "^0.26.1"

@@ -65,3 +65,3 @@ },

},
"gitHead": "75ed5da03b2b29baf153d7d6220441783c91835e"
"gitHead": "cd83e3d7480d749cf806f5c791866f3490aa9393"
}

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