@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.js CHANGED
@@ -2302,7 +2302,7 @@ var InsForgeClient = class {
2302
2302
  this.tokenManager.setAccessToken(config.edgeFunctionToken);
2303
2303
  }
2304
2304
  this.auth = new Auth(this.http, this.tokenManager, {
2305
- isServerMode: config.isServerMode ?? false
2305
+ isServerMode: config.isServerMode ?? !!config.edgeFunctionToken
2306
2306
  });
2307
2307
  this.database = new Database(this.http, this.tokenManager);
2308
2308
  this.storage = new Storage(this.http);