@djangocfg/api 2.1.625 → 2.1.627

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.
package/dist/auth.cjs CHANGED
@@ -240,6 +240,7 @@ __export(auth_exports, {
240
240
  peekSavedRedirect: () => peekSavedRedirect,
241
241
  readAuthTrace: () => readAuthTrace,
242
242
  readOAuthFailure: () => readOAuthFailure,
243
+ registerAuthCopy: () => registerAuthCopy,
243
244
  resetAuthTraceForTests: () => resetAuthTraceForTests,
244
245
  resolveAuthError: () => resolveAuthError,
245
246
  resolveAuthStatus: () => resolveAuthStatus,
@@ -464,7 +465,7 @@ function installAuthTrace() {
464
465
  }
465
466
  }
466
467
  __name(installAuthTrace, "installAuthTrace");
467
- function registerCopy() {
468
+ function registerAuthCopy() {
468
469
  if (!hasWindow) return;
469
470
  const g = globalThis;
470
471
  const n = (g.__cfgAuthCopies ?? 0) + 1;
@@ -476,8 +477,7 @@ function registerCopy() {
476
477
  }
477
478
  }
478
479
  }
479
- __name(registerCopy, "registerCopy");
480
- registerCopy();
480
+ __name(registerAuthCopy, "registerAuthCopy");
481
481
  installAuthTrace();
482
482
 
483
483
  // src/auth/context/AuthContext.tsx
@@ -5999,4 +5999,7 @@ function resolveGuardIsAuthenticated(s) {
5999
5999
  return !s.requireAuth || s.isAuthenticated;
6000
6000
  }
6001
6001
  __name(resolveGuardIsAuthenticated, "resolveGuardIsAuthenticated");
6002
+
6003
+ // src/auth/index.ts
6004
+ registerAuthCopy();
6002
6005
  //# sourceMappingURL=auth.cjs.map