rest-client-sdk
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -44,27 +44,6 @@ "use strict"; | ||
var _iteratorNormalCompletion = true; | ||
var _didIteratorError = false; | ||
var _iteratorError = undefined; | ||
keys.forEach(function (key) { | ||
formData.append(key, parameters[key]); | ||
}); | ||
try { | ||
for (var _iterator = keys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { | ||
var key = _step.value; | ||
formData.append(key, parameters[key]); | ||
} | ||
} catch (err) { | ||
_didIteratorError = true; | ||
_iteratorError = err; | ||
} finally { | ||
try { | ||
if (!_iteratorNormalCompletion && _iterator.return) { | ||
_iterator.return(); | ||
} | ||
} finally { | ||
if (_didIteratorError) { | ||
throw _iteratorError; | ||
} | ||
} | ||
} | ||
return formData; | ||
@@ -71,0 +50,0 @@ } |
{ | ||
"name": "rest-client-sdk", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "Rest Client SDK for API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -27,5 +27,5 @@ class AbstractTokenGenerator { | ||
for (const key of keys) { | ||
keys.forEach((key) => { | ||
formData.append(key, parameters[key]); | ||
} | ||
}); | ||
@@ -32,0 +32,0 @@ return formData; |
61265
1294