@recta/client 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -78,7 +78,9 @@ anything that policy does not allow, and it allows sending only on those six cha
78
78
  on any other chain is refused by CDP unless you add your own rule for it.
79
79
 
80
80
  The saving is measured against `baseline_provider`: the route your agent would use without Recta. Declare the one it
81
- really uses. If that route is already the cheapest, Recta answers with no saving and charges nothing.
81
+ really uses. If your agent bridges through LI.FI (its public API or an aggregator built on it), declare `lifi`
82
+ wherever the fit check (`GET /v1/golden-corridor/fit`) lists it in `declarable_baselines`; it is refused with
83
+ `latency_class` SECONDS or MINUTES. Recta reads LI.FI's own transaction, its fee included. If that route is already the cheapest, Recta answers with no saving and charges nothing.
82
84
 
83
85
  ## What is checked before signing
84
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recta/client",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Client for Recta (api.recta.build): evaluate a cross-chain stablecoin transfer, authorize Recta's 5 %-of-verified-saving fee, execute the committed route and report it, with local checks before every signature.",
5
5
  "license": "MIT",
6
6
  "author": "Recta (https://recta.build)",
@@ -45,7 +45,7 @@
45
45
  "build": "tsc -p tsconfig.build.json"
46
46
  },
47
47
  "peerDependencies": {
48
- "viem": ">=2.56.3 <3"
48
+ "viem": ">=2.38.3 <3"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public",