@slingr/slingr-services 1.0.0 → 1.0.1

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/index.js CHANGED
@@ -371,8 +371,8 @@ const loadSvcWebServices = () => {
371
371
  loadDeveloperWebServices();
372
372
 
373
373
  webServicesServer.use(compression());
374
- webServicesServer.use(bodyParser.urlencoded({ extended: true })); // configure app to use bodyParser()
375
- webServicesServer.use(bodyParser.json()); // this will let us get the data from a POST
374
+ webServicesServer.use(bodyParser.urlencoded({ extended: true, limit: '50gb' })); // configure app to use bodyParser()
375
+ webServicesServer.use(bodyParser.json({ limit: '50gb' })); // this will let us get the data from a POST
376
376
  webServicesServer.use('/api', apiRouter); // all of our routes will be prefixed with /api
377
377
  webServicesServer.use('/', webhookRouter); // all of our routes will be prefixed with nothing
378
378
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slingr/slingr-services",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Nodejs SDK to create Slingr Services",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -18,6 +18,8 @@ const axiosInstance = require('axios').create(
18
18
  httpsAgent: new https.Agent({
19
19
  rejectUnauthorized: false
20
20
  }),
21
+ maxContentLength: Infinity,
22
+ maxBodyLength: Infinity
21
23
  }
22
24
  );
23
25
  // require('axios-retry')(