contentful-export 7.13.32 → 7.13.36
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 +17 -1
- package/dist/utils/embargoedAssets.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -223,16 +223,32 @@ Display progress in new lines instead of displaying a busy spinner and the statu
|
|
223
223
|
|
224
224
|
## :rescue_worker_helmet: Troubleshooting
|
225
225
|
|
226
|
-
|
226
|
+
### Proxy
|
227
|
+
|
228
|
+
Unable to connect to Contentful through your proxy? Try to set the `rawProxy` option to `true`.
|
229
|
+
|
230
|
+
```javascript
|
231
|
+
contentfulExport({
|
232
|
+
proxy: 'https://cat:dog@example.com:1234',
|
233
|
+
rawProxy: true,
|
234
|
+
...
|
235
|
+
})
|
236
|
+
```
|
237
|
+
|
238
|
+
### Error: 400 - Bad Request - Response size too big.
|
239
|
+
|
240
|
+
Contentful response sizes are limited (find more info in our [technical limit docs](https://www.contentful.com/developers/docs/technical-limits/)). In order to resolve this issue, limit the amount of entities received within a single request by setting the [`maxAllowedLimit`](#maxallowedlimit-number-default-1000) option:
|
227
241
|
|
228
242
|
```javascript
|
229
243
|
contentfulExport({
|
230
244
|
proxy: 'https://cat:dog@example.com:1234',
|
231
245
|
rawProxy: true,
|
246
|
+
maxAllowedLimit: 50
|
232
247
|
...
|
233
248
|
})
|
234
249
|
```
|
235
250
|
|
251
|
+
|
236
252
|
## :card_file_box: Exported data structure
|
237
253
|
|
238
254
|
This is an overview of the exported data:
|
@@ -3,8 +3,8 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.isEmbargoedAsset = isEmbargoedAsset;
|
7
6
|
exports.calculateExpiryTimestamp = calculateExpiryTimestamp;
|
7
|
+
exports.isEmbargoedAsset = isEmbargoedAsset;
|
8
8
|
exports.signUrl = signUrl;
|
9
9
|
|
10
10
|
var _requestPromise = _interopRequireDefault(require("request-promise"));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "contentful-export",
|
3
|
-
"version": "7.13.
|
3
|
+
"version": "7.13.36",
|
4
4
|
"description": "this tool allows you to export a space to a JSON dump",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"engines": {
|
@@ -88,7 +88,7 @@
|
|
88
88
|
"nock": "^13.0.0",
|
89
89
|
"opener": "^1.4.1",
|
90
90
|
"rimraf": "^3.0.2",
|
91
|
-
"semantic-release": "^
|
91
|
+
"semantic-release": "^18.0.0",
|
92
92
|
"travis-deploy-once": "^5.0.0"
|
93
93
|
},
|
94
94
|
"files": [
|