Major Changes
-
5714430: Audio uploads and preview generation now carry the id of the user they are made for. Validator nodes attest the resulting cids to that user on chain, which is what makes them claimable on a track once content authorization is enforced;
generate_previewadditionally refuses users that do not already claim the source audio.BREAKING:
userId(encoded id) is now required ontracks.uploadTrackFilesanduploads.createAudioUpload, andStorage.generatePreviewrequires a decodeduserId. The high-level methods (createTrack,updateTrack,uploadTrack,publishTrack) already requireduserIdand now thread it through automatically — callers of those need no changes. The id is always explicit, never derived from auth state, because a manager or developer-app session can act for more than one user.No signature or wallet is involved: the id is an assertion, and ownership is enforced where it always was — in the signed entity-manager write that names a cid on a track.
Minor Changes
- 7d2e8bd: Add
chats.setCategory(RPCchat.set_category) to file a chat into the Priority or General inbox,chats.getUnreadCountByCategoryfor per-tab unread counts, theChatCategoryenum, and acategoryfield onUserChat. - 58ec6a3: User bank creation now also sets the user bank's close authority to the Claimable Tokens rent destination, as required by the Solana relay. Adds
claimableTokensClient.createCloseAuthorityInstructions.createUserBankIfNeededInstructionnow returnsinstructions(empty if the user bank exists) instead ofinstruction, and acceptsinstructionIndex. Creating a user bank for a wallet other than the connected one now throws. - 02ee302: Add
users.getWeeklyRotation, a hand-written client forGET /v1/users/{id}/weekly-rotation— a personalized weekly track mix that is stable for the ISO week. This method has not appeared in a published release before; it was briefly namedgetDiscoverWeeklyonmainonly.
Patch Changes
- 294f53d: Remove
totalVolumeUSDfrom theCoinmodel. The/v1/coinsendpoint no longer returns this field. - 075329a: Remove unused EIP-712
domains,types, andgeneratorsexports from the internalsignatureSchemasmodule and rename what remains (getNonce) tononce.ts. None of the removed definitions were reachable from the public SDK entry point, so this is not a breaking change. - 4c4b321: Add
permalinkto theEventmodel, syncing the generated SDK with the current API (the/v1/eventsresponse now returns a canonical contest permalink). - Updated dependencies [58ec6a3]
- @audius/spl@2.2.0