hiloop-sdk 0.8.0 → 0.8.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.
Files changed (2) hide show
  1. package/dist/client.js +1 -1
  2. package/package.json +1 -1
package/dist/client.js CHANGED
@@ -388,7 +388,7 @@ export class HiloopClient {
388
388
  // Decrypt timeline items (session messages)
389
389
  if (Array.isArray(result.items)) {
390
390
  await Promise.all(result.items.map(async (item) => {
391
- if (item.kind === "message" && typeof item.encryptedContent === "string") {
391
+ if (typeof item.encryptedContent === "string") {
392
392
  const plain = await this.crypto.decryptSessionMessage(item.encryptedContent);
393
393
  if (plain !== null)
394
394
  item.content = plain;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hiloop-sdk",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "TypeScript SDK for Hiloop — zero-trust human-AI agent interaction platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",