Skip to content

Commit 923e820

Browse files
[TASKSCLOUD-649] - Changed package structure.
1 parent 4ea9ac7 commit 923e820

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "@asposecloud/aspose-tasks-cloud",
3-
"version": "22.7.0",
3+
"version": "22.8.0",
44
"description": "Aspose.Tasks Cloud SDK for Node.js",
55
"homepage": "https://products.aspose.cloud/tasks",
66
"readmeFilename": "README.md",
7-
"main": "dist/src/api.js",
8-
"types": "dist/src/api.d.ts",
7+
"main": "dist/src/index.js",
8+
"types": "dist/src/index.d.ts",
99
"scripts": {
1010
"test": "mocha -r ts-node/register test/**/*.ts --no-timeouts",
1111
"compile": "tsc --build tsconfig.json"

src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export * from './model/model'
2+
export * from './api'
3+
export * from './internal/auth'
4+
export * from './internal/configuration'
5+
export * from './internal/objectSerializer'
6+
export * from './internal/requestHelper'

src/internal/requestHelper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async function invokeApiMethodInternal(requestOptions: request.Options, confgura
106106
//headers
107107
sa.set("User-Agent", "tasks nodejs sdk");
108108
sa.set("x-aspose-client", "nodejs sdk");
109-
sa.set("x-aspose-client-version", "22.7");
109+
sa.set("x-aspose-client-version", "22.8");
110110

111111
if (!requestOptions.headers) {
112112
requestOptions.headers = {};
@@ -163,4 +163,4 @@ async function invokeApiMethodInternal(requestOptions: request.Options, confgura
163163
* Exception, indicating necessity of request repeat
164164
*/
165165
class NeedRepeatException extends Error {
166-
}
166+
}

0 commit comments

Comments
 (0)