Skip to content

Commit e88e521

Browse files
committed
fix: update deps
1 parent 97bc8cc commit e88e521

File tree

3 files changed

+27
-46
lines changed

3 files changed

+27
-46
lines changed

package-lock.json

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

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"main": "dist/main/index.js",
1919
"module": "dist/module/index.js",
20-
"types": "dist/main/index.d.ts",
20+
"types": "dist/module/index.d.ts",
2121
"sideEffects": false,
2222
"repository": "supabase/supabase-js",
2323
"scripts": {
@@ -37,11 +37,11 @@
3737
"docs:json": "typedoc --entryPoints src/index.ts --out docs --includes src/**/*.ts --json docs/spec.json"
3838
},
3939
"dependencies": {
40-
"@supabase/functions-js": "^1.2.2",
41-
"@supabase/gotrue-js": "^1.22.8",
42-
"@supabase/postgrest-js": "^0.37.1",
43-
"@supabase/realtime-js": "^1.4.0",
44-
"@supabase/storage-js": "^1.6.4"
40+
"@supabase/functions-js": "^1.3.2",
41+
"@supabase/gotrue-js": "^1.22.10",
42+
"@supabase/postgrest-js": "^0.37.2",
43+
"@supabase/realtime-js": "^1.4.5",
44+
"@supabase/storage-js": "^1.6.5"
4545
},
4646
"devDependencies": {
4747
"@types/jest": "^26.0.13",

src/SupabaseClient.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ export default class SupabaseClient {
104104
* Supabase Functions allows you to deploy and invoke edge functions.
105105
*/
106106
get functions() {
107-
return new FunctionsClient(this.functionsUrl, this._getAuthHeaders(), this.fetch)
107+
return new FunctionsClient(this.functionsUrl, {
108+
headers: this._getAuthHeaders(),
109+
customFetch: this.fetch,
110+
})
108111
}
109112

110113
/**

0 commit comments

Comments
 (0)