@lifeready/core 6.1.2 → 6.1.4

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 (76) hide show
  1. package/bundles/lifeready-core.umd.js +359 -344
  2. package/bundles/lifeready-core.umd.js.map +1 -1
  3. package/bundles/lifeready-core.umd.min.js +1 -1
  4. package/bundles/lifeready-core.umd.min.js.map +1 -1
  5. package/esm2015/lib/auth/auth.config.js +57 -0
  6. package/esm2015/lib/auth/auth.gql.private.js +85 -0
  7. package/esm2015/lib/auth/auth.service.js +602 -0
  8. package/esm2015/lib/auth/auth.types.js +21 -0
  9. package/esm2015/lib/item/item.gql.js +164 -0
  10. package/esm2015/lib/item/item.gql.private.js +23 -0
  11. package/esm2015/lib/item/item.service.js +592 -0
  12. package/esm2015/lib/item/item.types.js +2 -0
  13. package/esm2015/lib/key-exchange/key-exchange.gql.js +174 -0
  14. package/esm2015/lib/key-exchange/key-exchange.service.js +480 -0
  15. package/esm2015/lib/lbop/lbop.service.js +7 -15
  16. package/esm2015/lib/life-ready.module.js +2 -2
  17. package/esm2015/lib/password/password.service.js +1 -1
  18. package/esm2015/lib/plan/plan.gql.js +91 -0
  19. package/esm2015/lib/plan/plan.service.js +191 -0
  20. package/esm2015/lib/plan/plan.types.js +2 -0
  21. package/esm2015/lib/profile/profile.gql.js +2 -64
  22. package/esm2015/lib/profile/profile.service.js +1 -8
  23. package/esm2015/lib/profile/profile.types.js +1 -8
  24. package/esm2015/lib/scenario/scenario.service.js +8 -8
  25. package/esm2015/lib/shared-contact-card/shared-contact-card2.service.js +1 -1
  26. package/esm2015/lib/trusted-party/trusted-party.gql.js +64 -0
  27. package/esm2015/lib/trusted-party/trusted-party.gql.private.js +25 -0
  28. package/esm2015/lib/trusted-party/trusted-party.service.js +240 -0
  29. package/esm2015/lib/trusted-party/trusted-party.types.js +2 -0
  30. package/esm2015/public-api.js +17 -11
  31. package/fesm2015/lifeready-core.js +373 -456
  32. package/fesm2015/lifeready-core.js.map +1 -1
  33. package/lib/{auth2/auth2.service.d.ts → auth/auth.service.d.ts} +2 -2
  34. package/lib/{item2/item2.service.d.ts → item/item.service.d.ts} +39 -39
  35. package/lib/key-exchange/{key-exchange2.gql.d.ts → key-exchange.gql.d.ts} +27 -13
  36. package/lib/key-exchange/{key-exchange2.service.d.ts → key-exchange.service.d.ts} +5 -5
  37. package/lib/lbop/lbop.service.d.ts +1 -5
  38. package/lib/password/password.service.d.ts +1 -1
  39. package/lib/{plan2/plan2.service.d.ts → plan/plan.service.d.ts} +20 -20
  40. package/lib/profile/profile.gql.d.ts +0 -2
  41. package/lib/profile/profile.service.d.ts +1 -2
  42. package/lib/profile/profile.types.d.ts +2 -15
  43. package/lib/scenario/scenario.service.d.ts +3 -3
  44. package/lib/shared-contact-card/shared-contact-card2.service.d.ts +1 -1
  45. package/lib/trusted-party/{trusted-party2.service.d.ts → trusted-party.service.d.ts} +6 -6
  46. package/lifeready-core.metadata.json +1 -1
  47. package/package.json +1 -1
  48. package/public-api.d.ts +16 -10
  49. package/esm2015/lib/auth2/auth.config.js +0 -57
  50. package/esm2015/lib/auth2/auth2.gql.private.js +0 -85
  51. package/esm2015/lib/auth2/auth2.service.js +0 -602
  52. package/esm2015/lib/auth2/auth2.types.js +0 -21
  53. package/esm2015/lib/item2/item2.gql.js +0 -164
  54. package/esm2015/lib/item2/item2.gql.private.js +0 -23
  55. package/esm2015/lib/item2/item2.service.js +0 -592
  56. package/esm2015/lib/item2/item2.types.js +0 -2
  57. package/esm2015/lib/key-exchange/key-exchange2.gql.js +0 -172
  58. package/esm2015/lib/key-exchange/key-exchange2.service.js +0 -480
  59. package/esm2015/lib/plan2/plan2.gql.js +0 -91
  60. package/esm2015/lib/plan2/plan2.service.js +0 -191
  61. package/esm2015/lib/plan2/plan2.types.js +0 -2
  62. package/esm2015/lib/trusted-party/trusted-party2.gql.js +0 -64
  63. package/esm2015/lib/trusted-party/trusted-party2.gql.private.js +0 -25
  64. package/esm2015/lib/trusted-party/trusted-party2.service.js +0 -240
  65. package/esm2015/lib/trusted-party/trusted-party2.types.js +0 -2
  66. /package/lib/{auth2 → auth}/auth.config.d.ts +0 -0
  67. /package/lib/{auth2/auth2.gql.private.d.ts → auth/auth.gql.private.d.ts} +0 -0
  68. /package/lib/{auth2/auth2.types.d.ts → auth/auth.types.d.ts} +0 -0
  69. /package/lib/{item2/item2.gql.d.ts → item/item.gql.d.ts} +0 -0
  70. /package/lib/{item2/item2.gql.private.d.ts → item/item.gql.private.d.ts} +0 -0
  71. /package/lib/{item2/item2.types.d.ts → item/item.types.d.ts} +0 -0
  72. /package/lib/{plan2/plan2.gql.d.ts → plan/plan.gql.d.ts} +0 -0
  73. /package/lib/{plan2/plan2.types.d.ts → plan/plan.types.d.ts} +0 -0
  74. /package/lib/trusted-party/{trusted-party2.gql.d.ts → trusted-party.gql.d.ts} +0 -0
  75. /package/lib/trusted-party/{trusted-party2.gql.private.d.ts → trusted-party.gql.private.d.ts} +0 -0
  76. /package/lib/trusted-party/{trusted-party2.types.d.ts → trusted-party.types.d.ts} +0 -0
