contentful 9.2.17 → 9.2.18
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 +56 -42
- package/dist/contentful.browser.js.map +1 -1
- package/dist/contentful.browser.min.js +2 -2
- package/dist/contentful.node.js +56 -42
- package/dist/contentful.node.js.map +1 -1
- package/dist/contentful.node.min.js +2 -2
- package/dist/es-modules/contentful.js +1 -1
- package/package.json +4 -4
|
@@ -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.2.
|
|
66
|
+
const userAgentHeader = getUserAgentHeader(`contentful.js/${"9.2.18"}`, 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.2.
|
|
4
|
+
"version": "9.2.18",
|
|
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",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"axios": "^0.27.0",
|
|
66
66
|
"contentful-resolve-response": "^1.3.12",
|
|
67
|
-
"contentful-sdk-core": "^7.0.
|
|
67
|
+
"contentful-sdk-core": "^7.0.5",
|
|
68
68
|
"fast-copy": "^2.1.7",
|
|
69
69
|
"json-stringify-safe": "^5.0.1"
|
|
70
70
|
},
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"eslint-config-standard": "^16.0.0",
|
|
94
94
|
"eslint-plugin-import": "^2.9.0",
|
|
95
95
|
"eslint-plugin-node": "^11.1.0",
|
|
96
|
-
"eslint-plugin-promise": "^
|
|
96
|
+
"eslint-plugin-promise": "^5.2.0",
|
|
97
97
|
"eslint-plugin-standard": "^5.0.0",
|
|
98
98
|
"express": "^4.15.4",
|
|
99
99
|
"husky": "^4.3.8",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"karma-sauce-launcher": "^4.1.2",
|
|
108
108
|
"karma-tap": "^4.1.3",
|
|
109
109
|
"karma-webpack": "^4.0.2",
|
|
110
|
-
"mkdirp": "^
|
|
110
|
+
"mkdirp": "^2.0.0",
|
|
111
111
|
"nodemon": "^2.0.2",
|
|
112
112
|
"regenerator-runtime": "^0.13.7",
|
|
113
113
|
"require-all": "^3.0.0",
|