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