@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.
- package/dist/main/index.d.ts +1 -1
- package/dist/main/index.js +1 -1
- package/dist/module/index.d.ts +1 -1
- package/dist/module/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/dist/main/index.d.ts
CHANGED
|
@@ -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;
|
package/dist/main/index.js
CHANGED
|
@@ -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* () {
|
package/dist/module/index.d.ts
CHANGED
|
@@ -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;
|
package/dist/module/index.js
CHANGED
|
@@ -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
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,
|