@secondlayer/subgraphs 7.0.2 → 7.0.3

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.
@@ -2,6 +2,7 @@ import { Database as Database3 } from "@secondlayer/shared/db";
2
2
  import { Webhook } from "@secondlayer/shared/db";
3
3
  import { Kysely as Kysely3 } from "kysely";
4
4
  import { Block, Event } from "@secondlayer/shared/db";
5
+ /** A transaction as a subgraph source matcher reads it. */
5
6
  type TxRecord = {
6
7
  tx_id: string;
7
8
  type: string;
@@ -14,6 +15,7 @@ type TxRecord = {
14
15
  function_args?: unknown | null;
15
16
  raw_result?: string | null;
16
17
  };
18
+ /** An event as a subgraph source matcher reads it. */
17
19
  type EventRecord = {
18
20
  id: string;
19
21
  tx_id: string;
@@ -95,6 +97,7 @@ interface ReplayInput {
95
97
  /** Force re-delivery by appending a unique suffix to the replay id. */
96
98
  replayIdSuffix?: string;
97
99
  }
100
+ /** How many events a replay scanned and enqueued. */
98
101
  interface ReplayResult {
99
102
  replayId: string;
100
103
  enqueuedCount: number;
@@ -17,7 +17,7 @@ import { createHash } from "node:crypto";
17
17
  // package.json
18
18
  var package_default = {
19
19
  name: "@secondlayer/subgraphs",
20
- version: "7.0.2",
20
+ version: "7.0.3",
21
21
  description: "Describe the Stacks data you want as one TypeScript file; it fills itself and survives reorgs.",
22
22
  license: "MIT",
23
23
  repository: {
@@ -77,9 +77,9 @@ var package_default = {
77
77
  prepublishOnly: "bun run build"
78
78
  },
79
79
  dependencies: {
80
- "@secondlayer/shared": "^12.1.1",
81
- "@secondlayer/stacks": "^6.2.1",
82
- "@secondlayer/verify": "^0.5.3",
80
+ "@secondlayer/shared": "^12.1.2",
81
+ "@secondlayer/stacks": "^6.2.2",
82
+ "@secondlayer/verify": "^0.5.4",
83
83
  esbuild: "^0.28.2",
84
84
  kysely: "0.28.17",
85
85
  zod: "^4.3.6"
@@ -1850,5 +1850,5 @@ export {
1850
1850
  replayWebhook
1851
1851
  };
1852
1852
 
1853
- //# debugId=8E8DD7167B9F058E64756E2164756E21
1853
+ //# debugId=E5DE9020F0912E8C64756E2164756E21
1854
1854
  //# sourceMappingURL=replay.js.map