mysendingbox 1.0.7 → 1.0.8
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.
|
@@ -49,7 +49,7 @@ var ResourceBase = function (endpoint, config) {
|
|
|
49
49
|
let isMultiPartForm = false
|
|
50
50
|
for (const key in form) {
|
|
51
51
|
const val = form[key]
|
|
52
|
-
|
|
52
|
+
if ((val instanceof stream.Stream) || (val && val.hasOwnProperty('value'))) {
|
|
53
53
|
isMultiPartForm = true
|
|
54
54
|
break
|
|
55
55
|
}
|
|
@@ -114,4 +114,4 @@ var ResourceBase = function (endpoint, config) {
|
|
|
114
114
|
}
|
|
115
115
|
}).call(ResourceBase.prototype)
|
|
116
116
|
|
|
117
|
-
module.exports = ResourceBase
|
|
117
|
+
module.exports = ResourceBase
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"Mysendingbox.com",
|
|
12
12
|
"printing"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.0.
|
|
14
|
+
"version": "1.0.8",
|
|
15
15
|
"homepage": "https://github.com/exaland/mysendingbox-node",
|
|
16
16
|
"author": "Exaland Concept For -> Mysendingbox <hello@mysendingbox.fr> (https://www.mysendingbox.fr/)",
|
|
17
17
|
"dependencies": {
|