@sebspark/openapi-client 2.2.1 → 2.2.2

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.
package/dist/index.js CHANGED
@@ -199,10 +199,9 @@ var TypedClient = (baseURL, globalOptions, logger) => {
199
199
  var callServer = async (axiosInstance, args, logger) => {
200
200
  try {
201
201
  const serializer = paramsSerializer(args.arrayFormat);
202
- logger?.debug("[callServer] typeof serializer:", typeof serializer);
202
+ logger?.debug(`[callServer] typeof serializer: ${typeof serializer}`);
203
203
  logger?.debug(
204
- "[callServer] sample serialization:",
205
- serializer({ test: ["a", "b"] })
204
+ `[callServer] sample serialization: ${serializer({ test: ["a", "b"] })}`
206
205
  );
207
206
  const body = args.method?.toLowerCase() === "get" || args.method?.toLowerCase() === "delete" ? void 0 : args.body;
208
207
  const { headers, data } = await (0, import_retry.retry)(
package/dist/index.mjs CHANGED
@@ -164,10 +164,9 @@ var TypedClient = (baseURL, globalOptions, logger) => {
164
164
  var callServer = async (axiosInstance, args, logger) => {
165
165
  try {
166
166
  const serializer = paramsSerializer(args.arrayFormat);
167
- logger?.debug("[callServer] typeof serializer:", typeof serializer);
167
+ logger?.debug(`[callServer] typeof serializer: ${typeof serializer}`);
168
168
  logger?.debug(
169
- "[callServer] sample serialization:",
170
- serializer({ test: ["a", "b"] })
169
+ `[callServer] sample serialization: ${serializer({ test: ["a", "b"] })}`
171
170
  );
172
171
  const body = args.method?.toLowerCase() === "get" || args.method?.toLowerCase() === "delete" ? void 0 : args.body;
173
172
  const { headers, data } = await retry(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/openapi-client",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",