@payware/mcp-server 1.3.2 → 1.3.3

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.
@@ -163,8 +163,8 @@ retry once the window passes. The failure result exposes this as \`error.throttl
163
163
  const formatInfo = formatTransactionHistory(result.transaction);
164
164
 
165
165
  // Format dates
166
- const created = result.transaction.created ? new Date(result.transaction.created * 1000).toISOString() : 'N/A';
167
- const finalized = result.transaction.finalized ? new Date(result.transaction.finalized * 1000).toISOString() : 'N/A';
166
+ const created = result.transaction.created ? new Date(result.transaction.created).toISOString() : 'N/A';
167
+ const finalized = result.transaction.finalized ? new Date(result.transaction.finalized).toISOString() : 'N/A';
168
168
 
169
169
  return {
170
170
  content: [{
@@ -127,7 +127,7 @@ export const getPITransactionHistoryTool = {
127
127
 
128
128
  if (result.success) {
129
129
  const tx = result.transaction;
130
- const createdDate = tx.created ? new Date(tx.created * 1000).toISOString() : 'N/A';
130
+ const createdDate = tx.created ? new Date(tx.created).toISOString() : 'N/A';
131
131
 
132
132
  // Status emoji mapping
133
133
  const statusEmojis = {
@@ -162,7 +162,7 @@ recomputing the fee from them is rejected with ERR_FEE_MISMATCH.
162
162
 
163
163
  if (result.success) {
164
164
  const tx = result.transaction;
165
- const createdDate = tx.created ? new Date(tx.created * 1000).toISOString() : 'N/A';
165
+ const createdDate = tx.created ? new Date(tx.created).toISOString() : 'N/A';
166
166
 
167
167
  // Transaction type display
168
168
  const typeDisplay = tx.transactionType || 'DEFAULT';