@t402/mcp 2.7.1 → 2.8.1

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.
@@ -2,7 +2,7 @@ import {
2
2
  T402McpServer,
3
3
  createT402McpServer,
4
4
  loadConfigFromEnv
5
- } from "./chunk-3PMBXSJ3.mjs";
5
+ } from "./chunk-4DCBAKH2.mjs";
6
6
  import {
7
7
  BRIDGEABLE_CHAINS,
8
8
  CHAIN_IDS,
@@ -47,7 +47,7 @@ import {
47
47
  paymentPlanInputSchema,
48
48
  smartPayInputSchema,
49
49
  supportsToken
50
- } from "./chunk-B7X7H6NV.mjs";
50
+ } from "./chunk-OSPCSAZF.mjs";
51
51
  export {
52
52
  BRIDGEABLE_CHAINS,
53
53
  CHAIN_IDS,
@@ -20,6 +20,11 @@ declare class T402McpServer {
20
20
  * Initialize the WDK instance from seed phrase
21
21
  */
22
22
  initWdk(): Promise<void>;
23
+ /**
24
+ * Clear sensitive data from memory.
25
+ * Should be called on server shutdown to minimize key exposure window.
26
+ */
27
+ cleanup(): void;
23
28
  /** TON MCP bridge configuration */
24
29
  private tonBridgeConfig;
25
30
  /**
@@ -44,6 +49,10 @@ declare class T402McpServer {
44
49
  * Handle t402/getAllBalances
45
50
  */
46
51
  private handleGetAllBalances;
52
+ /**
53
+ * Format a confirmation prompt for elicitation
54
+ */
55
+ private formatConfirmation;
47
56
  /**
48
57
  * Handle t402/pay
49
58
  */
@@ -88,6 +97,38 @@ declare class T402McpServer {
88
97
  * Handle t402/paymentPlan
89
98
  */
90
99
  private handlePaymentPlan;
100
+ /**
101
+ * Handle t402/getTokenPrice
102
+ */
103
+ private handleGetTokenPrice;
104
+ /**
105
+ * Handle t402/getGasPrice
106
+ */
107
+ private handleGetGasPrice;
108
+ /**
109
+ * Handle t402/estimatePaymentFee
110
+ */
111
+ private handleEstimatePaymentFee;
112
+ /**
113
+ * Handle t402/compareNetworkFees
114
+ */
115
+ private handleCompareNetworkFees;
116
+ /**
117
+ * Handle t402/quoteBridge
118
+ */
119
+ private handleQuoteBridge;
120
+ /**
121
+ * Handle t402/executeBridgeQuote
122
+ */
123
+ private handleExecuteBridgeQuote;
124
+ /**
125
+ * Handle wdk/quoteSwap
126
+ */
127
+ private handleWdkQuoteSwap;
128
+ /**
129
+ * Handle wdk/executeSwap
130
+ */
131
+ private handleWdkExecuteSwap;
91
132
  /**
92
133
  * Handle erc8004/resolveAgent
93
134
  */
@@ -2,8 +2,8 @@ import {
2
2
  T402McpServer,
3
3
  createT402McpServer,
4
4
  loadConfigFromEnv
5
- } from "../chunk-3PMBXSJ3.mjs";
6
- import "../chunk-B7X7H6NV.mjs";
5
+ } from "../chunk-4DCBAKH2.mjs";
6
+ import "../chunk-OSPCSAZF.mjs";
7
7
  export {
8
8
  T402McpServer,
9
9
  createT402McpServer,