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

@supabase/ssr

Package Overview
Dependencies
Maintainers
9
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/ssr - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

2

dist/index.d.ts

@@ -18,3 +18,3 @@ import * as _supabase_supabase_js from '@supabase/supabase-js';

declare function createBrowserClient<Database = any, SchemaName extends string & keyof Database = 'public' extends keyof Database ? 'public' : string & keyof Database, Schema extends GenericSchema = Database[SchemaName] extends GenericSchema ? Database[SchemaName] : any>(supabaseUrl: string, supabaseKey: string, options?: SupabaseClientOptions<SchemaName> & {
cookies: CookieMethods;
cookies?: CookieMethods;
cookieOptions?: CookieOptionsWithName;

@@ -21,0 +21,0 @@ isSingleton?: boolean;

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

if (options) {
({ cookies, isSingleton = true, cookieOptions, ...userDefinedClientOptions } = options);
({ cookies = {}, isSingleton = true, cookieOptions, ...userDefinedClientOptions } = options);
cookies = cookies || {};
}

@@ -144,3 +145,3 @@ const cookieClientOptions = {

headers: {
"X-Client-Info": `${"supabase-ssr"}/${"0.1.0"}`
"X-Client-Info": `${"supabase-ssr"}/${"0.2.0"}`
}

@@ -275,3 +276,3 @@ },

headers: {
"X-Client-Info": `${"supabase-ssr"}/${"0.1.0"}`
"X-Client-Info": `${"supabase-ssr"}/${"0.2.0"}`
}

@@ -278,0 +279,0 @@ },

{
"name": "@supabase/ssr",
"version": "0.1.0",
"version": "0.2.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "dist/index.mjs",

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