@happyvertical/smrt-messages 0.61.6 → 0.62.1

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.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { t as __exportAll } from "./chunks/rolldown-runtime-D7D4PA-g.js";
2
- import "./chunks/__smrt-register__-BNx2CWs-.js";
2
+ import "./chunks/__smrt-register__-BYCWr8EA.js";
3
3
  import { a as registerMessagingProvider, n as getMessagingProvider, o as ZulipSender, r as listMessagingProviders, s as TelegramSender, t as ensureBuiltinMessagingProvidersRegistered } from "./chunks/providers-4iLula-V.js";
4
4
  import { buildSqliteRebuildStatements, isDeepStrictEqual, normalizeIdentityEmail, queryGlobal, queryWithGlobals, readNotificationProfile, withSystemContext, withTenant } from "./host.js";
5
- import { r as Account, t as AccountCollection } from "./chunks/AccountCollection-C9TmHdmB.js";
5
+ import { r as Account, t as AccountCollection } from "./chunks/AccountCollection-P9TssVmI.js";
6
6
  import { d as withProtectedNotificationHandoff, f as PROFILE_NOTIFICATION_POLICY_PREFIX, l as protectedNotificationMetadata, m as profileNotificationPolicy, n as assertProtectedEmailAdmission, p as assertNotificationRecipientIdentity, r as assertProtectedEmailHandoff, t as ProtectedNotificationHandoffError } from "./chunks/protected-notification-handoff-mvaEZVp7.js";
7
- import { t as Message } from "./chunks/Message-DdPQyOVZ.js";
8
- import { t as MessageCollection } from "./chunks/MessageCollection-qKn6yINQ.js";
9
- import { t as Email } from "./chunks/Email-DXx0Umjj.js";
10
- import { t as EmailFolder } from "./chunks/EmailFolder--8xMKAF8.js";
7
+ import { t as Message } from "./chunks/Message-CL9TZkpj.js";
8
+ import { t as MessageCollection } from "./chunks/MessageCollection-CS7kyDXq.js";
9
+ import { t as Email } from "./chunks/Email-ClQIbB35.js";
10
+ import { t as EmailFolder } from "./chunks/EmailFolder-BpETSexI.js";
11
11
  import { t as SlackSender } from "./chunks/SlackSender-CjSvwY1K.js";
12
12
  import { t as TweetSender } from "./chunks/TweetSender-CcLPNNi1.js";
13
13
  import { GlobalInterceptors, ObjectRegistry, SmrtCollection, SmrtObject, SmrtRecipe, crossPackageRef, detectEngine, field, foreignKey, importOptionalDependency, isUniqueViolationError, smrt, usesEmbeddedRevisionFallback, withEmbeddedWriteQueue } from "@happyvertical/smrt-core";
