@inneropen/marvin-sdk 2.0.0-next.13 → 2.0.0-next.14

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.
@@ -239,8 +239,7 @@ var init_HttpClient = __esm({
239
239
  }
240
240
  const data = await response.json();
241
241
  if (this.debug) {
242
- const preview = typeof data === "object" && data !== null ? Array.isArray(data) ? `Array(${data.length})` : `Object with keys: ${Object.keys(data).join(", ")}` : String(data);
243
- this.logger.log(`[Marvin] Response: ${preview}`);
242
+ this.logger.log("[Marvin] Response:", JSON.stringify(data, null, 2));
244
243
  }
245
244
  return data;
246
245
  } catch (error) {
package/dist/index.cjs CHANGED
@@ -282,8 +282,7 @@ var init_HttpClient = __esm({
282
282
  }
283
283
  const data = await response.json();
284
284
  if (this.debug) {
285
- const preview = typeof data === "object" && data !== null ? Array.isArray(data) ? `Array(${data.length})` : `Object with keys: ${Object.keys(data).join(", ")}` : String(data);
286
- this.logger.log(`[Marvin] Response: ${preview}`);
285
+ this.logger.log("[Marvin] Response:", JSON.stringify(data, null, 2));
287
286
  }
288
287
  return data;
289
288
  } catch (error) {
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  isPaginatedResponse,
23
23
  offsetToPage,
24
24
  pageToOffset
25
- } from "./chunk-DYC2BEA4.js";
25
+ } from "./chunk-BVHNN2PW.js";
26
26
 
27
27
  // src/client/config.ts
28
28
  var config_exports = {};
package/dist/platform.cjs CHANGED
@@ -232,8 +232,7 @@ var HttpClient = class {
232
232
  }
233
233
  const data = await response.json();
234
234
  if (this.debug) {
235
- const preview = typeof data === "object" && data !== null ? Array.isArray(data) ? `Array(${data.length})` : `Object with keys: ${Object.keys(data).join(", ")}` : String(data);
236
- this.logger.log(`[Marvin] Response: ${preview}`);
235
+ this.logger.log("[Marvin] Response:", JSON.stringify(data, null, 2));
237
236
  }
238
237
  return data;
239
238
  } catch (error) {
package/dist/platform.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  HttpClient,
3
3
  SessionAuth,
4
4
  init_core
5
- } from "./chunk-DYC2BEA4.js";
5
+ } from "./chunk-BVHNN2PW.js";
6
6
 
7
7
  // src/platform/client.ts
8
8
  init_core();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inneropen/marvin-sdk",
3
- "version": "2.0.0-next.13",
3
+ "version": "2.0.0-next.14",
4
4
  "description": "Official TypeScript SDK for Marvin CMS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",