@eeplatform/core 1.4.1 → 1.4.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.mjs CHANGED
@@ -12784,7 +12784,7 @@ function useVerificationService() {
12784
12784
  to: email,
12785
12785
  subject: "Member Invite",
12786
12786
  html: emailContent2,
12787
- from: metadata.orgName || "GoWeekDays"
12787
+ from: "EEPlatform"
12788
12788
  }).catch((error) => {
12789
12789
  logger4.log({
12790
12790
  level: "error",
@@ -12806,7 +12806,7 @@ function useVerificationService() {
12806
12806
  to: email,
12807
12807
  subject: "User Invite",
12808
12808
  html: emailContent,
12809
- from: "GoWeekDays"
12809
+ from: "EEPlatform"
12810
12810
  }).catch((error) => {
12811
12811
  logger4.log({
12812
12812
  level: "error",
@@ -27782,7 +27782,7 @@ import Joi34 from "joi";
27782
27782
  // src/services/building.service.ts
27783
27783
  import {
27784
27784
  BadRequestError as BadRequestError62,
27785
- NotFoundError as NotFoundError10,
27785
+ NotFoundError as NotFoundError9,
27786
27786
  useAtlas as useAtlas33
27787
27787
  } from "@eeplatform/nodejs-utils";
27788
27788
  function useBuildingService() {
@@ -27798,7 +27798,7 @@ function useBuildingService() {
27798
27798
  try {
27799
27799
  const building = await _getById(id);
27800
27800
  if (!building) {
27801
- throw new NotFoundError10("Building not found.");
27801
+ throw new NotFoundError9("Building not found.");
27802
27802
  }
27803
27803
  if (data.levels < building.levels) {
27804
27804
  const unit = await getByBuildingLevel(id, building.levels);
@@ -29123,7 +29123,7 @@ import Joi39 from "joi";
29123
29123
  // src/services/stock-card.service.ts
29124
29124
  import {
29125
29125
  BadRequestError as BadRequestError70,
29126
- NotFoundError as NotFoundError11,
29126
+ NotFoundError as NotFoundError10,
29127
29127
  useAtlas as useAtlas37
29128
29128
  } from "@eeplatform/nodejs-utils";
29129
29129
  function useStockCardService() {
@@ -29138,7 +29138,7 @@ function useStockCardService() {
29138
29138
  try {
29139
29139
  const asset = await _getAssetById(data.item);
29140
29140
  if (!asset) {
29141
- throw new NotFoundError11("Asset not found.");
29141
+ throw new NotFoundError10("Asset not found.");
29142
29142
  }
29143
29143
  data.balance = (asset.qty ?? 0) + data.qty;
29144
29144
  await _add(data, session);