@secrecy/trpc-api-types 1.18.0-dev.9 → 1.18.0-fix-crypto-wallet.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.
Files changed (2) hide show
  1. package/dist/index.d.cts +44 -0
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -5269,6 +5269,50 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5269
5269
  encryptedKeystore: string;
5270
5270
  };
5271
5271
  }, unknown>;
5272
+ updateWallet: _trpc_server.BuildProcedure<"mutation", {
5273
+ _config: _trpc_server.RootConfig<{
5274
+ ctx: {};
5275
+ meta: object;
5276
+ errorShape: {
5277
+ message: string;
5278
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
5279
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
5280
+ } | {
5281
+ data: {
5282
+ zodError: zod.typeToFlattenedError<any, string> | null;
5283
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
5284
+ httpStatus: number;
5285
+ path?: string | undefined;
5286
+ stack?: string | undefined;
5287
+ };
5288
+ message: string;
5289
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
5290
+ };
5291
+ transformer: typeof superjson.default;
5292
+ }>;
5293
+ _meta: object;
5294
+ _ctx_out: {};
5295
+ _input_in: {
5296
+ address: string;
5297
+ encryptedKeystore: string;
5298
+ };
5299
+ _input_out: {
5300
+ address: string;
5301
+ encryptedKeystore: string;
5302
+ };
5303
+ _output_in: {
5304
+ userId: string;
5305
+ createdAt: Date;
5306
+ address: string;
5307
+ encryptedKeystore: string;
5308
+ };
5309
+ _output_out: {
5310
+ userId: string;
5311
+ createdAt: Date;
5312
+ address: string;
5313
+ encryptedKeystore: string;
5314
+ };
5315
+ }, unknown>;
5272
5316
  isTransactionDone: _trpc_server.BuildProcedure<"query", {
5273
5317
  _config: _trpc_server.RootConfig<{
5274
5318
  ctx: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.18.0-dev.9",
3
+ "version": "1.18.0-fix-crypto-wallet.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"