Skip to content

Commit 4335cb2

Browse files
committed
callback should be using this._getAccessToken
1 parent 504c316 commit 4335cb2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 4 additions & 4 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
@@ -44,7 +44,7 @@
4444
"@supabase/functions-js": "2.4.3",
4545
"@supabase/node-fetch": "2.6.15",
4646
"@supabase/postgrest-js": "1.16.3",
47-
"@supabase/realtime-js": "2.11.0",
47+
"@supabase/realtime-js": "2.11.2",
4848
"@supabase/storage-js": "2.7.1"
4949
},
5050
"devDependencies": {

src/SupabaseClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default class SupabaseClient<
120120

121121
this.realtime = this._initRealtimeClient({
122122
headers: this.headers,
123-
accessToken: this.accessToken,
123+
accessToken: this._getAccessToken,
124124
...settings.realtime,
125125
})
126126
this.rest = new PostgrestClient(`${_supabaseUrl}/rest/v1`, {

0 commit comments

Comments
 (0)