New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

contensis-core-api

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contensis-core-api - npm Package Compare versions

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

bundle-es2015/models/Component.d.ts

8

bundle-es2015/http/http-client.js

@@ -33,3 +33,5 @@ import { isBrowser } from '../utils';

.text()
.then(text => !!text && text.length && text.length > 0 ? JSON.parse(text) : {});
.then(text => {
return !!text && text.length && text.length > 0 ? JSON.parse(text) : {};
});
}

@@ -53,3 +55,5 @@ let responseHandlerFunction = null;

.text()
.then(text => !!text && text.length && text.length > 0 ? JSON.parse(text) : {})
.then(text => {
return !!text && text.length && text.length > 0 ? JSON.parse(text) : {};
})
.then(responseJson => {

@@ -56,0 +60,0 @@ clientError.data = responseJson;

export * from './AssetUpload';
export * from './ClientError';
export * from './ClientParams';
export * from './Component';
export * from './ContentType';

@@ -5,0 +6,0 @@ export * from './Editor';

@@ -34,3 +34,5 @@ import { isBrowser } from '../utils';

.text()
.then(function (text) { return !!text && text.length && text.length > 0 ? JSON.parse(text) : {}; });
.then(function (text) {
return !!text && text.length && text.length > 0 ? JSON.parse(text) : {};
});
}

@@ -54,3 +56,5 @@ var responseHandlerFunction = null;

.text()
.then(function (text) { return !!text && text.length && text.length > 0 ? JSON.parse(text) : {}; })
.then(function (text) {
return !!text && text.length && text.length > 0 ? JSON.parse(text) : {};
})
.then(function (responseJson) {

@@ -57,0 +61,0 @@ clientError.data = responseJson;

export * from './AssetUpload';
export * from './ClientError';
export * from './ClientParams';
export * from './Component';
export * from './ContentType';

@@ -5,0 +6,0 @@ export * from './Editor';

@@ -7,5 +7,9 @@ # Changelog

## [1.0.0-beta.2] - 2019-12-11
### Added
- Component model
## [1.0.0-beta.1] - 2019-12-05
### Added
- added Asset models
- Asset models

@@ -12,0 +16,0 @@ ## [1.0.0-beta.0] - 2019-11-29

@@ -36,3 +36,5 @@ "use strict";

.text()
.then(function (text) { return !!text && text.length && text.length > 0 ? JSON.parse(text) : {}; });
.then(function (text) {
return !!text && text.length && text.length > 0 ? JSON.parse(text) : {};
});
}

@@ -56,3 +58,5 @@ var responseHandlerFunction = null;

.text()
.then(function (text) { return !!text && text.length && text.length > 0 ? JSON.parse(text) : {}; })
.then(function (text) {
return !!text && text.length && text.length > 0 ? JSON.parse(text) : {};
})
.then(function (responseJson) {

@@ -59,0 +63,0 @@ clientError.data = responseJson;

export * from './AssetUpload';
export * from './ClientError';
export * from './ClientParams';
export * from './Component';
export * from './ContentType';

@@ -5,0 +6,0 @@ export * from './Editor';

{
"name": "contensis-core-api",
"version": "1.0.0-beta.1",
"version": "1.0.0-beta.2",
"description": "Contensis Core API Library ",

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

@@ -40,3 +40,5 @@ import { IParamsProvider, ClientError, ResponseHandlerFunction, IHttpClient } from '../models';

.text()
.then(text => !!text && text.length && text.length > 0 ? JSON.parse(text) : {});
.then(text => {
return !!text && text.length && text.length > 0 ? JSON.parse(text) : {};
});
}

@@ -64,3 +66,5 @@

.text()
.then(text => !!text && text.length && text.length > 0 ? JSON.parse(text) : {})
.then(text => {
return !!text && text.length && text.length > 0 ? JSON.parse(text) : {};
})
.then(

@@ -67,0 +71,0 @@ responseJson => {

export * from './AssetUpload';
export * from './ClientError';
export * from './ClientParams';
export * from './Component';
export * from './ContentType';

@@ -5,0 +6,0 @@ export * from './Editor';

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