contentful 9.2.4 → 9.2.5
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 +11 -2
- package/dist/contentful.browser.js.map +1 -1
- package/dist/contentful.browser.min.js +1 -1
- package/dist/contentful.node.js +11 -2
- 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/dist/es-modules/entities/entry.js +1 -1
- package/package.json +1 -1
|
@@ -8934,7 +8934,7 @@ function createClient(params) {
|
|
|
8934
8934
|
|
|
8935
8935
|
const config = _objectSpread(_objectSpread({}, defaultConfig), params);
|
|
8936
8936
|
|
|
8937
|
-
const userAgentHeader = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_1__["getUserAgentHeader"])(`contentful.js/${"9.2.
|
|
8937
|
+
const userAgentHeader = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_1__["getUserAgentHeader"])(`contentful.js/${"9.2.5"}`, config.application, config.integration);
|
|
8938
8938
|
config.headers = _objectSpread(_objectSpread({}, config.headers), {}, {
|
|
8939
8939
|
'Content-Type': 'application/vnd.contentful.delivery.v1+json',
|
|
8940
8940
|
'X-Contentful-User-Agent': userAgentHeader
|
|
@@ -9011,6 +9011,15 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
9011
9011
|
* @prop {string} linkType - type of this link. If defined, either Entry or Asset
|
|
9012
9012
|
*/
|
|
9013
9013
|
|
|
9014
|
+
/**
|
|
9015
|
+
* Link to another entity in a different space.
|
|
9016
|
+
* @memberof Entities
|
|
9017
|
+
* @typedef ResourceLink
|
|
9018
|
+
* @prop {string} type - type of this entity. Always ResourceLink.
|
|
9019
|
+
* @prop {string} urn
|
|
9020
|
+
* @prop {string} linkType - type of this link. Always Contentful:Entry
|
|
9021
|
+
*/
|
|
9022
|
+
|
|
9014
9023
|
/**
|
|
9015
9024
|
* @memberof ContentfulClientAPI
|
|
9016
9025
|
* @typedef {Object} ClientAPI
|
|
@@ -9832,7 +9841,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9832
9841
|
* A Field in an Entry can have one of the following types that can be defined in Contentful. See <a href="https://www.contentful.com/developers/docs/references/field-type/">Field Types</a> for more details.
|
|
9833
9842
|
* @memberof Entities
|
|
9834
9843
|
* @typedef Field
|
|
9835
|
-
* @type EntryFields.Symbol | EntryFields.Text | EntryFields.Integer | EntryFields.Number | EntryFields.Date | EntryFields.Boolean | EntryFields.Location | Entities.Link | Array<EntryFields.Symbol|Entities.Link> | Object
|
|
9844
|
+
* @type EntryFields.Symbol | EntryFields.Text | EntryFields.Integer | EntryFields.Number | EntryFields.Date | EntryFields.Boolean | EntryFields.Location | Entities.Link | Entities.ResourceLink | Array<EntryFields.Symbol|Entities.Link|Entities.ResourceLink> | Object
|
|
9836
9845
|
*/
|
|
9837
9846
|
|
|
9838
9847
|
/**
|