@insforge/sdk 1.2.2 → 1.2.4

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
@@ -2218,7 +2218,7 @@ var InsForgeClient = class {
2218
2218
  this.tokenManager.setAccessToken(config.edgeFunctionToken);
2219
2219
  }
2220
2220
  this.auth = new Auth(this.http, this.tokenManager, {
2221
- isServerMode: config.isServerMode ?? false
2221
+ isServerMode: config.isServerMode ?? !!config.edgeFunctionToken
2222
2222
  });
2223
2223
  this.database = new Database(this.http, this.tokenManager);
2224
2224
  this.storage = new Storage(this.http);