@zkp2p/sdk 0.8.1 → 0.9.0
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/README.md +4 -2
- package/dist/{chunk-ZM4ZP5GQ.mjs → chunk-FSIRPX4W.mjs} +182 -209
- package/dist/chunk-FSIRPX4W.mjs.map +1 -0
- package/dist/index.cjs +785 -705
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +6 -7
- package/dist/index.d.ts +6 -7
- package/dist/index.mjs +127 -30
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-ER62YZ5L.mjs +5 -0
- package/dist/{protocolViewerParsers-GG6UQKLO.mjs.map → protocolViewerParsers-ER62YZ5L.mjs.map} +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/{vaultUtils-BGDsoxAv.d.mts → vaultUtils-aJdIIILM.d.mts} +53 -2
- package/dist/{vaultUtils-BGDsoxAv.d.ts → vaultUtils-aJdIIILM.d.ts} +53 -2
- package/package.json +4 -4
- package/dist/chunk-ZM4ZP5GQ.mjs.map +0 -1
- package/dist/protocolViewerParsers-GG6UQKLO.mjs +0 -5
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Stable TypeScript SDK for trustless fiat-to-crypto on Base. ZKP2P combines escrowed on-chain settlement, TLS attestations for payment verification, and API/indexer helpers so makers, takers, wallets, and embedded ramps can ship production-grade fiat liquidity flows without building their own contract or indexing stack.
|
|
8
8
|
|
|
9
|
-
Current version: `0.
|
|
9
|
+
Current version: `0.9.0`
|
|
10
10
|
|
|
11
11
|
## Why This SDK
|
|
12
12
|
|
|
@@ -225,6 +225,8 @@ const payeeHash = await client.resolvePayeeHash(
|
|
|
225
225
|
|
|
226
226
|
`getQuote()` returns available liquidity plus payee details when authenticated. Use `getQuotesBestByPlatform()` to fetch the best quote per supported payment platform in a single call (handy for cross-platform comparison UIs). `getTakerTier()` returns limits, cooldown data, Peer Pay volume progression, and `volumeBreakdown` rows for taker UX.
|
|
227
227
|
|
|
228
|
+
For table-style liquidity UIs, the low-level `apiGetOrderbookTable()` adapter exposes curator's paginated public/private orderbook rows and row-level privacy metadata.
|
|
229
|
+
|
|
228
230
|
## Seller Credential Status
|
|
229
231
|
|
|
230
232
|
```ts
|
|
@@ -730,6 +732,6 @@ pnpm docs
|
|
|
730
732
|
## Links
|
|
731
733
|
|
|
732
734
|
- NPM: https://www.npmjs.com/package/@zkp2p/sdk
|
|
733
|
-
- Docs: https://docs.
|
|
735
|
+
- Docs: https://docs.peer.xyz
|
|
734
736
|
- Monorepo: https://github.com/zkp2p/zkp2p-clients
|
|
735
737
|
- TypeDoc output: [`packages/sdk/docs`](./docs)
|