Comments (9)
I've now tried a similar minimal example using es5-ext/global
directly and it seems the root of the issue is there. It seems this package is abandoned (not github activity for a year) and perhaps an alternative should be suggested to the websocket
maintainers but I am not sure what it would be...
from supabase-js.
Perhaps https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis could be used if it's available
from supabase-js.
@benmccann this is what I suggested and this was already released into [email protected]
by its maintainer (see theturtle32/WebSocket-Node#415).
from supabase-js.
We originally used globalThis in gotrue and had to polyfill it: supabase/auth-js#38
I find this a bit odd though, because our supabase-js client is isomorphic. We already use it in a node environment and it works fine 🤔
from supabase-js.
Anyway, this issue seems fixed by [email protected], so at most we'd need to upgrade package.json
and then can close this
from supabase-js.
I'm not sure if it's related to the globalThis
issue, but once the globalThis
issue is fixed I encounter another issue that seems to be a Vite bug: vitejs/vite#2995
from supabase-js.
OK I bumped to the latest. I'll leave this open if anyone can confirm the fix?
from supabase-js.
🎉 This issue has been resolved in version 1.11.3 🎉
The release is available on:
Your semantic-release bot 📦🚀
from supabase-js.
Thanks! There's multiple issues left running Supabase with SvelteKit, but they're pretty clearly issues with Vite so we'll work on those in that repo. Thanks for all your help!
from supabase-js.
Related Issues (20)
- `supabase.createClient` not reading in access token from URL and initialising session object when using Google or Github sign in. HOT 1
- Selecting a schema on createClient does not work HOT 2
- supabase.auth.getSession is slow HOT 2
- Order on a foreign table HOT 6
- Return format is not consistent across queries with the same select parameters HOT 1
- Version v2.39.2 and above break types HOT 4
- Bug/Proposal: try catch not working on supabase api functions HOT 1
- Deploy Svelte and Supabase to Google cloud and supabase is unable to get the environment variables HOT 1
- Twitter OAuth stopped working HOT 1
- supabase stop --no-backup doesn't delete backup
- `GoTrueClient` Memory Leak HOT 1
- docs: clarify if client supports retry HOT 1
- Cloudflare Block for Incoming Webhooks - Edge Functions HOT 6
- TS `ParserError` for spread operation in `select`
- Newly added column doesn't exist on update, but when I fetch, it's visible HOT 1
- docs: improve py create a new user HOT 1
- Enabling Post-Signup Email Verification without Blocking User Sign-In on Supabase (Resend) HOT 5
- Nextjs14 with Supabase Auth - AuthApiError: invalid claim: missing sub claim HOT 27
- Max rows in API Settings doesn't work on local development
- chore(deps): Update postgrest-js version to 1.13.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supabase-js.