@supabase/functions-js 2.110.3 → 2.110.4-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supabase/functions-js",
3
- "version": "2.110.3",
3
+ "version": "2.110.4-canary.0",
4
4
  "description": "JS SDK to interact with Supabase Functions.",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",
@@ -88,7 +88,9 @@ export class FunctionsClient {
88
88
  * @category Edge Functions
89
89
  *
90
90
  * @remarks
91
- * - Requires an Authorization header.
91
+ * - The API key is sent in the `apikey` header. The `Authorization` header is reserved
92
+ * for the signed-in user's JWT (or a custom auth token) — when there is no session, a
93
+ * new-format API key (`sb_publishable_…` / `sb_secret_…`) is not sent as a Bearer token.
92
94
  * - Invoke params generally match the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) spec.
93
95
  * - When you pass in a body to your function, we automatically attach the Content-Type header for `Blob`, `ArrayBuffer`, `File`, `FormData` and `String`. If it doesn't match any of these types we assume the payload is `json`, serialize it and attach the `Content-Type` header as `application/json`. You can override this behavior by passing in a `Content-Type` header of your own.
94
96
  * - Responses are automatically parsed as `json`, `blob` and `form-data` depending on the `Content-Type` header sent by your function. Responses are parsed as `text` by default.
package/src/version.ts CHANGED
@@ -4,4 +4,4 @@
4
4
  // - Debugging and support (identifying which version is running)
5
5
  // - Telemetry and logging (version reporting in errors/analytics)
6
6
  // - Ensuring build artifacts match the published package version
7
- export const version = '2.110.3'
7
+ export const version = '2.110.4-canary.0'