Describe the bug
The catmod 'supabase' isn't injecting it's actual supabase code into the catmod, causing the whole thing not to work. If you put the code from load.js into the code of index.js (all in ct.libs/supabase) then the module WILL work.
To Reproduce
Steps to reproduce the behavior:
Make a new project with a new room
Enable 'supabase' catmod
Start project, see "supabaseInit is not defined" in console.
No supabase function works.
Expected behavior
Load.js is supposed to inject itself into the catmod causing the supabase module to work as intended, allowing supabaseInit to be defined and allowing every supabase function to be used.
System information report
Ct.js v4.0.0 😽 (packaged)
Extra info
I feel like I can fix this by just putting load.js into index.js, sending a PR and calling it a day, but I feel like there might be a bigger issue with the injecting, so I think I'll leave the fixing to you guys (especially since I'm too stupid to fix it)
Describe the bug The catmod 'supabase' isn't injecting it's actual supabase code into the catmod, causing the whole thing not to work. If you put the code from load.js into the code of index.js (all in ct.libs/supabase) then the module WILL work.
To Reproduce Steps to reproduce the behavior:
Expected behavior Load.js is supposed to inject itself into the catmod causing the supabase module to work as intended, allowing supabaseInit to be defined and allowing every supabase function to be used.
System information report Ct.js v4.0.0 😽 (packaged)
NW.JS v0.72.0 Chromium v109.0.5414.87 Node.js v19.3.0 Pixi.js v7.3.2
WebGPU UNAVAILABLE WebGL available WebGL vendor Google Inc. (AMD) WebGL renderer ANGLE (AMD, AMD Radeon RX 6650 XT Direct3D11 vs_5_0 ps_5_0, D3D11) OS win32 x64 // Windows_NT 10.0.19045
Screenshots (recommended) When the code from load.js is NOT in index.js
When it is No error. Supabase works as intended.
Example project (strongly recommended) supabaseError.ict.zip
Extra info I feel like I can fix this by just putting load.js into index.js, sending a PR and calling it a day, but I feel like there might be a bigger issue with the injecting, so I think I'll leave the fixing to you guys (especially since I'm too stupid to fix it)