@insforge/sdk 1.2.5-dev.0 → 1.2.5

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.mjs CHANGED
@@ -2262,7 +2262,7 @@ var InsForgeClient = class {
2262
2262
  this.tokenManager.setAccessToken(config.edgeFunctionToken);
2263
2263
  }
2264
2264
  this.auth = new Auth(this.http, this.tokenManager, {
2265
- isServerMode: config.isServerMode ?? false
2265
+ isServerMode: config.isServerMode ?? !!config.edgeFunctionToken
2266
2266
  });
2267
2267
  this.database = new Database(this.http, this.tokenManager);
2268
2268
  this.storage = new Storage(this.http);