asposeslidescloud
Advanced tools
Comparing version 20.10.0 to 20.12.0
@@ -145,3 +145,3 @@ "use strict"; | ||
} | ||
requestOptions.headers["x-aspose-client"] = "nodejs sdk v20.10.0"; | ||
requestOptions.headers["x-aspose-client"] = "nodejs sdk v20.12.0"; | ||
if (confguration.timeout) { | ||
@@ -203,14 +203,16 @@ requestOptions.headers["x-aspose-timeout"] = confguration.timeout; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (isRequestTokenPending) { | ||
yield requestingToken; | ||
if (configuration.appSid || configuration.appKey) { | ||
if (isRequestTokenPending) { | ||
yield requestingToken; | ||
} | ||
if (!configuration.accessToken) { | ||
isRequestTokenPending = true; | ||
requestingToken = requestToken(configuration).catch((err) => { isRequestTokenPending = false; throw (err); }); | ||
yield requestingToken; | ||
} | ||
isRequestTokenPending = false; | ||
if (requestOptions && requestOptions.headers) { | ||
requestOptions.headers.Authorization = "Bearer " + configuration.accessToken; | ||
} | ||
} | ||
if (!configuration.accessToken) { | ||
isRequestTokenPending = true; | ||
requestingToken = requestToken(configuration).catch((err) => { isRequestTokenPending = false; throw (err); }); | ||
yield requestingToken; | ||
} | ||
isRequestTokenPending = false; | ||
if (requestOptions && requestOptions.headers) { | ||
requestOptions.headers.Authorization = "Bearer " + configuration.accessToken; | ||
} | ||
return Promise.resolve(); | ||
@@ -217,0 +219,0 @@ }); |
{ | ||
"name": "asposeslidescloud", | ||
"version": "20.10.0", | ||
"version": "20.12.0", | ||
"description": "Aspose.Slides Cloud SDK for Node.js", | ||
@@ -5,0 +5,0 @@ "homepage": "https://products.aspose.cloud/slides/cloud", |
@@ -13,2 +13,12 @@ # Aspose.Slides Cloud SDK for NodeJS [![npm](https://badge.fury.io/js/asposeslidescloud.svg)](https://www.npmjs.com/package/asposeslidescloud) | ||
### New Features & Recent API Changes | ||
#### 20.10 | ||
* Removed shapeType property from BaseShape class; replaced geometryShapeType with shapeType property for GeometryShape. | ||
* Removed redundant ResourceUriElement class. All properties of ResourceUriElement type are changed to ResourceUri type. | ||
#### 20.9 | ||
* New getSections, putSections, putSection, postSection, postSectionMove, deleteSection, deleteSections methods to add, update and delete presentation sections. | ||
* New postSlidesHeaderFooter, postSlideHeaderFooter, getSlideHeaderFooter, postNotesSlideHeaderFooter, getNotesSlideHeaderFooter methods to manage header/footer settings for slides. | ||
* Replaces categories for parentCategories & level properties in ChartCategory class to properly support Sunburst & Treeview charts. | ||
## Licensing | ||
@@ -36,3 +46,3 @@ All Aspose.Slides Cloud SDKs are licensed under MIT License. | ||
const slidesApi = new api.SlidesApi("MyAppSid", "MyAppKey"); | ||
const slidesApi = new api.SlidesApi("MyClientId", "MyClientSecret"); | ||
const postSlidesConvertRequest = new api.GetSlidesApiInfoRequest(); | ||
@@ -58,3 +68,3 @@ postSlidesConvertRequest.format = 'pdf'; | ||
[API Reference](https://apireference.aspose.cloud/slides/) | ||
[Documentation](https://docs.aspose.cloud/display/slidescloud/Home) | ||
[Documentation](https://docs.aspose.cloud/slides/) | ||
[Blog](https://blog.aspose.cloud/category/slides/) | ||
@@ -61,0 +71,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
771882
12204
74