@bgord/bun 1.0.7 → 1.0.9
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/modules/history/ports/history-reader.d.ts +5 -0
- package/dist/modules/history/ports/history-reader.d.ts.map +1 -0
- package/dist/modules/history/ports/history-reader.js +2 -0
- package/dist/modules/history/ports/history-reader.js.map +1 -0
- package/dist/modules/history/ports/index.d.ts +1 -0
- package/dist/modules/history/ports/index.d.ts.map +1 -1
- package/dist/modules/history/ports/index.js +1 -0
- package/dist/modules/history/ports/index.js.map +1 -1
- package/dist/modules/history/value-objects/history-created-at.d.ts +4 -0
- package/dist/modules/history/value-objects/history-created-at.d.ts.map +1 -0
- package/dist/modules/history/value-objects/history-created-at.js +3 -0
- package/dist/modules/history/value-objects/history-created-at.js.map +1 -0
- package/dist/modules/history/value-objects/history.d.ts +2 -0
- package/dist/modules/history/value-objects/history.d.ts.map +1 -1
- package/dist/modules/history/value-objects/history.js +3 -0
- package/dist/modules/history/value-objects/history.js.map +1 -1
- package/dist/modules/history/value-objects/index.d.ts +1 -0
- package/dist/modules/history/value-objects/index.d.ts.map +1 -1
- package/dist/modules/history/value-objects/index.js +1 -0
- package/dist/modules/history/value-objects/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/readme.md +2 -0
- package/src/modules/history/ports/history-reader.ts +5 -0
- package/src/modules/history/ports/index.ts +1 -0
- package/src/modules/history/value-objects/history-created-at.ts +6 -0
- package/src/modules/history/value-objects/history.ts +3 -0
- package/src/modules/history/value-objects/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bgord/bun",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Bartosz Gordon",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"preinstall": "bunx only-allow bun"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@biomejs/biome": "2.3.
|
|
23
|
+
"@biomejs/biome": "2.3.2",
|
|
24
24
|
"@commitlint/cli": "20.1.0",
|
|
25
25
|
"@commitlint/config-conventional": "20.0.0",
|
|
26
26
|
"@types/bun": "1.3.1",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"@types/nodemailer": "7.0.3",
|
|
30
30
|
"@types/yazl": "3.3.0",
|
|
31
31
|
"cspell": "9.2.2",
|
|
32
|
-
"knip": "5.66.
|
|
33
|
-
"lefthook": "2.0.
|
|
32
|
+
"knip": "5.66.4",
|
|
33
|
+
"lefthook": "2.0.2",
|
|
34
34
|
"only-allow": "1.2.1",
|
|
35
35
|
"shellcheck": "4.1.0",
|
|
36
36
|
"typescript": "5.9.3",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@axiomhq/winston": "1.3.1",
|
|
41
|
-
"@bgord/tools": "1.0.
|
|
41
|
+
"@bgord/tools": "1.0.5",
|
|
42
42
|
"@hono/ua-blocker": "0.1.15",
|
|
43
|
-
"better-auth": "1.3.
|
|
43
|
+
"better-auth": "1.3.34",
|
|
44
44
|
"croner": "9.1.0",
|
|
45
45
|
"csv": "6.4.1",
|
|
46
46
|
"hcaptcha": "0.2.0",
|
|
47
|
-
"hono": "4.10.
|
|
47
|
+
"hono": "4.10.4",
|
|
48
48
|
"lodash": "4.17.21",
|
|
49
49
|
"mime-types": "3.0.1",
|
|
50
50
|
"node-cache": "5.1.2",
|
package/readme.md
CHANGED
|
@@ -146,8 +146,10 @@ src/
|
|
|
146
146
|
│ │ │ ├── HISTORY_POPULATED_EVENT.ts
|
|
147
147
|
│ │ ├── ports
|
|
148
148
|
│ │ │ ├── history-projection.ts
|
|
149
|
+
│ │ │ ├── history-reader.ts
|
|
149
150
|
│ │ │ ├── history-writer.ts
|
|
150
151
|
│ │ └── value-objects
|
|
152
|
+
│ │ ├── history-created-at.ts
|
|
151
153
|
│ │ ├── history-id.ts
|
|
152
154
|
│ │ ├── history-operation.ts
|
|
153
155
|
│ │ ├── history-payload.ts
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
+
import { HistoryCreatedAt } from "./history-created-at";
|
|
2
3
|
import { HistoryId } from "./history-id";
|
|
3
4
|
import { HistoryOperation } from "./history-operation";
|
|
4
5
|
import { HistoryPayload, HistoryPayloadParsed } from "./history-payload";
|
|
@@ -9,6 +10,7 @@ const History = z.object({
|
|
|
9
10
|
operation: HistoryOperation,
|
|
10
11
|
payload: HistoryPayload,
|
|
11
12
|
subject: HistorySubject,
|
|
13
|
+
createdAt: HistoryCreatedAt,
|
|
12
14
|
});
|
|
13
15
|
|
|
14
16
|
export type HistoryType = z.infer<typeof History>;
|
|
@@ -18,6 +20,7 @@ export const HistoryParsed = z.object({
|
|
|
18
20
|
operation: HistoryOperation,
|
|
19
21
|
payload: HistoryPayloadParsed,
|
|
20
22
|
subject: HistorySubject,
|
|
23
|
+
createdAt: HistoryCreatedAt,
|
|
21
24
|
});
|
|
22
25
|
|
|
23
26
|
export type HistoryParsedType = z.infer<typeof HistoryParsed>;
|