Skip to content

v11.7.2

Choose a tag to compare

@ryanio ryanio released this 03 Aug 17:34
· 2 commits to main since this release

What's Changed

Re-release of 11.7.1, which never reached npm: a test added in that version located the OpenAPI spec at a monorepo-only path, so npm test failed on the public mirror and gated the publish. Fixed — the spec now resolves from node_modules/@opensea/api-types, which exists in both layouts.

11.7.1's contents ship here. If you are on 11.7.0, this is the upgrade.

Fixed: wallet-auth writes were corrupting camelCase request bodies

Fetcher.request snake_cases every request body by default, but four wallet-auth endpoints declare camelCase properties in their OpenAPI schemas:

Method Behaviour on 11.7.0
setProfileNftPfp Always failedcontractAddress and tokenId are required
createProfileImageUpload Always failedimageType and contentType are required
updateProfileSettings Returned 200 but silently discarded displayName, externalUrl, profileImageToken, bannerImageToken (only bio applied)
cancelOrder Silently dropped offererSignature, turning a signed cancel into an unsigned one

All four now send the body verbatim, the same opt-out the Seaport order and offer helpers already used. Endpoints whose wire format really is snake_case are unchanged.

Added: wallet visibility and agent profile relationships

  • WalletAuthAPI.makeWalletPrivate(wallet)PUT /api/v2/accounts/wallets/{wallet}/private
  • WalletAuthAPI.makeWalletPublic(wallet)DELETE /api/v2/accounts/wallets/{wallet}/private
  • WalletAuthAPI.getAgentProfileRelationships(addressOrUsername)GET /api/v2/accounts/{address_or_username}/agent-relationships
  • New exported types: WalletVisibilityResponse, AgentProfileRelationshipsResponse, SvmInstructionAccountResponse, SvmInstructionResponse, SvmTransactionDetailsResponse

Also

  • Chain.StableChain (chain id 988) added to the SDK and generated chain maps.
  • SwapTransactionResponse.svm is now typed for structured Solana transaction contents. Swap execution remains EVM-only for now.

Full Changelog: v11.7.0...v11.7.2