bruce-models 1.3.4 → 1.3.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.
@@ -5697,12 +5697,12 @@ var User;
5697
5697
  });
5698
5698
  }
5699
5699
  User.UpdateSettings = UpdateSettings;
5700
- function GetUsernameAvailable(api, username, reqParams) {
5700
+ function GetUsernameAvailable(api, username, excludeUserId, reqParams) {
5701
5701
  return __awaiter(this, void 0, void 0, function* () {
5702
5702
  if (!username) {
5703
5703
  throw ("Username is required.");
5704
5704
  }
5705
- const req = api.GET(`user/loginavailable/${username}`, reqParams);
5705
+ const req = api.GET(`user/loginavailable/${username}${excludeUserId ? "?excludeUserId=" + excludeUserId : ""}`, reqParams);
5706
5706
  const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
5707
5707
  try {
5708
5708
  const data = yield req;