@7365admin1/core 3.52.11-staging.259 → 3.52.11

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.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 02adda0: Scope the visitor-transaction list to the caller's own sites when none is named, and authorise the site the document list is given
8
+
3
9
  ## 3.52.10
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -52406,7 +52406,7 @@ function useVisitorTransactionService() {
52406
52406
  unitName: unit?.name,
52407
52407
  org: inviter?.org?.toString(),
52408
52408
  site: inviter?.site.toString(),
52409
- status: value?.type === "contractor" ? isAutoApprovedInvitation ? "approved" /* APPROVED */ : "pending" /* PENDING */ : "approved" /* APPROVED */,
52409
+ status: value?.type === "contractor" ? isAutoApprovedInvitation ? "approved" /* APPROVED */ : "pending" /* PENDING */ : "pending" /* PENDING */,
52410
52410
  inviterId: userId
52411
52411
  };
52412
52412
  const leadId = new import_mongodb86.ObjectId();