contentful-management 11.64.0-new-beta.3 → 11.64.0-new-beta.4
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/README.md +1 -1
- package/dist/browser/index.js +25378 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/index.min.js +2 -0
- package/dist/browser/index.min.js.map +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +11 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -14163,7 +14163,7 @@ function createClient(params, opts = {}) {
|
|
|
14163
14163
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
14164
14164
|
const userAgent = contentfulSdkCore.getUserAgentHeader(
|
|
14165
14165
|
// @ts-expect-error
|
|
14166
|
-
`${sdkMain}/${"11.64.0-new-beta.
|
|
14166
|
+
`${sdkMain}/${"11.64.0-new-beta.4"}`, params.application, params.integration, params.feature);
|
|
14167
14167
|
const adapter = createAdapter({ ...params, userAgent });
|
|
14168
14168
|
// Parameters<?> and ReturnType<?> only return the types of the last overload
|
|
14169
14169
|
// https://github.com/microsoft/TypeScript/issues/26591
|
package/dist/esm/index.mjs
CHANGED
|
@@ -22,7 +22,7 @@ function createClient(params, opts = {}) {
|
|
|
22
22
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
23
23
|
const userAgent = getUserAgentHeader(
|
|
24
24
|
// @ts-expect-error
|
|
25
|
-
`${sdkMain}/${"11.64.0-new-beta.
|
|
25
|
+
`${sdkMain}/${"11.64.0-new-beta.4"}`, params.application, params.integration, params.feature);
|
|
26
26
|
const adapter = createAdapter({ ...params, userAgent });
|
|
27
27
|
// Parameters<?> and ReturnType<?> only return the types of the last overload
|
|
28
28
|
// https://github.com/microsoft/TypeScript/issues/26591
|
package/dist/types/index.js
CHANGED
|
@@ -22,7 +22,7 @@ function createClient(params, opts = {}) {
|
|
|
22
22
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
23
23
|
const userAgent = getUserAgentHeader(
|
|
24
24
|
// @ts-expect-error
|
|
25
|
-
`${sdkMain}/${"11.64.0-new-beta.
|
|
25
|
+
`${sdkMain}/${"11.64.0-new-beta.4"}`, params.application, params.integration, params.feature);
|
|
26
26
|
const adapter = createAdapter({ ...params, userAgent });
|
|
27
27
|
// Parameters<?> and ReturnType<?> only return the types of the last overload
|
|
28
28
|
// https://github.com/microsoft/TypeScript/issues/26591
|
package/package.json
CHANGED
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentful-management",
|
|
3
|
-
"version": "11.64.0-new-beta.
|
|
3
|
+
"version": "11.64.0-new-beta.4",
|
|
4
4
|
"description": "Client for Contentful's Content Management API",
|
|
5
5
|
"homepage": "https://www.contentful.com/developers/documentation/content-management-api/",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
8
|
"types": "./dist/types/index.d.ts",
|
|
9
9
|
"require": "./dist/cjs/index.cjs",
|
|
10
|
+
"browser": "./dist/browser/index.min.js",
|
|
10
11
|
"default": "./dist/esm/index.mjs"
|
|
11
12
|
},
|
|
12
13
|
"./types": {
|
|
13
14
|
"types": "./dist/types/index.d.ts"
|
|
14
15
|
}
|
|
15
16
|
},
|
|
16
|
-
"main": "./dist/
|
|
17
|
-
"
|
|
17
|
+
"main": "./dist/cjs/index.cjs",
|
|
18
|
+
"module": "./dist/esm/index.mjs",
|
|
19
|
+
"types": "./dist/types/index.d.ts",
|
|
20
|
+
"browser": "./dist/browser/index.min.js",
|
|
18
21
|
"engines": {
|
|
19
22
|
"node": ">=20"
|
|
20
23
|
},
|
|
@@ -52,7 +55,7 @@
|
|
|
52
55
|
"test:browser": "npx playwright install && npx vitest --project browser-unit --run && npx vitest --project browser-integration --run",
|
|
53
56
|
"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",
|
|
54
57
|
"test:size": "size-limit",
|
|
55
|
-
"test:demo-projects": "npm run test:demo-node",
|
|
58
|
+
"test:demo-projects": "npm run test:demo-node && npm run test:demo-browser",
|
|
56
59
|
"test:demo-node": "rimraf ./test/output-integration/node/node-modules && npm --prefix ./test/output-integration/node ci && vitest --run ./test/output-integration/node",
|
|
57
60
|
"test:demo-browser": "rimraf ./test/output-integration/browser/node-modules && npm --prefix ./test/output-integration/browser ci && npm --prefix ./test/output-integration/browser run test",
|
|
58
61
|
"test:prepush": "npm run build && npm run test:unit && npm run test:size",
|
|
@@ -77,9 +80,12 @@
|
|
|
77
80
|
"devDependencies": {
|
|
78
81
|
"@contentful/integration-test-utils": "^2.0.1",
|
|
79
82
|
"@eslint/js": "^9.15.0",
|
|
83
|
+
"@rollup/plugin-alias": "^6.0.0",
|
|
84
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
80
85
|
"@rollup/plugin-json": "^6.1.0",
|
|
81
86
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
82
87
|
"@rollup/plugin-replace": "^6.0.3",
|
|
88
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
83
89
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
84
90
|
"@semantic-release/changelog": "^6.0.3",
|
|
85
91
|
"@size-limit/file": "^11.1.6",
|
|
@@ -103,6 +109,7 @@
|
|
|
103
109
|
"prettier": "^3.6.2",
|
|
104
110
|
"rimraf": "^5.0.0",
|
|
105
111
|
"rollup": "^4.53.3",
|
|
112
|
+
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
106
113
|
"rollup-plugin-sourcemaps2": "^0.5.4",
|
|
107
114
|
"semantic-release": "^25.0.2",
|
|
108
115
|
"size-limit": "^11.1.6",
|