contentful-management 11.36.0 → 11.36.1-beta.1
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 +2311 -2230
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +4418 -4337
- 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/package.json +12 -12
|
@@ -46,7 +46,7 @@ function createClient(params, opts = {}) {
|
|
|
46
46
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
47
47
|
const userAgent = getUserAgentHeader(
|
|
48
48
|
// @ts-expect-error
|
|
49
|
-
`${sdkMain}/${"11.36.
|
|
49
|
+
`${sdkMain}/${"11.36.1-beta.1"}`, params.application, params.integration, params.feature);
|
|
50
50
|
const adapter = createAdapter(_objectSpread(_objectSpread({}, params), {}, {
|
|
51
51
|
userAgent
|
|
52
52
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentful-management",
|
|
3
|
-
"version": "11.36.
|
|
3
|
+
"version": "11.36.1-beta.1",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"test:integration-watch": "BABEL_ENV=test babel-node --extensions .ts --extensions .js ./node_modules/.bin/mocha './test/integration/*.[tj]s' --config mocharc.js --watch --require @babel/register",
|
|
47
47
|
"test:browser": "BABEL_ENV=test karma start karma.conf.local.js --log-level info",
|
|
48
48
|
"test:version": "grep -r \"0.0.0-determined-by-semantic-release\" ./dist > /dev/null && echo \"version 0.0.0-determined-by-semantic-release found in output\" && exit 1 || exit 0",
|
|
49
|
-
"test:size": "
|
|
49
|
+
"test:size": "size-limit",
|
|
50
50
|
"test:prepush": "npm run build && npm run test:unit && npm run test:size",
|
|
51
51
|
"prettier": "prettier --write '**/*.{jsx,js,ts,tsx}'",
|
|
52
52
|
"prettier:check": "prettier --check '**/*.{jsx,js,ts,tsx}'",
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
"@babel/preset-typescript": "^7.24.7",
|
|
81
81
|
"@contentful/integration-test-utils": "^2.0.0",
|
|
82
82
|
"@semantic-release/changelog": "^6.0.0",
|
|
83
|
+
"@size-limit/file": "^11.1.6",
|
|
83
84
|
"@types/chai": "^4.3.16",
|
|
84
85
|
"@types/chai-as-promised": "^7.1.4",
|
|
85
86
|
"@types/json-patch": "0.0.30",
|
|
@@ -94,8 +95,6 @@
|
|
|
94
95
|
"babel-plugin-inline-replace-variables": "^1.3.1",
|
|
95
96
|
"babel-plugin-lodash": "^3.3.4",
|
|
96
97
|
"babel-plugin-rewire-ts": "1.4.0",
|
|
97
|
-
"better-docs": "2.7.3",
|
|
98
|
-
"bundlesize": "0.18.1",
|
|
99
98
|
"chai": "^4.2.0",
|
|
100
99
|
"chai-as-promised": "7.1.2",
|
|
101
100
|
"contentful-sdk-jsdoc": "3.1.0",
|
|
@@ -106,12 +105,12 @@
|
|
|
106
105
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
107
106
|
"eslint-plugin-node": "^11.1.0",
|
|
108
107
|
"eslint-plugin-promise": "^6.2.0",
|
|
109
|
-
"express": "^4.
|
|
108
|
+
"express": "^4.21.1",
|
|
110
109
|
"husky": "^4.3.8",
|
|
111
110
|
"in-publish": "^2.0.1",
|
|
112
111
|
"json-patch": "^0.7.0",
|
|
113
112
|
"jsonwebtoken": "^9.0.2",
|
|
114
|
-
"karma": "^6.
|
|
113
|
+
"karma": "^6.4.4",
|
|
115
114
|
"karma-chrome-launcher": "^3.1.0",
|
|
116
115
|
"karma-env-preprocessor": "^0.1.1",
|
|
117
116
|
"karma-firefox-launcher": "^2.1.1",
|
|
@@ -127,9 +126,10 @@
|
|
|
127
126
|
"nyc": "^15.1.0",
|
|
128
127
|
"prettier": "^2.6.0",
|
|
129
128
|
"rimraf": "^5.0.0",
|
|
130
|
-
"semantic-release": "^
|
|
129
|
+
"semantic-release": "^22.0.12",
|
|
131
130
|
"sinon": "^18.0.0",
|
|
132
131
|
"sinon-chai": "^3.7.0",
|
|
132
|
+
"size-limit": "^11.1.6",
|
|
133
133
|
"type-fest": "^4.18.3",
|
|
134
134
|
"typedoc": "^0.26.2",
|
|
135
135
|
"typescript": "^5.5.2",
|
|
@@ -184,22 +184,22 @@
|
|
|
184
184
|
"@semantic-release/github"
|
|
185
185
|
]
|
|
186
186
|
},
|
|
187
|
-
"
|
|
187
|
+
"size-limit": [
|
|
188
188
|
{
|
|
189
189
|
"path": "./dist/contentful-management.browser.js",
|
|
190
|
-
"
|
|
190
|
+
"limit": "161 kB"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
"path": "./dist/contentful-management.browser.min.js",
|
|
194
|
-
"
|
|
194
|
+
"limit": "70 kB"
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
"path": "./dist/contentful-management.node.js",
|
|
198
|
-
"
|
|
198
|
+
"limit": "177 kB"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
"path": "./dist/contentful-management.node.min.js",
|
|
202
|
-
"
|
|
202
|
+
"limit": "88 kB"
|
|
203
203
|
}
|
|
204
204
|
]
|
|
205
205
|
}
|