@secondlayer/subgraphs 0.9.0 → 0.9.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.
@@ -108,8 +108,10 @@ interface TxMeta {
108
108
  contractId?: string | null;
109
109
  functionName?: string | null;
110
110
  }
111
+ /** Scalar types that can appear as row values */
112
+ type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
111
113
  /** Value or computed function that receives existing row */
112
- type ComputedValue<T = unknown> = T | ((existing: Record<string, unknown> | null) => T);
114
+ type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => RowValue);
113
115
  /** Context passed to subgraph handlers during event processing */
114
116
  interface SubgraphContext {
115
117
  block: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondlayer/subgraphs",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "type": "module",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@secondlayer/shared": "^0.10.1",
41
41
  "@secondlayer/stacks": "^0.2.2",
42
- "kysely": "^0.28.10",
42
+ "kysely": "0.28.15",
43
43
  "postgres": "^3.4.6",
44
44
  "zod": "^4.3.6"
45
45
  },