@secrecy/lib 1.63.0 → 1.64.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.
|
@@ -328,7 +328,7 @@ export class SecrecyCloudClient {
|
|
|
328
328
|
}
|
|
329
329
|
async shareNode(input, progress) {
|
|
330
330
|
// TODO: Validate input
|
|
331
|
-
const nodesMap = await this.#apiClient.cloud.shareNode.
|
|
331
|
+
const nodesMap = await this.#apiClient.cloud.shareNode.query(input);
|
|
332
332
|
const neededUserKey = Object.entries(nodesMap)
|
|
333
333
|
.filter(([, nodes]) => nodes.some((node) => node.includeKeys))
|
|
334
334
|
.map(([userId]) => userId);
|
package/dist/types/client.d.ts
CHANGED
|
@@ -5887,7 +5887,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
5887
5887
|
}, unknown>>;
|
|
5888
5888
|
};
|
|
5889
5889
|
shareNode: {
|
|
5890
|
-
|
|
5890
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
5891
5891
|
_config: import("@trpc/server").RootConfig<{
|
|
5892
5892
|
ctx: {};
|
|
5893
5893
|
meta: object;
|
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.64.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typescript": "^5.7.2"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@secrecy/trpc-api-types": "1.33.0-
|
|
77
|
+
"@secrecy/trpc-api-types": "1.33.0-dev.76",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|