@propxchain/core-client 0.2.1 → 0.3.0-canary.24
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.
- package/README.md +2 -3
- package/dist/auth.d.ts +7 -7
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +5 -5
- package/dist/auth.js.map +1 -1
- package/dist/canisters/document_storage/document_storage.did.d.ts.map +1 -1
- package/dist/canisters/document_storage/document_storage.did.js +90 -21
- package/dist/canisters/document_storage/document_storage.did.js.map +1 -1
- package/dist/canisters/document_verification/document_verification.did.d.ts.map +1 -1
- package/dist/canisters/document_verification/document_verification.did.js +132 -0
- package/dist/canisters/document_verification/document_verification.did.js.map +1 -1
- package/dist/canisters/email_service/email_service.did.d.ts.map +1 -1
- package/dist/canisters/email_service/email_service.did.js +40 -0
- package/dist/canisters/email_service/email_service.did.js.map +1 -1
- package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts.map +1 -1
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js +186 -12
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js.map +1 -1
- package/dist/canisters/ledger_manager/ledger_manager.did.d.ts.map +1 -1
- package/dist/canisters/ledger_manager/ledger_manager.did.js +55 -0
- package/dist/canisters/ledger_manager/ledger_manager.did.js.map +1 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.d.ts.map +1 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.js +338 -40
- package/dist/canisters/transaction_manager/transaction_manager.did.js.map +1 -1
- package/dist/canisters/user_management/user_management.did.d.ts.map +1 -1
- package/dist/canisters/user_management/user_management.did.js +122 -2
- package/dist/canisters/user_management/user_management.did.js.map +1 -1
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/mock.js +1 -1
- package/dist/mock.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -6
- package/src/auth.ts +8 -9
- package/src/canisters/document_storage/document_storage.did +82 -12
- package/src/canisters/document_storage/document_storage.did.d.ts +86 -9
- package/src/canisters/document_storage/document_storage.did.js +128 -19
- package/src/canisters/document_verification/document_verification.did +150 -0
- package/src/canisters/document_verification/document_verification.did.d.ts +125 -1
- package/src/canisters/document_verification/document_verification.did.js +160 -0
- package/src/canisters/email_service/email_service.did +49 -0
- package/src/canisters/email_service/email_service.did.d.ts +49 -2
- package/src/canisters/email_service/email_service.did.js +68 -0
- package/src/canisters/land_registry_integration/land_registry_integration.did +118 -19
- package/src/canisters/land_registry_integration/land_registry_integration.did.d.ts +89 -19
- package/src/canisters/land_registry_integration/land_registry_integration.did.js +213 -11
- package/src/canisters/ledger_manager/ledger_manager.did +78 -0
- package/src/canisters/ledger_manager/ledger_manager.did.d.ts +66 -0
- package/src/canisters/ledger_manager/ledger_manager.did.js +75 -0
- package/src/canisters/transaction_manager/transaction_manager.did +438 -47
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +379 -36
- package/src/canisters/transaction_manager/transaction_manager.did.js +346 -40
- package/src/canisters/user_management/user_management.did +153 -3
- package/src/canisters/user_management/user_management.did.d.ts +121 -2
- package/src/canisters/user_management/user_management.did.js +166 -6
- package/src/client.ts +1 -1
- package/src/index.ts +2 -2
- package/src/mock.ts +1 -1
- package/src/types.ts +1 -1
|
@@ -19,6 +19,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
19
19
|
'solicitor_managed' : IDL.Null,
|
|
20
20
|
'assisted_buyer' : IDL.Null,
|
|
21
21
|
});
|
|
22
|
+
const Result_1 = IDL.Variant({ 'ok' : IDL.Text, 'err' : IDL.Text });
|
|
22
23
|
const Permission = IDL.Variant({
|
|
23
24
|
'ViewTransactionProgress' : IDL.Text,
|
|
24
25
|
'ViewSharedTransaction' : IDL.Text,
|
|
@@ -29,7 +30,36 @@ export const idlFactory = ({ IDL }) => {
|
|
|
29
30
|
'AdminManageUsers' : IDL.Null,
|
|
30
31
|
'UpdateMemberDocuments' : IDL.Tuple(IDL.Text, IDL.Principal),
|
|
31
32
|
});
|
|
33
|
+
const Result_4 = IDL.Variant({ 'ok' : IDL.Null, 'err' : IDL.Text });
|
|
34
|
+
const AdminMutationError = IDL.Variant({
|
|
35
|
+
'targetIsAnonymous' : IDL.Null,
|
|
36
|
+
'cannotDemoteController' : IDL.Null,
|
|
37
|
+
'notSuperAdmin' : IDL.Null,
|
|
38
|
+
'invalidCsrfToken' : IDL.Null,
|
|
39
|
+
'anonymousCaller' : IDL.Null,
|
|
40
|
+
'cannotDemoteLastSuperAdmin' : IDL.Null,
|
|
41
|
+
});
|
|
42
|
+
const AdminMutationResult_1 = IDL.Variant({
|
|
43
|
+
'ok' : IDL.Null,
|
|
44
|
+
'err' : AdminMutationError,
|
|
45
|
+
});
|
|
32
46
|
const Time = IDL.Int;
|
|
47
|
+
const BotRole = IDL.Variant({
|
|
48
|
+
'BotFirm' : IDL.Null,
|
|
49
|
+
'BotInternal' : IDL.Null,
|
|
50
|
+
'BotPersonal' : IDL.Null,
|
|
51
|
+
});
|
|
52
|
+
const BotAgent = IDL.Record({
|
|
53
|
+
'ownerPrincipal' : IDL.Principal,
|
|
54
|
+
'name' : IDL.Text,
|
|
55
|
+
'createdAt' : Time,
|
|
56
|
+
'role' : BotRole,
|
|
57
|
+
'description' : IDL.Text,
|
|
58
|
+
'isActive' : IDL.Bool,
|
|
59
|
+
'callCount' : IDL.Nat,
|
|
60
|
+
'lastActive' : Time,
|
|
61
|
+
'botPrincipal' : IDL.Principal,
|
|
62
|
+
});
|
|
33
63
|
const UserRole = IDL.Variant({
|
|
34
64
|
'admin' : IDL.Null,
|
|
35
65
|
'solicitor' : IDL.Null,
|
|
@@ -42,30 +72,66 @@ export const idlFactory = ({ IDL }) => {
|
|
|
42
72
|
'userType' : UserType,
|
|
43
73
|
'principal' : IDL.Principal,
|
|
44
74
|
'managedBySolicitor' : IDL.Opt(IDL.Principal),
|
|
75
|
+
'firmSRANumber' : IDL.Opt(IDL.Text),
|
|
45
76
|
'emailVerified' : IDL.Bool,
|
|
46
77
|
'name' : IDL.Text,
|
|
47
78
|
'createdAt' : Time,
|
|
48
79
|
'role' : IDL.Opt(UserRole),
|
|
80
|
+
'businessGatewayUsername' : IDL.Opt(IDL.Text),
|
|
49
81
|
'email' : IDL.Text,
|
|
50
82
|
'lawFirmName' : IDL.Opt(IDL.Text),
|
|
51
83
|
'isVerified' : IDL.Bool,
|
|
52
84
|
'clientPrincipals' : IDL.Vec(IDL.Principal),
|
|
85
|
+
'businessGatewayEnabled' : IDL.Bool,
|
|
53
86
|
'emailVerificationSentAt' : IDL.Opt(Time),
|
|
54
87
|
'emailVerificationToken' : IDL.Opt(IDL.Text),
|
|
88
|
+
'conveyancerReference' : IDL.Opt(IDL.Text),
|
|
55
89
|
'mobile' : IDL.Text,
|
|
56
90
|
'solicitorLicenseNumber' : IDL.Opt(IDL.Text),
|
|
91
|
+
'sraNumber' : IDL.Opt(IDL.Text),
|
|
57
92
|
'lawFirmAddress' : IDL.Opt(IDL.Text),
|
|
58
93
|
});
|
|
94
|
+
const ActorType = IDL.Variant({
|
|
95
|
+
'agent' : IDL.Null,
|
|
96
|
+
'systemActor' : IDL.Null,
|
|
97
|
+
'user' : IDL.Null,
|
|
98
|
+
});
|
|
59
99
|
const AuditLog = IDL.Record({
|
|
60
100
|
'id' : IDL.Nat,
|
|
61
101
|
'action' : IDL.Text,
|
|
102
|
+
'actorType' : ActorType,
|
|
62
103
|
'metadata' : IDL.Text,
|
|
104
|
+
'delegatedBy' : IDL.Opt(IDL.Principal),
|
|
63
105
|
'targetPrincipal' : IDL.Opt(IDL.Principal),
|
|
64
106
|
'timestamp' : Time,
|
|
65
107
|
'success' : IDL.Bool,
|
|
66
108
|
'actorPrincipal' : IDL.Principal,
|
|
67
109
|
'transactionId' : IDL.Opt(IDL.Text),
|
|
68
110
|
});
|
|
111
|
+
const BotActionLog = IDL.Record({
|
|
112
|
+
'id' : IDL.Nat,
|
|
113
|
+
'action' : IDL.Text,
|
|
114
|
+
'metadata' : IDL.Text,
|
|
115
|
+
'timestamp' : Time,
|
|
116
|
+
'success' : IDL.Bool,
|
|
117
|
+
'botPrincipal' : IDL.Principal,
|
|
118
|
+
'transactionId' : IDL.Opt(IDL.Text),
|
|
119
|
+
});
|
|
120
|
+
const SolicitorSubmissionDetails = IDL.Record({
|
|
121
|
+
'firmSRANumber' : IDL.Opt(IDL.Text),
|
|
122
|
+
'fullName' : IDL.Text,
|
|
123
|
+
'firmName' : IDL.Text,
|
|
124
|
+
'email' : IDL.Text,
|
|
125
|
+
'businessGatewayEnabled' : IDL.Bool,
|
|
126
|
+
'conveyancerReference' : IDL.Opt(IDL.Text),
|
|
127
|
+
'sraNumber' : IDL.Text,
|
|
128
|
+
'principalId' : IDL.Principal,
|
|
129
|
+
'firmAddress' : IDL.Text,
|
|
130
|
+
});
|
|
131
|
+
const Result_5 = IDL.Variant({
|
|
132
|
+
'ok' : SolicitorSubmissionDetails,
|
|
133
|
+
'err' : IDL.Text,
|
|
134
|
+
});
|
|
69
135
|
const TransactionMember = IDL.Record({
|
|
70
136
|
'uploadedDocuments' : IDL.Vec(IDL.Text),
|
|
71
137
|
'principal' : IDL.Principal,
|
|
@@ -87,12 +153,35 @@ export const idlFactory = ({ IDL }) => {
|
|
|
87
153
|
'blockingParties' : IDL.Vec(IDL.Principal),
|
|
88
154
|
'transactionId' : IDL.Text,
|
|
89
155
|
});
|
|
156
|
+
const AdminRole = IDL.Variant({ 'regular' : IDL.Null, 'super' : IDL.Null });
|
|
157
|
+
const AdminRecord = IDL.Record({
|
|
158
|
+
'principal' : IDL.Principal,
|
|
159
|
+
'grantedAt' : Time,
|
|
160
|
+
'grantedBy' : IDL.Principal,
|
|
161
|
+
'note' : IDL.Opt(IDL.Text),
|
|
162
|
+
'role' : AdminRole,
|
|
163
|
+
});
|
|
164
|
+
const AdminMutationResult = IDL.Variant({
|
|
165
|
+
'ok' : AdminRecord,
|
|
166
|
+
'err' : AdminMutationError,
|
|
167
|
+
});
|
|
168
|
+
const Result_3 = IDL.Variant({ 'ok' : IDL.Nat, 'err' : IDL.Text });
|
|
169
|
+
const Result_2 = IDL.Variant({ 'ok' : BotAgent, 'err' : IDL.Text });
|
|
170
|
+
const Result = IDL.Variant({
|
|
171
|
+
'ok' : IDL.Record({ 'ownerPrincipal' : IDL.Principal, 'role' : BotRole }),
|
|
172
|
+
'err' : IDL.Text,
|
|
173
|
+
});
|
|
90
174
|
return IDL.Service({
|
|
91
175
|
'addTransactionMember' : IDL.Func(
|
|
92
176
|
[IDL.Text, IDL.Principal, UserType, IDL.Bool, IDL.Bool, IDL.Text],
|
|
93
177
|
[IDL.Bool],
|
|
94
178
|
[],
|
|
95
179
|
),
|
|
180
|
+
'adminLinkPrincipals' : IDL.Func(
|
|
181
|
+
[IDL.Principal, IDL.Principal],
|
|
182
|
+
[Result_1],
|
|
183
|
+
[],
|
|
184
|
+
),
|
|
96
185
|
'amIAdmin' : IDL.Func([], [IDL.Bool], ['query']),
|
|
97
186
|
'bootstrapAdmin' : IDL.Func([IDL.Text, IDL.Text], [IDL.Bool], []),
|
|
98
187
|
'canUserAccessTransaction' : IDL.Func(
|
|
@@ -101,25 +190,52 @@ export const idlFactory = ({ IDL }) => {
|
|
|
101
190
|
['query'],
|
|
102
191
|
),
|
|
103
192
|
'checkPermissionWithAudit' : IDL.Func([Permission], [IDL.Bool], []),
|
|
193
|
+
'claimLinkCode' : IDL.Func([IDL.Text], [Result_1], []),
|
|
104
194
|
'createUserForPrincipal' : IDL.Func(
|
|
105
195
|
[IDL.Principal, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
|
|
106
196
|
[IDL.Bool],
|
|
107
197
|
[],
|
|
108
198
|
),
|
|
199
|
+
'deactivateBot' : IDL.Func([IDL.Principal], [Result_4], []),
|
|
109
200
|
'deleteUserByPrincipal' : IDL.Func(
|
|
110
201
|
[IDL.Principal, IDL.Text],
|
|
111
202
|
[IDL.Bool],
|
|
112
203
|
[],
|
|
113
204
|
),
|
|
205
|
+
'demoteAdmin' : IDL.Func(
|
|
206
|
+
[IDL.Principal, IDL.Text],
|
|
207
|
+
[AdminMutationResult_1],
|
|
208
|
+
[],
|
|
209
|
+
),
|
|
114
210
|
'generateCSRFToken' : IDL.Func([], [IDL.Text], []),
|
|
211
|
+
'generateLinkCode' : IDL.Func([], [Result_1], []),
|
|
212
|
+
'getAllBots' : IDL.Func([], [IDL.Vec(BotAgent)], ['query']),
|
|
115
213
|
'getAllUsers' : IDL.Func([], [IDL.Vec(UserProfile)], ['query']),
|
|
116
214
|
'getAuditLogs' : IDL.Func([IDL.Nat], [IDL.Vec(AuditLog)], ['query']),
|
|
215
|
+
'getBotActionLogs' : IDL.Func(
|
|
216
|
+
[IDL.Principal, IDL.Nat],
|
|
217
|
+
[IDL.Vec(BotActionLog)],
|
|
218
|
+
['query'],
|
|
219
|
+
),
|
|
220
|
+
'getBotAgent' : IDL.Func([IDL.Principal], [IDL.Opt(BotAgent)], ['query']),
|
|
117
221
|
'getCSRFToken' : IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
|
|
118
222
|
'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
|
|
223
|
+
'getLinkedPrincipals' : IDL.Func(
|
|
224
|
+
[IDL.Principal],
|
|
225
|
+
[IDL.Vec(IDL.Principal)],
|
|
226
|
+
['query'],
|
|
227
|
+
),
|
|
228
|
+
'getMyBots' : IDL.Func([], [IDL.Vec(BotAgent)], ['query']),
|
|
229
|
+
'getMyLinkedPrincipals' : IDL.Func([], [IDL.Vec(IDL.Principal)], ['query']),
|
|
119
230
|
'getMyManagingSolicitor' : IDL.Func([], [IDL.Opt(UserProfile)], ['query']),
|
|
120
231
|
'getMyProfile' : IDL.Func([], [IDL.Opt(UserProfile)], ['query']),
|
|
121
232
|
'getMyProfileUpdate' : IDL.Func([], [IDL.Opt(UserProfile)], []),
|
|
122
233
|
'getMySolicitorClients' : IDL.Func([], [IDL.Vec(UserProfile)], ['query']),
|
|
234
|
+
'getSolicitorSubmissionDetails' : IDL.Func(
|
|
235
|
+
[IDL.Principal],
|
|
236
|
+
[Result_5],
|
|
237
|
+
['query'],
|
|
238
|
+
),
|
|
123
239
|
'getTransactionMembers' : IDL.Func(
|
|
124
240
|
[IDL.Text],
|
|
125
241
|
[IDL.Opt(IDL.Vec(TransactionMember))],
|
|
@@ -135,17 +251,48 @@ export const idlFactory = ({ IDL }) => {
|
|
|
135
251
|
[IDL.Opt(UserProfile)],
|
|
136
252
|
['query'],
|
|
137
253
|
),
|
|
138
|
-
'
|
|
139
|
-
|
|
140
|
-
[IDL.
|
|
141
|
-
[
|
|
142
|
-
[],
|
|
254
|
+
'getUserProfileByPrincipal' : IDL.Func(
|
|
255
|
+
[IDL.Principal],
|
|
256
|
+
[IDL.Opt(UserProfile)],
|
|
257
|
+
['query'],
|
|
143
258
|
),
|
|
259
|
+
'hasPermission' : IDL.Func([Permission], [IDL.Bool], ['query']),
|
|
144
260
|
'linkSolicitorToClient' : IDL.Func(
|
|
145
261
|
[IDL.Principal, IDL.Bool, IDL.Text],
|
|
146
262
|
[IDL.Bool],
|
|
147
263
|
[],
|
|
148
264
|
),
|
|
265
|
+
'listAdmins' : IDL.Func([], [IDL.Vec(AdminRecord)], ['query']),
|
|
266
|
+
'logBotAction' : IDL.Func(
|
|
267
|
+
[IDL.Principal, IDL.Text, IDL.Opt(IDL.Text), IDL.Bool, IDL.Text],
|
|
268
|
+
[Result_4],
|
|
269
|
+
[],
|
|
270
|
+
),
|
|
271
|
+
'myAdminRole' : IDL.Func([], [IDL.Opt(AdminRole)], ['query']),
|
|
272
|
+
'promoteAdmin' : IDL.Func(
|
|
273
|
+
[IDL.Principal, AdminRole, IDL.Opt(IDL.Text), IDL.Text],
|
|
274
|
+
[AdminMutationResult],
|
|
275
|
+
[],
|
|
276
|
+
),
|
|
277
|
+
'reactivateBot' : IDL.Func([IDL.Principal], [Result_4], []),
|
|
278
|
+
'recordAuditEntry' : IDL.Func(
|
|
279
|
+
[
|
|
280
|
+
ActorType,
|
|
281
|
+
IDL.Opt(IDL.Principal),
|
|
282
|
+
IDL.Text,
|
|
283
|
+
IDL.Opt(IDL.Principal),
|
|
284
|
+
IDL.Opt(IDL.Text),
|
|
285
|
+
IDL.Bool,
|
|
286
|
+
IDL.Text,
|
|
287
|
+
],
|
|
288
|
+
[Result_3],
|
|
289
|
+
[],
|
|
290
|
+
),
|
|
291
|
+
'registerBot' : IDL.Func(
|
|
292
|
+
[IDL.Principal, IDL.Text, IDL.Text, BotRole],
|
|
293
|
+
[Result_2],
|
|
294
|
+
[],
|
|
295
|
+
),
|
|
149
296
|
'registerUser' : IDL.Func(
|
|
150
297
|
[IDL.Text, IDL.Text, IDL.Text, IDL.Text],
|
|
151
298
|
[IDL.Bool],
|
|
@@ -160,6 +307,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
160
307
|
IDL.Opt(IDL.Text),
|
|
161
308
|
IDL.Opt(IDL.Text),
|
|
162
309
|
IDL.Opt(IDL.Text),
|
|
310
|
+
IDL.Opt(IDL.Text),
|
|
163
311
|
IDL.Text,
|
|
164
312
|
],
|
|
165
313
|
[IDL.Bool],
|
|
@@ -171,18 +319,30 @@ export const idlFactory = ({ IDL }) => {
|
|
|
171
319
|
[IDL.Bool],
|
|
172
320
|
[],
|
|
173
321
|
),
|
|
322
|
+
'unlinkPrincipal' : IDL.Func([IDL.Principal], [Result_1], []),
|
|
174
323
|
'updateMemberDocuments' : IDL.Func(
|
|
175
324
|
[IDL.Text, IDL.Text, IDL.Text],
|
|
176
325
|
[IDL.Bool],
|
|
177
326
|
[],
|
|
178
327
|
),
|
|
328
|
+
'updateSolicitorLRDetails' : IDL.Func(
|
|
329
|
+
[
|
|
330
|
+
IDL.Opt(IDL.Text),
|
|
331
|
+
IDL.Bool,
|
|
332
|
+
IDL.Opt(IDL.Text),
|
|
333
|
+
IDL.Opt(IDL.Text),
|
|
334
|
+
IDL.Opt(IDL.Text),
|
|
335
|
+
],
|
|
336
|
+
[Result_1],
|
|
337
|
+
[],
|
|
338
|
+
),
|
|
179
339
|
'updateTransactionMemberRequiredDocs' : IDL.Func(
|
|
180
340
|
[IDL.Text, IDL.Vec(IDL.Text), IDL.Text],
|
|
181
341
|
[IDL.Bool],
|
|
182
342
|
[],
|
|
183
343
|
),
|
|
184
|
-
'upgradeToAdmin' : IDL.Func([IDL.Principal, IDL.Text], [IDL.Bool], []),
|
|
185
344
|
'validateAdmin' : IDL.Func([IDL.Principal], [IDL.Bool], ['query']),
|
|
345
|
+
'validateBot' : IDL.Func([IDL.Principal], [Result], ['query']),
|
|
186
346
|
'validateCSRFToken' : IDL.Func([IDL.Text], [IDL.Bool], []),
|
|
187
347
|
'verifyEmail' : IDL.Func([IDL.Text, IDL.Text], [IDL.Bool], []),
|
|
188
348
|
'verifyUser' : IDL.Func([IDL.Principal, IDL.Text], [IDL.Bool], []),
|
package/src/client.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Actor, HttpAgent } from "@
|
|
1
|
+
import { Actor, HttpAgent } from "@icp-sdk/core/agent";
|
|
2
2
|
import { idlFactory as transactionManagerIdl } from "./canisters/transaction_manager/index.js";
|
|
3
3
|
import { idlFactory as documentStorageIdl } from "./canisters/document_storage/index.js";
|
|
4
4
|
import { idlFactory as userManagementIdl } from "./canisters/user_management/index.js";
|
package/src/index.ts
CHANGED
|
@@ -36,6 +36,7 @@ export {
|
|
|
36
36
|
Principal,
|
|
37
37
|
Ed25519KeyIdentity,
|
|
38
38
|
AuthClient,
|
|
39
|
+
IdbStorage,
|
|
39
40
|
Actor,
|
|
40
41
|
HttpAgent,
|
|
41
42
|
type Identity,
|
|
@@ -43,8 +44,7 @@ export {
|
|
|
43
44
|
type ActorConfig,
|
|
44
45
|
type ActorMethod,
|
|
45
46
|
type AuthClientCreateOptions,
|
|
46
|
-
type
|
|
47
|
-
type IdbStorage,
|
|
47
|
+
type AuthClientSignInOptions,
|
|
48
48
|
} from "./auth.js";
|
|
49
49
|
|
|
50
50
|
export { idlFactory as transactionManagerIdl } from "./canisters/transaction_manager/index.js";
|
package/src/mock.ts
CHANGED
package/src/types.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpAgent, Identity } from "@
|
|
1
|
+
import type { HttpAgent, Identity } from "@icp-sdk/core/agent";
|
|
2
2
|
import type { TransactionManagerService } from "./canisters/transaction_manager/index.js";
|
|
3
3
|
import type { DocumentStorageService } from "./canisters/document_storage/index.js";
|
|
4
4
|
import type { UserManagementService } from "./canisters/user_management/index.js";
|