@@ -11,8 +11,8 @@ import { KcConfig } from '../life-ready.config';
11
11
  import { PasswordService } from '../password/password.service';
12
12
  import { PersistService } from '../persist/persist.service';
13
13
  import { TpPasswordResetAssemblyController } from '../tp-password-reset/tp-password-reset.controller';
14
- import { AuthUser, LoginChallenge, LoginOptions, LoginResult, LogoutListener, LrCognitoUserAttribute } from './auth2.types';
15
- export declare class Auth2Service extends LrService {
14
+ import { AuthUser, LoginChallenge, LoginOptions, LoginResult, LogoutListener, LrCognitoUserAttribute } from './auth.types';
15
+ export declare class AuthService extends LrService {
16
16
  private ngZone;
17
17
  private injector;
18
18
  private http;
@@ -1,14 +1,14 @@
1
1
  import { Injector, NgZone } from '@angular/core';
2
2
  import { LrMutation, LrService } from '../api/lr-graphql';
3
3
  import { ID, LrRelayIdInput } from '../api/types';
4
- import { Auth2Service } from '../auth2/auth2.service';
4
+ import { AuthService } from '../auth/auth.service';
5
5
  import { FileUploadService } from '../file-upload/file-upload.service';
6
6
  import { KeyFactoryService } from '../key/key-factory.service';
7
7
  import { KeyGraphService } from '../key/key-graph.service';
8
8
  import { KeyService } from '../key/key.service';
9
9
  import { LockService } from '../lock/lock.service';
10
- import { ArchiveDirectoryOptions, BeginDeleteChildItemLinksWindowOptions, ChangeDirectoryParentsOptions, ChangeFileParentsOptions, CreateDirectoryOptions, CreateDirectoryTreeOptions, CreateFileOptions, DownloadFileContentOptions, FileParentDirectoryInput, IdKeyPair, ParentDirectoryInput, ParentRootDirectoryInput, RevertFileOptions, SetDirectoryConfidentialOptions, SetFileConfidentialOptions, UnarchiveDirectoryOptions, UpdateDirectoryOptions, UpdateFileOptions } from './item2.types';
11
- export declare class Item2Service extends LrService {
10
+ import { ArchiveDirectoryOptions, BeginDeleteChildItemLinksWindowOptions, ChangeDirectoryParentsOptions, ChangeFileParentsOptions, CreateDirectoryOptions, CreateDirectoryTreeOptions, CreateFileOptions, DownloadFileContentOptions, FileParentDirectoryInput, IdKeyPair, ParentDirectoryInput, ParentRootDirectoryInput, RevertFileOptions, SetDirectoryConfidentialOptions, SetFileConfidentialOptions, UnarchiveDirectoryOptions, UpdateDirectoryOptions, UpdateFileOptions } from './item.types';
11
+ export declare class ItemService extends LrService {
12
12
  private ngZone;
13
13
  private injector;
14
14
  private fileUploadService;
@@ -16,9 +16,9 @@ export declare class Item2Service extends LrService {
16
16
  private keyFactory;
17
17
  private keyGraph;
18
18
  private lockService;
19
- private auth2Service;
19
+ private authService;
20
20
  private tempDirectory;
21
- constructor(ngZone: NgZone, injector: Injector, fileUploadService: FileUploadService, keyService: KeyService, keyFactory: KeyFactoryService, keyGraph: KeyGraphService, lockService: LockService, auth2Service: Auth2Service);
21
+ constructor(ngZone: NgZone, injector: Injector, fileUploadService: FileUploadService, keyService: KeyService, keyFactory: KeyFactoryService, keyGraph: KeyGraphService, lockService: LockService, authService: AuthService);
22
22
  static TEMP_DIRECTORY_PLAIN_META: {
23
23
  kcType: string;
24
24
  };
@@ -28,8 +28,8 @@ export declare class Item2Service extends LrService {
28
28
  getFileKeyId(fileId: LrRelayIdInput): Promise<string>;
29
29
  getDirectoryKey(directoryId: LrRelayIdInput, directoryKeyId?: LrRelayIdInput): Promise<import("../key/key.types").Key>;
30
30
  getFileKey(fileId: LrRelayIdInput, fileKeyId?: LrRelayIdInput): Promise<import("../key/key.types").Key>;
31
- createDirectory(options: CreateDirectoryOptions): Promise<import("./item2.gql").CreateDirectoryMutationResult>;
32
- createDirectoryMutation(options: CreateDirectoryOptions): Promise<LrMutation<import("./item2.gql").CreateDirectoryMutationResult, {
31
+ createDirectory(options: CreateDirectoryOptions): Promise<import("./item.gql").CreateDirectoryMutationResult>;
32
+ createDirectoryMutation(options: CreateDirectoryOptions): Promise<LrMutation<import("./item.gql").CreateDirectoryMutationResult, {
33
33
  input: {
34
34
  parentDirectories: ParentDirectoryInput[];
35
35
  parentRootDirectory: ParentRootDirectoryInput;
@@ -37,22 +37,22 @@ export declare class Item2Service extends LrService {
37
37
  cipherMeta: string;
38
38
  };
39
39
  }>>;
40
- updateDirectory(options: UpdateDirectoryOptions): Promise<import("./item2.gql").UpdateDirectoryMutationResult>;
41
- updateDirectoryMutation(options: UpdateDirectoryOptions): Promise<LrMutation<import("./item2.gql").UpdateDirectoryMutationResult, {
40
+ updateDirectory(options: UpdateDirectoryOptions): Promise<import("./item.gql").UpdateDirectoryMutationResult>;
41
+ updateDirectoryMutation(options: UpdateDirectoryOptions): Promise<LrMutation<import("./item.gql").UpdateDirectoryMutationResult, {
42
42
  input: {
43
43
  directoryId: string;
44
44
  plainMeta: string;
45
45
  cipherMeta: string;
46
46
  };
47
47
  }>>;
48
- deleteDirectory(id: ID): Promise<import("./item2.gql").DeleteDirectoryMutationResult>;
49
- deleteDirectoryMutation(id: ID): LrMutation<import("./item2.gql").DeleteDirectoryMutationResult, {
48
+ deleteDirectory(id: ID): Promise<import("./item.gql").DeleteDirectoryMutationResult>;
49
+ deleteDirectoryMutation(id: ID): LrMutation<import("./item.gql").DeleteDirectoryMutationResult, {
50
50
  input: {
51
51
  directoryId: string;
52
52
  };
53
53
  }>;
54
- createFile(options: CreateFileOptions): Promise<import("./item2.gql").CreateFileMutationResult>;
55
- createFileMutation(options: CreateFileOptions): Promise<LrMutation<import("./item2.gql").CreateFileMutationResult, {
54
+ createFile(options: CreateFileOptions): Promise<import("./item.gql").CreateFileMutationResult>;
55
+ createFileMutation(options: CreateFileOptions): Promise<LrMutation<import("./item.gql").CreateFileMutationResult, {
56
56
  input: {
57
57
  parentDirectories: FileParentDirectoryInput[];
58
58
  wrappedStateKey: string;
@@ -61,8 +61,8 @@ export declare class Item2Service extends LrService {
61
61
  cipherMeta: string;
62
62
  };
63
63
  }>>;
64
- updateFile(options: UpdateFileOptions): Promise<import("./item2.gql").UpdateFileMutationResult>;
65
- updateFileMutation(options: UpdateFileOptions): Promise<LrMutation<import("./item2.gql").UpdateFileMutationResult, {
64
+ updateFile(options: UpdateFileOptions): Promise<import("./item.gql").UpdateFileMutationResult>;
65
+ updateFileMutation(options: UpdateFileOptions): Promise<LrMutation<import("./item.gql").UpdateFileMutationResult, {
66
66
  input: {
67
67
  fileId: string;
68
68
  wrappedStateKey: string;
@@ -71,59 +71,59 @@ export declare class Item2Service extends LrService {
71
71
  cipherMeta: string;
72
72
  };
73
73
  }>>;
74
- revertFile(options: RevertFileOptions): Promise<import("./item2.gql").RevertFileMutationResult>;
75
- revertFileMutation(options: RevertFileOptions): Promise<LrMutation<import("./item2.gql").RevertFileMutationResult, {
74
+ revertFile(options: RevertFileOptions): Promise<import("./item.gql").RevertFileMutationResult>;
75
+ revertFileMutation(options: RevertFileOptions): Promise<LrMutation<import("./item.gql").RevertFileMutationResult, {
76
76
  input: RevertFileOptions;
77
77
  }>>;
78
- deleteFile(id: ID): Promise<import("./item2.gql").DeleteFileMutationResult>;
79
- deleteFileMutation(id: ID): LrMutation<import("./item2.gql").DeleteFileMutationResult, {
78
+ deleteFile(id: ID): Promise<import("./item.gql").DeleteFileMutationResult>;
79
+ deleteFileMutation(id: ID): LrMutation<import("./item.gql").DeleteFileMutationResult, {
80
80
  input: {
81
81
  fileId: string;
82
82
  };
83
83
  }>;
84
- archiveDirectory(directoryId: string, options: ArchiveDirectoryOptions): Promise<import("./item2.gql").ArchiveDirectoryMutationResult>;
85
- archiveDirectoryMutation(directoryId: string, options: ArchiveDirectoryOptions): LrMutation<import("./item2.gql").ArchiveDirectoryMutationResult, {
84
+ archiveDirectory(directoryId: string, options: ArchiveDirectoryOptions): Promise<import("./item.gql").ArchiveDirectoryMutationResult>;
85
+ archiveDirectoryMutation(directoryId: string, options: ArchiveDirectoryOptions): LrMutation<import("./item.gql").ArchiveDirectoryMutationResult, {
86
86
  input: {
87
87
  directoryId: string;
88
88
  recursive: boolean;
89
89
  };
90
90
  }>;
91
- archiveFile(fileId: string): Promise<import("./item2.gql").ArchiveFileMutationResult>;
92
- archiveFileMutation(fileId: string): LrMutation<import("./item2.gql").ArchiveFileMutationResult, {
91
+ archiveFile(fileId: string): Promise<import("./item.gql").ArchiveFileMutationResult>;
92
+ archiveFileMutation(fileId: string): LrMutation<import("./item.gql").ArchiveFileMutationResult, {
93
93
  input: {
94
94
  fileId: string;
95
95
  };
96
96
  }>;
97
- unarchiveDirectory(directoryId: string, options: UnarchiveDirectoryOptions): Promise<import("./item2.gql").UnarchiveDirectoryMutationResult>;
98
- unarchiveDirectoryMutation(directoryId: string, options: UnarchiveDirectoryOptions): LrMutation<import("./item2.gql").UnarchiveDirectoryMutationResult, {
97
+ unarchiveDirectory(directoryId: string, options: UnarchiveDirectoryOptions): Promise<import("./item.gql").UnarchiveDirectoryMutationResult>;
98
+ unarchiveDirectoryMutation(directoryId: string, options: UnarchiveDirectoryOptions): LrMutation<import("./item.gql").UnarchiveDirectoryMutationResult, {
99
99
  input: {
100
100
  directoryId: string;
101
101
  recursive: boolean;
102
102
  };
103
103
  }>;
104
- unarchiveFile(fileId: string): Promise<import("./item2.gql").UnarchiveFileMutationResult>;
105
- unarchiveFileMutation(fileId: string): LrMutation<import("./item2.gql").UnarchiveFileMutationResult, {
104
+ unarchiveFile(fileId: string): Promise<import("./item.gql").UnarchiveFileMutationResult>;
105
+ unarchiveFileMutation(fileId: string): LrMutation<import("./item.gql").UnarchiveFileMutationResult, {
106
106
  input: {
107
107
  fileId: string;
108
108
  };
109
109
  }>;
110
- changeDirectoryParents(options: ChangeDirectoryParentsOptions): Promise<import("./item2.gql").ChangeDirectoryParentsMutationResult>;
111
- changeDirectoryParentsMutation(options: ChangeDirectoryParentsOptions): Promise<LrMutation<import("./item2.gql").ChangeDirectoryParentsMutationResult, {
110
+ changeDirectoryParents(options: ChangeDirectoryParentsOptions): Promise<import("./item.gql").ChangeDirectoryParentsMutationResult>;
111
+ changeDirectoryParentsMutation(options: ChangeDirectoryParentsOptions): Promise<LrMutation<import("./item.gql").ChangeDirectoryParentsMutationResult, {
112
112
  input: {
113
113
  directoryId: string;
114
114
  directoriesToRemove: string[];
115
115
  directoriesToAdd: ParentDirectoryInput[];
116
116
  };
117
117
  }>>;
118
- changeFileParents(options: ChangeFileParentsOptions): Promise<import("./item2.gql").ChangeFileParentsMutationResult>;
119
- changeFileParentsMutation(options: ChangeFileParentsOptions): Promise<LrMutation<import("./item2.gql").ChangeFileParentsMutationResult, {
118
+ changeFileParents(options: ChangeFileParentsOptions): Promise<import("./item.gql").ChangeFileParentsMutationResult>;
119
+ changeFileParentsMutation(options: ChangeFileParentsOptions): Promise<LrMutation<import("./item.gql").ChangeFileParentsMutationResult, {
120
120
  input: {
121
121
  fileId: string;
122
122
  directoriesToRemove: string[];
123
123
  directoriesToAdd: ParentDirectoryInput[];
124
124
  };
125
125
  }>>;
126
- beginDeleteChildItemLinksWindow(options: BeginDeleteChildItemLinksWindowOptions): Promise<import("./item2.gql").BeginDeleteChildItemLinksWindowMutationResult>;
126
+ beginDeleteChildItemLinksWindow(options: BeginDeleteChildItemLinksWindowOptions): Promise<import("./item.gql").BeginDeleteChildItemLinksWindowMutationResult>;
127
127
  /**
128
128
  * Schedule cleanup of the hard links in a directory.
129
129
  * The server will delete all hard link within the directory within a time window: starting from now and
@@ -134,7 +134,7 @@ export declare class Item2Service extends LrService {
134
134
  * The server has a setting that allows for a maximum value on requestWindowMs. If the requested value
135
135
  * is larger than this maximum, the call will fail.
136
136
  */
137
- beginDeleteChildItemLinksWindowMutation(options: BeginDeleteChildItemLinksWindowOptions): Promise<LrMutation<import("./item2.gql").BeginDeleteChildItemLinksWindowMutationResult, {
137
+ beginDeleteChildItemLinksWindowMutation(options: BeginDeleteChildItemLinksWindowOptions): Promise<LrMutation<import("./item.gql").BeginDeleteChildItemLinksWindowMutationResult, {
138
138
  input: BeginDeleteChildItemLinksWindowOptions;
139
139
  }>>;
140
140
  /**
@@ -149,28 +149,28 @@ export declare class Item2Service extends LrService {
149
149
  *
150
150
  */
151
151
  ensureTempDirectory(): Promise<IdKeyPair>;
152
- createDirectoryTree(options: CreateDirectoryTreeOptions): Promise<import("./item2.gql").ChangeDirectoryParentsMutationResult>;
152
+ createDirectoryTree(options: CreateDirectoryTreeOptions): Promise<import("./item.gql").ChangeDirectoryParentsMutationResult>;
153
153
  /**
154
154
  * You must run this mutation within the temp directory cleanup window on the
155
155
  * server, otherwise the temp directory will get cleaned up.
156
156
  *
157
157
  */
158
- createDirectoryTreeMutation(options: CreateDirectoryTreeOptions): Promise<LrMutation<import("./item2.gql").ChangeDirectoryParentsMutationResult, {
158
+ createDirectoryTreeMutation(options: CreateDirectoryTreeOptions): Promise<LrMutation<import("./item.gql").ChangeDirectoryParentsMutationResult, {
159
159
  input: {
160
160
  directoryId: string;
161
161
  directoriesToRemove: string[];
162
162
  directoriesToAdd: ParentDirectoryInput[];
163
163
  };
164
164
  }>>;
165
- setFileConfidential(options: SetFileConfidentialOptions): Promise<import("./item2.gql").SetFileConfidentialMutationResult>;
166
- setFileConfidentialMutation(options: SetFileConfidentialOptions): Promise<LrMutation<import("./item2.gql").SetFileConfidentialMutationResult, {
165
+ setFileConfidential(options: SetFileConfidentialOptions): Promise<import("./item.gql").SetFileConfidentialMutationResult>;
166
+ setFileConfidentialMutation(options: SetFileConfidentialOptions): Promise<LrMutation<import("./item.gql").SetFileConfidentialMutationResult, {
167
167
  input: {
168
168
  fileId: string;
169
169
  confidential: boolean;
170
170
  };
171
171
  }>>;
172
- setDirectoryConfidential(options: SetDirectoryConfidentialOptions): Promise<import("./item2.gql").SetDirectoryConfidentialMutationResult>;
173
- setDirectoryConfidentialMutation(options: SetDirectoryConfidentialOptions): Promise<LrMutation<import("./item2.gql").SetDirectoryConfidentialMutationResult, {
172
+ setDirectoryConfidential(options: SetDirectoryConfidentialOptions): Promise<import("./item.gql").SetDirectoryConfidentialMutationResult>;
173
+ setDirectoryConfidentialMutation(options: SetDirectoryConfidentialOptions): Promise<LrMutation<import("./item.gql").SetDirectoryConfidentialMutationResult, {
174
174
  input: {
175
175
  directoryId: string;
176
176
  confidential: boolean;
@@ -1,7 +1,7 @@
1
1
  import { JWK } from 'node-jose';
2
2
  import { Connection, DateTime, ID, JSONObject, JSONString, LrEmail, OtKeyCipherClearJson2 } from '../api/types';
3
3
  export declare type KeyExchangeState2 = 'IN_PROGRESS' | 'COMPLETED' | 'DECLINED' | 'CANCELLED' | 'DELETED';
4
- export interface KeyExchangeFragment {
4
+ export interface KeyExchangeFieldsResult {
5
5
  id: ID;
6
6
  token: string;
7
7
  state: KeyExchangeState2;
@@ -49,8 +49,8 @@ export interface KeyExchangeFragment {
49
49
  responderPbkCipher: string;
50
50
  };
51
51
  }
52
- export declare const KeyExchangeFragment: import("../_common/ast").TypedDocumentNode<KeyExchangeFragment>;
53
- export interface UserSharedKeyFragment {
52
+ export declare const KeyExchangeFields = "\n id\n token\n state\n mode\n isInitiator\n initiator {\n id\n username\n config\n }\n responder {\n id\n username\n }\n created\n modified\n tokenExpiryTime\n isExpired\n initiatorRootKeyCipher\n initiatorActionRequired\n responderActionRequired\n responderEmailAddress\n otk {\n state\n otKeyParams\n otKeyCipher\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n initiatorSigPxk {\n id\n }\n responderSigPxk {\n id\n }\n initiatorOneTimePbkCipher\n responderPbkCipher\n }\n";
53
+ export interface UserSharedKeyFieldsResult {
54
54
  userSigPrk: {
55
55
  id: ID;
56
56
  };
@@ -63,18 +63,26 @@ export interface UserSharedKeyFragment {
63
63
  mkSharedKey: {
64
64
  id: ID;
65
65
  };
66
+ mkPxk: {
67
+ id: ID;
68
+ pbk: JSONObject;
69
+ };
70
+ mkReshareRequestCipher: string;
71
+ mkReshareResponseCipher: string;
72
+ mkReshareRequestSent: boolean;
73
+ mkReshareResponseSent: boolean;
66
74
  }
67
- export declare const UserSharedKeyFragment: import("../_common/ast").TypedDocumentNode<UserSharedKeyFragment>;
75
+ export declare const UserSharedKeyFields = "\n userSigPrk {\n id\n }\n otherSigPbk {\n id\n }\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n mkPxk {\n id\n pbk\n }\n mkReshareRequestCipher\n mkReshareResponseCipher\n mkReshareRequestSent\n mkReshareResponseSent\n";
68
76
  export interface KeyExchangesQuery2 {
69
- keyExchanges: Connection<KeyExchangeFragment>;
77
+ keyExchanges: Connection<KeyExchangeFieldsResult>;
70
78
  }
71
79
  export declare const KeyExchangesQuery2: import("../_common/ast").TypedDocumentNode<KeyExchangesQuery2>;
72
80
  export interface KeyExchangeQuery2 {
73
- keyExchange: KeyExchangeFragment;
81
+ keyExchange: KeyExchangeFieldsResult;
74
82
  }
75
83
  export declare const KeyExchangeQuery2: import("../_common/ast").TypedDocumentNode<KeyExchangeQuery2>;
76
84
  export interface KeyExchangeTokenQuery2 {
77
- keyExchange: KeyExchangeFragment;
85
+ keyExchange: KeyExchangeFieldsResult;
78
86
  }
79
87
  export declare const KeyExchangeTokenQuery2: import("../_common/ast").TypedDocumentNode<KeyExchangeTokenQuery2>;
80
88
  export interface CancelKeyExchangeMutation {
@@ -95,33 +103,39 @@ export interface DeclineKeyExchangeMutation {
95
103
  export declare const DeclineKeyExchangeMutation: import("../_common/ast").TypedDocumentNode<DeclineKeyExchangeMutation>;
96
104
  export interface InitiateKeyExchangeOtkMutation {
97
105
  initiateKeyExchangeOtk: {
98
- keyExchange: KeyExchangeFragment;
106
+ keyExchange: KeyExchangeFieldsResult;
99
107
  };
100
108
  }
101
109
  export declare const InitiateKeyExchangeOtkMutation: import("../_common/ast").TypedDocumentNode<InitiateKeyExchangeOtkMutation>;
102
110
  export interface RespondKeyExchangeOtkMutation {
103
111
  respondKeyExchangeOtk: {
104
- keyExchange: KeyExchangeFragment;
105
- userSharedKey: UserSharedKeyFragment;
112
+ keyExchange: KeyExchangeFieldsResult;
113
+ userSharedKey: UserSharedKeyFieldsResult;
106
114
  tp: {
107
115
  id: ID;
116
+ user: {
117
+ config: unknown;
118
+ };
108
119
  };
109
120
  };
110
121
  }
111
122
  export declare const RespondKeyExchangeOtkMutation: import("../_common/ast").TypedDocumentNode<RespondKeyExchangeOtkMutation>;
112
123
  export interface CompleteKeyExchangeOtkMutation {
113
124
  completeKeyExchangeOtk: {
114
- keyExchange: KeyExchangeFragment;
115
- userSharedKey: UserSharedKeyFragment;
125
+ keyExchange: KeyExchangeFieldsResult;
126
+ userSharedKey: UserSharedKeyFieldsResult;
116
127
  tp: {
117
128
  id: ID;
129
+ user: {
130
+ config: unknown;
131
+ };
118
132
  };
119
133
  };
120
134
  }
121
135
  export declare const CompleteKeyExchangeOtkMutation: import("../_common/ast").TypedDocumentNode<CompleteKeyExchangeOtkMutation>;
122
136
  export interface CurrentUserSharedKeyQuery2 {
123
137
  currentUserSharedKey: {
124
- userSharedKey: UserSharedKeyFragment;
138
+ userSharedKey: UserSharedKeyFieldsResult;
125
139
  };
126
140
  }
127
141
  export declare const CurrentUserSharedKeyQuery2: import("../_common/ast").TypedDocumentNode<CurrentUserSharedKeyQuery2>;
@@ -7,7 +7,7 @@ import { EncryptionService } from '../encryption/encryption.service';
7
7
  import { KeyFactoryService } from '../key/key-factory.service';
8
8
  import { KeyGraphService } from '../key/key-graph.service';
9
9
  import { KeyService } from '../key/key.service';
10
- import { CancelKeyExchangeMutation, CompleteKeyExchangeOtkMutation, CurrentUserSharedKeyQuery2, DeclineKeyExchangeMutation, InitiateKeyExchangeOtkMutation, KeyExchangeFragment, KeyExchangeState2, RespondKeyExchangeOtkMutation } from './key-exchange2.gql';
10
+ import { CancelKeyExchangeMutation, CompleteKeyExchangeOtkMutation, CurrentUserSharedKeyQuery2, DeclineKeyExchangeMutation, InitiateKeyExchangeOtkMutation, KeyExchangeFieldsResult, KeyExchangeState2, RespondKeyExchangeOtkMutation } from './key-exchange.gql';
11
11
  /**
12
12
  * The decrypted content of the one-time key cipher;
13
13
  * When user supplies this information the lib doesn't need to do another API call
@@ -80,7 +80,7 @@ export interface GetKeyExchangeOptions2 {
80
80
  otKeyK?: string;
81
81
  token?: string;
82
82
  }
83
- export declare class KeyExchange2Service extends LrService {
83
+ export declare class KeyExchangeService extends LrService {
84
84
  private ngZone;
85
85
  private injector;
86
86
  private keyFactory;
@@ -94,17 +94,17 @@ export declare class KeyExchange2Service extends LrService {
94
94
  private decryptResponseCipher;
95
95
  private decryptKeyExchangeAsInitiator;
96
96
  private decryptKeyExchangeAsResponder;
97
- decryptKeyExchange(keyExchange: KeyExchangeFragment, otKeyK?: string): Promise<KeyExchangeFragment>;
97
+ decryptKeyExchange(keyExchange: KeyExchangeFieldsResult, otKeyK?: string): Promise<KeyExchangeFieldsResult>;
98
98
  getKeyExchanges({ state }?: {
99
99
  state?: KeyExchangeState2;
100
- }): Promise<KeyExchangeFragment[]>;
100
+ }): Promise<KeyExchangeFieldsResult[]>;
101
101
  /**
102
102
  * @param id If the current user can responder the key exchange if they are either the initiator or the receiver.
103
103
  * @param token If not signed in, or not the initiator or responder, 'token' must be given.
104
104
  * @param otKeyK Is the raw one-time key (string). If the responder is explicitly specified at time of initiation, then
105
105
  * it's possible to have the otKey wrapped by the public key of the responder. In which case, the otKeyK is not needed.
106
106
  */
107
- getKeyExchange(id: string, { otKeyK, token }?: GetKeyExchangeOptions2): Promise<KeyExchangeFragment>;
107
+ getKeyExchange(id: string, { otKeyK, token }?: GetKeyExchangeOptions2): Promise<KeyExchangeFieldsResult>;
108
108
  getCurrentUserSharedKey(input: {
109
109
  username?: string;
110
110
  userId?: string;
@@ -2,10 +2,8 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { AuthClass } from '@aws-amplify/auth/lib-esm/Auth';
3
3
  import { JWK } from 'node-jose';
4
4
  import { LrApolloService } from '../api/lr-apollo.service';
5
- import { Auth2Service } from '../auth2/auth2.service';
6
5
  import { EncryptionService } from '../encryption/encryption.service';
7
6
  import { KeyFactoryService as KFS } from '../key/key-factory.service';
8
- import { KeyGraphService } from '../key/key-graph.service';
9
7
  import { KeyService } from '../key/key.service';
10
8
  import { PassKeyParams } from '../key/key.types';
11
9
  import { KcConfig } from '../life-ready.config';
@@ -80,15 +78,13 @@ export declare class LbopService {
80
78
  private http;
81
79
  private lrApollo;
82
80
  private auth;
83
- private auth2Service;
84
81
  private keyFactory;
85
82
  private keyService;
86
83
  private encryptionService;
87
- private keyGraph;
88
84
  private passwordService;
89
85
  private readonly CLIENT_NONCE_LENGTH;
90
86
  private readonly LBOP_WORDS;
91
- constructor(config: KcConfig, http: HttpClient, lrApollo: LrApolloService, auth: AuthClass, auth2Service: Auth2Service, keyFactory: KFS, keyService: KeyService, encryptionService: EncryptionService, keyGraph: KeyGraphService, passwordService: PasswordService);
87
+ constructor(config: KcConfig, http: HttpClient, lrApollo: LrApolloService, auth: AuthClass, keyFactory: KFS, keyService: KeyService, encryptionService: EncryptionService, passwordService: PasswordService);
92
88
  private getPartial;
93
89
  remove(id: string): Promise<string>;
94
90
  update({ id, name }: UpdateLbopParams): Promise<Lbop>;
@@ -2,7 +2,7 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { AuthClass } from '@aws-amplify/auth/lib-esm/Auth';
3
3
  import { Duration } from 'moment';
4
4
  import { JWK } from 'node-jose';
5
- import { PassKeyBundle } from '../auth2/auth2.types';
5
+ import { PassKeyBundle } from '../auth/auth.types';
6
6
  import { EncryptionService } from '../encryption/encryption.service';
7
7
  import { KeyFactoryService as KFS } from '../key/key-factory.service';
8
8
  import { KeyGraphService } from '../key/key-graph.service';
@@ -1,20 +1,20 @@
1
1
  import { Injector, NgZone } from '@angular/core';
2
2
  import { LrMutation, LrService } from '../api/lr-graphql';
3
3
  import { LrRelayIdInput } from '../api/types';
4
- import { CancelPlanOptions, ChangePriceOptionOptions, IssuePlanOptions } from './plan2.types';
5
- export declare class Plan2Service extends LrService {
4
+ import { CancelPlanOptions, ChangePriceOptionOptions, IssuePlanOptions } from './plan.types';
5
+ export declare class PlanService extends LrService {
6
6
  private ngZone;
7
7
  private injector;
8
8
  constructor(ngZone: NgZone, injector: Injector);
9
- initiateStripePaymentMethodCapture(): Promise<import("./plan2.gql").InitiateStripePaymentMethodCaptureMutationResult>;
9
+ initiateStripePaymentMethodCapture(): Promise<import("./plan.gql").InitiateStripePaymentMethodCaptureMutationResult>;
10
10
  /**
11
11
  * Starts a stripe payment capture intent. On intent can only add one card.
12
12
  * @returns Promise that resolves to a mutation
13
13
  */
14
- initiateStripePaymentMethodCaptureMutation(): LrMutation<import("./plan2.gql").InitiateStripePaymentMethodCaptureMutationResult, {
14
+ initiateStripePaymentMethodCaptureMutation(): LrMutation<import("./plan.gql").InitiateStripePaymentMethodCaptureMutationResult, {
15
15
  input: {};
16
16
  }>;
17
- completeStripePaymentMethodCapture(stripeIntentId: string): Promise<import("./plan2.gql").CompleteStripePaymentMethodCaptureMutationResult>;
17
+ completeStripePaymentMethodCapture(stripeIntentId: string): Promise<import("./plan.gql").CompleteStripePaymentMethodCaptureMutationResult>;
18
18
  /**
19
19
  * Completes the payment capture intent. Call this after calling stripe.confirmCardSetup.
20
20
  *
@@ -23,33 +23,33 @@ export declare class Plan2Service extends LrService {
23
23
  *
24
24
  * @returns Promise that resolves to a mutation with the just created PaymentMethodNode
25
25
  */
26
- completeStripePaymentMethodCaptureMutation(stripeIntentId: string): LrMutation<import("./plan2.gql").CompleteStripePaymentMethodCaptureMutationResult, {
26
+ completeStripePaymentMethodCaptureMutation(stripeIntentId: string): LrMutation<import("./plan.gql").CompleteStripePaymentMethodCaptureMutationResult, {
27
27
  input: {
28
28
  stripeIntentId: string;
29
29
  };
30
30
  }>;
31
- setDefaultPaymentMethod(paymentMethodId: LrRelayIdInput): Promise<import("./plan2.gql").SetDefaultPaymentMethodMutationResult>;
31
+ setDefaultPaymentMethod(paymentMethodId: LrRelayIdInput): Promise<import("./plan.gql").SetDefaultPaymentMethodMutationResult>;
32
32
  /**
33
33
  * Mutation that sets the default payment method for the current user.
34
34
  *
35
35
  * @param paymentMethodId The id from PaymentMethodNode
36
36
  * @returns Promise that resolves to a mutation
37
37
  */
38
- setDefaultPaymentMethodMutation(paymentMethodId: LrRelayIdInput): LrMutation<import("./plan2.gql").SetDefaultPaymentMethodMutationResult, {
38
+ setDefaultPaymentMethodMutation(paymentMethodId: LrRelayIdInput): LrMutation<import("./plan.gql").SetDefaultPaymentMethodMutationResult, {
39
39
  input: {
40
40
  paymentMethodId: string;
41
41
  };
42
42
  }>;
43
- removeDefaultPaymentMethod(): Promise<import("./plan2.gql").RemoveDefaultPaymentMethodMutationResult>;
43
+ removeDefaultPaymentMethod(): Promise<import("./plan.gql").RemoveDefaultPaymentMethodMutationResult>;
44
44
  /**
45
45
  * Mutation that removes a the default payment method
46
46
  *
47
47
  * @returns Promise that resolves to a mutation
48
48
  */
49
- removeDefaultPaymentMethodMutation(): LrMutation<import("./plan2.gql").RemoveDefaultPaymentMethodMutationResult, {
49
+ removeDefaultPaymentMethodMutation(): LrMutation<import("./plan.gql").RemoveDefaultPaymentMethodMutationResult, {
50
50
  input: {};
51
51
  }>;
52
- issuePlan(options: IssuePlanOptions): Promise<import("./plan2.gql").IssuePlanMutationResult>;
52
+ issuePlan(options: IssuePlanOptions): Promise<import("./plan.gql").IssuePlanMutationResult>;
53
53
  /**
54
54
  * Mutation that issues a new plan for the current user.
55
55
  *
@@ -59,22 +59,22 @@ export declare class Plan2Service extends LrService {
59
59
  * @param options.promotionalCode promotion code where applicable
60
60
  * @returns Promise that resolves to a mutation
61
61
  */
62
- issuePlanMutation(options: IssuePlanOptions): LrMutation<import("./plan2.gql").IssuePlanMutationResult, {
62
+ issuePlanMutation(options: IssuePlanOptions): LrMutation<import("./plan.gql").IssuePlanMutationResult, {
63
63
  input: IssuePlanOptions;
64
64
  }>;
65
- removePaymentMethod(paymentMethodId: string): Promise<import("./plan2.gql").RemovePaymentMethodMutationResult>;
65
+ removePaymentMethod(paymentMethodId: string): Promise<import("./plan.gql").RemovePaymentMethodMutationResult>;
66
66
  /**
67
67
  * Mutation that removes a payment method for the current user
68
68
  *
69
69
  * @param paymentMethodId The id from PaymentMethodNode
70
70
  * @returns Promise that resolves to a mutation
71
71
  */
72
- removePaymentMethodMutation(paymentMethodId: LrRelayIdInput): LrMutation<import("./plan2.gql").RemovePaymentMethodMutationResult, {
72
+ removePaymentMethodMutation(paymentMethodId: LrRelayIdInput): LrMutation<import("./plan.gql").RemovePaymentMethodMutationResult, {
73
73
  input: {
74
74
  paymentMethodId: string;
75
75
  };
76
76
  }>;
77
- cancelPlan(options: CancelPlanOptions): Promise<import("./plan2.gql").CancelPlanMutationResult>;
77
+ cancelPlan(options: CancelPlanOptions): Promise<import("./plan.gql").CancelPlanMutationResult>;
78
78
  /**
79
79
  * Mutation that removes a payment method for the current user
80
80
  *
@@ -82,10 +82,10 @@ export declare class Plan2Service extends LrService {
82
82
  * @param options.immediate If true, cancel plan effective immediately. Default false.
83
83
  * @returns Promise that resolves to a mutation
84
84
  */
85
- cancelPlanMutation(options: CancelPlanOptions): LrMutation<import("./plan2.gql").CancelPlanMutationResult, {
85
+ cancelPlanMutation(options: CancelPlanOptions): LrMutation<import("./plan.gql").CancelPlanMutationResult, {
86
86
  input: CancelPlanOptions;
87
87
  }>;
88
- changePriceOption(options: ChangePriceOptionOptions): Promise<import("./plan2.gql").ChangePriceOptionMutationResult>;
88
+ changePriceOption(options: ChangePriceOptionOptions): Promise<import("./plan.gql").ChangePriceOptionMutationResult>;
89
89
  /**
90
90
  * Change the price option for a plan.
91
91
  *
@@ -93,17 +93,17 @@ export declare class Plan2Service extends LrService {
93
93
  * @param options.priceId The priceId from PriceOptionField (eg. inside AvailablePlanField)
94
94
  * @returns Promise that resolves to a mutation
95
95
  */
96
- changePriceOptionMutation(options: ChangePriceOptionOptions): LrMutation<import("./plan2.gql").ChangePriceOptionMutationResult, {
96
+ changePriceOptionMutation(options: ChangePriceOptionOptions): LrMutation<import("./plan.gql").ChangePriceOptionMutationResult, {
97
97
  input: ChangePriceOptionOptions;
98
98
  }>;
99
- reactivatePlan(planId: LrRelayIdInput): Promise<import("./plan2.gql").ReactivatePlanMutationResult>;
99
+ reactivatePlan(planId: LrRelayIdInput): Promise<import("./plan.gql").ReactivatePlanMutationResult>;
100
100
  /**
101
101
  * Reactivate a cancelled plan with a specified price option.
102
102
  *
103
103
  * @param options.planId The id from IssuedPlanNode
104
104
  * @returns Promise that resolves to a mutation
105
105
  */
106
- reactivatePlanMutation(planId: LrRelayIdInput): LrMutation<import("./plan2.gql").ReactivatePlanMutationResult, {
106
+ reactivatePlanMutation(planId: LrRelayIdInput): LrMutation<import("./plan.gql").ReactivatePlanMutationResult, {
107
107
  input: {
108
108
  planId: string;
109
109
  };
@@ -2,8 +2,6 @@ import { Connection, ContactCardNode, TpNode } from '../api/types';
2
2
  import { HasKeyGraph } from '../key/key.types';
3
3
  import { HasEdges } from './../_common/types';
4
4
  import { ApiContactCard, ApiCurrentUser } from './profile.types';
5
- export declare const UserSharedKeyFields = "\n userSigPrk {\n id\n }\n otherSigPbk {\n id\n }\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n mkPxk {\n id\n pbk\n }\n mkReshareRequestCipher\n mkReshareResponseCipher\n mkReshareRequestSent\n mkReshareResponseSent\n";
6
- export declare const KeyExchangeFields = "\n id\n token\n state\n mode\n isInitiator\n initiator {\n id\n username\n }\n responder {\n id\n username\n }\n created\n modified\n tokenExpiryTime\n isExpired\n initiatorRootKeyCipher\n initiatorActionRequired\n responderActionRequired\n responderEmailAddress\n otk {\n state\n otKeyParams\n otKeyCipher\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n initiatorSigPxk {\n id\n }\n responderSigPxk {\n id\n }\n initiatorOneTimePbkCipher\n responderPbkCipher\n}";
7
5
  export declare const TrustedPartyProperties: string;
8
6
  export interface CurrentUserQueryType extends HasKeyGraph {
9
7
  currentUser: ApiCurrentUser;
@@ -6,7 +6,7 @@ import { KeyGraphService } from '../key/key-graph.service';
6
6
  import { KeyMetaService } from '../key/key-meta.service';
7
7
  import { KeyService } from '../key/key.service';
8
8
  import { KcConfig } from '../life-ready.config';
9
- import { ApiContactCard, ApiCurrentUser, MainContactCard, MainContactCardFields, PassIdpApiResult } from './profile.types';
9
+ import { ApiContactCard, ApiCurrentUser, MainContactCard, MainContactCardFields } from './profile.types';
10
10
  export declare class ProfileService {
11
11
  private config;
12
12
  private http;
@@ -16,7 +16,6 @@ export declare class ProfileService {
16
16
  private keyGraph;
17
17
  private encryptionService;
18
18
  constructor(config: KcConfig, http: HttpClient, lrApollo: LrApolloService, keyService: KeyService, keyMetaService: KeyMetaService, keyGraph: KeyGraphService, encryptionService: EncryptionService);
19
- getPassIdpParams(emailOrPhone: string): Promise<PassIdpApiResult>;
20
19
  getCurrentUser(): Promise<{
21
20
  currentUser: ApiCurrentUser;
22
21
  contactCard: ApiContactCard;
@@ -1,6 +1,6 @@
1
1
  import { DateTime, UserDeleteNode, UserSharedKeyNode } from '../api/types';
2
- import { IdKeyPair } from '../item2/item2.types';
3
- import { PassIdpParams, PassKey } from '../key/key.types';
2
+ import { IdKeyPair } from '../item/item.types';
3
+ import { PassKey } from '../key/key.types';
4
4
  export declare enum FeatureAction {
5
5
  ACCESS = "access"
6
6
  }
@@ -79,19 +79,6 @@ export interface MainContactCard extends IdKeyPair {
79
79
  export declare class MainContactCardPlainFields {
80
80
  name: ContactCardName;
81
81
  }
82
- export declare enum PasswordChangeStatus {
83
- InProgress = "IN_PROGRESS",
84
- Recovery = "RECOVERY"
85
- }
86
- export declare class PassIdpApiResult {
87
- passwordChangeStatus?: PasswordChangeStatus;
88
- currentPassIdpParams: PassIdpParams;
89
- newPassIdpParams: PassIdpParams;
90
- tpPasswordReset: {
91
- passIdpParams: PassIdpParams;
92
- resetUsername: string;
93
- };
94
- }
95
82
  export declare class TrustedPartyDetails {
96
83
  name: ContactCardName;
97
84
  email?: string;
@@ -1,7 +1,7 @@
1
1
  import { Injector, NgZone } from '@angular/core';
2
2
  import { LrMergedMutation, LrMutation, LrService } from '../api/lr-graphql';
3
3
  import { EncryptionService } from '../encryption/encryption.service';
4
- import { Item2Service } from '../item2/item2.service';
4
+ import { ItemService } from '../item/item.service';
5
5
  import { KeyGraphService } from '../key/key-graph.service';
6
6
  import { ScenarioAssemblyController } from './scenario.controller';
7
7
  import { CreateScenarioOptions, ResetScenarioOptions, UpdateScenarioOptions } from './scenario.types';
@@ -11,10 +11,10 @@ export declare class ScenarioService extends LrService {
11
11
  private ngZone;
12
12
  private injector;
13
13
  private keyGraph;
14
- private item2Service;
14
+ private itemService;
15
15
  private assemblyController;
16
16
  private encryptionService;
17
- constructor(ngZone: NgZone, injector: Injector, keyGraph: KeyGraphService, item2Service: Item2Service, assemblyController: ScenarioAssemblyController, encryptionService: EncryptionService);
17
+ constructor(ngZone: NgZone, injector: Injector, keyGraph: KeyGraphService, itemService: ItemService, assemblyController: ScenarioAssemblyController, encryptionService: EncryptionService);
18
18
  static SLIP39_PASSPHRASE: string;
19
19
  private prepareAddReceiverDirectory;
20
20
  private prepareUpdateReceiverDirectory;
@@ -2,7 +2,7 @@ import { NgZone } from '@angular/core';
2
2
  import { LrGraphQLService, LrMutation } from '../api/lr-graphql';
3
3
  import { LrRelayIdInput } from '../api/types';
4
4
  import { EncryptionService } from '../encryption/encryption.service';
5
- import { ContactCardReceiverCipherData, SendContactCardInput } from '../key-exchange/key-exchange2.service';
5
+ import { ContactCardReceiverCipherData, SendContactCardInput } from '../key-exchange/key-exchange.service';
6
6
  import { KeyGraphService } from '../key/key-graph.service';
7
7
  import { KeyService } from '../key/key.service';
8
8
  import { UpdateOwnedContactCardMutation, UpdateReceivedContactCardMutation } from './shared-contact-card2.gql';