@vapi-network/cli 0.2.3 → 0.5.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.
- package/README.md +11 -3
- package/dist/agent.d.ts +14 -0
- package/dist/check.d.ts +46 -0
- package/dist/cli.d.ts +133 -1
- package/dist/cli.js +33724 -3269
- package/dist/cli.js.map +3 -3
- package/dist/identity.d.ts +30 -0
- package/dist/index.js +33709 -3268
- package/dist/index.js.map +3 -3
- package/dist/login.d.ts +8 -0
- package/dist/publish-client.d.ts +193 -0
- package/dist/router.d.ts +2 -0
- package/dist/stake.d.ts +3 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type WalletIdentity = {
|
|
2
|
+
erc8004Id: string;
|
|
3
|
+
agentCount: number;
|
|
4
|
+
registry: string;
|
|
5
|
+
reputation?: {
|
|
6
|
+
score: number;
|
|
7
|
+
count: number;
|
|
8
|
+
} | undefined;
|
|
9
|
+
};
|
|
10
|
+
export type IdentityForDisplay = {
|
|
11
|
+
erc8004Id: string;
|
|
12
|
+
reputation?: {
|
|
13
|
+
score: number;
|
|
14
|
+
count: number;
|
|
15
|
+
} | undefined;
|
|
16
|
+
};
|
|
17
|
+
export declare function fetchWalletIdentity(options: {
|
|
18
|
+
baseUrl: string;
|
|
19
|
+
wallet: string;
|
|
20
|
+
fetchImpl?: typeof fetch;
|
|
21
|
+
timeoutMs?: number;
|
|
22
|
+
allowPrivateNetwork?: boolean;
|
|
23
|
+
}): Promise<{
|
|
24
|
+
ok: true;
|
|
25
|
+
identity: WalletIdentity | null;
|
|
26
|
+
} | {
|
|
27
|
+
ok: false;
|
|
28
|
+
}>;
|
|
29
|
+
export declare function formatScore(score: number): string;
|
|
30
|
+
export declare function formatIdentityLines(identity: IdentityForDisplay): string[];
|