Skip to content

Commit 945d2a6

Browse files
committed
feat: version bump realtime-js to v1.8.0-next.17
1 parent fdb7bf5 commit 945d2a6

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

example/next-storage/components/ProfileList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function ProfileList() {
1111
getUserProfile()
1212

1313
const realtimeProfiles = supabase
14-
.channel('profiles-channel')
14+
.channel('public:profiles')
1515
.on(
1616
'postgres_changes',
1717
{ event: '*', schema: 'public', table: 'profiles' },

example/next-todo/components/TodoList.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function Todos({ user }) {
1313
fetchTodos()
1414

1515
subscription1 = supabase
16-
.channel('todos-table-channel')
16+
.channel('public:todos')
1717
.on('postgres_changes', { event: 'UPDATE', schema: 'public', table: 'todos' }, (v) =>
1818
console.log('UPDATE on todos', v)
1919
)
@@ -23,7 +23,7 @@ export default function Todos({ user }) {
2323
.subscribe((change) => console.log('todos changed', change))
2424

2525
subscription2 = supabase
26-
.channel('public-schema-channel')
26+
.channel('public')
2727
.on('postgres_changes', { event: 'UPDATE', schema: 'public' }, (v) =>
2828
console.log('UPDATE on schema', v)
2929
)

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@supabase/functions-js": "^1.4.0-next.5",
4141
"@supabase/gotrue-js": "^1.23.0-next.24",
4242
"@supabase/postgrest-js": "^1.0.0-next.7",
43-
"@supabase/realtime-js": "^1.8.0-next.16",
43+
"@supabase/realtime-js": "^1.8.0-next.17",
4444
"@supabase/storage-js": "^1.8.0-next.6",
4545
"cross-fetch": "^3.1.5"
4646
},

0 commit comments

Comments
 (0)