@secrecy/lib 1.63.0-feat-orgs.5 → 1.63.0-feat-orgs.7
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/lib/base-client.js
CHANGED
|
@@ -2,7 +2,7 @@ import { usersCache } from './cache.js';
|
|
|
2
2
|
import { getStorage } from './client/storage.js';
|
|
3
3
|
import { createTRPCClient, } from './client.js';
|
|
4
4
|
import { getPreferedEmail } from './utils.js';
|
|
5
|
-
async function getPublicUser(client, id) {
|
|
5
|
+
export async function getPublicUser(client, id) {
|
|
6
6
|
let user = usersCache.get(id);
|
|
7
7
|
if (user !== undefined) {
|
|
8
8
|
return user;
|
package/dist/lib/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type ApiClient, type RouterOutputs, type RouterInputs, CreateTrpcClientOptions } from './client.js';
|
|
2
2
|
import { type InfuraNetwork, type PublicUser } from './index.js';
|
|
3
3
|
import { type SelfUser } from './client/types/user.js';
|
|
4
|
+
export declare function getPublicUser(client: ApiClient, id: string): Promise<PublicUser>;
|
|
4
5
|
export type SecrecyUrls = {
|
|
5
6
|
auth: string;
|
|
6
7
|
account: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -9,3 +9,4 @@ export * from './utils/store-buddy.js';
|
|
|
9
9
|
export type { UserAppNotifications, UserAppSettings, InfuraNetwork, UserData, DownloadProgress, } from './types.js';
|
|
10
10
|
export * from './error/index.js';
|
|
11
11
|
export type { Rights } from './client/types/node.js';
|
|
12
|
+
export { getPublicUser } from './base-client.js';
|
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.63.0-feat-orgs.
|
|
5
|
+
"version": "1.63.0-feat-orgs.7",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"ethers": "^6.13.4",
|
|
84
84
|
"file-type": "^19.6.0",
|
|
85
85
|
"jsonwebtoken": "^9.0.2",
|
|
86
|
-
"ky": "
|
|
86
|
+
"ky": "~1.7.2",
|
|
87
87
|
"libsodium-wrappers-sumo": "^0.7.15",
|
|
88
88
|
"lru-cache": "^11.0.2",
|
|
89
89
|
"spark-md5": "^3.0.2",
|