@safetech/inheriti-client-sdk 1.17.31 → 1.17.32

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.
@@ -504,18 +504,14 @@ interface InboxMemberPage {
504
504
  offset: number;
505
505
  nextOffset: number | null;
506
506
  }
507
- type InboxShareLayer = {
507
+ /** The server selects and validates storage providers; clients use the layer IDs. */
508
+ interface InboxShareLayer {
508
509
  id: string;
509
- type: 'INHERITI_CHAIN';
510
- contractAddress: string;
510
+ type: string;
511
511
  dataShareId: string;
512
512
  keyShareId: string;
513
- } | {
514
- id: string;
515
- type: 'INHERITI_VAULT' | 'GOOGLE_DRIVE' | 'DROPBOX' | 'ONEDRIVE';
516
- dataShareId: string;
517
- keyShareId: string;
518
- };
513
+ contractAddress?: string;
514
+ }
519
515
  interface InboxSendPreparation {
520
516
  conversationId: string;
521
517
  messageId: string;
@@ -93,18 +93,14 @@ export interface InboxMemberPage {
93
93
  offset: number;
94
94
  nextOffset: number | null;
95
95
  }
96
- export type InboxShareLayer = {
96
+ /** The server selects and validates storage providers; clients use the layer IDs. */
97
+ export interface InboxShareLayer {
97
98
  id: string;
98
- type: 'INHERITI_CHAIN';
99
- contractAddress: string;
99
+ type: string;
100
100
  dataShareId: string;
101
101
  keyShareId: string;
102
- } | {
103
- id: string;
104
- type: 'INHERITI_VAULT' | 'GOOGLE_DRIVE' | 'DROPBOX' | 'ONEDRIVE';
105
- dataShareId: string;
106
- keyShareId: string;
107
- };
102
+ contractAddress?: string;
103
+ }
108
104
  export interface InboxSendPreparation {
109
105
  conversationId: string;
110
106
  messageId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safetech/inheriti-client-sdk",
3
- "version": "1.17.31",
3
+ "version": "1.17.32",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -67,7 +67,7 @@
67
67
  "license": "MIT",
68
68
  "dependencies": {
69
69
  "@safetech/safekey-sdk": "1.0.1",
70
- "@safetech/inheriti-core-sdk": "4.0.40",
70
+ "@safetech/inheriti-core-sdk": "4.0.41",
71
71
  "sonner": "2.0.8"
72
72
  },
73
73
  "devDependencies": {