@djangocfg/api 2.1.366 → 2.1.368

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
@@ -4856,7 +4856,8 @@ var AuthProviderInternal = /* @__PURE__ */ __name(({ children, config }) => {
4856
4856
  );
4857
4857
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AuthContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_swr5.SWRConfig, { value: swrConfig, children }) });
4858
4858
  }, "AuthProviderInternal");
4859
- function AuthProviderRaw({ children, config }) {
4859
+ function AuthProviderRaw({ children, config, enabled = true }) {
4860
+ if (!enabled) return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children });
4860
4861
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AccountsProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AuthProviderInternal, { config, children }) });
4861
4862
  }
4862
4863
  __name(AuthProviderRaw, "AuthProviderRaw");