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

@newsteam/cosmos

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newsteam/cosmos - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

4

dist/cjs/modules/analytics.d.ts

@@ -31,2 +31,6 @@ import type { Request, RequestOptions, Response } from "../request";

subSection?: string;
/**
* Publication third section.
*/
thirdsection?: string;
}, options?: RequestOptions): Promise<Response<PartialArticle[]>>;

@@ -33,0 +37,0 @@ }

8

dist/cjs/modules/analytics.js

@@ -13,5 +13,7 @@ "use strict";

const defaults = {
next: this.options.next.revalidate.getPopularArticles === undefined ? undefined : {
revalidate: this.options.next.revalidate.getPopularArticles,
},
next: this.options.next.revalidate.getPopularArticles === undefined
? undefined
: {
revalidate: this.options.next.revalidate.getPopularArticles,
},
};

@@ -18,0 +20,0 @@ return this.request.fetch({

@@ -177,2 +177,6 @@ import type { Request, RequestOptions, Response } from "../request";

/**
* filter articles based on third section
*/
thirdsection?: string;
/**
* if False and workflow is being used, page 1 will not respect limit

@@ -179,0 +183,0 @@ */

@@ -13,5 +13,7 @@ "use strict";

const defaults = {
next: this.options.next.revalidate.get === undefined ? undefined : {
revalidate: this.options.next.revalidate.get,
},
next: this.options.next.revalidate.get === undefined
? undefined
: {
revalidate: this.options.next.revalidate.get,
},
};

@@ -29,5 +31,7 @@ return this.request.fetch({

const defaults = {
next: this.options.next.revalidate.get === undefined ? undefined : {
revalidate: this.options.next.revalidate.get,
},
next: this.options.next.revalidate.get === undefined
? undefined
: {
revalidate: this.options.next.revalidate.get,
},
};

@@ -45,5 +49,7 @@ return this.request.fetch({

const defaults = {
next: this.options.next.revalidate.getAll === undefined ? undefined : {
revalidate: this.options.next.revalidate.getAll,
},
next: this.options.next.revalidate.getAll === undefined
? undefined
: {
revalidate: this.options.next.revalidate.getAll,
},
};

@@ -50,0 +56,0 @@ return this.request.fetch({

@@ -31,2 +31,6 @@ import type { Request, RequestOptions, Response } from "../request";

subSection?: string;
/**
* Publication third section.
*/
thirdsection?: string;
}, options?: RequestOptions): Promise<Response<PartialArticle[]>>;

@@ -33,0 +37,0 @@ }

@@ -10,5 +10,7 @@ export class AnalyticsModule {

const defaults = {
next: this.options.next.revalidate.getPopularArticles === undefined ? undefined : {
revalidate: this.options.next.revalidate.getPopularArticles,
},
next: this.options.next.revalidate.getPopularArticles === undefined
? undefined
: {
revalidate: this.options.next.revalidate.getPopularArticles,
},
};

@@ -15,0 +17,0 @@ return this.request.fetch({

@@ -177,2 +177,6 @@ import type { Request, RequestOptions, Response } from "../request";

/**
* filter articles based on third section
*/
thirdsection?: string;
/**
* if False and workflow is being used, page 1 will not respect limit

@@ -179,0 +183,0 @@ */

@@ -10,5 +10,7 @@ export class ArticlesModule {

const defaults = {
next: this.options.next.revalidate.get === undefined ? undefined : {
revalidate: this.options.next.revalidate.get,
},
next: this.options.next.revalidate.get === undefined
? undefined
: {
revalidate: this.options.next.revalidate.get,
},
};

@@ -26,5 +28,7 @@ return this.request.fetch({

const defaults = {
next: this.options.next.revalidate.get === undefined ? undefined : {
revalidate: this.options.next.revalidate.get,
},
next: this.options.next.revalidate.get === undefined
? undefined
: {
revalidate: this.options.next.revalidate.get,
},
};

@@ -42,5 +46,7 @@ return this.request.fetch({

const defaults = {
next: this.options.next.revalidate.getAll === undefined ? undefined : {
revalidate: this.options.next.revalidate.getAll,
},
next: this.options.next.revalidate.getAll === undefined
? undefined
: {
revalidate: this.options.next.revalidate.getAll,
},
};

@@ -47,0 +53,0 @@ return this.request.fetch({

{
"name": "@newsteam/cosmos",
"version": "1.0.7",
"version": "1.0.8",
"author": "newsteam.io",

@@ -5,0 +5,0 @@ "license": "ISC",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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