@supabase/functions-js
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -6,3 +6,3 @@ import { Fetch, FunctionInvokeOptions } from './types'; | ||
protected fetch: Fetch; | ||
constructor(url: string, { headers, customFetch, }: { | ||
constructor(url: string, { headers, customFetch, }?: { | ||
headers?: Record<string, string>; | ||
@@ -9,0 +9,0 @@ customFetch?: Fetch; |
@@ -15,3 +15,3 @@ "use strict"; | ||
class FunctionsClient { | ||
constructor(url, { headers = {}, customFetch, }) { | ||
constructor(url, { headers = {}, customFetch, } = {}) { | ||
this.url = url; | ||
@@ -18,0 +18,0 @@ this.headers = headers; |
@@ -1,2 +0,2 @@ | ||
export declare const version = "1.3.2"; | ||
export declare const version = "1.3.3"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '1.3.2'; | ||
exports.version = '1.3.3'; | ||
//# sourceMappingURL=version.js.map |
@@ -6,3 +6,3 @@ import { Fetch, FunctionInvokeOptions } from './types'; | ||
protected fetch: Fetch; | ||
constructor(url: string, { headers, customFetch, }: { | ||
constructor(url: string, { headers, customFetch, }?: { | ||
headers?: Record<string, string>; | ||
@@ -9,0 +9,0 @@ customFetch?: Fetch; |
@@ -12,3 +12,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
export class FunctionsClient { | ||
constructor(url, { headers = {}, customFetch, }) { | ||
constructor(url, { headers = {}, customFetch, } = {}) { | ||
this.url = url; | ||
@@ -15,0 +15,0 @@ this.headers = headers; |
@@ -1,2 +0,2 @@ | ||
export declare const version = "1.3.2"; | ||
export declare const version = "1.3.3"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = '1.3.2'; | ||
export const version = '1.3.3'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@supabase/functions-js", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "JS Client library to interact with Supabase Functions.", | ||
@@ -5,0 +5,0 @@ "main": "dist/main/index.js", |
@@ -17,3 +17,3 @@ import { resolveFetch } from './helper' | ||
customFetch?: Fetch | ||
} | ||
} = {} | ||
) { | ||
@@ -20,0 +20,0 @@ this.url = url |
@@ -1,1 +0,1 @@ | ||
export const version = '1.3.2' | ||
export const version = '1.3.3' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25241