@anuma/sdk 10.1.1 → 10.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -237,6 +237,9 @@ var jsonBodySerializer = {
237
237
  };
238
238
  var urlSearchParamsBodySerializer = {
239
239
  bodySerializer: (body) => {
240
+ if (typeof body === "string") {
241
+ return body;
242
+ }
240
243
  const data = new URLSearchParams();
241
244
  Object.entries(body).forEach(([key, value]) => {
242
245
  if (value === void 0 || value === null) {
@@ -11,6 +11,9 @@ var jsonBodySerializer = {
11
11
  };
12
12
  var urlSearchParamsBodySerializer = {
13
13
  bodySerializer: (body) => {
14
+ if (typeof body === "string") {
15
+ return body;
16
+ }
14
17
  const data = new URLSearchParams();
15
18
  Object.entries(body).forEach(([key, value]) => {
16
19
  if (value === void 0 || value === null) {