@naturalcycles/backend-lib 9.81.0 → 9.82.0

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/db/httpDB.js CHANGED
@@ -15,6 +15,8 @@ export class HttpDB extends BaseCommonDB {
15
15
  transactions: false,
16
16
  patchByQuery: false,
17
17
  increment: false,
18
+ // httpDBRequestHandler's options schema strips readAt
19
+ timeMachine: false,
18
20
  };
19
21
  constructor(cfg) {
20
22
  super();
@@ -37,7 +37,7 @@ export interface UploadedFile {
37
37
  /** Content-Transfer-Encoding of the file part. */
38
38
  encoding: string;
39
39
  /** File contents. */
40
- data: Buffer;
40
+ data: Buffer<ArrayBuffer>;
41
41
  /** Size of `data` in bytes. */
42
42
  size: NumberOfBytes;
43
43
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/backend-lib",
3
3
  "type": "module",
4
- "version": "9.81.0",
4
+ "version": "9.82.0",
5
5
  "dependencies": {
6
6
  "@naturalcycles/db-lib": "^10",
7
7
  "@naturalcycles/js-lib": "^15",
@@ -76,7 +76,7 @@
76
76
  "directory": "packages/backend-lib"
77
77
  },
78
78
  "engines": {
79
- "node": ">=24.10.0"
79
+ "node": ">=26.12.1"
80
80
  },
81
81
  "description": "Standard library for making Express.js based backend services",
82
82
  "author": "Natural Cycles Team",
package/src/db/httpDB.ts CHANGED
@@ -30,6 +30,8 @@ export class HttpDB extends BaseCommonDB implements CommonDB {
30
30
  transactions: false,
31
31
  patchByQuery: false,
32
32
  increment: false,
33
+ // httpDBRequestHandler's options schema strips readAt
34
+ timeMachine: false,
33
35
  }
34
36
 
35
37
  constructor(public cfg: HttpDBCfg) {
@@ -136,7 +136,7 @@ export interface UploadedFile {
136
136
  /** Content-Transfer-Encoding of the file part. */
137
137
  encoding: string
138
138
  /** File contents. */
139
- data: Buffer
139
+ data: Buffer<ArrayBuffer>
140
140
  /** Size of `data` in bytes. */
141
141
  size: NumberOfBytes
142
142
  }