contentful 9.3.0 → 9.3.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/dist/contentful.browser.js +14 -45
- package/dist/contentful.browser.js.map +1 -1
- package/dist/contentful.browser.min.js +3 -4
- package/dist/contentful.node.js +8 -6
- package/dist/contentful.node.js.map +1 -1
- package/dist/contentful.node.min.js +1 -1
- package/dist/es-modules/contentful.js +1 -1
- package/package.json +7 -2
|
@@ -63,7 +63,7 @@ export function createClient(params) {
|
|
|
63
63
|
environment: 'master'
|
|
64
64
|
};
|
|
65
65
|
const config = _objectSpread(_objectSpread({}, defaultConfig), params);
|
|
66
|
-
const userAgentHeader = getUserAgentHeader(`contentful.js/${"9.3.
|
|
66
|
+
const userAgentHeader = getUserAgentHeader(`contentful.js/${"9.3.2"}`, config.application, config.integration);
|
|
67
67
|
config.headers = _objectSpread(_objectSpread({}, config.headers), {}, {
|
|
68
68
|
'Content-Type': 'application/vnd.contentful.delivery.v1+json',
|
|
69
69
|
'X-Contentful-User-Agent': userAgentHeader
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentful",
|
|
3
3
|
"description": "Client for Contentful's Content Delivery API",
|
|
4
|
-
"version": "9.3.
|
|
4
|
+
"version": "9.3.2",
|
|
5
5
|
"homepage": "https://www.contentful.com/developers/documentation/content-delivery-api/",
|
|
6
6
|
"main": "./dist/contentful.node.js",
|
|
7
7
|
"module": "./dist/es-modules/contentful.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"postbuild": "npm run check:browser && npm run check:modules && npm run check:node",
|
|
22
22
|
"check:browser": "es-check es2017 ./dist/contentful.browser.js ./dist/contentful.browser.min.js",
|
|
23
23
|
"check:node": "es-check es2017 ./dist/contentful.node.js ./dist/contentful.node.min.js",
|
|
24
|
-
"check:modules": "es-check
|
|
24
|
+
"check:modules": "es-check es2017 --module ./dist/es-modules/**/*.js ./dist/es-modules/*.js",
|
|
25
25
|
"docs:build": "jsdoc -c jsdoc.json",
|
|
26
26
|
"docs:dev": "npm run build && npm run docs:build",
|
|
27
27
|
"docs:watch": "nodemon --exec npm run docs:dev -w lib",
|
|
@@ -156,6 +156,11 @@
|
|
|
156
156
|
"name": "beta-v10",
|
|
157
157
|
"channel": "beta-v10",
|
|
158
158
|
"prerelease": true
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "beta-resource-links",
|
|
162
|
+
"channel": "beta-resource-links",
|
|
163
|
+
"prerelease": true
|
|
159
164
|
}
|
|
160
165
|
],
|
|
161
166
|
"plugins": [
|