@@ -109,7 +109,7 @@ var Attachment = class extends SmrtObject {
109
109
  */
110
110
  async getMessage() {
111
111
  if (!this.messageId) return null;
112
- const { MessageCollection } = await import("./chunks/MessageCollection-qKn6yINQ.js").then((n) => n.n);
112
+ const { MessageCollection } = await import("./chunks/MessageCollection-CS7kyDXq.js").then((n) => n.n);
113
113
  return await (await MessageCollection.create(this.options)).get({ id: this.messageId });
114
114
  }
115
115
  /**
@@ -1095,7 +1095,7 @@ var EmailAccount = class extends Account {
1095
1095
  for (const folderName of foldersToSync) try {
1096
1096
  let folder = await folderCollection.getByPath(accountId, folderName);
1097
1097
  if (!folder) {
1098
- const { EmailFolder } = await import("./chunks/EmailFolder--8xMKAF8.js").then((n) => n.n);
1098
+ const { EmailFolder } = await import("./chunks/EmailFolder-BpETSexI.js").then((n) => n.n);
1099
1099
  folder = new (ObjectRegistry.resolveEffectiveConstructor(EmailFolder))({
1100
1100
  ...this.childOptions(),
1101
1101
  accountId,
@@ -1120,7 +1120,7 @@ var EmailAccount = class extends Account {
1120
1120
  result.messagesSkipped++;
1121
1121
  continue;
1122
1122
  }
1123
- const { Email } = await import("./chunks/Email-DXx0Umjj.js").then((n) => n.n);
1123
+ const { Email } = await import("./chunks/Email-ClQIbB35.js").then((n) => n.n);
1124
1124
  let email = existingEmail;
1125
1125
  if (!email) {
1126
1126
  email = new (ObjectRegistry.resolveEffectiveConstructor(Email))({
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-messages",
5
- "packageVersion": "0.61.6",
5
+ "packageVersion": "0.62.1",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-messages:AccountCollection": {
8
8
  "name": "accountcollection",
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-messages",
6
- "packageVersion": "0.61.6",
6
+ "packageVersion": "0.62.1",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "5fdbd4bc04455f45355fce237cf315401ad91ea687fb50a680f678d2b1b681aa",
11
- "packageJson": "8561d1cf6be57aeaa498883a4648f98226fc5f5165235bf95f6bc7abf8e09aca",
10
+ "manifest": "598bd3e86633b3dbdf01a40541974a27e555c7c4fdef0d9cd731199e0d781bec",
11
+ "packageJson": "c56a292558133458d8f97e6234b23742b650f7ff63dc870ed2ea2332b3e71668",
12
12
  "agents": "982506bdb93396f2cba5ca381c00b3e016199c2852e8f05eec27dc2de40ea106",
13
13
  "moduleDoc:agents/notification-outbox.md": "0e9a870c4b2d5f0fec47af0dff6e61d216fb0121d384d99bccfc506beb6e38ad",
14
14
  "moduleDoc:agents/profile-recipients.md": "1b6710bf646ddeafd6836df8270fcbb8e29226dceda716a693d945cc2e914606"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-messages",
3
- "version": "0.61.6",
3
+ "version": "0.62.1",
4
4
  "smrtJsdoc": "strict",
5
5
  "description": "Unified multi-channel messaging with STI-based hierarchies",
6
6
  "type": "module",
@@ -63,13 +63,13 @@
63
63
  "@happyvertical/files": "^0.113.0",
64
64
  "@happyvertical/logger": "^0.113.0",
65
65
  "@happyvertical/messages": "^0.113.0",
66
- "@happyvertical/smrt-core": "0.61.6",
67
- "@happyvertical/smrt-profiles": "0.61.6",
68
- "@happyvertical/smrt-types": "0.61.6",
69
- "@happyvertical/smrt-secrets": "0.61.6",
70
- "@happyvertical/smrt-tenancy": "0.61.6",
71
- "@happyvertical/smrt-ui": "0.61.6",
72
- "@happyvertical/smrt-users": "0.61.6",
66
+ "@happyvertical/smrt-core": "0.62.1",
67
+ "@happyvertical/smrt-profiles": "0.62.1",
68
+ "@happyvertical/smrt-types": "0.62.1",
69
+ "@happyvertical/smrt-secrets": "0.62.1",
70
+ "@happyvertical/smrt-tenancy": "0.62.1",
71
+ "@happyvertical/smrt-ui": "0.62.1",
72
+ "@happyvertical/smrt-users": "0.62.1",
73
73
  "@happyvertical/sql": "^0.113.0",
74
74
  "@happyvertical/utils": "^0.113.0"
75
75
  },
@@ -86,8 +86,8 @@
86
86
  }
87
87
  },
88
88
  "devDependencies": {
89
- "@happyvertical/smrt-ledgers": "0.61.6",
90
- "@happyvertical/smrt-vitest": "0.61.6",
89
+ "@happyvertical/smrt-ledgers": "0.62.1",
90
+ "@happyvertical/smrt-vitest": "0.62.1",
91
91
  "@sveltejs/package": "^2.5.8",
92
92
  "@sveltejs/vite-plugin-svelte": "^7.3.0",
93
93
  "@types/node": "24.13.6",
@@ -126,12 +126,12 @@
126
126
  "build:watch": "vite build --mode library --watch",
127
127
  "clean": "rm -rf dist",
128
128
  "dev": "vite",
129
- "check": "pnpm exec svelte-check --tsconfig ./tsconfig.svelte.json",
129
+ "check": "node ../../scripts/svelte-check-workspace.mjs --config ../../scripts/svelte.config.typecheck.mjs --tsconfig ./tsconfig.svelte-typecheck.json",
130
130
  "pretest": "[ -f ../cli/dist/index.js ] && node ../cli/dist/index.js test --manifest-only || true",
131
131
  "test": "vitest run",
132
132
  "test:postgres": "node ../../scripts/run-with-ci-postgres.mjs -- pnpm exec vitest run optional.test.ts",
133
133
  "test:watch": "vitest",
134
- "typecheck": "tsc --noEmit && node ../../scripts/svelte-check-a11y.mjs --tsconfig ./tsconfig.svelte.json",
134
+ "typecheck": "tsc -p tsconfig.typecheck.json && node ../../scripts/svelte-check-a11y.mjs --config ../../scripts/svelte.config.typecheck.mjs --tsconfig ./tsconfig.svelte-typecheck.json",
135
135
  "verify:pack": "node ../../scripts/verify-package-types-exports.js ."
136
136
  }
137
137
  }