@zkp2p/cash 0.1.2 → 0.1.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.
- package/AGENTS.md +3 -2
- package/README.md +3 -1
- package/dist/index.cjs +18 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +18 -9
- package/dist/index.js.map +1 -1
- package/llms.txt +2 -2
- package/package.json +1 -1
- package/skills/peer-cash-integration/SKILL.md +3 -2
package/llms.txt
CHANGED
|
@@ -16,8 +16,8 @@ Key facts:
|
|
|
16
16
|
- Destination is always Base USDC. Source chains/tokens come from Relay SDK
|
|
17
17
|
metadata and quote execution, filtered to EVM chains this SDK can sign.
|
|
18
18
|
- There is NO locked fiat quote. estimate() reads the oracle; the binding rate
|
|
19
|
-
resolves at fill time. ETA is `{ seconds, label }` from recent
|
|
20
|
-
not a guarantee.
|
|
19
|
+
resolves at fill time. ETA is `{ seconds, label }` from recent zero-spread
|
|
20
|
+
market-rate deposits in the same payout corridor, not a guarantee.
|
|
21
21
|
- Resume any order from its depositId alone (composite escrow_onchainId).
|
|
22
22
|
- One unwind verb: withdraw(depositId) - prunes expired intents automatically;
|
|
23
23
|
pass amount for a partial withdrawal of the unlocked balance.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zkp2p/cash",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Peer Cash - offramp-only SDK for routing crypto to Base USDC, then cashing out to fiat at the live oracle market rate.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Peer (https://peer.xyz)",
|
|
@@ -28,8 +28,9 @@ custodial off-ramp provider.
|
|
|
28
28
|
- **Custody story.** Funds are held by the protocol contract only. An unmatched
|
|
29
29
|
deposit is withdrawable by the maker at any time. The SDK never holds keys.
|
|
30
30
|
- **Honest ETA.** Use `estimate().eta`: `{ seconds, label }` backed by rolling
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
30-day indexer data from zero-spread (`spreadBps: 0`) market-rate deposits in
|
|
32
|
+
the same payout corridor, measured from deposit creation to first fill. Do
|
|
33
|
+
not use signal-to-fulfillment latency and never render it as a guarantee.
|
|
33
34
|
|
|
34
35
|
## 2. Decision tree - entry point by runtime
|
|
35
36
|
|