Skip to content

Commit 8e5ea00

Browse files
Update verstion
1 parent 65c363a commit 8e5ea00

File tree

3 files changed

+23
-10
lines changed

3 files changed

+23
-10
lines changed

README.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/w
1616
- Add & remove watermarks and protection.
1717
- Read & write access to Document Object Model.
1818

19+
## Enhancements in Version 20.6
20+
21+
- Added new methods:
22+
- deleteAllParagraphTabStopsWithoutNodePath
23+
- deleteParagraphTabStopWithoutNodePath
24+
- getParagraphTabStopsWithoutNodePath
25+
- insertOrUpdateParagraphTabStopWithoutNodePath
26+
- insertParagraphWithoutNodePath
27+
- updateParagraphFormatWithoutNodePath
28+
- updateParagraphListFormatWithoutNodePath
29+
- deleteParagraphListFormatWithoutNodePath
30+
- DrawingObject related methods have been changed body content. Special request classes are introduced instead of strings.
31+
- insertOrUpdateParagraphTabStop, deleteParagraphTabStop methods have been changed parameter order
32+
- OoxmlSaveOptionsData.CompressionLevel property has been added
33+
1934
## Enhancements in Version 20.5
2035

2136
- Added methods to work with Word document lists
@@ -109,7 +124,7 @@ The complete source code is available at [GitHub Repository](https://github.com/
109124
// Start README example
110125

111126
// create API instance (baseUrl is optional)
112-
var wordsApi = new WordsApi(appSid, appKey, baseUrl);
127+
const wordsApi = new WordsApi(appSid, appKey, baseUrl);
113128

114129
// upload file to the Aspose cloud
115130
const uploadRequest = new UploadFileRequest();
@@ -119,7 +134,7 @@ The complete source code is available at [GitHub Repository](https://github.com/
119134
wordsApi.uploadFile(uploadRequest)
120135
.then((_uploadResult) => {
121136
// save the file as pdf in the cloud
122-
var request = new SaveAsRequest({
137+
const request = new SaveAsRequest({
123138
name: "uploaded.docx",
124139
saveOptionsData: new SaveOptionsData(
125140
{
@@ -132,14 +147,12 @@ The complete source code is available at [GitHub Repository](https://github.com/
132147
.then((_result) => {
133148
// deal with the pdf file
134149
})
135-
.catch(function(err) {
136-
console.log(err.reponse.statusCode);
137-
console.log(err.body);
150+
.catch(function(_err) {
151+
// handle saveAs request error
138152
});
139153
})
140-
.catch(function(err) {
141-
console.log(err.reponse.statusCode);
142-
console.log(err.body);
154+
.catch(function(_err) {
155+
// handle uploadFile request error
143156
});
144157

145158
// End README example

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "asposewordscloud",
3-
"version": "20.5.0",
3+
"version": "20.6.0",
44
"description": "Aspose.Words Cloud SDK for Node.js",
55
"homepage": "https://products.aspose.cloud/words/cloud",
66
"author": {

src/internal/requestHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async function invokeApiMethodInternal(requestOptions: request.Options, confgura
8787
}
8888

8989
requestOptions.headers["x-aspose-client"] = "nodejs sdk";
90-
requestOptions.headers["x-aspose-client-version"] = "20.5";
90+
requestOptions.headers["x-aspose-client-version"] = "20.6";
9191

9292
const auth = confguration.authentication;
9393
if (!notApplyAuthToRequest) {

0 commit comments

Comments
 (0)