@rolldown/debug 1.0.0-beta.7-commit.cef50bd → 1.0.0-beta.7-commit.46fbc61

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.
@@ -1,5 +1,7 @@
1
+ import type { BuildEnd } from "./BuildEnd";
2
+ import type { BuildStart } from "./BuildStart";
1
3
  import type { HookLoadCallEnd } from "./HookLoadCallEnd";
2
4
  import type { HookLoadCallStart } from "./HookLoadCallStart";
3
5
  import type { HookTransformCallEnd } from "./HookTransformCallEnd";
4
6
  import type { HookTransformCallStart } from "./HookTransformCallStart";
5
- export type Action = HookTransformCallStart | HookTransformCallEnd | HookLoadCallStart | HookLoadCallEnd;
7
+ export type Action = HookTransformCallStart | HookTransformCallEnd | HookLoadCallStart | HookLoadCallEnd | BuildStart | BuildEnd;
@@ -0,0 +1,3 @@
1
+ export type BuildEnd = {
2
+ kind: 'BuildEnd';
3
+ };
@@ -0,0 +1,2 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ export {};
@@ -0,0 +1,3 @@
1
+ export type BuildStart = {
2
+ kind: 'BuildStart';
3
+ };
@@ -0,0 +1,2 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ export {};
@@ -3,4 +3,8 @@ export type HookLoadCallEnd = {
3
3
  module_id: string;
4
4
  source: string | null;
5
5
  plugin_name: string;
6
+ /**
7
+ * The index of the plugin in the plugin list. It's unique to each plugin.
8
+ */
9
+ plugin_index: number;
6
10
  };
@@ -2,4 +2,8 @@ export type HookLoadCallStart = {
2
2
  kind: 'HookLoadCallStart';
3
3
  module_id: string;
4
4
  plugin_name: string;
5
+ /**
6
+ * The index of the plugin in the plugin list. It's unique to each plugin.
7
+ */
8
+ plugin_index: number;
5
9
  };
@@ -3,4 +3,8 @@ export type HookTransformCallEnd = {
3
3
  module_id: string;
4
4
  transformed_source: string | null;
5
5
  plugin_name: string;
6
+ /**
7
+ * The index of the plugin in the plugin list. It's unique to each plugin.
8
+ */
9
+ plugin_index: number;
6
10
  };
@@ -3,4 +3,8 @@ export type HookTransformCallStart = {
3
3
  module_id: string;
4
4
  source: string;
5
5
  plugin_name: string;
6
+ /**
7
+ * The index of the plugin in the plugin list. It's unique to each plugin.
8
+ */
9
+ plugin_index: number;
6
10
  };
@@ -1,4 +1,6 @@
1
1
  export * from './Action.js';
2
+ export * from './BuildEnd.js';
3
+ export * from './BuildStart.js';
2
4
  export * from './HookLoadCallEnd.js';
3
5
  export * from './HookLoadCallStart.js';
4
6
  export * from './HookTransformCallEnd.js';
@@ -1,4 +1,6 @@
1
1
  export * from './Action.js';
2
+ export * from './BuildEnd.js';
3
+ export * from './BuildStart.js';
2
4
  export * from './HookLoadCallEnd.js';
3
5
  export * from './HookLoadCallStart.js';
4
6
  export * from './HookTransformCallEnd.js';
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { type Action } from './generated/index.js';
2
2
  export * from './generated/index.js';
3
3
  export interface Event {
4
4
  timestamp: string;
5
- buildId: string;
5
+ session_id: string;
6
6
  fields: {
7
7
  action: Action;
8
8
  };
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/generated/Action.ts","../src/generated/HookLoadCallEnd.ts","../src/generated/HookLoadCallStart.ts","../src/generated/HookTransformCallEnd.ts","../src/generated/HookTransformCallStart.ts","../src/generated/index.ts"],"version":"5.8.3"}
1
+ {"root":["../src/index.ts","../src/generated/Action.ts","../src/generated/BuildEnd.ts","../src/generated/BuildStart.ts","../src/generated/HookLoadCallEnd.ts","../src/generated/HookLoadCallStart.ts","../src/generated/HookTransformCallEnd.ts","../src/generated/HookTransformCallStart.ts","../src/generated/index.ts"],"version":"5.8.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolldown/debug",
3
- "version": "1.0.0-beta.7-commit.cef50bd",
3
+ "version": "1.0.0-beta.7-commit.46fbc61",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {