@ai-matrx/messaging 0.15.77 → 0.15.80
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 +18 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog — `@ai-matrx/messaging`
|
|
2
2
|
|
|
3
|
+
## 0.15.80
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/messaging/v0.15.78..npm/messaging/v0.15.80 -- apps/shared/messaging`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.15.79
|
|
10
|
+
|
|
11
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
12
|
+
`git diff npm/messaging/v0.15.78..npm/messaging/v0.15.79 -- apps/shared/messaging`).
|
|
13
|
+
No source changes intended and no consumer action required.
|
|
14
|
+
|
|
15
|
+
## 0.15.78
|
|
16
|
+
|
|
17
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
18
|
+
`git diff npm/messaging/v0.15.77..npm/messaging/v0.15.78 -- apps/shared/messaging`).
|
|
19
|
+
No source changes intended and no consumer action required.
|
|
20
|
+
|
|
3
21
|
## 0.15.77
|
|
4
22
|
|
|
5
23
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
package/dist/index.cjs
CHANGED
|
@@ -2217,7 +2217,7 @@ function createMessagingRepository(options) {
|
|
|
2217
2217
|
}
|
|
2218
2218
|
async function updateLiveParticipant(operation, conversationId, userId, patch) {
|
|
2219
2219
|
const destination = await organizationOfExisting(conversationId);
|
|
2220
|
-
const { data, error } = await db().from(TABLES.participants).update({ ...patch, organization_id: destination }).eq("conversation_id", conversationId).eq("user_id", userId).
|
|
2220
|
+
const { data, error } = await db().from(TABLES.participants).update({ ...patch, organization_id: destination }).eq("conversation_id", conversationId).eq("user_id", userId).is("deleted_at", null).select("id").maybeSingle();
|
|
2221
2221
|
if (error !== null) throw normalizeMessagingError(error, operation);
|
|
2222
2222
|
if (data === null) {
|
|
2223
2223
|
throw writeNotApplied(operation, "participant update returned no live row");
|