@toon-protocol/townhouse 0.5.3 → 0.5.4

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.
@@ -13999,6 +13999,17 @@ var ILP_TO_SEMANTIC = Object.freeze({
13999
13999
  T00: "internal_error",
14000
14000
  T04: "insufficient_funds",
14001
14001
  F00: "invalid_request",
14002
+ // F01 ("Invalid Packet" in ILP terms — emitted by the swap handler for
14003
+ // "Invalid gift wrap" / "Invalid amount") has NO dedicated entry in the
14004
+ // connector's REJECT_CODE_MAP (accepted semantics are: insufficient_funds,
14005
+ // expired, unreachable, invalid_request, invalid_amount,
14006
+ // insufficient_destination_amount, unexpected_payment, application_error,
14007
+ // internal_error, timeout). The closest faithful reason is `invalid_request`,
14008
+ // which the connector re-encodes to wire code F00. We map F01 EXPLICITLY
14009
+ // (rather than relying on the fallback below) so the F01 -> F00 normalization
14010
+ // is intentional and test-pinned, not a silent collapse that misleads callers
14011
+ // into thinking they hit a different failure class. See issue #86.
14012
+ F01: "invalid_request",
14002
14013
  F02: "unreachable",
14003
14014
  F03: "invalid_amount",
14004
14015
  F04: "insufficient_destination_amount",
@@ -22834,4 +22845,4 @@ export {
22834
22845
  @scure/bip32/index.js:
22835
22846
  (*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
22836
22847
  */
22837
- //# sourceMappingURL=chunk-XFPIK22M.js.map
22848
+ //# sourceMappingURL=chunk-FFGRTYIK.js.map