@codegenapps/frontend-sdk 1.0.1 → 1.0.2

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.umd.js CHANGED
@@ -6372,15 +6372,15 @@
6372
6372
  return {
6373
6373
  /**
6374
6374
  * Logs in a user.
6375
- * @param username The user's username.
6375
+ * @param account The user's username.
6376
6376
  * @param password The user's password.
6377
6377
  * @param apiKey The API key required for login.
6378
6378
  */
6379
- login(username, password, apiKey) {
6379
+ login(account, password, apiKey) {
6380
6380
  return __awaiter(this, void 0, void 0, function* () {
6381
6381
  var _a;
6382
6382
  try {
6383
- const response = yield httpClient.post('/auth/login', { username, password }, { headers: { 'X-API-KEY': apiKey } });
6383
+ const response = yield httpClient.post('/auth/login', { account, password }, { headers: { 'X-API-KEY': apiKey } });
6384
6384
  return { data: response.data.data, error: null };
6385
6385
  }
6386
6386
  catch (error) {