contentful-management 11.64.0-new-beta.1 → 11.64.0-new-beta.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/README.md +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -216,7 +216,7 @@ const entries = await scopedPlainClient.entry.getMany({
|
|
|
216
216
|
})
|
|
217
217
|
```
|
|
218
218
|
|
|
219
|
-
You can try and change the above example on [Runkit](https://npm.runkit.com/contentful-management).
|
|
219
|
+
You can try and change the above example on [Runkit](https://npm.runkit.com/contentful-management).
|
|
220
220
|
|
|
221
221
|
The benefits of using the "plain" version of the client, over the legacy version, are:
|
|
222
222
|
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -14158,7 +14158,7 @@ function createClient(params, opts = {}) {
|
|
|
14158
14158
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
14159
14159
|
const userAgent = contentfulSdkCore.getUserAgentHeader(
|
|
14160
14160
|
// @ts-expect-error
|
|
14161
|
-
`${sdkMain}/${"11.64.0-new-beta.
|
|
14161
|
+
`${sdkMain}/${"11.64.0-new-beta.2"}`, params.application, params.integration, params.feature);
|
|
14162
14162
|
const adapter = createAdapter({ ...params, userAgent });
|
|
14163
14163
|
// Parameters<?> and ReturnType<?> only return the types of the last overload
|
|
14164
14164
|
// 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.2"}`, 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.2"}`, 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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentful-management",
|
|
3
|
-
"version": "11.64.0-new-beta.
|
|
3
|
+
"version": "11.64.0-new-beta.2",
|
|
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": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@contentful/rich-text-types": "^16.6.1",
|
|
72
72
|
"axios": "^1.12.2",
|
|
73
|
-
"contentful-sdk-core": "^
|
|
73
|
+
"contentful-sdk-core": "^9.2.1",
|
|
74
74
|
"fast-copy": "^3.0.0",
|
|
75
75
|
"globals": "^15.15.0"
|
|
76
76
|
},
|