Comparing version 0.0.25 to 0.0.26
@@ -32,6 +32,11 @@ /* | ||
_.map(data, function(value, key){ | ||
var options = null; | ||
if (_.isString(value)){ | ||
value = iconv.encode(value, config.encoding); | ||
} | ||
formData.append(key, value); | ||
if (value.options){ | ||
options = value.options; | ||
delete value.options; | ||
} | ||
formData.append(key, value, options); | ||
}); | ||
@@ -38,0 +43,0 @@ config.headers = config.headers || {}; |
{ | ||
"name": "node-ral", | ||
"version": "0.0.25", | ||
"version": "0.0.26", | ||
"description": "a rpc client for node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
260293
7098
990
1