@noego/sqlego 0.0.0-stage → 0.0.1-dev.1
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/README.md +128 -2
- package/bin/sqlego +4 -0
- package/dist/client.d.ts +125 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +870 -0
- package/dist/paths.d.ts +70 -0
- package/dist/protocol.d.ts +287 -0
- package/dist/version.d.ts +23 -0
- package/package.json +43 -4
- package/src/cli.ts +314 -0
- package/src/client.ts +621 -0
- package/src/index.ts +18 -0
- package/src/paths.ts +154 -0
- package/src/protocol.ts +477 -0
- package/src/server.ts +723 -0
- package/src/version.ts +78 -0
package/dist/paths.d.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Result } from '@noego/trust';
|
|
2
|
+
/**
|
|
3
|
+
* Where a file's socket, lock, and meta live. Never beside the database:
|
|
4
|
+
* Unix socket paths cap at 104 bytes on macOS and application-support paths
|
|
5
|
+
* already exceed that. The runtime dir is short and per-user.
|
|
6
|
+
*
|
|
7
|
+
* Override with SQLEGO_RUNTIME_DIR (tests use a scratch dir).
|
|
8
|
+
*/
|
|
9
|
+
export declare function resolveRuntimeDirectory(): import("@noego/trust").Ok<string> | import("@noego/trust").Err<{
|
|
10
|
+
kind: "runtime-directory";
|
|
11
|
+
message: string;
|
|
12
|
+
}>;
|
|
13
|
+
/** Canonical absolute path of the database; the identity every client and server agree on. */
|
|
14
|
+
export declare function resolveCanonicalFile(file: string): Result<string, {
|
|
15
|
+
kind: "canonical-path";
|
|
16
|
+
message: string;
|
|
17
|
+
}>;
|
|
18
|
+
export type FilePaths = Readonly<{
|
|
19
|
+
file: string;
|
|
20
|
+
key: string;
|
|
21
|
+
socket: string;
|
|
22
|
+
lock: string;
|
|
23
|
+
meta: string;
|
|
24
|
+
}>;
|
|
25
|
+
export declare function resolvePaths(file: string): import("@noego/trust").Err<{
|
|
26
|
+
kind: "runtime-directory";
|
|
27
|
+
message: string;
|
|
28
|
+
}> | import("@noego/trust").Err<{
|
|
29
|
+
kind: "canonical-path";
|
|
30
|
+
message: string;
|
|
31
|
+
}> | import("@noego/trust").Err<{
|
|
32
|
+
kind: "hash-failed";
|
|
33
|
+
message: string;
|
|
34
|
+
}> | import("@noego/trust").Err<{
|
|
35
|
+
kind: "socket-path-too-long";
|
|
36
|
+
message: string;
|
|
37
|
+
}> | import("@noego/trust").Ok<Readonly<{
|
|
38
|
+
file: string;
|
|
39
|
+
key: string;
|
|
40
|
+
socket: string;
|
|
41
|
+
lock: string;
|
|
42
|
+
meta: string;
|
|
43
|
+
}>>;
|
|
44
|
+
/** Public, exception-based form of `resolveRuntimeDirectory`. */
|
|
45
|
+
export declare function runtimeDirectory(): string;
|
|
46
|
+
/** Public, exception-based form of `resolveCanonicalFile`. */
|
|
47
|
+
export declare function canonicalFile(file: string): string;
|
|
48
|
+
/** Public, exception-based form of `resolvePaths`. */
|
|
49
|
+
export declare function pathsFor(file: string): FilePaths;
|
|
50
|
+
/** Written by the server once it is listening; read by `sqlego ls` and status. */
|
|
51
|
+
export type ServerMeta = Readonly<{
|
|
52
|
+
file: string;
|
|
53
|
+
socket: string;
|
|
54
|
+
pid: number;
|
|
55
|
+
serverVersion: string;
|
|
56
|
+
startedAt: number;
|
|
57
|
+
}>;
|
|
58
|
+
/** A meta file's parsed JSON; another process wrote it, so every field is checked. */
|
|
59
|
+
export declare function parseServerMeta(input: unknown): import("@noego/trust").Err<{
|
|
60
|
+
kind: "invalid";
|
|
61
|
+
message: string;
|
|
62
|
+
}> | import("@noego/trust").Ok<Readonly<{
|
|
63
|
+
file: string;
|
|
64
|
+
socket: string;
|
|
65
|
+
pid: number;
|
|
66
|
+
serverVersion: string;
|
|
67
|
+
startedAt: number;
|
|
68
|
+
}>>;
|
|
69
|
+
/** Signal 0 probes without signalling: EPERM means alive but not ours, anything else means gone. */
|
|
70
|
+
export declare function isProcessAlive(pid: number): boolean;
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* sqlego wire protocol: newline-delimited JSON over a local socket.
|
|
3
|
+
*
|
|
4
|
+
* One request per line, one response per line, correlated by `id`. The server
|
|
5
|
+
* executes requests in arrival order on its single connection to the file, so
|
|
6
|
+
* two clients' statements interleave at statement (or batch) granularity and
|
|
7
|
+
* never contend for SQLite's write lock.
|
|
8
|
+
*
|
|
9
|
+
* Transactions over the wire are leased, never bare: `begin` opens one bound
|
|
10
|
+
* to the client's socket, `query`/`run` carry its `txId`, and `commit` or
|
|
11
|
+
* `rollback` ends it. The server rolls it back on its own when the socket
|
|
12
|
+
* closes, when no request arrives within the lease, or when it has been open
|
|
13
|
+
* longer than the server's hard cap, so a client can never hold the file's
|
|
14
|
+
* only writer hostage. Transaction-control SQL (`BEGIN`, `COMMIT`, ...) is
|
|
15
|
+
* refused as plain `query`/`run`; savepoints are allowed inside a transaction.
|
|
16
|
+
*/
|
|
17
|
+
import { Result } from '@noego/trust';
|
|
18
|
+
export declare const PROTOCOL_VERSION = 2;
|
|
19
|
+
export type SqlParams = ReadonlyArray<SqlValue> | Readonly<Record<string, SqlValue>>;
|
|
20
|
+
export type SqlValue = string | number | bigint | boolean | null | Uint8Array;
|
|
21
|
+
export type SqlRow = Record<string, unknown>;
|
|
22
|
+
export type Statement = Readonly<{
|
|
23
|
+
sql: string;
|
|
24
|
+
params?: SqlParams;
|
|
25
|
+
/** `query` returns rows; `run` returns the change count. Default `run`. */
|
|
26
|
+
mode?: 'query' | 'run';
|
|
27
|
+
}>;
|
|
28
|
+
export type TransactionMode = 'deferred' | 'immediate';
|
|
29
|
+
export type Request = {
|
|
30
|
+
id: number;
|
|
31
|
+
op: 'hello';
|
|
32
|
+
clientVersion: string;
|
|
33
|
+
protocol: number;
|
|
34
|
+
} | {
|
|
35
|
+
id: number;
|
|
36
|
+
op: 'query';
|
|
37
|
+
sql: string;
|
|
38
|
+
params?: SqlParams;
|
|
39
|
+
txId?: number;
|
|
40
|
+
} | {
|
|
41
|
+
id: number;
|
|
42
|
+
op: 'run';
|
|
43
|
+
sql: string;
|
|
44
|
+
params?: SqlParams;
|
|
45
|
+
txId?: number;
|
|
46
|
+
} | {
|
|
47
|
+
id: number;
|
|
48
|
+
op: 'batch';
|
|
49
|
+
statements: readonly Statement[];
|
|
50
|
+
} | {
|
|
51
|
+
id: number;
|
|
52
|
+
op: 'begin';
|
|
53
|
+
mode?: TransactionMode;
|
|
54
|
+
leaseMs?: number;
|
|
55
|
+
} | {
|
|
56
|
+
id: number;
|
|
57
|
+
op: 'commit';
|
|
58
|
+
txId: number;
|
|
59
|
+
} | {
|
|
60
|
+
id: number;
|
|
61
|
+
op: 'rollback';
|
|
62
|
+
txId: number;
|
|
63
|
+
} | {
|
|
64
|
+
id: number;
|
|
65
|
+
op: 'status';
|
|
66
|
+
} | {
|
|
67
|
+
id: number;
|
|
68
|
+
op: 'stop';
|
|
69
|
+
};
|
|
70
|
+
export type RunResult = Readonly<{
|
|
71
|
+
changes: number;
|
|
72
|
+
lastInsertRowid: number | bigint;
|
|
73
|
+
}>;
|
|
74
|
+
export type QueryResult = Readonly<{
|
|
75
|
+
rows: SqlRow[];
|
|
76
|
+
}>;
|
|
77
|
+
export type BatchResult = Readonly<{
|
|
78
|
+
results: ReadonlyArray<RunResult | QueryResult>;
|
|
79
|
+
}>;
|
|
80
|
+
/** The lease the server granted (its own cap applies) and the hard cap on the transaction's life. */
|
|
81
|
+
export type BeginResult = Readonly<{
|
|
82
|
+
txId: number;
|
|
83
|
+
leaseMs: number;
|
|
84
|
+
maxDurationMs: number;
|
|
85
|
+
}>;
|
|
86
|
+
export type TransactionEndResult = Readonly<{
|
|
87
|
+
txId: number;
|
|
88
|
+
}>;
|
|
89
|
+
/** The open transaction as `status` reports it. */
|
|
90
|
+
export type TransactionStatus = Readonly<{
|
|
91
|
+
txId: number;
|
|
92
|
+
/** How long it has been open. */
|
|
93
|
+
ageMs: number;
|
|
94
|
+
/** Since its last request. */
|
|
95
|
+
idleMs: number;
|
|
96
|
+
leaseMs: number;
|
|
97
|
+
maxDurationMs: number;
|
|
98
|
+
/** Requests from other clients waiting for it to end. */
|
|
99
|
+
queued: number;
|
|
100
|
+
}>;
|
|
101
|
+
export type HelloResult = Readonly<{
|
|
102
|
+
serverVersion: string;
|
|
103
|
+
protocol: number;
|
|
104
|
+
file: string;
|
|
105
|
+
pid: number;
|
|
106
|
+
}>;
|
|
107
|
+
export type StatusResult = Readonly<{
|
|
108
|
+
file: string;
|
|
109
|
+
socket: string;
|
|
110
|
+
pid: number;
|
|
111
|
+
serverVersion: string;
|
|
112
|
+
protocol: number;
|
|
113
|
+
clients: number;
|
|
114
|
+
uptimeMs: number;
|
|
115
|
+
idleMs: number | null;
|
|
116
|
+
idleTimeoutMs: number;
|
|
117
|
+
requestsServed: number;
|
|
118
|
+
transaction: TransactionStatus | null;
|
|
119
|
+
}>;
|
|
120
|
+
export type ErrorCode = 'sqlite' | 'bad-request' | 'protocol-mismatch' | 'shutting-down'
|
|
121
|
+
/** The server could not serialize a result (a value JSON cannot hold). */
|
|
122
|
+
| 'encode-failed'
|
|
123
|
+
/** The transaction was rolled back by the server: lease ran out, hard cap hit, or SQLite aborted it. */
|
|
124
|
+
| 'tx-expired'
|
|
125
|
+
/** No such open transaction on this connection (wrong id, already ended, or a second `begin`). */
|
|
126
|
+
| 'tx-invalid'
|
|
127
|
+
/** Another client's transaction kept the request waiting past the server's queue limit. */
|
|
128
|
+
| 'tx-busy';
|
|
129
|
+
export type Response = {
|
|
130
|
+
id: number;
|
|
131
|
+
ok: true;
|
|
132
|
+
result: unknown;
|
|
133
|
+
} | {
|
|
134
|
+
id: number;
|
|
135
|
+
ok: false;
|
|
136
|
+
error: {
|
|
137
|
+
code: ErrorCode;
|
|
138
|
+
message: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* JSON text of a value. `JSON.stringify` is declared `string` but returns
|
|
143
|
+
* `undefined` for `undefined`, a function or a symbol, and throws on a cycle
|
|
144
|
+
* or a `toJSON` that throws; both are this one failure.
|
|
145
|
+
*/
|
|
146
|
+
export declare function toJson(value: unknown, indent?: number): import("@noego/trust").Err<{
|
|
147
|
+
kind: "encode-failed";
|
|
148
|
+
message: string;
|
|
149
|
+
}> | import("@noego/trust").Ok<string>;
|
|
150
|
+
/** One frame: the message's JSON and the newline that ends it. */
|
|
151
|
+
export declare function encodeFrame(message: Request | Response): import("@noego/trust").Err<{
|
|
152
|
+
kind: "encode-failed";
|
|
153
|
+
message: string;
|
|
154
|
+
}> | import("@noego/trust").Ok<string>;
|
|
155
|
+
/** Parses JSON text into `unknown`; what it holds is for a validator to decide. */
|
|
156
|
+
export declare function fromJson(text: string): Result<unknown, {
|
|
157
|
+
kind: "invalid";
|
|
158
|
+
message: string;
|
|
159
|
+
}>;
|
|
160
|
+
/** A value that survives JSON and SQLite binding: string, number, boolean or null. */
|
|
161
|
+
export declare function parseSqlValue(input: unknown): import("@noego/trust").Ok<SqlValue> | import("@noego/trust").Err<Readonly<{
|
|
162
|
+
kind: "invalid";
|
|
163
|
+
message: string;
|
|
164
|
+
}>>;
|
|
165
|
+
/** Positional (`[...]`) or named (`{ name: value }`) parameters. */
|
|
166
|
+
export declare function parseSqlParams(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
167
|
+
kind: "invalid";
|
|
168
|
+
message: string;
|
|
169
|
+
}>> | import("@noego/trust").Ok<SqlParams>;
|
|
170
|
+
/**
|
|
171
|
+
* A request frame. The failure carries the request's `id` when it had a
|
|
172
|
+
* numeric one, so the server can answer the request that was malformed.
|
|
173
|
+
*/
|
|
174
|
+
export declare function parseRequest(input: unknown): import("@noego/trust").Err<{
|
|
175
|
+
kind: "invalid";
|
|
176
|
+
id: number;
|
|
177
|
+
message: string;
|
|
178
|
+
}> | import("@noego/trust").Ok<Request>;
|
|
179
|
+
/** A response frame; `result` stays `unknown` until the parser for its op has seen it. */
|
|
180
|
+
export declare function parseResponse(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
181
|
+
kind: "invalid";
|
|
182
|
+
message: string;
|
|
183
|
+
}>> | import("@noego/trust").Ok<{
|
|
184
|
+
id: number;
|
|
185
|
+
ok: true;
|
|
186
|
+
result: unknown;
|
|
187
|
+
}> | import("@noego/trust").Ok<{
|
|
188
|
+
id: number;
|
|
189
|
+
ok: false;
|
|
190
|
+
error: {
|
|
191
|
+
code: ErrorCode;
|
|
192
|
+
message: string;
|
|
193
|
+
};
|
|
194
|
+
}>;
|
|
195
|
+
export declare function parseRow(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
196
|
+
kind: "invalid";
|
|
197
|
+
message: string;
|
|
198
|
+
}>> | import("@noego/trust").Ok<SqlRow>;
|
|
199
|
+
export declare function parseRows(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
200
|
+
kind: "invalid";
|
|
201
|
+
message: string;
|
|
202
|
+
}>> | import("@noego/trust").Ok<SqlRow[]>;
|
|
203
|
+
export declare function parseQueryResult(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
204
|
+
kind: "invalid";
|
|
205
|
+
message: string;
|
|
206
|
+
}>> | import("@noego/trust").Ok<Readonly<{
|
|
207
|
+
rows: SqlRow[];
|
|
208
|
+
}>>;
|
|
209
|
+
export declare function parseRunResult(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
210
|
+
kind: "invalid";
|
|
211
|
+
message: string;
|
|
212
|
+
}>> | import("@noego/trust").Ok<Readonly<{
|
|
213
|
+
changes: number;
|
|
214
|
+
lastInsertRowid: number | bigint;
|
|
215
|
+
}>>;
|
|
216
|
+
export declare function parseBatchResult(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
217
|
+
kind: "invalid";
|
|
218
|
+
message: string;
|
|
219
|
+
}>> | import("@noego/trust").Ok<Readonly<{
|
|
220
|
+
results: ReadonlyArray<RunResult | QueryResult>;
|
|
221
|
+
}>>;
|
|
222
|
+
export declare function parseHelloResult(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
223
|
+
kind: "invalid";
|
|
224
|
+
message: string;
|
|
225
|
+
}>> | import("@noego/trust").Ok<Readonly<{
|
|
226
|
+
serverVersion: string;
|
|
227
|
+
protocol: number;
|
|
228
|
+
file: string;
|
|
229
|
+
pid: number;
|
|
230
|
+
}>>;
|
|
231
|
+
export declare function parseBeginResult(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
232
|
+
kind: "invalid";
|
|
233
|
+
message: string;
|
|
234
|
+
}>> | import("@noego/trust").Ok<Readonly<{
|
|
235
|
+
txId: number;
|
|
236
|
+
leaseMs: number;
|
|
237
|
+
maxDurationMs: number;
|
|
238
|
+
}>>;
|
|
239
|
+
export declare function parseTransactionEndResult(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
240
|
+
kind: "invalid";
|
|
241
|
+
message: string;
|
|
242
|
+
}>> | import("@noego/trust").Ok<Readonly<{
|
|
243
|
+
txId: number;
|
|
244
|
+
}>>;
|
|
245
|
+
export declare function parseStatusResult(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
246
|
+
kind: "invalid";
|
|
247
|
+
message: string;
|
|
248
|
+
}>> | import("@noego/trust").Ok<Readonly<{
|
|
249
|
+
file: string;
|
|
250
|
+
socket: string;
|
|
251
|
+
pid: number;
|
|
252
|
+
serverVersion: string;
|
|
253
|
+
protocol: number;
|
|
254
|
+
clients: number;
|
|
255
|
+
uptimeMs: number;
|
|
256
|
+
idleMs: number | null;
|
|
257
|
+
idleTimeoutMs: number;
|
|
258
|
+
requestsServed: number;
|
|
259
|
+
transaction: TransactionStatus | null;
|
|
260
|
+
}>>;
|
|
261
|
+
/**
|
|
262
|
+
* The transaction-control statement a SQL text starts with, or null. Leading
|
|
263
|
+
* whitespace and comments are skipped so `/* x *\/ BEGIN` is still seen.
|
|
264
|
+
* `ROLLBACK TO` (a savepoint) is told apart from a bare `ROLLBACK`.
|
|
265
|
+
*/
|
|
266
|
+
export declare function transactionControl(sql: string): 'begin' | 'commit' | 'rollback' | 'savepoint' | 'release' | 'rollback-to' | null;
|
|
267
|
+
export declare function parseStopResult(input: unknown): import("@noego/trust").Err<Readonly<{
|
|
268
|
+
kind: "invalid";
|
|
269
|
+
message: string;
|
|
270
|
+
}>> | import("@noego/trust").Ok<{
|
|
271
|
+
stopping: true;
|
|
272
|
+
}>;
|
|
273
|
+
/**
|
|
274
|
+
* The `code` of a thrown Node error (`EEXIST`, `EPERM`, ...), or undefined.
|
|
275
|
+
* Read through `in` on `unknown`, so nothing about the error is assumed.
|
|
276
|
+
*/
|
|
277
|
+
export declare function errnoCode(cause: unknown): unknown;
|
|
278
|
+
/** The message of a caught value, whatever was thrown. */
|
|
279
|
+
export declare function errorMessage(cause: unknown): string;
|
|
280
|
+
/**
|
|
281
|
+
* Splits accumulated socket bytes into complete frames; returns the frames
|
|
282
|
+
* and the unterminated remainder to carry into the next chunk.
|
|
283
|
+
*/
|
|
284
|
+
export declare function splitFrames(buffer: string): {
|
|
285
|
+
frames: string[];
|
|
286
|
+
rest: string;
|
|
287
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Result } from '@noego/trust';
|
|
2
|
+
/**
|
|
3
|
+
* Hash of every `src/*.ts` file, so the two artifacts built from one tree
|
|
4
|
+
* (Node client in dist/, Bun server in bin/) and a source run agree, while any
|
|
5
|
+
* edit yields a new id. `source` when the tree is not there.
|
|
6
|
+
*/
|
|
7
|
+
export declare function sourceBuildId(sourceDirectory: string): Result<string, {
|
|
8
|
+
kind: "source-unreadable";
|
|
9
|
+
message: string;
|
|
10
|
+
}>;
|
|
11
|
+
/** Exception-based form of `sourceBuildId` for the build script, which must stop on an unreadable tree. */
|
|
12
|
+
export declare function computeSourceBuildId(sourceDirectory: string): string;
|
|
13
|
+
/** Build identity of this artifact: the source hash it was built from. */
|
|
14
|
+
export declare const BUILD_ID: string;
|
|
15
|
+
/**
|
|
16
|
+
* What the client/server handshake compares: `<package version>+<build id>`.
|
|
17
|
+
* A rebuilt binary or dist — even at an unchanged package version — therefore
|
|
18
|
+
* retires owners started from the previous build instead of leaving stale
|
|
19
|
+
* code serving (2026-09-04: a framing fix shipped under the same version and
|
|
20
|
+
* the old owners kept running until stopped by hand).
|
|
21
|
+
* `SQLEGO_VERSION_OVERRIDE` lets a test start a deliberately stale server.
|
|
22
|
+
*/
|
|
23
|
+
export declare const VERSION: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noego/sqlego",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.1-dev.1",
|
|
4
|
+
"description": "One owner process per SQLite file. Clients (CLI, Node, Bun) pass SQL over a local socket; the server boots on demand and exits when idle.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "ISC",
|
|
7
|
+
"author": "Shavauhn Gabay",
|
|
8
|
+
"bin": {
|
|
9
|
+
"sqlego": "./bin/sqlego"
|
|
10
|
+
},
|
|
11
|
+
"main": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"bun": "./src/index.ts",
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./package.json": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"src",
|
|
24
|
+
"dist",
|
|
25
|
+
"bin",
|
|
26
|
+
"README.md"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"prepare": "bun scripts/build.ts all",
|
|
30
|
+
"build": "bun scripts/build.ts all",
|
|
31
|
+
"build:lib": "bun scripts/build.ts lib",
|
|
32
|
+
"build:bin": "bun scripts/build.ts bin",
|
|
33
|
+
"typecheck": "bunx tsc --noEmit",
|
|
34
|
+
"trust": "trust check src",
|
|
35
|
+
"test": "bun test"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/bun": "^1.2.0",
|
|
39
|
+
"@types/node": "^22.0.0",
|
|
40
|
+
"typescript": "^5.6.0"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@noego/trust": "0.5.0-dev.0"
|
|
44
|
+
}
|
|
45
|
+
}
|