@secrecy/lib 1.11.0 → 1.11.2
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 +51 -3
- package/package.json +2 -2
package/dist/types/client.d.ts
CHANGED
|
@@ -1104,6 +1104,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
1104
1104
|
_input_in: {};
|
|
1105
1105
|
_input_out: {};
|
|
1106
1106
|
_output_in: {
|
|
1107
|
+
cryptoWallets: {
|
|
1108
|
+
address: string;
|
|
1109
|
+
encryptedKeystore: string;
|
|
1110
|
+
}[];
|
|
1107
1111
|
masterKeySalt: string;
|
|
1108
1112
|
keyPairs: {
|
|
1109
1113
|
pub: string;
|
|
@@ -1111,6 +1115,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
1111
1115
|
}[];
|
|
1112
1116
|
};
|
|
1113
1117
|
_output_out: {
|
|
1118
|
+
cryptoWallets: {
|
|
1119
|
+
address: string;
|
|
1120
|
+
encryptedKeystore: string;
|
|
1121
|
+
}[];
|
|
1114
1122
|
masterKeySalt: string;
|
|
1115
1123
|
keyPairs: {
|
|
1116
1124
|
pub: string;
|
|
@@ -5177,12 +5185,52 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
5177
5185
|
createdAt: Date;
|
|
5178
5186
|
address: string;
|
|
5179
5187
|
encryptedKeystore: string;
|
|
5180
|
-
};
|
|
5188
|
+
} | null;
|
|
5181
5189
|
_output_out: {
|
|
5182
5190
|
userId: string;
|
|
5183
5191
|
createdAt: Date;
|
|
5184
5192
|
address: string;
|
|
5185
5193
|
encryptedKeystore: string;
|
|
5194
|
+
} | null;
|
|
5195
|
+
}, unknown>>;
|
|
5196
|
+
};
|
|
5197
|
+
updateWallets: {
|
|
5198
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
5199
|
+
_config: import("@trpc/server").RootConfig<{
|
|
5200
|
+
ctx: {};
|
|
5201
|
+
meta: object;
|
|
5202
|
+
errorShape: {
|
|
5203
|
+
message: string;
|
|
5204
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
5205
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
5206
|
+
} | {
|
|
5207
|
+
data: {
|
|
5208
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
5209
|
+
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";
|
|
5210
|
+
httpStatus: number;
|
|
5211
|
+
path?: string | undefined;
|
|
5212
|
+
stack?: string | undefined;
|
|
5213
|
+
};
|
|
5214
|
+
message: string;
|
|
5215
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
5216
|
+
};
|
|
5217
|
+
transformer: typeof superjson;
|
|
5218
|
+
}>;
|
|
5219
|
+
_meta: object;
|
|
5220
|
+
_ctx_out: {};
|
|
5221
|
+
_input_in: {
|
|
5222
|
+
address: string;
|
|
5223
|
+
encryptedKeystore: string;
|
|
5224
|
+
}[];
|
|
5225
|
+
_input_out: {
|
|
5226
|
+
address: string;
|
|
5227
|
+
encryptedKeystore: string;
|
|
5228
|
+
}[];
|
|
5229
|
+
_output_in: {
|
|
5230
|
+
isDone: boolean;
|
|
5231
|
+
};
|
|
5232
|
+
_output_out: {
|
|
5233
|
+
isDone: boolean;
|
|
5186
5234
|
};
|
|
5187
5235
|
}, unknown>>;
|
|
5188
5236
|
};
|
|
@@ -5339,13 +5387,13 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
5339
5387
|
createdAt: Date;
|
|
5340
5388
|
address: string;
|
|
5341
5389
|
encryptedKeystore: string;
|
|
5342
|
-
};
|
|
5390
|
+
} | null;
|
|
5343
5391
|
_output_out: {
|
|
5344
5392
|
userId: string;
|
|
5345
5393
|
createdAt: Date;
|
|
5346
5394
|
address: string;
|
|
5347
5395
|
encryptedKeystore: string;
|
|
5348
|
-
};
|
|
5396
|
+
} | null;
|
|
5349
5397
|
}, unknown>>;
|
|
5350
5398
|
};
|
|
5351
5399
|
};
|
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.2",
|
|
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.2",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|