mobiletto 1.1.5 → 1.1.6

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/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -37,8 +37,8 @@ function MobilettoError (message, err) {
37
37
  // noinspection JSUnusedGlobalSymbols
38
38
  this.stack = (new Error(this.message)).stack
39
39
  }
40
+ MobilettoError.prototype.toString = () => JSON.stringify(this)
40
41
  }
41
- MobilettoError.prototype.toString = () => JSON.stringify(this)
42
42
 
43
43
  // adapted from https://stackoverflow.com/a/27724419
44
44
  function MobilettoNotFoundError (message) {
@@ -50,8 +50,8 @@ function MobilettoNotFoundError (message) {
50
50
  // noinspection JSUnusedGlobalSymbols
51
51
  this.stack = (new Error(this.message)).stack
52
52
  }
53
+ MobilettoNotFoundError.prototype.toString = () => JSON.stringify(this)
53
54
  }
54
- MobilettoNotFoundError.prototype.toString = () => JSON.stringify(this)
55
55
 
56
56
  const reader = (chunks) => (chunk) => { if (chunk) { chunks.push(chunk) } }
57
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobiletto",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "A storage layer that presents a uniform interface to Amazon S3, Backblaze B2, and local storage",
5
5
  "main": "index.js",
6
6
  "keywords": [