chomot 1.3.6 → 1.3.8
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/factories/db.factory/db.factory.test.js +2 -4
- package/dist/factories/index.d.ts +0 -1
- package/dist/factories/index.js +0 -1
- package/dist/pipes/crypto.pipe/genkey.js +1 -1
- package/dist/pipes/openapi.pipe.js +1 -1
- package/dist/transit/index.d.ts +0 -1
- package/dist/transit/index.js +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +0 -1
- package/package.json +1 -3
- package/dist/factories/ioredis.factory/index.d.ts +0 -2
- package/dist/factories/ioredis.factory/index.js +0 -2
- package/dist/types/ioredis.types.d.ts +0 -1
- package/dist/types/ioredis.types.js +0 -1
|
@@ -4,12 +4,10 @@ describe("Cursor", () => {
|
|
|
4
4
|
it("can create cursor", async () => {
|
|
5
5
|
const timestamp = new Date().toISOString();
|
|
6
6
|
const plainCursor = [
|
|
7
|
-
{ column: "created_at", mark: timestamp, dir: "desc" }
|
|
7
|
+
{ column: "created_at", mark: timestamp, dir: "desc" },
|
|
8
8
|
];
|
|
9
9
|
const cursor = createCursor(plainCursor);
|
|
10
10
|
const decodedCursor = decodeCursor(cursor);
|
|
11
|
-
expect(decodedCursor).toEqual(expect.arrayContaining([
|
|
12
|
-
expect.objectContaining(plainCursor[0])
|
|
13
|
-
]));
|
|
11
|
+
expect(decodedCursor).toEqual(expect.arrayContaining([expect.objectContaining(plainCursor[0])]));
|
|
14
12
|
});
|
|
15
13
|
});
|
package/dist/factories/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Scalar } from "@scalar/hono-api-reference";
|
|
|
2
2
|
import { getPkgJson } from "../config/openapi";
|
|
3
3
|
export function configureOpenapi(app) {
|
|
4
4
|
const PackageJson = getPkgJson();
|
|
5
|
-
if (
|
|
5
|
+
if (process.env.ENV && ["dev", "local"].includes(process.env.ENV)) {
|
|
6
6
|
app
|
|
7
7
|
.doc("/openapi.json", {
|
|
8
8
|
openapi: "3.0.0",
|
package/dist/transit/index.d.ts
CHANGED
package/dist/transit/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chomot",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -25,10 +25,8 @@
|
|
|
25
25
|
"@hono/node-server": "^1.19.9",
|
|
26
26
|
"@hono/zod-openapi": "^1.2.1",
|
|
27
27
|
"@scalar/hono-api-reference": "^0.9.40",
|
|
28
|
-
"bullmq": "^5.67.2",
|
|
29
28
|
"hono": "^4.11.7",
|
|
30
29
|
"hono-rate-limiter": "^0.5.3",
|
|
31
|
-
"ioredis": "^5.9.2",
|
|
32
30
|
"libsodium-wrappers": "^0.8.2"
|
|
33
31
|
},
|
|
34
32
|
"scripts": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { Redis } from "ioredis";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|