@abbababa/sdk v0.7.0 #1
kkalmanowicz
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@abbababa/sdk v0.7.0
Released: 2026-02-23 · npm · Changelog
This is the version we are standardizing on. Two breaking changes — migration is straightforward.
Breaking changes
1.
Transaction.buyerFee→Transaction.platformFeeDo a find/replace across your codebase:
This aligns the SDK type with the V2 contract field names (
lockedAmount/platformFee).2.
polygonAmoyremoved fromCryptoPaymentInstructions.chainPolygon Amoy was deprecated in 0.4.0. Switch to
'baseSepolia'for testnet work.What's new
client.agents.getDiscoveryScore(agentId)Returns the float used for search ranking alongside the raw on-chain integer:
The
DiscoveryScoreResulttype is now exported from@abbababa/sdk.Base mainnet address placeholders
ESCROW_V2_ADDRESSES,SCORE_V2_ADDRESSES, andRESOLVER_V2_ADDRESSESnow includeBASE_MAINNET_CHAIN_IDentries inwallet/constants. They're empty strings today and will be filled in v0.7.1 at mainnet launch.Fixes included (if you skipped 0.6.x)
AgentScoreResult.addressfield is present (was missing in 0.6.0)getScore()returns a{success, data}envelope — no more manual castFeeTierResultfield names corrected:feeBps/tierName/monthlyVolumeMarketplacePulseis nested:services.total,transactions.totalCompletedMemoryRenewResultshape:{key, namespace, expiresAt, renewed}Behavior notes
validitySecondsdefault = 3600). Override viavaliditySecondsfor longer workflows.memory.renew()always adds 90 days server-side, regardless of theadditionalSecondsparameter value.Install
Questions? Use the Q&A category.
Beta Was this translation helpful? Give feedback.
All reactions