contentful-management 8.2.2 → 8.3.0
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/dist/contentful-management.browser.js +1 -1
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.legacy.js +1 -1
- package/dist/contentful-management.legacy.js.map +1 -1
- package/dist/contentful-management.legacy.min.js +1 -1
- package/dist/contentful-management.node.js +1 -1
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/typings/entities/app-definition.d.ts +1 -1
- package/package.json +7 -7
|
@@ -25,7 +25,7 @@ function createClient(params) {
|
|
|
25
25
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
26
26
|
var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
27
27
|
var userAgent = getUserAgentHeader( // @ts-expect-error
|
|
28
|
-
"".concat(sdkMain, "/").concat("8.
|
|
28
|
+
"".concat(sdkMain, "/").concat("8.3.0"), params.application, params.integration, params.feature);
|
|
29
29
|
var adapter = createAdapter(params); // Parameters<?> and ReturnType<?> only return the types of the last overload
|
|
30
30
|
// https://github.com/microsoft/TypeScript/issues/26591
|
|
31
31
|
// @ts-expect-error
|
|
@@ -7,7 +7,7 @@ export interface NavigationItem {
|
|
|
7
7
|
name: string;
|
|
8
8
|
path: string;
|
|
9
9
|
}
|
|
10
|
-
declare type LocationType = 'app-config' | 'entry-sidebar' | 'entry-editor' | 'dialog' | 'page';
|
|
10
|
+
declare type LocationType = 'app-config' | 'entry-sidebar' | 'entry-editor' | 'dialog' | 'page' | 'entry-list';
|
|
11
11
|
export interface SimpleLocation {
|
|
12
12
|
location: LocationType;
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentful-management",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.0",
|
|
4
4
|
"description": "Client for Contentful's Content Management API",
|
|
5
5
|
"homepage": "https://www.contentful.com/developers/documentation/content-management-api/",
|
|
6
6
|
"main": "./dist/contentful-management.node.js",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@babel/cli": "^7.12.7",
|
|
66
66
|
"@babel/core": "^7.14.0",
|
|
67
|
+
"@babel/eslint-parser": "^7.17.0",
|
|
67
68
|
"@babel/node": "^7.13.13",
|
|
68
69
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
69
70
|
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
|
|
@@ -80,9 +81,8 @@
|
|
|
80
81
|
"@types/lodash.isplainobject": "^4.0.6",
|
|
81
82
|
"@types/node": "^17.0.10",
|
|
82
83
|
"@types/sinon": "10.0.11",
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "
|
|
84
|
-
"@typescript-eslint/parser": "
|
|
85
|
-
"babel-eslint": "^10.1.0",
|
|
84
|
+
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
|
85
|
+
"@typescript-eslint/parser": "^5.15.0",
|
|
86
86
|
"babel-loader": "^8.2.1",
|
|
87
87
|
"babel-minify-webpack-plugin": "^0.3.1",
|
|
88
88
|
"babel-plugin-inline-replace-variables": "^1.3.1",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"contentful-sdk-jsdoc": "^2.2.0",
|
|
96
96
|
"core-js": "^2.6.12",
|
|
97
97
|
"cz-conventional-changelog": "^3.3.0",
|
|
98
|
-
"eslint": "^
|
|
99
|
-
"eslint-config-prettier": "^
|
|
98
|
+
"eslint": "^8.11.0",
|
|
99
|
+
"eslint-config-prettier": "^8.5.0",
|
|
100
100
|
"eslint-plugin-import": "^2.22.1",
|
|
101
101
|
"eslint-plugin-no-only-tests": "^2.6.0",
|
|
102
102
|
"eslint-plugin-node": "^11.1.0",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"mocha-junit-reporter": "^2.0.2",
|
|
121
121
|
"nodemon": "^2.0.7",
|
|
122
122
|
"nyc": "^15.1.0",
|
|
123
|
-
"prettier": "^2.0
|
|
123
|
+
"prettier": "^2.6.0",
|
|
124
124
|
"require-all": "^3.0.0",
|
|
125
125
|
"rimraf": "^3.0.2",
|
|
126
126
|
"semantic-release": "^19.0.2",
|