@supabase/gotrue-js
Advanced tools
Comparing version 2.54.2 to 2.55.0
@@ -281,3 +281,6 @@ "use strict"; | ||
async function generatePKCEChallenge(verifier) { | ||
if (typeof crypto === 'undefined') { | ||
const hasCryptoSupport = typeof crypto !== 'undefined' && | ||
typeof crypto.subtle !== 'undefined' && | ||
typeof TextEncoder !== 'undefined'; | ||
if (!hasCryptoSupport) { | ||
console.warn('WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256.'); | ||
@@ -284,0 +287,0 @@ return verifier; |
@@ -1,2 +0,2 @@ | ||
export declare const version = "2.54.2"; | ||
export declare const version = "2.55.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
// Generated by genversion. | ||
exports.version = '2.54.2'; | ||
exports.version = '2.55.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -239,3 +239,6 @@ export function expiresAt(expiresIn) { | ||
export async function generatePKCEChallenge(verifier) { | ||
if (typeof crypto === 'undefined') { | ||
const hasCryptoSupport = typeof crypto !== 'undefined' && | ||
typeof crypto.subtle !== 'undefined' && | ||
typeof TextEncoder !== 'undefined'; | ||
if (!hasCryptoSupport) { | ||
console.warn('WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256.'); | ||
@@ -242,0 +245,0 @@ return verifier; |
@@ -1,2 +0,2 @@ | ||
export declare const version = "2.54.2"; | ||
export declare const version = "2.55.0"; | ||
//# sourceMappingURL=version.d.ts.map |
// Generated by genversion. | ||
export const version = '2.54.2'; | ||
export const version = '2.55.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@supabase/gotrue-js", | ||
"version": "2.54.2", | ||
"version": "2.55.0", | ||
"description": "Isomorphic GoTrue client", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -293,3 +293,8 @@ import { SupportedStorage } from './types' | ||
export async function generatePKCEChallenge(verifier: string) { | ||
if (typeof crypto === 'undefined') { | ||
const hasCryptoSupport = | ||
typeof crypto !== 'undefined' && | ||
typeof crypto.subtle !== 'undefined' && | ||
typeof TextEncoder !== 'undefined' | ||
if (!hasCryptoSupport) { | ||
console.warn( | ||
@@ -296,0 +301,0 @@ 'WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256.' |
// Generated by genversion. | ||
export const version = '2.54.2' | ||
export const version = '2.55.0' |
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
715066
12924