Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@supabase/functions-js

Package Overview
Dependencies
Maintainers
5
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/functions-js - npm Package Compare versions

Comparing version 1.4.0-next.1 to 1.4.0-next.2

5

dist/main/FunctionsClient.js

@@ -41,3 +41,4 @@ "use strict";

let body;
if (functionArgs instanceof Blob || functionArgs instanceof ArrayBuffer) {
if ((typeof Blob !== 'undefined' && functionArgs instanceof Blob) ||
functionArgs instanceof ArrayBuffer) {
// will work for File as File inherits Blob

@@ -53,3 +54,3 @@ // also works for ArrayBuffer as it is the same underlying structure as a Blob

}
else if (functionArgs instanceof FormData) {
else if (typeof FormData !== 'undefined' && functionArgs instanceof FormData) {
// don't set content-type headers

@@ -56,0 +57,0 @@ // Request will automatically add the right boundary value

2

dist/main/version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "1.4.0-next.1";
export declare const version = "1.4.0-next.2";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '1.4.0-next.1';
exports.version = '1.4.0-next.2';
//# sourceMappingURL=version.js.map

@@ -38,3 +38,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

let body;
if (functionArgs instanceof Blob || functionArgs instanceof ArrayBuffer) {
if ((typeof Blob !== 'undefined' && functionArgs instanceof Blob) ||
functionArgs instanceof ArrayBuffer) {
// will work for File as File inherits Blob

@@ -50,3 +51,3 @@ // also works for ArrayBuffer as it is the same underlying structure as a Blob

}
else if (functionArgs instanceof FormData) {
else if (typeof FormData !== 'undefined' && functionArgs instanceof FormData) {
// don't set content-type headers

@@ -53,0 +54,0 @@ // Request will automatically add the right boundary value

@@ -1,2 +0,2 @@

export declare const version = "1.4.0-next.1";
export declare const version = "1.4.0-next.2";
//# sourceMappingURL=version.d.ts.map

@@ -1,2 +0,2 @@

export const version = '1.4.0-next.1';
export const version = '1.4.0-next.2';
//# sourceMappingURL=version.js.map
{
"name": "@supabase/functions-js",
"version": "1.4.0-next.1",
"version": "1.4.0-next.2",
"description": "JS Client library to interact with Supabase Functions.",

@@ -5,0 +5,0 @@ "main": "dist/main/index.js",

@@ -57,3 +57,6 @@ import { resolveFetch } from './helper'

let body: any
if (functionArgs instanceof Blob || functionArgs instanceof ArrayBuffer) {
if (
(typeof Blob !== 'undefined' && functionArgs instanceof Blob) ||
functionArgs instanceof ArrayBuffer
) {
// will work for File as File inherits Blob

@@ -67,3 +70,3 @@ // also works for ArrayBuffer as it is the same underlying structure as a Blob

body = functionArgs
} else if (functionArgs instanceof FormData) {
} else if (typeof FormData !== 'undefined' && functionArgs instanceof FormData) {
// don't set content-type headers

@@ -70,0 +73,0 @@ // Request will automatically add the right boundary value

@@ -1,1 +0,1 @@

export const version = '1.4.0-next.1'
export const version = '1.4.0-next.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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc