asposecellscloud
Advanced tools
Comparing version 20.10.0 to 20.11.0
@@ -75,4 +75,4 @@ "use strict"; | ||
grant_type: "client_credentials", | ||
client_id: configuration.appSID, | ||
client_secret: configuration.appKey, | ||
client_id: configuration.clientId, | ||
client_secret: configuration.clientSecret, | ||
}, | ||
@@ -79,0 +79,0 @@ }; |
@@ -11,9 +11,9 @@ import { IAuthentication } from "../internal/auth"; | ||
/** | ||
* App SID. | ||
* client Id. | ||
*/ | ||
appSID: string; | ||
clientId: string; | ||
/** | ||
* App key. | ||
* client Secret. | ||
*/ | ||
appKey: string; | ||
clientSecret: string; | ||
/** | ||
@@ -31,3 +31,3 @@ * Base Url. | ||
debugMode: boolean; | ||
constructor(appSID: string, appKey: string, apiVersion?: string, baseUrl?: string, debugMode?: boolean); | ||
constructor(clientId: string, clientSecret: string, apiVersion?: string, baseUrl?: string, debugMode?: boolean); | ||
/** | ||
@@ -34,0 +34,0 @@ * Returns api base url |
@@ -34,3 +34,3 @@ "use strict"; | ||
class Configuration { | ||
constructor(appSID, appKey, apiVersion, baseUrl, debugMode) { | ||
constructor(clientId, clientSecret, apiVersion, baseUrl, debugMode) { | ||
/** | ||
@@ -50,4 +50,4 @@ * Base Url. | ||
} | ||
this.appSID = appSID; | ||
this.appKey = appKey; | ||
this.clientId = clientId; | ||
this.clientSecret = clientSecret; | ||
this.debugMode = debugMode; | ||
@@ -54,0 +54,0 @@ this.authentication = new auth_1.OAuth(); |
@@ -47,2 +47,5 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if ((confguration.clientId === null || confguration.clientId === "" || typeof confguration.clientId === "undefined") && (confguration.clientSecret === null || confguration.clientSecret === "" || typeof confguration.clientSecret === "undefined")) { | ||
notApplyAuthToRequest = true; | ||
} | ||
try { | ||
@@ -49,0 +52,0 @@ return yield invokeApiMethodInternal(requestOptions, confguration, notApplyAuthToRequest); |
{ | ||
"name": "asposecellscloud", | ||
"version": "20.10.0", | ||
"version": "20.11.0", | ||
"description": "Aspose.Cells Cloud SDK for Node.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![npm](https://img.shields.io/npm/v/asposecellscloud) ![node-current](https://img.shields.io/node/v/asposecellscloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-node)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-node/20.10) | ||
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![npm](https://img.shields.io/npm/v/asposecellscloud) ![node-current](https://img.shields.io/node/v/asposecellscloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-node)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-node/20.11) | ||
@@ -23,6 +23,5 @@ # Process Excel® Files in the Cloud with Node.js | ||
## Enhancements in Version 20.10 | ||
## Enhancements in Version 20.11 | ||
- Support to upload large file. | ||
- Enhancement for post sparkline group API. | ||
- Support Aspose.Cells Cloud for Docker. | ||
@@ -75,3 +74,3 @@ ## Read & Write Spreadsheet Formats | ||
it('should call cellsWorkbookPutConvertWorkbook successfully', function() { | ||
const cellsApi =new api.CellsApi(AppSid, AppKey); | ||
const cellsApi =new api.CellsApi(clientId, clientSecret); | ||
const filename = "Book1.xlsx"; | ||
@@ -104,5 +103,5 @@ var data =fs.createReadStream(localPath + filename); | ||
AppSid = "" | ||
AppKey = "" | ||
cellsApi = new CellsApi(AppSid, AppKey); | ||
clientId = "" | ||
clientSecret = "" | ||
cellsApi = new CellsApi(clientId, clientSecret); | ||
filename = "Book1.xlsx" | ||
@@ -128,5 +127,5 @@ | ||
AppSid = "" | ||
AppKey = "" | ||
cellsApi = new CellsApi(AppSid, AppKey); | ||
clientId = "" | ||
clientSecret = "" | ||
cellsApi = new CellsApi(clientId, clientSecret); | ||
filename = "Book1.xlsx" | ||
@@ -133,0 +132,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
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
1511144
41049
152