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

@novu/client

Package Overview
Dependencies
Maintainers
5
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 2.0.0-canary.0 to 2.0.0-canary.1

1

dist/cjs/http-client/http-client.d.ts

@@ -10,2 +10,3 @@ import { ApiOptions } from '..';

disposeAuthorizationToken(): void;
updateHeaders(headers: Record<string, string>): void;
getFullResponse(url: string, params?: CustomDataType): Promise<any>;

@@ -12,0 +13,0 @@ get(url: string, params?: CustomDataType): Promise<any>;

5

dist/cjs/http-client/http-client.js

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

const PACKAGE_NAME = '@novu/client';
const PACKAGE_VERSION = '0.42.0';
const PACKAGE_VERSION = '2.0.0-canary.0';
const DEFAULT_USER_AGENT = `${PACKAGE_NAME}-${PACKAGE_VERSION}`;

@@ -34,2 +34,5 @@ class HttpClient {

}
updateHeaders(headers) {
this.headers = Object.assign(Object.assign({}, this.headers), headers);
}
getFullResponse(url, params) {

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

@@ -10,2 +10,3 @@ import { ApiOptions } from '..';

disposeAuthorizationToken(): void;
updateHeaders(headers: Record<string, string>): void;
getFullResponse(url: string, params?: CustomDataType): Promise<any>;

@@ -12,0 +13,0 @@ get(url: string, params?: CustomDataType): Promise<any>;

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

const PACKAGE_NAME = '@novu/client';
const PACKAGE_VERSION = '0.42.0';
const PACKAGE_VERSION = '2.0.0-canary.0';
const DEFAULT_USER_AGENT = `${PACKAGE_NAME}-${PACKAGE_VERSION}`;

@@ -31,2 +31,5 @@ export class HttpClient {

}
updateHeaders(headers) {
this.headers = Object.assign(Object.assign({}, this.headers), headers);
}
getFullResponse(url, params) {

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

{
"name": "@novu/client",
"version": "2.0.0-canary.0",
"version": "2.0.0-canary.1",
"repository": "https://github.com/novuhq/novu",

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

"dependencies": {
"@novu/shared": "2.0.0-canary.0"
"@novu/shared": "^2.0.0-canary.1"
},
"devDependencies": {
"@types/jest": "29.5.2",
"@types/node": "^14.6.0",
"@types/node": "^20.14.10",
"codecov": "^3.5.0",

@@ -54,0 +54,0 @@ "jest": "^27.0.6",

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