@7365admin1/core 3.52.13-staging.261 → 3.52.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @iservice365/core
2
2
 
3
+ ## 3.52.13
4
+
5
+ ### Patch Changes
6
+
7
+ - 96a8c31: Derive chat createdBy from the authenticated session instead of the request body, so a second mount of chat.controller.ts can't be used to impersonate another user
8
+
3
9
  ## 3.52.12
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -52469,7 +52469,7 @@ function useVisitorTransactionService() {
52469
52469
  unitName: unit?.name,
52470
52470
  org: inviter?.org?.toString(),
52471
52471
  site: inviter?.site.toString(),
52472
- status: value?.type === "contractor" ? isAutoApprovedInvitation ? "approved" /* APPROVED */ : "pending" /* PENDING */ : "approved" /* APPROVED */,
52472
+ status: value?.type === "contractor" ? isAutoApprovedInvitation ? "approved" /* APPROVED */ : "pending" /* PENDING */ : "pending" /* PENDING */,
52473
52473
  inviterId: userId
52474
52474
  };
52475
52475
  const leadId = new import_mongodb86.ObjectId();