New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@supabase/gotrue-js

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/gotrue-js - npm Package Compare versions

Comparing version 2.68.0 to 2.68.1-rc.1

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

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

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

export declare const version = "2.68.0";
export declare const version = "2.68.1-rc.1";
//# sourceMappingURL=version.d.ts.map

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

export const version = '2.68.0';
export const version = '2.68.1-rc.1';
//# sourceMappingURL=version.js.map
{
"name": "@supabase/gotrue-js",
"version": "2.68.0",
"version": "2.68.1-rc.1",
"private": false,

@@ -5,0 +5,0 @@ "description": "Official client library for Supabase Auth",

@@ -208,7 +208,7 @@ import { API_VERSION_HEADER_NAME } from './constants'

if (!base64UrlRegex.test(parts[1])) {
if (!base64UrlRegex.test(parts[1] as string)) {
throw new Error('JWT is not valid: payload is not in base64url format')
}
const base64Url = parts[1]
const base64Url = parts[1] as string
return JSON.parse(decodeBase64URL(base64Url))

@@ -215,0 +215,0 @@ }

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

export const version = '2.68.0'
export const version = '2.68.1-rc.1'

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet