Releases: radio4000/sdk
0.1.3
New tests
Added tests for authentication and most CRUD for channels + tracks using the SDK methods.
Possibly the sql
test doesn't belong in this repo. Could move this part to supabase
repo.
Env vars
Also switched the supabase-client.js
to read the config from env variables, but it's commented out for now, because I'm not sure how this integrates with the CI. It worked for build.
That being said, once we cp .env.example .env
and uncomment the code it works.
createChannel()
now takes an optional userId
... for the channel to be created. If not supplied, we fall back to the session user. If no session user, we throw an error.
0.1.2
0.1.2
0.1.1
0.1.1
0.1.0
This release changes the exports from this module.
See https://radio4000.github.io/sdk/docs/
Full diff 0.0.21...0.1.0
0.0.21
Change argument from id to canEditChannel(slug)
0.0.20
Adds two new methods
canEditChannel(id)
canEditTrack(id)
Both return a promise that resolves as a boolean.
0.0.19
0.0.18
Fix bug with createChannel error handling
0.0.17
Fix bug with firebase slug taken
0.0.16
findChannelTracks(slug) now uses slug instead of id