@mapomodule/core
Advanced tools
Comparing version 1.0.0-alpha.31 to 1.0.0-alpha.34
@@ -5,4 +5,4 @@ const transformRequestInMultipart = require('@mapomodule/core/api/multipart') | ||
const { multipart } = (options || {}) | ||
if (!(payload instanceof FormData) && (typeof multipart === 'string') && multipart !== 'disable') { | ||
payload = transformRequestInMultipart(payload, multipart); | ||
if (!(payload instanceof FormData) && multipart !== 'disable') { | ||
payload = transformRequestInMultipart(payload, multipart || 'auto'); | ||
} | ||
@@ -9,0 +9,0 @@ return payload |
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-alpha.34](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.33...v1.0.0-alpha.34) (2022-11-11) | ||
### Features | ||
* default upload in multipart autodiscover ([b153307](https://github.com/lotrekagency/mapo/commit/b15330725a64a0931d2de49929a01e3a7319b382)) | ||
# [1.0.0-alpha.31](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.30...v1.0.0-alpha.31) (2022-09-14) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@mapomodule/core", | ||
"version": "1.0.0-alpha.31", | ||
"version": "1.0.0-alpha.34", | ||
"description": "This is part of Mapo nuxt module. Injects the core mapo plugin helpers.", | ||
@@ -16,3 +16,3 @@ "author": "bnznamco <gabriele.baldi.01@gmail.com>", | ||
"dependencies": { | ||
"@mapomodule/utils": "^1.0.0-alpha.30" | ||
"@mapomodule/utils": "^1.0.0-alpha.34" | ||
}, | ||
@@ -22,3 +22,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "fe25f51c0ef03764bca9d9b2b123f0729d71d13e" | ||
"gitHead": "48d74634c57ecbdf8c0b65a11833050c068fa9ef" | ||
} |
26013