@supabase/functions-js 1.1.3 → 1.1.4

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.
@@ -19,7 +19,7 @@ export declare class FunctionsClient {
19
19
  * @param invokeOptions - object with the following properties
20
20
  * `headers`: object representing the headers to send with the request
21
21
  * `body`: the body of the request
22
- * `responseType`: how the response should be parsed
22
+ * `responseType`: how the response should be parsed. The default is `json`
23
23
  */
24
24
  invoke(functionName: string, invokeOptions?: FunctionInvokeOptions): Promise<{
25
25
  data: string | null;
@@ -41,7 +41,7 @@ class FunctionsClient {
41
41
  * @param invokeOptions - object with the following properties
42
42
  * `headers`: object representing the headers to send with the request
43
43
  * `body`: the body of the request
44
- * `responseType`: how the response should be parsed
44
+ * `responseType`: how the response should be parsed. The default is `json`
45
45
  */
46
46
  invoke(functionName, invokeOptions) {
47
47
  return __awaiter(this, void 0, void 0, function* () {
@@ -19,7 +19,7 @@ export declare class FunctionsClient {
19
19
  * @param invokeOptions - object with the following properties
20
20
  * `headers`: object representing the headers to send with the request
21
21
  * `body`: the body of the request
22
- * `responseType`: how the response should be parsed
22
+ * `responseType`: how the response should be parsed. The default is `json`
23
23
  */
24
24
  invoke(functionName: string, invokeOptions?: FunctionInvokeOptions): Promise<{
25
25
  data: string | null;
@@ -35,7 +35,7 @@ export class FunctionsClient {
35
35
  * @param invokeOptions - object with the following properties
36
36
  * `headers`: object representing the headers to send with the request
37
37
  * `body`: the body of the request
38
- * `responseType`: how the response should be parsed
38
+ * `responseType`: how the response should be parsed. The default is `json`
39
39
  */
40
40
  invoke(functionName, invokeOptions) {
41
41
  return __awaiter(this, void 0, void 0, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supabase/functions-js",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "JS Client library to interact with Supabase Functions.",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",
package/src/index.ts CHANGED
@@ -33,7 +33,7 @@ export class FunctionsClient {
33
33
  * @param invokeOptions - object with the following properties
34
34
  * `headers`: object representing the headers to send with the request
35
35
  * `body`: the body of the request
36
- * `responseType`: how the response should be parsed
36
+ * `responseType`: how the response should be parsed. The default is `json`
37
37
  */
38
38
  async invoke(
39
39
  functionName: string,