@zkp2p/sdk 0.10.0-rc.3 → 0.10.0-rc.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.
package/README.md CHANGED
@@ -241,8 +241,9 @@ const stake = await client.getTakerStake({ owner: takerAddress, chainId: 8453 })
241
241
  // reservedUsdc (locked), freeUsdc — each { raw, formatted } in 6-decimal base units.
242
242
 
243
243
  const capacity = await client.getTakerCapacity({ owner: takerAddress, chainId: 8453 });
244
- // capacity.responseObject.platforms[]: bondedTakingCapacity, freeTakes, griefing and
245
- // chargeback curve terms, warnings; operationalGates carries pause state.
244
+ // capacity.responseObject.platforms[]: bondedTakingCapacity, baseUnbonded,
245
+ // totalTakingCapacity, griefing and chargeback curve terms, warnings;
246
+ // operationalGates carries pause state.
246
247
 
247
248
  const onchain = await client.getStakeVaultState({
248
249
  staker: stakeOwnerAddress,
@@ -302,10 +303,12 @@ For receipt classification, import `RISK_POSITION_SETTLED_EVENT_ABI` and
302
303
  `GET /v2/taker/stake` and `GET /v2/taker/capacity`, the hard replacement for
303
304
  the removed `/v2/taker/tier` endpoint. Platform capacities are alternative
304
305
  views of one shared stake-owner portfolio — never sum them, and never filter
305
- quotes by capacity. Free takes are separate whole intents (at most
306
- `amountPerTakeUsdc` each) and cannot be combined with bonded capacity.
307
- Capacity can change whenever any authorized relayer uses the shared stake, so
308
- refetch immediately before signaling; the contract stays authoritative.
306
+ quotes by capacity. The base unbonded tranche (`baseUnbonded`) is reusable on
307
+ every intent and combines with bonded capacity into `totalTakingCapacity`;
308
+ legacy free-take payloads from older curator deployments are normalized onto
309
+ this model by the SDK. Capacity can change whenever any authorized relayer
310
+ uses the shared stake, so refetch immediately before signaling; the contract
311
+ stays authoritative.
309
312
 
310
313
  For table-style liquidity UIs, the low-level `apiGetOrderbookTable()` adapter exposes curator's paginated public/private orderbook rows and row-level privacy metadata.
311
314
 
@@ -792,7 +795,7 @@ The package already includes TypeDoc configuration. Generate the full API refere
792
795
  pnpm --filter @zkp2p/sdk docs
793
796
  ```
794
797
 
795
- This writes documentation to [`packages/sdk/docs`](./docs) and now includes the React entry point as well as the main SDK and extension surfaces.
798
+ This writes generated documentation to `packages/sdk/docs` and includes the React entry point as well as the main SDK and extension surfaces.
796
799
 
797
800
  ## Debug Logging
798
801
 
@@ -822,4 +825,4 @@ pnpm docs
822
825
  - NPM: https://www.npmjs.com/package/@zkp2p/sdk
823
826
  - Docs: https://docs.peer.xyz
824
827
  - Monorepo: https://github.com/zkp2p/zkp2p-clients
825
- - TypeDoc output: [`packages/sdk/docs`](./docs)
828
+ - TypeDoc output: `packages/sdk/docs` (generated locally by `pnpm --filter @zkp2p/sdk docs`)
@@ -74362,5 +74362,5 @@ function enrichPvIntentView(view, chainId, env = "production") {
74362
74362
  }
74363
74363
 
74364
74364
  export { DEFERRED_PAYOUT_RECORDED_EVENT_ABI, METHOD_NAME_TO_HASH, ORCHESTRATOR_V3_ABI2 as ORCHESTRATOR_V3_ABI, PAYMENT_PLATFORMS, RISK_MANAGER_ABI2 as RISK_MANAGER_ABI, RISK_POSITION_SETTLED_EVENT_ABI, STAKE_VAULT_ABI2 as STAKE_VAULT_ABI, SUPPORTED_PAYMENT_METHOD_HASHES, asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getContracts, getGatingServiceAddress, getOrchestratorV3Contract, getPaymentMethodsCatalog, getRateManagerContracts, getRiskManagerContract, getStakeVaultContract, matchesPaymentMethodNameAndHash, matchesQuotePaymentMethod, parseBigIntLike, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash };
74365
- //# sourceMappingURL=chunk-NKEAAPPR.mjs.map
74366
- //# sourceMappingURL=chunk-NKEAAPPR.mjs.map
74365
+ //# sourceMappingURL=chunk-7Z77SXI3.mjs.map
74366
+ //# sourceMappingURL=chunk-7Z77SXI3.mjs.map