ultimate-jekyll-manager 0.0.52 → 0.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -140,7 +140,7 @@ export default function (Manager) {
140
140
  async function handleRedirectResult() {
141
141
  try {
142
142
  // Import Firebase auth functions
143
- const { getAuth, getRedirectResult } = await import('web-manager/node_modules/firebase/auth');
143
+ const { getAuth, getRedirectResult } = await import('@firebase/auth');
144
144
  const auth = getAuth();
145
145
 
146
146
  // Check for redirect result
@@ -233,7 +233,7 @@ export default function (Manager) {
233
233
  }
234
234
 
235
235
  async function attemptEmailSignIn(email, password) {
236
- const { getAuth, signInWithEmailAndPassword } = await import('web-manager/node_modules/firebase/auth');
236
+ const { getAuth, signInWithEmailAndPassword } = await import('@firebase/auth');
237
237
  const auth = getAuth();
238
238
  const userCredential = await signInWithEmailAndPassword(auth, email, password);
239
239
  return userCredential;
@@ -278,7 +278,7 @@ export default function (Manager) {
278
278
 
279
279
  try {
280
280
  // Import Firebase auth functions
281
- const { getAuth, createUserWithEmailAndPassword } = await import('web-manager/node_modules/firebase/auth');
281
+ const { getAuth, createUserWithEmailAndPassword } = await import('@firebase/auth');
282
282
 
283
283
  // Get auth instance and create user
284
284
  const auth = getAuth();
@@ -441,7 +441,7 @@ export default function (Manager) {
441
441
 
442
442
  try {
443
443
  // Import Firebase auth functions
444
- const { getAuth, sendPasswordResetEmail } = await import('web-manager/node_modules/firebase/auth');
444
+ const { getAuth, sendPasswordResetEmail } = await import('@firebase/auth');
445
445
 
446
446
  // Get auth instance
447
447
  const auth = getAuth();
@@ -505,7 +505,7 @@ export default function (Manager) {
505
505
  FacebookAuthProvider,
506
506
  TwitterAuthProvider,
507
507
  GithubAuthProvider
508
- } = await import('web-manager/node_modules/firebase/auth');
508
+ } = await import('@firebase/auth');
509
509
 
510
510
  const auth = getAuth();
511
511
  let provider;
@@ -44,7 +44,7 @@ async function initializeSigninMethods() {
44
44
  // Check for redirect result from Google auth
45
45
  async function checkRedirectResult() {
46
46
  try {
47
- const { getRedirectResult } = await import('web-manager/node_modules/firebase/auth');
47
+ const { getRedirectResult } = await import('@firebase/auth');
48
48
  const result = await getRedirectResult(firebaseAuth);
49
49
 
50
50
  if (result && result.user) {
@@ -414,7 +414,7 @@ function initializeSignoutAllForm() {
414
414
  // Connect Google provider
415
415
  async function connectGoogleProvider() {
416
416
  // Dynamic import of Firebase auth methods
417
- const { GoogleAuthProvider, linkWithPopup, linkWithRedirect } = await import('web-manager/node_modules/firebase/auth');
417
+ const { GoogleAuthProvider, linkWithPopup, linkWithRedirect } = await import('@firebase/auth');
418
418
 
419
419
  const provider = new GoogleAuthProvider();
420
420
 
@@ -461,7 +461,7 @@ async function disconnectGoogleProvider() {
461
461
  }
462
462
 
463
463
  // Dynamic import of Firebase auth methods
464
- const { unlink } = await import('web-manager/node_modules/firebase/auth');
464
+ const { unlink } = await import('@firebase/auth');
465
465
 
466
466
  const user = firebaseAuth.currentUser;
467
467
 
@@ -491,7 +491,7 @@ async function handleChangePassword() {
491
491
  }
492
492
 
493
493
  // Import Firebase auth method
494
- const { sendPasswordResetEmail } = await import('web-manager/node_modules/firebase/auth');
494
+ const { sendPasswordResetEmail } = await import('@firebase/auth');
495
495
 
496
496
  // Send password reset email
497
497
  await sendPasswordResetEmail(firebaseAuth, user.email);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultimate-jekyll-manager",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "description": "Ultimate Jekyll dependency manager",
5
5
  "main": "dist/index.js",
6
6
  "exports": {