@k03mad/request 1.3.1 → 1.3.3

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.
@@ -5,7 +5,7 @@ on:
5
5
  branches:
6
6
  - master
7
7
  paths:
8
- - '**/*.js'
8
+ - '**.js'
9
9
 
10
10
  jobs:
11
11
  eslint:
@@ -22,7 +22,7 @@ jobs:
22
22
  node-version-file: '.nvmrc'
23
23
 
24
24
  - name: Install dependencies
25
- run: npm run setup
25
+ run: npm ci
26
26
 
27
27
  - name: Set credentials
28
28
  run: git config user.email "auto@action.autoaction_1" && git config user.name "Action"
package/app/lib/curl.js CHANGED
@@ -80,7 +80,7 @@ export default (url, {
80
80
  if (res) {
81
81
  const message = JSON.stringify(res.body || res.message);
82
82
 
83
- if (message?.length < 1000) {
83
+ if (message?.length < 1500) {
84
84
  msg.push(`\n${dim(green(message))}`);
85
85
  }
86
86
  }
@@ -22,7 +22,7 @@ const prepareRequestOpts = (opts = {}) => {
22
22
  }
23
23
 
24
24
  if (!preparedOpts.timeout) {
25
- preparedOpts.timeout = {request: 10_000};
25
+ preparedOpts.timeout = {request: 15_000};
26
26
  }
27
27
 
28
28
  if (!preparedOpts.headers) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k03mad/request",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "Request library",
5
5
  "maintainers": [
6
6
  "Kirill Molchanov <k03.mad@gmail.com"