From 72885b2db2c2e787bec458977c64a6ea3e6f8998 Mon Sep 17 00:00:00 2001 From: biwasbhandari Date: Thu, 23 Jul 2026 10:37:53 +0545 Subject: [PATCH] chore(deps): bump @aibtc/tx-schemas to ^1.1.0 Closes #492. The bump is additive for the symbols this repo consumes, so no type migration was needed: - TerminalReason is byte-identical between 0.7.0 and 1.1.0 - HttpPaymentStatusResponse only gains optional fields (lastOccupant, quarantinedNonces); the status enum and terminalReason are unchanged - All three parse sites use safeParse against a $strip schema, so added optional fields cannot reject existing relay responses Verified: tsc clean, 543 tests pass, zod dedupes to a single 4.3.6. Parse behavior compared side by side against 0.7.0 on representative payloads (minimal, terminal, full body, unknown extra key) with no divergence. --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index f127f0b..a8a6821 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.64.2", "license": "MIT", "dependencies": { - "@aibtc/tx-schemas": "^0.7.0", + "@aibtc/tx-schemas": "^1.1.0", "@bitflowlabs/core-sdk": "^3.0.0", "@buildonspark/spark-sdk": "^0.7.14", "@faktoryfun/styx-sdk": "^1.3.5", @@ -53,9 +53,9 @@ } }, "node_modules/@aibtc/tx-schemas": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@aibtc/tx-schemas/-/tx-schemas-0.7.0.tgz", - "integrity": "sha512-6q8FnEuwRV1OZ3b9uQ831vSdi7a2LdwS9twoSld5r8UIR2T/wH9WO5iTGsDlFmsP//4GtEUjX5HYX/KsKd+NsQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@aibtc/tx-schemas/-/tx-schemas-1.1.0.tgz", + "integrity": "sha512-jCautY4s8xT6oYC6l5d5tR9pbKTIziyny3YFI77mcmkoCzZzw7oedARYARuw1DSyxcHpXVoRTL0VM6MlTYA3LQ==", "license": "MIT", "dependencies": { "zod": "^4.3.6" diff --git a/package.json b/package.json index 0462cbe..51ae98e 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "homepage": "https://github.com/aibtcdev/aibtc-mcp-server#readme", "license": "MIT", "dependencies": { - "@aibtc/tx-schemas": "^0.7.0", + "@aibtc/tx-schemas": "^1.1.0", "@bitflowlabs/core-sdk": "^3.0.0", "@buildonspark/spark-sdk": "^0.7.14", "@faktoryfun/styx-sdk": "^1.3.5",