equipped 5.1.1 → 5.1.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [5.1.3](https://github.com/kevinand11/equipped/compare/v5.1.2...v5.1.3) (2025-11-11)
6
+
7
+ ### [5.1.2](https://github.com/kevinand11/equipped/compare/v5.1.1...v5.1.2) (2025-11-11)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * type export ([4af5503](https://github.com/kevinand11/equipped/commit/4af55034020e44e66cb569873bf1fc841c7686fa))
13
+
5
14
  ### [5.1.1](https://github.com/kevinand11/equipped/compare/v5.1.0...v5.1.1) (2025-11-11)
6
15
 
7
16
 
@@ -1,6 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _eventscjs = require('./events.cjs');
2
-
3
-
4
-
5
- exports.EventAudit = _eventscjs.EventAudit; exports.EventDefinition = _eventscjs.EventDefinition;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }var _eventscjs = require('./events.cjs'); _createStarExport(_eventscjs);
6
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/audit/index.ts","/home/runner/work/equipped/equipped/dist/cjs/audit/index.cjs"],"names":[],"mappings":"AAAA,kHAA4C;ACC5C;AACE;AACA;AACF,iGAAC","file":"/home/runner/work/equipped/equipped/dist/cjs/audit/index.cjs","sourcesContent":["export { EventAudit, EventDefinition } from './events'\n",null]}
1
+ {"version":3,"sources":["../../../src/audit/index.ts"],"names":[],"mappings":"AAAA,yaAAc","file":"/home/runner/work/equipped/equipped/dist/cjs/audit/index.cjs","sourcesContent":["export * from './events'\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _eventsmincjs = require('./events.min.cjs');exports.EventAudit = _eventsmincjs.EventAudit; exports.EventDefinition = _eventsmincjs.EventDefinition;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }var _eventsmincjs = require('./events.min.cjs'); _createStarExport(_eventsmincjs);
2
2
  //# sourceMappingURL=index.min.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/audit/index.ts"],"names":[],"mappings":"AAAA,yHAA4C,uGAAA","file":"/home/runner/work/equipped/equipped/dist/cjs/audit/index.min.cjs","sourcesContent":["export { EventAudit, EventDefinition } from './events'\n"]}
1
+ {"version":3,"sources":["../../../src/audit/index.ts"],"names":[],"mappings":"AAAA,mbAAc","file":"/home/runner/work/equipped/equipped/dist/cjs/audit/index.min.cjs","sourcesContent":["export * from './events'\n"]}
@@ -1,2 +1,2 @@
1
- import{EventAudit as i,EventDefinition as n}from "./events.min.mjs";export{i as EventAudit,n as EventDefinition};
1
+ export*from "./events.min.mjs";
2
2
  //# sourceMappingURL=index.min.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/audit/index.ts"],"sourcesContent":["export { EventAudit, EventDefinition } from './events'\n"],"mappings":"AAAA,OAAS,cAAAA,EAAY,mBAAAC,MAAuB","names":["EventAudit","EventDefinition"]}
1
+ {"version":3,"sources":["../../../src/audit/index.ts"],"sourcesContent":["export * from './events'\n"],"mappings":"AAAA,WAAc","names":[]}
@@ -1,6 +1,2 @@
1
- import { EventAudit, EventDefinition } from "./events.mjs";
2
- export {
3
- EventAudit,
4
- EventDefinition
5
- };
1
+ export * from "./events.mjs";
6
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/audit/index.ts"],"sourcesContent":["export { EventAudit, EventDefinition } from './events'\n"],"mappings":"AAAA,SAAS,YAAY,uBAAuB;","names":[]}
1
+ {"version":3,"sources":["../../../src/audit/index.ts"],"sourcesContent":["export * from './events'\n"],"mappings":"AAAA,cAAc;","names":[]}
@@ -17,6 +17,18 @@ type EventContext = {
17
17
  by: string | undefined;
18
18
  date: Date;
19
19
  };
20
+ type EventDoc = {
21
+ key: string;
22
+ name: string;
23
+ ts: number;
24
+ body: unknown;
25
+ steps: {
26
+ status: 'start' | 'sync' | 'async' | 'error';
27
+ ts: number;
28
+ error?: string;
29
+ }[];
30
+ by?: string;
31
+ };
20
32
  type Context = {
21
33
  by?: string;
22
34
  at?: Date;
@@ -33,4 +45,4 @@ declare class EventAudit {
33
45
  register<P extends Pipe<any, any>, R>(name: string, def: EventDefinition<P, R>): (payload: PipeInput<P>, context: Context) => Promise<R>;
34
46
  }
35
47
 
36
- export { EventAudit, type EventDefinition };
48
+ export { EventAudit, type EventContext, type EventDefinition, type EventDoc };
@@ -1,5 +1 @@
1
- import { EventAudit, EventDefinition } from "./events.js";
2
- export {
3
- EventAudit,
4
- EventDefinition
5
- };
1
+ export * from "./events.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "equipped",
3
- "version": "5.1.1",
3
+ "version": "5.1.3",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "type": "module",
@@ -140,26 +140,26 @@
140
140
  "@commitlint/cli": "^19.8.1",
141
141
  "@commitlint/config-conventional": "^19.8.1",
142
142
  "@k11/configs": "^0.1.1",
143
- "@types/amqplib": "^0.10.7",
143
+ "@types/amqplib": "^0.10.8",
144
144
  "@types/bcryptjs": "^3.0.0",
145
145
  "@types/bull": "^4.10.4",
146
146
  "@types/cors": "^2.8.19",
147
- "@types/express": "^5.0.3",
147
+ "@types/express": "^5.0.5",
148
148
  "@types/express-fileupload": "^1.5.1",
149
149
  "@types/jsonwebtoken": "^9.0.10",
150
150
  "@types/lodash": "^4.17.20",
151
- "@types/node": "^24.2.1",
151
+ "@types/node": "^24.10.0",
152
152
  "@types/pug": "^2.0.10",
153
153
  "@types/supertest": "^6.0.3",
154
- "esbuild-fix-imports-plugin": "^1.0.21",
155
- "eslint": "^9.33.0",
154
+ "esbuild-fix-imports-plugin": "^1.0.23",
155
+ "eslint": "^9.39.1",
156
156
  "husky": "^9.1.7",
157
157
  "standard-version": "^9.5.0",
158
158
  "tsup": "^8.5.0",
159
159
  "typescript": "^5.9.2"
160
160
  },
161
161
  "dependencies": {
162
- "@confluentinc/kafka-javascript": "^1.4.0",
162
+ "@confluentinc/kafka-javascript": "^1.6.0",
163
163
  "@fastify/cookie": "11.0.2",
164
164
  "@fastify/cors": "11.1.0",
165
165
  "@fastify/formbody": "8.0.2",
@@ -167,11 +167,11 @@
167
167
  "@fastify/multipart": "9.0.3",
168
168
  "@fastify/rate-limit": "10.3.0",
169
169
  "@fastify/static": "8.2.0",
170
- "@openapi-contrib/json-schema-to-openapi-schema": "^4.0.2",
171
- "amqp-connection-manager": "4.1.14",
172
- "amqplib": "0.10.8",
173
- "axios": "1.11.0",
174
- "bcryptjs": "3.0.2",
170
+ "@openapi-contrib/json-schema-to-openapi-schema": "4.0.2",
171
+ "amqp-connection-manager": "4.1.15",
172
+ "amqplib": "0.10.9",
173
+ "axios": "1.13.2",
174
+ "bcryptjs": "3.0.3",
175
175
  "bull": "4.16.5",
176
176
  "cookie-parser": "1.4.7",
177
177
  "cors": "2.8.5",
@@ -182,22 +182,22 @@
182
182
  "fastify": "5.4.0",
183
183
  "fastify-slow-down": "2.0.1",
184
184
  "helmet": "8.1.0",
185
- "ioredis": "5.7.0",
185
+ "ioredis": "5.8.2",
186
186
  "jsonwebtoken": "9.0.2",
187
187
  "jwks-rsa": "3.2.0",
188
188
  "kafkajs": "2.2.4",
189
- "mongodb": "^6.18.0",
189
+ "mongodb": "^6.20.0",
190
190
  "music-metadata": "7.14.0",
191
191
  "openapi-types": "12.1.3",
192
192
  "path-to-regexp": "8.2.0",
193
- "pino": "9.8.0",
193
+ "pino": "9.14.0",
194
194
  "pino-http": "10.5.0",
195
195
  "qs": "6.14.0",
196
- "redis": "5.8.0",
196
+ "redis": "5.9.0",
197
197
  "socket.io": "4.8.1",
198
198
  "supertest": "7.1.4",
199
- "ulid": "^3.0.1",
200
- "valleyed": "^4.5.17"
199
+ "ulid": "3.0.1",
200
+ "valleyed": "4.5.17"
201
201
  },
202
202
  "repository": {
203
203
  "url": "git://github.com/kevinand11/equipped.git"