@safetech/inheriti-client-sdk 1.17.21 → 1.17.22

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.
@@ -470,6 +470,7 @@ interface InboxMessageMetadata {
470
470
  recipientStatuses?: Array<{
471
471
  memberId: string;
472
472
  status: NonNullable<InboxMessageMetadata['recipientStatus']>;
473
+ consumedAt?: string | null;
473
474
  }>;
474
475
  status: Exclude<PublishedInboxMessage['status'], 'DELETED'>;
475
476
  senderMemberId: string;
@@ -524,6 +525,16 @@ interface NormalInboxMessageMetadata {
524
525
  senderDeviceId: string;
525
526
  participantRevision: number;
526
527
  createdAt: string;
528
+ recipientStatuses?: Array<{
529
+ memberId: string;
530
+ read?: boolean;
531
+ readAt?: string | null;
532
+ secrets?: Array<{
533
+ position: number;
534
+ status: 'UNREAD' | 'LEASED' | 'CONSUMED' | 'EXPIRED' | 'REVOKED' | 'DELETED';
535
+ revealedAt?: string | null;
536
+ }>;
537
+ }>;
527
538
  }
528
539
  interface NormalInboxMessagePage {
529
540
  items: NormalInboxMessageMetadata[];
@@ -168,6 +168,7 @@ export interface InboxMessageMetadata {
168
168
  recipientStatuses?: Array<{
169
169
  memberId: string;
170
170
  status: NonNullable<InboxMessageMetadata['recipientStatus']>;
171
+ consumedAt?: string | null;
171
172
  }>;
172
173
  status: Exclude<PublishedInboxMessage['status'], 'DELETED'>;
173
174
  senderMemberId: string;
@@ -222,6 +223,16 @@ export interface NormalInboxMessageMetadata {
222
223
  senderDeviceId: string;
223
224
  participantRevision: number;
224
225
  createdAt: string;
226
+ recipientStatuses?: Array<{
227
+ memberId: string;
228
+ read?: boolean;
229
+ readAt?: string | null;
230
+ secrets?: Array<{
231
+ position: number;
232
+ status: 'UNREAD' | 'LEASED' | 'CONSUMED' | 'EXPIRED' | 'REVOKED' | 'DELETED';
233
+ revealedAt?: string | null;
234
+ }>;
235
+ }>;
225
236
  }
226
237
  export interface NormalInboxMessagePage {
227
238
  items: NormalInboxMessageMetadata[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safetech/inheriti-client-sdk",
3
- "version": "1.17.21",
3
+ "version": "1.17.22",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -115,4 +115,4 @@
115
115
  "files": [
116
116
  "dist"
117
117
  ]
118
- }
118
+ }