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

contensis-management-api

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contensis-management-api - npm Package Compare versions

Comparing version 1.0.0-beta.1 to 1.0.0-beta.2

12

bundle-es2015/content-types/content-type-operations.js

@@ -12,3 +12,7 @@ import { UrlBuilder } from 'contensis-core-api';

.toUrl();
return this.httpClient.request(url);
return this.contensisClient.ensureAuthenticationToken().then(() => {
return this.httpClient.request(url, {
headers: this.contensisClient.getHeaders()
});
});
}

@@ -19,4 +23,8 @@ list() {

.toUrl();
return this.httpClient.request(url);
return this.contensisClient.ensureAuthenticationToken().then(() => {
return this.httpClient.request(url, {
headers: this.contensisClient.getHeaders()
});
});
}
}

@@ -37,3 +37,7 @@ import { defaultMapperForLanguage, defaultMapperForLatestVersionStatus, UrlBuilder } from 'contensis-core-api';

.toUrl();
return this.httpClient.request(url);
return this.contensisClient.ensureAuthenticationToken().then(() => {
return this.httpClient.request(url, {
headers: this.contensisClient.getHeaders()
});
});
}

@@ -40,0 +44,0 @@ create(entry) {

@@ -7,2 +7,6 @@ # Changelog

## [1.0.0-beta.2] - 2019-11-28
### Added
- content type and entries api bugfixes;
## [1.0.0-beta.1] - 2019-11-28

@@ -9,0 +13,0 @@ ### Added

@@ -14,3 +14,7 @@ "use strict";

.toUrl();
return this.httpClient.request(url);
return this.contensisClient.ensureAuthenticationToken().then(() => {
return this.httpClient.request(url, {
headers: this.contensisClient.getHeaders()
});
});
}

@@ -21,5 +25,9 @@ list() {

.toUrl();
return this.httpClient.request(url);
return this.contensisClient.ensureAuthenticationToken().then(() => {
return this.httpClient.request(url, {
headers: this.contensisClient.getHeaders()
});
});
}
}
exports.ContentTypeOperations = ContentTypeOperations;

@@ -39,3 +39,7 @@ "use strict";

.toUrl();
return this.httpClient.request(url);
return this.contensisClient.ensureAuthenticationToken().then(() => {
return this.httpClient.request(url, {
headers: this.contensisClient.getHeaders()
});
});
}

@@ -42,0 +46,0 @@ create(entry) {

2

package.json
{
"name": "contensis-management-api",
"version": "1.0.0-beta.1",
"version": "1.0.0-beta.2",
"description": "Contensis Javascript Management API",

@@ -5,0 +5,0 @@ "engines": {

@@ -15,3 +15,7 @@ import { IContentTypeOperations, ContensisClient } from '../models';

return this.httpClient.request<ContentType>(url);
return this.contensisClient.ensureAuthenticationToken().then(() => {
return this.httpClient.request<ContentType>(url, {
headers: this.contensisClient.getHeaders()
});
});
}

@@ -24,4 +28,9 @@

.toUrl();
return this.httpClient.request<ContentType[]>(url);
return this.contensisClient.ensureAuthenticationToken().then(() => {
return this.httpClient.request<ContentType[]>(url, {
headers: this.contensisClient.getHeaders()
});
});
}
}

@@ -6,3 +6,3 @@ import {

ClientParams, defaultMapperForLanguage, defaultMapperForLatestVersionStatus, Entry,
IHttpClient, isBrowser, isIE, MapperFn, PagedList, UrlBuilder
IHttpClient, MapperFn, PagedList, UrlBuilder
} from 'contensis-core-api';

@@ -50,3 +50,8 @@

.toUrl();
return this.httpClient.request<PagedList<Entry>>(url);
return this.contensisClient.ensureAuthenticationToken().then(() => {
return this.httpClient.request<PagedList<Entry>>(url, {
headers: this.contensisClient.getHeaders()
});
});
}

@@ -90,2 +95,3 @@

.toUrl();
return this.contensisClient.ensureAuthenticationToken().then(() => {

@@ -110,2 +116,3 @@ return this.httpClient.request<Entry>(url, {

.toUrl();
return this.contensisClient.ensureAuthenticationToken().then(() => {

@@ -152,2 +159,3 @@ return this.httpClient.request<void>(url, {

.toUrl();
return this.contensisClient.ensureAuthenticationToken().then(() => {

@@ -154,0 +162,0 @@ return this.httpClient.request<Entry>(url, {

@@ -93,2 +93,3 @@ import {

.toUrl();
return this.contensisClient.ensureAuthenticationToken().then(() => {

@@ -117,2 +118,3 @@ return this.httpClient.request<Node>(url, {

.toUrl();
return this.contensisClient.ensureAuthenticationToken().then(() => {

@@ -137,2 +139,3 @@ return this.httpClient.request<Node>(url, {

.toUrl();
return this.contensisClient.ensureAuthenticationToken().then(() => {

@@ -139,0 +142,0 @@ return this.httpClient.request<void>(url, {

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