confluence.js 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +1 -1
- package/out/api/models/accountIdEmailRecordArray.d.ts +1 -1
- package/out/api/models/addContentRestrictionUpdateArray.d.ts +1 -1
- package/out/api/models/connectModules.d.ts +1 -1
- package/out/api/models/container.d.ts +1 -1
- package/out/api/models/contentRestrictionUpdateArray.d.ts +1 -1
- package/out/api/models/embeddable.d.ts +1 -1
- package/out/api/models/genericLinks.d.ts +1 -1
- package/out/api/models/labelCreateArray.d.ts +1 -1
- package/out/api/models/propertyValue.d.ts +1 -1
- package/out/api/parameters/registerModules.d.ts +1 -1
- package/out/callback.d.ts +1 -1
- package/out/index.d.ts +1 -0
- package/out/index.js +1 -0
- package/out/index.js.map +1 -1
- package/out/requestConfig.d.ts +1 -1
- package/out/server/models/container.d.ts +1 -1
- package/out/server/models/embeddable.d.ts +1 -1
- package/package.json +15 -15
- package/src/index.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
### 1.6.2
|
|
4
|
+
|
|
5
|
+
- Badge fixed
|
|
6
|
+
- Dependencies updated
|
|
7
|
+
|
|
8
|
+
### 1.6.1
|
|
9
|
+
|
|
10
|
+
`AuthenticationService` added to export facade. Thanks to [Andrew McClenaghan](https://github.com/andymac4182) for this improvement.
|
|
11
|
+
|
|
3
12
|
### 1.6.0
|
|
4
13
|
|
|
5
14
|
Cloud API:
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<a href="https://www.npmjs.com/package/confluence.js"><img alt="NPM version" src="https://img.shields.io/npm/v/confluence.js.svg?maxAge=3600&style=flat-square" /></a>
|
|
5
5
|
<a href="https://www.npmjs.com/package/confluence.js"><img alt="NPM downloads per month" src="https://img.shields.io/npm/dm/confluence.js.svg?maxAge=3600&style=flat-square" /></a>
|
|
6
|
-
<a href="https://github.com/MrRefactoring/confluence.js"><img alt="build status" src="https://img.shields.io/github/workflow/status/mrrefactoring/confluence.js/
|
|
6
|
+
<a href="https://github.com/MrRefactoring/confluence.js"><img alt="build status" src="https://img.shields.io/github/actions/workflow/status/mrrefactoring/confluence.js/ci.yaml?style=flat-square"></a>
|
|
7
7
|
<a href="https://github.com/mrrefactoring/confluence.js/blob/develop/LICENSE"><img alt="license" src="https://img.shields.io/github/license/mrrefactoring/confluence.js?color=green&style=flat-square"/></a>
|
|
8
8
|
|
|
9
9
|
<span>JavaScript / TypeScript library for Node.JS and browsers to easily interact with Atlassian Confluence API</span>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AccountIdEmailRecord } from './accountIdEmailRecord';
|
|
2
|
-
export
|
|
2
|
+
export type AccountIdEmailRecordArray = AccountIdEmailRecord[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AddContentRestriction } from './addContentRestriction';
|
|
2
|
-
export
|
|
2
|
+
export type AddContentRestrictionUpdateArray = AddContentRestriction[];
|
|
@@ -3,4 +3,4 @@ import { AppDescriptor } from './appDescriptor';
|
|
|
3
3
|
* A list of app modules in the same format as the `modules` property in the [app
|
|
4
4
|
* descriptor](https://developer.atlassian.com/cloud/confluence/app-descriptor/).
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export type ConnectModules = AppDescriptor[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ContentRestrictionUpdate } from './contentRestrictionUpdate';
|
|
2
|
-
export
|
|
2
|
+
export type ContentRestrictionUpdateArray = ContentRestrictionUpdate[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Embeddable = Record<string, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LabelCreate } from './labelCreate';
|
|
2
|
-
export
|
|
2
|
+
export type LabelCreateArray = LabelCreate[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ConnectModules } from '../models';
|
|
2
|
-
export
|
|
2
|
+
export type RegisterModules = ConnectModules;
|
package/out/callback.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type Callback<T> = (err: AxiosError | null, data?: T) => void;
|
package/out/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './requestConfig';
|
|
|
4
4
|
export * from './callback';
|
|
5
5
|
export * from './pagination';
|
|
6
6
|
export * from './utilityTypes';
|
|
7
|
+
export * from './services/authenticationService';
|
|
7
8
|
export * as Api from './api';
|
|
8
9
|
export * as Server from './server';
|
|
9
10
|
export * as Models from './api/models';
|
package/out/index.js
CHANGED
|
@@ -8,6 +8,7 @@ tslib_1.__exportStar(require("./requestConfig"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./callback"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./utilityTypes"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./services/authenticationService"), exports);
|
|
11
12
|
exports.Api = require("./api");
|
|
12
13
|
exports.Server = require("./server");
|
|
13
14
|
exports.Models = require("./api/models");
|
package/out/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,oDAA0B;AAC1B,mDAAyB;AACzB,0DAAgC;AAChC,qDAA2B;AAC3B,uDAA6B;AAC7B,yDAA+B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,oDAA0B;AAC1B,mDAAyB;AACzB,0DAAgC;AAChC,qDAA2B;AAC3B,uDAA6B;AAC7B,yDAA+B;AAC/B,2EAAiD;AAEjD,+BAA6B;AAC7B,qCAAmC;AACnC,yCAAuC;AACvC,iDAA+C;AAC/C,kDAAgD;AAChD,0DAAwD"}
|
package/out/requestConfig.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type RequestConfig = AxiosRequestConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Embeddable = Record<string, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "confluence.js",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "confluence.js is a powerful Node.JS/Browser module that allows you to interact with the Confluence API very easily",
|
|
5
5
|
"author": "Vladislav Tupikin <mrrefactoring@yandex.ru>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,31 +42,31 @@
|
|
|
42
42
|
"atlassian"
|
|
43
43
|
],
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@swc-node/register": "^1.5.
|
|
46
|
-
"@types/express": "^4.17.
|
|
45
|
+
"@swc-node/register": "^1.5.4",
|
|
46
|
+
"@types/express": "^4.17.15",
|
|
47
47
|
"@types/oauth": "^0.9.1",
|
|
48
48
|
"@types/sinon": "^10.0.13",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
50
|
-
"@typescript-eslint/parser": "^5.
|
|
51
|
-
"ava": "^
|
|
52
|
-
"dotenv": "^16.0.
|
|
53
|
-
"eslint": "^8.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
|
50
|
+
"@typescript-eslint/parser": "^5.48.0",
|
|
51
|
+
"ava": "^5.1.0",
|
|
52
|
+
"dotenv": "^16.0.3",
|
|
53
|
+
"eslint": "^8.31.0",
|
|
54
54
|
"eslint-config-airbnb": "^19.0.4",
|
|
55
55
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
56
|
-
"eslint-import-resolver-typescript": "^3.5.
|
|
56
|
+
"eslint-import-resolver-typescript": "^3.5.2",
|
|
57
57
|
"eslint-plugin-import": "^2.26.0",
|
|
58
|
-
"prettier": "^2.
|
|
58
|
+
"prettier": "^2.8.1",
|
|
59
59
|
"prettier-plugin-jsdoc": "^0.4.2",
|
|
60
|
-
"sinon": "^
|
|
61
|
-
"typedoc": "^0.23.
|
|
62
|
-
"typedoc-plugin-extras": "^2.3.
|
|
63
|
-
"typescript": "^4.
|
|
60
|
+
"sinon": "^15.0.1",
|
|
61
|
+
"typedoc": "^0.23.23",
|
|
62
|
+
"typedoc-plugin-extras": "^2.3.1",
|
|
63
|
+
"typescript": "^4.9.4"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"atlassian-jwt": "^2.0.2",
|
|
67
67
|
"axios": "^0.27.2",
|
|
68
68
|
"form-data": "^4.0.0",
|
|
69
69
|
"oauth": "^0.10.0",
|
|
70
|
-
"tslib": "^2.4.
|
|
70
|
+
"tslib": "^2.4.1"
|
|
71
71
|
}
|
|
72
72
|
}
|
package/src/index.ts
CHANGED