@hashgraphonline/standards-agent-kit 0.2.151 → 0.2.153

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashgraphonline/standards-agent-kit",
3
- "version": "0.2.151",
3
+ "version": "0.2.153",
4
4
  "description": "A modular SDK for building on-chain autonomous agents using Hashgraph Online Standards, including HCS-10 for agent discovery and communication.",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/standards-agent-kit.cjs",
@@ -547,7 +547,9 @@ export class InscribeHashinalTool
547
547
  );
548
548
 
549
549
  const txId =
550
- (result.result as InscriptionResult)?.transactionId ?? 'unknown';
550
+ result?.inscription?.tx_id ||
551
+ (result?.result as InscriptionResult)?.transactionId ||
552
+ 'unknown';
551
553
  const successResponse = createInscriptionSuccess({
552
554
  hrl: hrl || 'hcs://1/unknown',
553
555
  topicId: topicId || 'unknown',
@@ -578,7 +580,9 @@ export class InscribeHashinalTool
578
580
  return successResponse;
579
581
  } else if (!result.quote && !result.confirmed) {
580
582
  const txId =
581
- (result.result as InscriptionResult)?.transactionId ?? 'unknown';
583
+ (result.result as InscriptionResult)?.transactionId ||
584
+ result?.inscription?.transactionId ||
585
+ 'unknown';
582
586
  return createInscriptionPending({
583
587
  transactionId: txId,
584
588
  details: