@objectstack/runtime 5.0.0 → 5.1.0

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/index.cjs CHANGED
@@ -40841,17 +40841,6 @@ var AuthProxyPlugin = class {
40841
40841
  }
40842
40842
  }
40843
40843
  try {
40844
- try {
40845
- const pubCfg = typeof authSvc?.getPublicConfig === "function" ? authSvc.getPublicConfig() : null;
40846
- const ssoProviders = Array.isArray(pubCfg?.socialProviders) ? pubCfg.socialProviders : [];
40847
- const ssoWired = ssoProviders.some(
40848
- (p) => p?.enabled !== false && p?.id === "objectstack-cloud"
40849
- );
40850
- if (ssoWired) {
40851
- return c.json({ hasOwner: true });
40852
- }
40853
- } catch {
40854
- }
40855
40844
  const dataEngine = typeof authSvc?.getDataEngine === "function" ? authSvc.getDataEngine() : null;
40856
40845
  if (!dataEngine || typeof dataEngine.count !== "function") {
40857
40846
  return c.json({ hasOwner: true });