@antzsoft/chat-core 1.3.7 → 1.3.8

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.
@@ -155,7 +155,7 @@ section.sec>h2:hover{color:#fff}
155
155
 
156
156
  <div class="section-label">What's New</div>
157
157
  <ul>
158
- <li><a href="#whats-new">v1.3.7 Release Notes</a></li>
158
+ <li><a href="#whats-new">v1.3.8 Release Notes</a></li>
159
159
  </ul>
160
160
 
161
161
  <div class="section-label">Getting Started</div>
@@ -250,12 +250,43 @@ section.sec>h2:hover{color:#fff}
250
250
  <h2>What's New</h2>
251
251
  <p style="color:var(--muted);font-size:13px;margin-bottom:20px">Version history and release notes. Click a version to expand.</p>
252
252
 
253
- <!-- ── v1.3.7 (current) ── -->
253
+ <!-- ── v1.3.8 (current) ── -->
254
+ <div class="wn-version open" id="wn-138">
255
+ <div class="wn-header" onclick="toggleVersion('wn-138')">
256
+ <div class="wn-title">
257
+ <span class="wn-ver">v1.3.8</span>
258
+ <span class="wn-badge current">Current</span>
259
+ <span class="wn-date">July 2026</span>
260
+ </div>
261
+ <span class="wn-chevron">▲</span>
262
+ </div>
263
+ <div class="wn-body">
264
+ <div class="wn-item" id="wn-138-externalid">
265
+ <div class="wn-item-header" onclick="toggleItem('wn-138-externalid')">
266
+ <span class="wn-tag new">New</span>
267
+ <span class="wn-item-title">externalId now included on every embedded user, not just the standalone profile</span>
268
+ <span class="wn-chevron-sm">▾</span>
269
+ </div>
270
+ <div class="wn-item-body">
271
+ <p>Previously <code>externalId</code> (a user's ID in your external system, non-builtin modes) was only present on the <code>User</code> returned by <code>usersApi.list/getById/updateProfile</code>. Every <em>denormalized</em> place a user appeared dropped it, forcing a separate <code>usersApi.getById()</code> call to map a chat user back to your own system. These shapes now carry it:</p>
272
+ <ul>
273
+ <li><code>Participant</code> — new top-level <code>externalId?</code>, also mirrored on <code>Participant.user.externalId</code> (conversations API + conversation socket events).</li>
274
+ <li><code>Message.sender</code> — the server now populates <code>externalId</code> on the sender embed.</li>
275
+ <li><code>ReactionUser</code> (<code>messagesApi.getReactions</code>) — new <code>externalId?</code>.</li>
276
+ <li><code>MessageReceiptEntry</code> (<code>messagesApi.getReceipts</code>) — new <code>externalId?</code>.</li>
277
+ <li><code>TypingIndicatorEvent</code> (socket) — new <code>externalId?</code>. Present in non-builtin modes; <strong>absent in builtin mode</strong>, where no external identity exists.</li>
278
+ </ul>
279
+ <p><strong>Backward compatible, additive-only.</strong> Every field is optional. An older SDK against this server ignores the extra field; this SDK against an older server sees <code>externalId</code> as <code>undefined</code>. Note <code>externalId</code> (string, the chat user's external identity) is distinct from the pre-existing <code>Participant.externalUserId</code> (number) — both are sent; do not confuse them. Requires a server with this change to be populated; safe to upgrade regardless. <strong>No integration changes required</strong> — read <code>externalId</code> where you previously had to look it up separately.</p>
280
+ </div>
281
+ </div>
282
+ </div>
283
+ </div><!-- /.wn-version -->
284
+
285
+ <!-- ── v1.3.7 ── -->
254
286
  <div class="wn-version open" id="wn-137">
255
287
  <div class="wn-header" onclick="toggleVersion('wn-137')">
256
288
  <div class="wn-title">
257
289
  <span class="wn-ver">v1.3.7</span>
258
- <span class="wn-badge current">Current</span>
259
290
  <span class="wn-date">July 2026</span>
260
291
  </div>
261
292
  <span class="wn-chevron">▲</span>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antzsoft/chat-core",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "Platform-agnostic core for Antz Chat — API, socket, stores, types. Works in browser, React Native (Expo or bare), and Node.js.",
5
5
  "author": "Antz",
6
6
  "license": "MIT",