@brightleaf/react-hooks
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -65,3 +65,3 @@ "use strict"; | ||
...fullConfig, | ||
body: JSON.stringify(data) | ||
body: typeof data === 'string' || data instanceof String ? data : JSON.stringify(data) | ||
}); | ||
@@ -68,0 +68,0 @@ }; |
{ | ||
"name": "@brightleaf/react-hooks", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Useful react hooks", | ||
@@ -5,0 +5,0 @@ "files": [ |
54805