nucleus-core-ts 0.9.913 → 0.9.915

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 (28) hide show
  1. package/dist/.build-ok +1 -1
  2. package/dist/fe/components/ChatPanel/components/ChatPanel.js +4 -4
  3. package/dist/fe/components/ChatPanel/components/ConversationList.js +3 -3
  4. package/dist/fe/components/ChatPanel/components/MessageComposer.js +1 -1
  5. package/dist/fe/components/ChatPanel/components/MessageThread.js +18 -17
  6. package/dist/fe/components/ChatPanel/helpers.d.ts +23 -3
  7. package/dist/fe/components/ChatPanel/helpers.js +31 -13
  8. package/dist/fe/components/ChatPanel/hooks/useChat.js +16 -11
  9. package/dist/fe/components/ChatPanel/labels.d.ts +69 -0
  10. package/dist/fe/components/ChatPanel/labels.js +33 -1
  11. package/dist/fe/components/NucleusTextInput/components/NucleusTextInput.d.ts +1 -1
  12. package/dist/fe/components/NucleusTextInput/components/NucleusTextInput.js +3 -2
  13. package/dist/fe/components/NucleusTextInput/components/PasswordStrengthIndicator.d.ts +19 -2
  14. package/dist/fe/components/NucleusTextInput/components/PasswordStrengthIndicator.js +16 -7
  15. package/dist/fe/components/NucleusTextInput/types/index.d.ts +8 -0
  16. package/dist/fe/components/ResetPasswordPage/components/ResetPasswordForm.js +5 -5
  17. package/dist/fe/components/ResetPasswordPage/components/ResetPasswordPage.js +3 -3
  18. package/dist/fe/components/ResetPasswordPage/labels.d.ts +10 -0
  19. package/dist/fe/components/ResetPasswordPage/labels.js +6 -0
  20. package/dist/fe/components/SetPasswordPage/components/PasswordStrengthIndicator.d.ts +4 -1
  21. package/dist/fe/components/SetPasswordPage/components/PasswordStrengthIndicator.js +13 -8
  22. package/dist/fe/components/SetPasswordPage/components/SetPasswordForm.js +10 -10
  23. package/dist/fe/components/SetPasswordPage/components/SetPasswordPage.js +4 -4
  24. package/dist/fe/components/SetPasswordPage/labels.d.ts +35 -0
  25. package/dist/fe/components/SetPasswordPage/labels.js +19 -1
  26. package/dist/index.js +1 -1
  27. package/dist/src/Services/Backup/BackupService.d.ts +10 -0
  28. package/package.json +1 -1
@@ -1,4 +1,14 @@
1
1
  import type { BackupLogRecord, BackupServiceConfig, BackupTrigger } from './types';
2
+ /**
3
+ * How long to actually sleep for a wait of `delayMs`.
4
+ *
5
+ * Exported so the ceiling can be pinned by a test rather than by a comment. The
6
+ * defect it prevents was not subtle — a monthly cron is ~31 days away, which
7
+ * overflows the signed 32-bit delay and fires in 1ms, re-arms, overflows again:
8
+ * 2,323 full database dumps in three seconds. A comment cannot stop somebody
9
+ * writing `setTimeout(fn, delayMs)` again.
10
+ */
11
+ export declare function nextHopMs(delayMs: number): number;
2
12
  export declare class BackupService {
3
13
  private db;
4
14
  private logger;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nucleus-core-ts",
3
- "version": "0.9.913",
3
+ "version": "0.9.915",
4
4
  "description": "Production-ready, enterprise-grade TypeScript framework for building multi-tenant APIs",
5
5
  "author": "Hidayet Can Özcan <hidayetcan@gmail.com>",
6
6
  "license": "SEE LICENSE IN LICENSE",