@supabase/postgrest-js
Advanced tools
Comparing version 0.36.1 to 0.36.2
@@ -21,11 +21,13 @@ "use strict"; | ||
Object.assign(this, builder); | ||
let _fetch; | ||
if (builder.fetch) { | ||
this.fetch = builder.fetch; | ||
_fetch = builder.fetch; | ||
} | ||
else if (typeof fetch === 'undefined') { | ||
this.fetch = cross_fetch_1.default; | ||
_fetch = cross_fetch_1.default; | ||
} | ||
else { | ||
this.fetch = fetch; | ||
_fetch = fetch; | ||
} | ||
this.fetch = (...args) => _fetch(...args); | ||
} | ||
@@ -32,0 +34,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.36.1"; | ||
export declare const version = "0.36.2"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
// generated by genversion | ||
exports.version = '0.36.1'; | ||
exports.version = '0.36.2'; | ||
//# sourceMappingURL=version.js.map |
@@ -15,11 +15,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
Object.assign(this, builder); | ||
let _fetch; | ||
if (builder.fetch) { | ||
this.fetch = builder.fetch; | ||
_fetch = builder.fetch; | ||
} | ||
else if (typeof fetch === 'undefined') { | ||
this.fetch = crossFetch; | ||
_fetch = crossFetch; | ||
} | ||
else { | ||
this.fetch = fetch; | ||
_fetch = fetch; | ||
} | ||
this.fetch = (...args) => _fetch(...args); | ||
} | ||
@@ -26,0 +28,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.36.1"; | ||
export declare const version = "0.36.2"; | ||
//# sourceMappingURL=version.d.ts.map |
// generated by genversion | ||
export const version = '0.36.1'; | ||
export const version = '0.36.2'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@supabase/postgrest-js", | ||
"version": "0.36.1", | ||
"version": "0.36.2", | ||
"description": "Isomorphic PostgREST client", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -65,9 +65,11 @@ import crossFetch from 'cross-fetch' | ||
Object.assign(this, builder) | ||
let _fetch: Fetch | ||
if (builder.fetch) { | ||
this.fetch = builder.fetch | ||
_fetch = builder.fetch | ||
} else if (typeof fetch === 'undefined') { | ||
this.fetch = crossFetch | ||
_fetch = crossFetch | ||
} else { | ||
this.fetch = fetch | ||
_fetch = fetch | ||
} | ||
this.fetch = (...args) => _fetch(...args) | ||
} | ||
@@ -74,0 +76,0 @@ |
// generated by genversion | ||
export const version = '0.36.1' | ||
export const version = '0.36.2' |
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
212803
3935