@secrecy/lib 1.11.0 → 1.11.1
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 +46 -0
- package/package.json +2 -2
package/dist/types/client.d.ts
CHANGED
|
@@ -5186,6 +5186,52 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
5186
5186
|
};
|
|
5187
5187
|
}, unknown>>;
|
|
5188
5188
|
};
|
|
5189
|
+
updateWallet: {
|
|
5190
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
5191
|
+
_config: import("@trpc/server").RootConfig<{
|
|
5192
|
+
ctx: {};
|
|
5193
|
+
meta: object;
|
|
5194
|
+
errorShape: {
|
|
5195
|
+
message: string;
|
|
5196
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
5197
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
5198
|
+
} | {
|
|
5199
|
+
data: {
|
|
5200
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
5201
|
+
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";
|
|
5202
|
+
httpStatus: number;
|
|
5203
|
+
path?: string | undefined;
|
|
5204
|
+
stack?: string | undefined;
|
|
5205
|
+
};
|
|
5206
|
+
message: string;
|
|
5207
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
5208
|
+
};
|
|
5209
|
+
transformer: typeof superjson;
|
|
5210
|
+
}>;
|
|
5211
|
+
_meta: object;
|
|
5212
|
+
_ctx_out: {};
|
|
5213
|
+
_input_in: {
|
|
5214
|
+
address: string;
|
|
5215
|
+
encryptedKeystore: string;
|
|
5216
|
+
};
|
|
5217
|
+
_input_out: {
|
|
5218
|
+
address: string;
|
|
5219
|
+
encryptedKeystore: string;
|
|
5220
|
+
};
|
|
5221
|
+
_output_in: {
|
|
5222
|
+
userId: string;
|
|
5223
|
+
createdAt: Date;
|
|
5224
|
+
address: string;
|
|
5225
|
+
encryptedKeystore: string;
|
|
5226
|
+
};
|
|
5227
|
+
_output_out: {
|
|
5228
|
+
userId: string;
|
|
5229
|
+
createdAt: Date;
|
|
5230
|
+
address: string;
|
|
5231
|
+
encryptedKeystore: string;
|
|
5232
|
+
};
|
|
5233
|
+
}, unknown>>;
|
|
5234
|
+
};
|
|
5189
5235
|
isTransactionDone: {
|
|
5190
5236
|
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
5191
5237
|
_config: import("@trpc/server").RootConfig<{
|
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.11.
|
|
5
|
+
"version": "1.11.1",
|
|
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.18.0-
|
|
77
|
+
"@secrecy/trpc-api-types": "1.18.0-fix-crypto-wallet.1",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|