@secrecy/lib 1.20.0 → 1.21.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/types/client.d.ts +4 -56
- package/package.json +2 -2
package/dist/types/client.d.ts
CHANGED
|
@@ -17134,64 +17134,12 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
17134
17134
|
locale: Locales;
|
|
17135
17135
|
ls: TranslationFunctions;
|
|
17136
17136
|
};
|
|
17137
|
-
_input_in: {
|
|
17138
|
-
|
|
17139
|
-
_output_in: {
|
|
17140
|
-
isDeleted: boolean;
|
|
17141
|
-
};
|
|
17142
|
-
_output_out: {
|
|
17143
|
-
isDeleted: boolean;
|
|
17137
|
+
_input_in: {
|
|
17138
|
+
isTemporary: boolean;
|
|
17144
17139
|
};
|
|
17145
|
-
|
|
17146
|
-
|
|
17147
|
-
deleteSelf: {
|
|
17148
|
-
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
17149
|
-
_config: import("@trpc/server").RootConfig<{
|
|
17150
|
-
ctx: {
|
|
17151
|
-
req: {
|
|
17152
|
-
headers: Headers;
|
|
17153
|
-
body: ReadableStream<Uint8Array> | null;
|
|
17154
|
-
};
|
|
17155
|
-
res: {
|
|
17156
|
-
headers: Headers;
|
|
17157
|
-
};
|
|
17158
|
-
session: any;
|
|
17159
|
-
locale: Locales;
|
|
17160
|
-
ls: TranslationFunctions;
|
|
17161
|
-
};
|
|
17162
|
-
meta: object;
|
|
17163
|
-
errorShape: {
|
|
17164
|
-
message: string;
|
|
17165
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
17166
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
17167
|
-
} | {
|
|
17168
|
-
data: {
|
|
17169
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
17170
|
-
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";
|
|
17171
|
-
httpStatus: number;
|
|
17172
|
-
path?: string | undefined;
|
|
17173
|
-
stack?: string | undefined;
|
|
17174
|
-
};
|
|
17175
|
-
message: string;
|
|
17176
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
17177
|
-
};
|
|
17178
|
-
transformer: typeof superjson;
|
|
17179
|
-
}>;
|
|
17180
|
-
_meta: object;
|
|
17181
|
-
_ctx_out: {
|
|
17182
|
-
session: SecrecySession;
|
|
17183
|
-
req: {
|
|
17184
|
-
headers: Headers;
|
|
17185
|
-
body: ReadableStream<Uint8Array> | null;
|
|
17186
|
-
};
|
|
17187
|
-
res: {
|
|
17188
|
-
headers: Headers;
|
|
17189
|
-
};
|
|
17190
|
-
locale: Locales;
|
|
17191
|
-
ls: TranslationFunctions;
|
|
17140
|
+
_input_out: {
|
|
17141
|
+
isTemporary: boolean;
|
|
17192
17142
|
};
|
|
17193
|
-
_input_in: {} | undefined;
|
|
17194
|
-
_input_out: {} | undefined;
|
|
17195
17143
|
_output_in: {
|
|
17196
17144
|
isDeleted: boolean;
|
|
17197
17145
|
};
|
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.
|
|
5
|
+
"version": "1.21.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@secrecy/lib-utils": "^1.0.18",
|
|
77
|
-
"@secrecy/trpc-api-types": "1.24.0-feat-update-account-subscription.
|
|
77
|
+
"@secrecy/trpc-api-types": "1.24.0-feat-update-account-subscription.6",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|