@magemetrics/core 0.10.0-rc2 → 0.10.0

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
@@ -57,7 +57,7 @@ var addApiKeyHeader = (apiKey) => {
57
57
 
58
58
  // package.json
59
59
  var package_default = {
60
- version: "0.10.0-rc2"};
60
+ version: "0.10.0"};
61
61
 
62
62
  // src/core/MageMetricsEventEmitter.ts
63
63
  var MageMetricsEventEmitter = class {
@@ -151,7 +151,7 @@ var hashString = (value) => {
151
151
  return Array.from(hash).map((b) => b.toString(16).padStart(2, "0")).join("");
152
152
  };
153
153
 
154
- // ../../node_modules/.pnpm/@asteasolutions+zod-to-openapi@8.1.0_zod@4.3.5/node_modules/@asteasolutions/zod-to-openapi/dist/index.mjs
154
+ // ../../node_modules/.pnpm/@asteasolutions+zod-to-openapi@8.1.0_zod@4.3.6/node_modules/@asteasolutions/zod-to-openapi/dist/index.mjs
155
155
  function __rest(s, e) {
156
156
  var t = {};
157
157
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -469,7 +469,7 @@ function getOpenApiConfiguration(refOrOpenapi, metadataOrOptions, options) {
469
469
  };
470
470
  }
471
471
 
472
- // ../../node_modules/.pnpm/hono@4.11.4/node_modules/hono/dist/router/reg-exp-router/node.js
472
+ // ../../node_modules/.pnpm/hono@4.11.7/node_modules/hono/dist/router/reg-exp-router/node.js
473
473
  new Set(".\\+*[^]$()");
474
474
  var createRoute = (routeConfig) => {
475
475
  const route = {
@@ -912,8 +912,7 @@ var DatabaseFlowSchema = z.object({
912
912
  title: z.string().nullable(),
913
913
  user_id: z.string().nullable(),
914
914
  application_id: z.number().nullable().optional(),
915
- flow_steps: z.array(FlowStepSchema),
916
- flow_chat_messages: z.array(z.object({ count: z.number() }))
915
+ flow_steps: z.array(FlowStepSchema)
917
916
  });
918
917
  z.object({
919
918
  table: z.string(),
@@ -921,12 +920,10 @@ z.object({
921
920
  database: z.string()
922
921
  });
923
922
  var FrontendFlowSchema = DatabaseFlowSchema.omit({
924
- flow_chat_messages: true,
925
923
  flow_steps: true
926
924
  });
927
925
  var FrontendRecentFlowsSchema = DatabaseFlowSchema.omit({
928
- flow_steps: true,
929
- flow_chat_messages: true
926
+ flow_steps: true
930
927
  });
931
928
  var ReportColumnSchema = z.looseObject({
932
929
  position: z.number().nonnegative().optional(),