@foxtware/mineral 1.0.4 → 1.0.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.
Files changed (2) hide show
  1. package/api/utils.js +3 -2
  2. package/package.json +1 -1
package/api/utils.js CHANGED
@@ -851,7 +851,7 @@ class OperationQueue {
851
851
 
852
852
  async run({
853
853
  interval = false,
854
- verbose = true,
854
+ verbose = !HOSTED,
855
855
  inspect = false,
856
856
  } = {}) {
857
857
 
@@ -1182,6 +1182,7 @@ class Processor extends EventEmitter {
1182
1182
  }
1183
1183
  }
1184
1184
 
1185
+ // TODO: verbose as option
1185
1186
  class Getter extends EventEmitter {
1186
1187
  constructor(
1187
1188
  startingParams,
@@ -1277,7 +1278,7 @@ class Getter extends EventEmitter {
1277
1278
  [done, paginatedParams] = await paginator(paginatedParams, response);
1278
1279
  }
1279
1280
 
1280
- console.log(`${ ifTextThenSpace(this.logFlavourText) }resultsCount`, resultsCount);
1281
+ !HOSTED && console.log(`${ ifTextThenSpace(this.logFlavourText) }resultsCount`, resultsCount);
1281
1282
  this.emit('done');
1282
1283
 
1283
1284
  if (returnAll) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxtware/mineral",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "bin": {
5
5
  "mineral": "bin/mineral.js"
6
6
  },