pentatrion-lib
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -95,3 +95,3 @@ import { notify } from "mini-notifier"; | ||
export function formFetch(url, params = {}, xRequestedWith = false) { | ||
if (params.body && typeof params.body === "object") { | ||
if (params.body && typeof params.body === "object" && !(params.body instanceof FormData)) { | ||
params.body = obj2form(params.body); | ||
@@ -98,0 +98,0 @@ } |
@@ -22,3 +22,3 @@ // https://css-tricks.com/debouncing-throttling-explained-examples/ | ||
} | ||
// appel la fonction une première fois puis malgré le fait que la fonction | ||
// appele la fonction une première fois puis malgré le fait que la fonction | ||
// puisse être appelée plein de fois le nouvel appel ne pourra avoir lieu | ||
@@ -25,0 +25,0 @@ // qu'après la durée du seuil. |
{ | ||
"name": "pentatrion-lib", | ||
"description": "Des fonctions utiles pour vos projets", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
23208