@nestia/fetcher
Advanced tools
Comparing version 1.5.0-dev.20230802-5 to 1.5.0-dev.20230802-6
@@ -155,3 +155,4 @@ "use strict"; | ||
init.body = (function () { | ||
var json = headers["Content-Type"] !== "text/plain" | ||
var json = encrypted.request === true || | ||
headers["Content-Type"] !== "text/plain" | ||
? (stringify !== null && stringify !== void 0 ? stringify : JSON.stringify)(input) | ||
@@ -158,0 +159,0 @@ : String(input); |
{ | ||
"name": "@nestia/fetcher", | ||
"version": "1.5.0-dev.20230802-5", | ||
"version": "1.5.0-dev.20230802-6", | ||
"description": "Fetcher library of Nestia SDK", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -107,2 +107,3 @@ import import2 from "import2"; | ||
const json: string = | ||
encrypted.request === true || | ||
headers["Content-Type"] !== "text/plain" | ||
@@ -109,0 +110,0 @@ ? (stringify ?? JSON.stringify)(input) |
Sorry, the diff of this file is not supported yet
75041
1554