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

asposeslidescloud

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asposeslidescloud - npm Package Compare versions

Comparing version 22.10.0 to 22.11.0

6

internal/configuration.d.ts

@@ -30,3 +30,3 @@ /**

/**
* Gets or sets a value indicating whether debug mode. In debug mode all requests and responses are logged to console.
* Gets or sets a value indicating whether debug mode is enabled. In debug mode all requests and responses are logged to console.
*/

@@ -40,2 +40,6 @@ debugMode: boolean;

};
/**
* Gets or sets a value indicating whether insecure requests are allowed.
*/
allowInsecureRequests: boolean;
constructor(appSid: string, appKey: string, baseUrl?: string, authBaseUrl?: string, debugMode?: boolean, timeout?: number);

@@ -42,0 +46,0 @@ /**

@@ -53,2 +53,3 @@ "use strict";

this.customHeaders = {};
this.allowInsecureRequests = false;
}

@@ -55,0 +56,0 @@ /**

23

internal/requestHelper.js

@@ -133,6 +133,6 @@ "use strict";

* @param requestOptions request parameters
* @param confguration api configuration
* @param configuration api configuration
* @param notApplyAuthToRequest if setted to true, auth is not applied to request
*/
function invokeApiMethodInternal(requestOptions, confguration, notApplyAuthToRequest) {
function invokeApiMethodInternal(requestOptions, configuration, notApplyAuthToRequest) {
return __awaiter(this, void 0, void 0, function* () {

@@ -147,14 +147,17 @@ requestDebug(request, (type, data, r) => {

});
if (configuration.allowInsecureRequests) {
requestOptions.rejectUnauthorized = false;
}
if (!requestOptions.headers) {
requestOptions.headers = {};
}
requestOptions.headers["x-aspose-client"] = "nodejs sdk v22.10.0";
if (confguration.timeout) {
requestOptions.headers["x-aspose-timeout"] = confguration.timeout;
requestOptions.headers["x-aspose-client"] = "nodejs sdk v22.11.0";
if (configuration.timeout) {
requestOptions.headers["x-aspose-timeout"] = configuration.timeout;
}
for (var key in confguration.customHeaders) {
requestOptions.headers[key] = confguration.customHeaders[key];
for (var key in configuration.customHeaders) {
requestOptions.headers[key] = configuration.customHeaders[key];
}
if (!notApplyAuthToRequest) {
yield addAuthHeader(requestOptions, confguration);
yield addAuthHeader(requestOptions, configuration);
}

@@ -171,3 +174,3 @@ return new Promise((resolve, reject) => {

else if (!notApplyAuthToRequest && response.statusCode === 401) {
yield requestToken(confguration);
yield requestToken(configuration);
reject(new NeedRepeatException());

@@ -206,3 +209,3 @@ }

}));
r.writeDebugToConsole = confguration.debugMode;
r.writeDebugToConsole = configuration.debugMode;
});

@@ -209,0 +212,0 @@ });

{
"name": "asposeslidescloud",
"version": "22.10.0",
"version": "22.11.0",
"description": "Aspose.Slides Cloud SDK for Node.js",

@@ -5,0 +5,0 @@ "homepage": "https://products.aspose.cloud/slides/cloud",

@@ -100,2 +100,8 @@ ![](https://img.shields.io/badge/api-v3.0-lightgrey) ![npm](https://img.shields.io/npm/v/asposeslidescloud) ![npm bundle size](https://img.shields.io/bundlephobia/min/asposeslidescloud) ![node-current](https://img.shields.io/node/v/asposeslidescloud) ![npm type definitions](https://img.shields.io/npm/types/asposeslidescloud) [![GitHub license](https://img.shields.io/github/license/aspose-slides-cloud/aspose-slides-cloud-nodejs)](https://github.com/aspose-slides-cloud/aspose-slides-cloud-nodejs/blob/master/LICENSE)

## Enhancements in Version 22.11
* You can now specify data sources for chart elements. This is done with new **DataSource** type which is use with propertries **Chart.DataSourceForCategories**, **Series.DataSourceForName**, **OneValueSeries.DataSourceForValues**, **XYSeries.DataSourceForXValues**, **XYSeries.DataSourceForYValues**, **BubbleSeries.DataSourceForBubbleSizeValues**.
* You can now specify formulas for data points using new properties **OneValueChartDataPoint.ValueFormula**, **ScatterChartDataPoint.XValueFormula**, **ScatterChartDataPoint.YValueFormula**, **BubbleChartDataPoint.BubbleSizeFormula**.
* Added boolean **UseFrameSize** and **UseFrameRotation** properties to **SvgExportOptions** class.
## Enhancements in Version 22.10

@@ -102,0 +108,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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