diff --git a/.changeset/sdk-coin-drop-total-volume.md b/.changeset/sdk-coin-drop-total-volume.md deleted file mode 100644 index 89039769029..00000000000 --- a/.changeset/sdk-coin-drop-total-volume.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': patch ---- - -Remove `totalVolumeUSD` from the `Coin` model. The `/v1/coins` endpoint no longer returns this field. diff --git a/.changeset/sdk-drop-dead-signature-schemas.md b/.changeset/sdk-drop-dead-signature-schemas.md deleted file mode 100644 index 2b527c0b4bf..00000000000 --- a/.changeset/sdk-drop-dead-signature-schemas.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': patch ---- - -Remove unused EIP-712 `domains`, `types`, and `generators` exports from the internal `signatureSchemas` module and rename what remains (`getNonce`) to `nonce.ts`. None of the removed definitions were reachable from the public SDK entry point, so this is not a breaking change. diff --git a/.changeset/sdk-event-permalink.md b/.changeset/sdk-event-permalink.md deleted file mode 100644 index c4acbdb32a8..00000000000 --- a/.changeset/sdk-event-permalink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': patch ---- - -Add `permalink` to the `Event` model, syncing the generated SDK with the current API (the `/v1/events` response now returns a canonical contest permalink). diff --git a/.changeset/sdk-upload-user-attribution.md b/.changeset/sdk-upload-user-attribution.md deleted file mode 100644 index 633d8474e95..00000000000 --- a/.changeset/sdk-upload-user-attribution.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@audius/sdk': major ---- - -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_preview` additionally refuses users that do not already claim the source audio. - -BREAKING: `userId` (encoded id) is now required on `tracks.uploadTrackFiles` and `uploads.createAudioUpload`, and `Storage.generatePreview` requires a decoded `userId`. The high-level methods (`createTrack`, `updateTrack`, `uploadTrack`, `publishTrack`) already required `userId` and 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. diff --git a/.changeset/sdk-weekly-rotation.md b/.changeset/sdk-weekly-rotation.md deleted file mode 100644 index c03dc01db3c..00000000000 --- a/.changeset/sdk-weekly-rotation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': minor ---- - -Add `users.getWeeklyRotation`, a hand-written client for `GET /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 named `getDiscoverWeekly` on `main` only. diff --git a/package-lock.json b/package-lock.json index fc8e23cf667..e3fc75ba1c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -116513,12 +116513,12 @@ }, "packages/libs": { "name": "@audius/sdk-legacy", - "version": "6.0.29", + "version": "6.0.30", "license": "Apache-2.0", "dependencies": { "@audius/fixed-decimal": "0.2.1", "@audius/hedgehog": "3.0.0-alpha.1", - "@audius/sdk": "16.0.0", + "@audius/sdk": "17.0.0", "@audius/spl": "2.1.0", "@babel/core": "^7.23.7", "@babel/plugin-proposal-class-static-block": "7.21.0", @@ -121518,13 +121518,13 @@ }, "packages/protocol-dashboard": { "name": "@audius/protocol-dashboard", - "version": "0.1.19", + "version": "0.1.20", "dependencies": { "@apollo/client": "3.3.7", "@audius/common": "*", "@audius/harmony": "*", - "@audius/sdk": "16.0.0", - "@audius/sdk-legacy": "6.0.29", + "@audius/sdk": "17.0.0", + "@audius/sdk-legacy": "6.0.30", "@audius/stems": "0.3.10", "@emotion/react": "11.14.0", "@emotion/styled": "11.14.0", @@ -124191,7 +124191,7 @@ }, "packages/sdk": { "name": "@audius/sdk", - "version": "16.0.0", + "version": "17.0.0", "license": "Apache-2.0", "dependencies": { "@audius/eth": "1.0.0", @@ -126243,10 +126243,10 @@ }, "packages/sp-actions": { "name": "@audius/sp-actions", - "version": "1.0.33", + "version": "1.0.34", "license": "Apache-2.0", "dependencies": { - "@audius/sdk-legacy": "6.0.29", + "@audius/sdk-legacy": "6.0.30", "@truffle/hdwallet-provider": "^1.2.2", "axios": "^0.21.0", "commander": "^6.2.1", diff --git a/packages/libs/CHANGELOG.md b/packages/libs/CHANGELOG.md index 1ba525cf7dc..3e1399b264c 100644 --- a/packages/libs/CHANGELOG.md +++ b/packages/libs/CHANGELOG.md @@ -1,5 +1,16 @@ # @audius/sdk +## 6.0.30 + +### Patch Changes + +- Updated dependencies [294f53d] +- Updated dependencies [075329a] +- Updated dependencies [4c4b321] +- Updated dependencies [5714430] +- Updated dependencies [02ee302] + - @audius/sdk@17.0.0 + ## 6.0.29 ### Patch Changes diff --git a/packages/libs/package.json b/packages/libs/package.json index 3643756ddd0..e5f8f5e3712 100644 --- a/packages/libs/package.json +++ b/packages/libs/package.json @@ -1,6 +1,6 @@ { "name": "@audius/sdk-legacy", - "version": "6.0.29", + "version": "6.0.30", "audius": { "releaseSHA": "f1d70a2a0643c5c84d8ab053f70c1e0a2ec3ad49" }, @@ -44,7 +44,7 @@ "dependencies": { "@audius/fixed-decimal": "0.2.1", "@audius/hedgehog": "3.0.0-alpha.1", - "@audius/sdk": "16.0.0", + "@audius/sdk": "17.0.0", "@audius/spl": "2.1.0", "@babel/core": "^7.23.7", "@babel/plugin-proposal-class-static-block": "7.21.0", diff --git a/packages/protocol-dashboard/CHANGELOG.md b/packages/protocol-dashboard/CHANGELOG.md index 38abdb04a55..6eef3db3172 100644 --- a/packages/protocol-dashboard/CHANGELOG.md +++ b/packages/protocol-dashboard/CHANGELOG.md @@ -1,5 +1,17 @@ # @audius/protocol-dashboard +## 0.1.20 + +### Patch Changes + +- Updated dependencies [294f53d] +- Updated dependencies [075329a] +- Updated dependencies [4c4b321] +- Updated dependencies [5714430] +- Updated dependencies [02ee302] + - @audius/sdk@17.0.0 + - @audius/sdk-legacy@6.0.30 + ## 0.1.19 ### Patch Changes diff --git a/packages/protocol-dashboard/package.json b/packages/protocol-dashboard/package.json index 4dc624838b4..302663e894a 100644 --- a/packages/protocol-dashboard/package.json +++ b/packages/protocol-dashboard/package.json @@ -1,6 +1,6 @@ { "name": "@audius/protocol-dashboard", - "version": "0.1.19", + "version": "0.1.20", "private": true, "type": "module", "homepage": "./", @@ -39,8 +39,8 @@ "@apollo/client": "3.3.7", "@audius/common": "*", "@audius/harmony": "*", - "@audius/sdk": "16.0.0", - "@audius/sdk-legacy": "6.0.29", + "@audius/sdk": "17.0.0", + "@audius/sdk-legacy": "6.0.30", "@audius/stems": "0.3.10", "@emotion/react": "11.14.0", "@emotion/styled": "11.14.0", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index bd02142df55..b3b378c98e2 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,25 @@ # @audius/sdk +## 17.0.0 + +### 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_preview` additionally refuses users that do not already claim the source audio. + + BREAKING: `userId` (encoded id) is now required on `tracks.uploadTrackFiles` and `uploads.createAudioUpload`, and `Storage.generatePreview` requires a decoded `userId`. The high-level methods (`createTrack`, `updateTrack`, `uploadTrack`, `publishTrack`) already required `userId` and 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 + +- 02ee302: Add `users.getWeeklyRotation`, a hand-written client for `GET /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 named `getDiscoverWeekly` on `main` only. + +### Patch Changes + +- 294f53d: Remove `totalVolumeUSD` from the `Coin` model. The `/v1/coins` endpoint no longer returns this field. +- 075329a: Remove unused EIP-712 `domains`, `types`, and `generators` exports from the internal `signatureSchemas` module and rename what remains (`getNonce`) to `nonce.ts`. None of the removed definitions were reachable from the public SDK entry point, so this is not a breaking change. +- 4c4b321: Add `permalink` to the `Event` model, syncing the generated SDK with the current API (the `/v1/events` response now returns a canonical contest permalink). + ## 16.0.0 ### Major Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 4bacd99b9fa..dcd20a94164 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@audius/sdk", - "version": "16.0.0", + "version": "17.0.0", "type": "module", "audius": { "releaseSHA": "f1d70a2a0643c5c84d8ab053f70c1e0a2ec3ad49" diff --git a/packages/sp-actions/CHANGELOG.md b/packages/sp-actions/CHANGELOG.md index 3cc04dfad4b..2bf88098fa6 100644 --- a/packages/sp-actions/CHANGELOG.md +++ b/packages/sp-actions/CHANGELOG.md @@ -1,5 +1,11 @@ # @audius/sp-actions +## 1.0.34 + +### Patch Changes + +- @audius/sdk-legacy@6.0.30 + ## 1.0.33 ### Patch Changes diff --git a/packages/sp-actions/package.json b/packages/sp-actions/package.json index 0093ed454dc..c6fd7380b79 100644 --- a/packages/sp-actions/package.json +++ b/packages/sp-actions/package.json @@ -1,6 +1,6 @@ { "name": "@audius/sp-actions", - "version": "1.0.33", + "version": "1.0.34", "description": "A utility for audius service providers to claim token rewards.", "bin": { "claim": "claim.js" @@ -8,7 +8,7 @@ "author": "Audius", "license": "Apache-2.0", "dependencies": { - "@audius/sdk-legacy": "6.0.29", + "@audius/sdk-legacy": "6.0.30", "@truffle/hdwallet-provider": "^1.2.2", "axios": "^0.21.0", "commander": "^6.2.1",