@infuro/cms-core 1.0.65 → 1.0.67

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.
Files changed (36) hide show
  1. package/dist/admin.cjs +97 -24
  2. package/dist/admin.js +97 -24
  3. package/dist/api.cjs +38 -38
  4. package/dist/api.js +5 -5
  5. package/dist/auth.cjs +51 -51
  6. package/dist/auth.js +3 -3
  7. package/dist/{chunk-6DBDJ4VD.js → chunk-2ISSXYBZ.js} +2 -2
  8. package/dist/{chunk-NIRYYJIJ.cjs → chunk-5MZFQRDW.cjs} +73 -55
  9. package/dist/{chunk-MVHDC3XF.js → chunk-5NOZSG6J.js} +22 -11
  10. package/dist/{chunk-YHEITFHR.cjs → chunk-BVLN75LP.cjs} +540 -143
  11. package/dist/{chunk-YEAXE4U2.js → chunk-FLUF2GZH.js} +5 -11
  12. package/dist/{chunk-SANKKGB3.js → chunk-GLLCLRCQ.js} +464 -67
  13. package/dist/{chunk-ACBN6UWZ.js → chunk-NV5IRHI3.js} +26 -8
  14. package/dist/{chunk-J7FMZK66.cjs → chunk-O4AFPDQ4.cjs} +22 -11
  15. package/dist/{chunk-4U6DATGZ.cjs → chunk-OV5TRZET.cjs} +7 -7
  16. package/dist/{chunk-BXAKL2TF.cjs → chunk-PA6YDMFZ.cjs} +5 -11
  17. package/dist/{chunk-RDEVZMO5.js → chunk-RCE5SJBA.js} +2 -2
  18. package/dist/{chunk-KM2I6AFP.cjs → chunk-SS3K7OIM.cjs} +9 -9
  19. package/dist/{chunk-V6EYAC7X.cjs → chunk-WMMZZRDJ.cjs} +15 -15
  20. package/dist/{chunk-NR44CK5E.js → chunk-ZY64VJMS.js} +1 -1
  21. package/dist/{emit-order-notification-trigger-UCKJHDQK.js → emit-order-notification-trigger-EJJZ6XTS.js} +2 -2
  22. package/dist/{emit-order-notification-trigger-DR74TQXN.cjs → emit-order-notification-trigger-ZD5YN3JM.cjs} +4 -4
  23. package/dist/index.cjs +284 -280
  24. package/dist/index.d.cts +14 -1
  25. package/dist/index.d.ts +14 -1
  26. package/dist/index.js +10 -10
  27. package/dist/migrations/1783300000000-CreateOrderAssigneesTable.ts +43 -0
  28. package/dist/{order-assignees-handlers-NPKD64P6.cjs → order-assignees-handlers-KF7RMTV5.cjs} +77 -8
  29. package/dist/{order-assignees-handlers-LKMAGLG6.js → order-assignees-handlers-L3RVKUBS.js} +77 -8
  30. package/dist/{order-completion-otp-handlers-RW5RSXH3.cjs → order-completion-otp-handlers-DZAXK4GQ.cjs} +70 -16
  31. package/dist/{order-completion-otp-handlers-CH22ZRAI.js → order-completion-otp-handlers-HFGCPC4O.js} +69 -15
  32. package/dist/{order-notification-dispatcher-3TXUAJ7L.js → order-notification-dispatcher-ECPFI7CD.js} +2 -2
  33. package/dist/{order-notification-dispatcher-Y7NZAALH.cjs → order-notification-dispatcher-LL7ETKLU.cjs} +7 -7
  34. package/dist/{rbac-debug-db-5R6XFPSV.js → rbac-debug-db-DFZWZ6GV.js} +1 -1
  35. package/dist/{rbac-debug-db-JKK2MCWF.cjs → rbac-debug-db-KWV7D5PQ.cjs} +2 -2
  36. package/package.json +1 -1
@@ -25,13 +25,6 @@ var NotificationTriggerEmitter = class NotificationTriggerEmitter2 extends Event
25
25
  var notificationTriggerEmitter = new NotificationTriggerEmitter();
26
26
 
27
27
  // src/lib/notify-log.ts
28
- function maskTail(raw, keep = 6) {
29
- const s = String(raw ?? "").trim();
30
- if (!s) return "(none)";
31
- if (s.length <= keep) return "***";
32
- return `***${s.slice(-keep)}`;
33
- }
34
- __name(maskTail, "maskTail");
35
28
  function maskNotifyPhone(raw) {
36
29
  const digits = String(raw ?? "").replace(/\D/g, "");
37
30
  if (digits.length <= 4) return "(none)";
@@ -46,10 +39,11 @@ function maskNotifyEmail(raw) {
46
39
  return `${u}@${domain}`;
47
40
  }
48
41
  __name(maskNotifyEmail, "maskNotifyEmail");
49
- function maskNotifyToken(raw) {
50
- return maskTail(raw, 8);
42
+ function logFcmToken(raw) {
43
+ const s = String(raw ?? "").trim();
44
+ return s || "(none)";
51
45
  }
52
- __name(maskNotifyToken, "maskNotifyToken");
46
+ __name(logFcmToken, "logFcmToken");
53
47
  function write(level, channel, message, data) {
54
48
  const banner = `========== [NOTIFY] ${channel} | ${message} ==========`;
55
49
  const payload = data ?? {};
@@ -74,4 +68,4 @@ var notifyLog = {
74
68
  error: /* @__PURE__ */ __name((channel, message, data) => write("error", channel, message, data), "error")
75
69
  };
76
70
 
77
- export { KNOWN_NOTIFICATION_TRIGGERS, maskNotifyEmail, maskNotifyPhone, maskNotifyToken, notificationTriggerEmitter, notifyLog };
71
+ export { KNOWN_NOTIFICATION_TRIGGERS, logFcmToken, maskNotifyEmail, maskNotifyPhone, notificationTriggerEmitter, notifyLog };