@magemetrics/core 0.3.1 → 0.3.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.d.ts CHANGED
@@ -3,6 +3,7 @@ import { DefaultChatTransport } from 'ai';
3
3
  import { GoTrueClientOptions } from '@supabase/auth-js';
4
4
  import { HttpChatTransportInitOptions } from 'ai';
5
5
  import type { InferUITool } from 'ai';
6
+ import type { NodeBase } from '@xyflow/system';
6
7
  import type { Simplify } from 'type-fest';
7
8
  import type { Tool } from 'ai';
8
9
  import type { UIMessage } from 'ai';
@@ -264,6 +265,9 @@ export declare type CreateFlowParam = {
264
265
  declare type CustomDataParts = {
265
266
  "quick-actions": z.infer<typeof QuickActionsSchema>;
266
267
  signal: z.infer<typeof SignalWithReportIdSchema>;
268
+ "node-added": {
269
+ node: NodeBase;
270
+ };
267
271
  };
268
272
 
269
273
  declare type ExtractInsightResponse = z.infer<typeof ExtractInsightResponseSchema>;
package/dist/index.js CHANGED
@@ -2870,7 +2870,7 @@ var toSearchParams = ({ cursor, filters, sorting, limit }) => {
2870
2870
 
2871
2871
  // package.json
2872
2872
  var package_default = {
2873
- version: "0.3.1"};
2873
+ version: "0.3.2"};
2874
2874
  var MageMetricsChatTransport = class extends DefaultChatTransport {
2875
2875
  constructor(apiUrl, flowId, options) {
2876
2876
  super({