@secrecy/lib 1.25.0 → 1.26.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.
@@ -15,8 +15,4 @@ export declare const clientError: z.ZodObject<{
15
15
  code: "NOT_FOUND";
16
16
  }>;
17
17
  export type ClientError = z.infer<typeof clientError>;
18
- export declare const isClientError: (input: unknown) => input is {
19
- name: "ClientError";
20
- message: string;
21
- code: "NOT_FOUND";
22
- };
18
+ export declare const isClientError: (input: unknown) => input is ClientError;
@@ -28,13 +28,4 @@ export declare const secrecyError: z.ZodDiscriminatedUnion<"name", [z.ZodObject<
28
28
  code: "NOT_FOUND";
29
29
  }>]>;
30
30
  export type SecrecyError = z.infer<typeof secrecyError>;
31
- export declare const isSecrecyError: (input: unknown) => input is {
32
- name: "ClientError";
33
- message: string;
34
- code: "NOT_FOUND";
35
- } | {
36
- name: "TRPCError";
37
- message: string;
38
- code: "UNAUTHORIZED" | "NOT_FOUND" | "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "FORBIDDEN" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
39
- data?: unknown;
40
- };
31
+ export declare const isSecrecyError: (input: unknown) => input is SecrecyError;
@@ -18,9 +18,4 @@ export declare const serverError: z.ZodObject<{
18
18
  data?: unknown;
19
19
  }>;
20
20
  export type ServerError = z.infer<typeof serverError>;
21
- export declare const isServerError: (input: unknown) => input is {
22
- name: "TRPCError";
23
- message: string;
24
- code: "UNAUTHORIZED" | "NOT_FOUND" | "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "FORBIDDEN" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
25
- data?: unknown;
26
- };
21
+ export declare const isServerError: (input: unknown) => input is ServerError;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@secrecy/lib",
3
3
  "author": "Anonymize <anonymize@gmail.com>",
4
4
  "description": "Anonymize Secrecy Library",
5
- "version": "1.25.0",
5
+ "version": "1.26.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"
@@ -49,44 +49,44 @@
49
49
  "semantic-release": "semantic-release"
50
50
  },
51
51
  "devDependencies": {
52
- "@commitlint/cli": "^19.2.1",
53
- "@commitlint/config-conventional": "^19.1.0",
54
- "@prisma/client": "5.12.1",
55
- "@types/bun": "^1.0.12",
52
+ "@commitlint/cli": "^19.3.0",
53
+ "@commitlint/config-conventional": "^19.2.2",
54
+ "@prisma/client": "5.16.2",
55
+ "@types/bun": "^1.1.6",
56
56
  "@types/jsonwebtoken": "^9.0.6",
57
57
  "@types/spark-md5": "^3.0.4",
58
- "@typescript-eslint/eslint-plugin": "^7.6.0",
59
- "@typescript-eslint/parser": "^7.6.0",
58
+ "@typescript-eslint/eslint-plugin": "^7.13.1",
59
+ "@typescript-eslint/parser": "^7.13.1",
60
60
  "eslint": "^8.57.0",
61
61
  "eslint-config-prettier": "^9.1.0",
62
- "eslint-config-standard-with-typescript": "^43.0.0",
62
+ "eslint-config-standard-with-typescript": "^43.0.1",
63
63
  "eslint-plugin-import": "^2.29.1",
64
- "eslint-plugin-n": "^17.2.0",
65
- "eslint-plugin-promise": "^6.1.1",
64
+ "eslint-plugin-n": "^17.9.0",
65
+ "eslint-plugin-promise": "^6.4.0",
66
66
  "husky": "^9.0.11",
67
67
  "npm-run-all": "^4.1.5",
68
- "prettier": "^3.2.5",
69
- "rimraf": "^5.0.5",
70
- "semantic-release": "^23.0.8",
71
- "typedoc": "^0.25.13",
72
- "typedoc-plugin-missing-exports": "^2.2.0",
73
- "typescript": "^5.4.5"
68
+ "prettier": "^3.3.3",
69
+ "rimraf": "^6.0.1",
70
+ "semantic-release": "^24.0.0",
71
+ "typedoc": "^0.26.4",
72
+ "typedoc-plugin-missing-exports": "^3.0.0",
73
+ "typescript": "^5.5.3"
74
74
  },
75
75
  "dependencies": {
76
76
  "@secrecy/lib-utils": "^1.0.18",
77
- "@secrecy/trpc-api-types": " 1.27.0-feat-enhance-search-cloud-data.2",
77
+ "@secrecy/trpc-api-types": "1.27.0-feat-users-management.2",
78
78
  "@trpc/client": "10.45.2",
79
79
  "@trpc/server": "10.45.2",
80
80
  "@types/libsodium-wrappers-sumo": "^0.7.8",
81
- "axios": "^1.6.8",
82
- "bson": "^6.6.0",
83
- "ethers": "^6.11.1",
81
+ "axios": "^1.7.2",
82
+ "bson": "^6.8.0",
83
+ "ethers": "^6.13.1",
84
84
  "jsonwebtoken": "^9.0.2",
85
- "ky": "^1.2.3",
86
- "libsodium-wrappers-sumo": "^0.7.13",
87
- "lru-cache": "^10.2.0",
85
+ "ky": "^1.4.0",
86
+ "libsodium-wrappers-sumo": "^0.7.14",
87
+ "lru-cache": "^11.0.0",
88
88
  "spark-md5": "^3.0.2",
89
89
  "superjson": "2.2.1",
90
- "zod": "3.22.4"
90
+ "zod": "3.23.8"
91
91
  }
92
92
  }