@vapi-network/mcp 0.9.4 → 0.9.6
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/index.js +39 -16
- package/dist/index.js.map +2 -2
- package/dist/wallet-session.d.ts +10 -1
- package/package.json +1 -1
package/dist/wallet-session.d.ts
CHANGED
|
@@ -57,6 +57,12 @@ export declare class WalletSession {
|
|
|
57
57
|
* absorbed `VAPI_WALLET` and the registry default when the session started.
|
|
58
58
|
*/
|
|
59
59
|
resolve(name?: string): SessionWallet;
|
|
60
|
+
/**
|
|
61
|
+
* `resolve`, after re-reading `wallets.json` when the name is not known yet.
|
|
62
|
+
* An account created in a terminal while this server runs works at once; the
|
|
63
|
+
* session's active account and the human's default stay as they were.
|
|
64
|
+
*/
|
|
65
|
+
resolveLatest(name?: string): Promise<SessionWallet>;
|
|
60
66
|
/** The addresses of an account, read from the vault or a legacy keystore header. */
|
|
61
67
|
addressesFor(name?: string): Promise<{
|
|
62
68
|
wallet: SessionWallet;
|
|
@@ -71,7 +77,10 @@ export declare class WalletSession {
|
|
|
71
77
|
account: VapiPaymentAccount;
|
|
72
78
|
spendCaps?: SpendCaps;
|
|
73
79
|
}>;
|
|
74
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Every account this machine knows, with the session's own marker on one.
|
|
82
|
+
* `wallets.json` is re-read first, so accounts made in a terminal show up.
|
|
83
|
+
*/
|
|
75
84
|
list(): Promise<SessionWalletInfo[]>;
|
|
76
85
|
/**
|
|
77
86
|
* Points the session at another account. Memory only: the human's default in
|