@keetanetwork/anchor 0.0.78 → 0.0.80

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 (95) hide show
  1. package/lib/anchor-external.d.ts +94 -1
  2. package/lib/anchor-external.d.ts.map +1 -1
  3. package/lib/anchor-external.generated.js +52 -3
  4. package/lib/anchor-external.generated.js.map +1 -1
  5. package/lib/anchor-external.js +126 -3
  6. package/lib/anchor-external.js.map +1 -1
  7. package/lib/anchor-metadata-server.d.ts +15 -2
  8. package/lib/anchor-metadata-server.d.ts.map +1 -1
  9. package/lib/anchor-metadata-server.js +54 -0
  10. package/lib/anchor-metadata-server.js.map +1 -1
  11. package/lib/anchor-status.d.ts +149 -0
  12. package/lib/anchor-status.d.ts.map +1 -0
  13. package/lib/anchor-status.js +93 -0
  14. package/lib/anchor-status.js.map +1 -0
  15. package/lib/chaining.d.ts +2 -1
  16. package/lib/chaining.d.ts.map +1 -1
  17. package/lib/chaining.js +67 -8
  18. package/lib/chaining.js.map +1 -1
  19. package/lib/history.d.ts +405 -0
  20. package/lib/history.d.ts.map +1 -0
  21. package/lib/history.js +723 -0
  22. package/lib/history.js.map +1 -0
  23. package/lib/http-server/index.d.ts +1 -0
  24. package/lib/http-server/index.d.ts.map +1 -1
  25. package/lib/http-server/index.js +1 -0
  26. package/lib/http-server/index.js.map +1 -1
  27. package/lib/index.d.ts +6 -1
  28. package/lib/index.d.ts.map +1 -1
  29. package/lib/index.js +3 -1
  30. package/lib/index.js.map +1 -1
  31. package/lib/metadata.types.d.ts +3 -0
  32. package/lib/metadata.types.d.ts.map +1 -1
  33. package/lib/metadata.types.js.map +1 -1
  34. package/lib/resolver.d.ts +28 -7
  35. package/lib/resolver.d.ts.map +1 -1
  36. package/lib/resolver.generated.js +528 -453
  37. package/lib/resolver.generated.js.map +1 -1
  38. package/lib/resolver.js +67 -8
  39. package/lib/resolver.js.map +1 -1
  40. package/lib/utils/brand.d.ts +5 -0
  41. package/lib/utils/brand.d.ts.map +1 -1
  42. package/lib/utils/brand.js +4 -1
  43. package/lib/utils/brand.js.map +1 -1
  44. package/npm-shrinkwrap.json +10 -17
  45. package/package.json +2 -2
  46. package/services/asset-movement/client.d.ts +7 -1
  47. package/services/asset-movement/client.d.ts.map +1 -1
  48. package/services/asset-movement/client.js +70 -15
  49. package/services/asset-movement/client.js.map +1 -1
  50. package/services/asset-movement/common.d.ts +1 -1
  51. package/services/asset-movement/common.d.ts.map +1 -1
  52. package/services/asset-movement/common.generated.js +11 -409
  53. package/services/asset-movement/common.generated.js.map +1 -1
  54. package/services/asset-movement/common.js.map +1 -1
  55. package/services/asset-movement/common.server.generated.js +1153 -15478
  56. package/services/asset-movement/common.server.generated.js.map +1 -1
  57. package/services/asset-movement/lib/location.d.ts.map +1 -1
  58. package/services/asset-movement/lib/location.js +1 -0
  59. package/services/asset-movement/lib/location.js.map +1 -1
  60. package/services/asset-movement/server.d.ts +1 -1
  61. package/services/asset-movement/server.d.ts.map +1 -1
  62. package/services/asset-movement/server.js +1 -1
  63. package/services/asset-movement/server.js.map +1 -1
  64. package/services/asset-movement/status-source.d.ts +32 -0
  65. package/services/asset-movement/status-source.d.ts.map +1 -0
  66. package/services/asset-movement/status-source.js +77 -0
  67. package/services/asset-movement/status-source.js.map +1 -0
  68. package/services/fx/server.d.ts +2 -2
  69. package/services/fx/server.d.ts.map +1 -1
  70. package/services/fx/server.js +2 -1
  71. package/services/fx/server.js.map +1 -1
  72. package/services/kyc/server.d.ts +1 -1
  73. package/services/kyc/server.d.ts.map +1 -1
  74. package/services/kyc/server.js +1 -1
  75. package/services/kyc/server.js.map +1 -1
  76. package/services/notification/client.js +50 -6
  77. package/services/notification/client.js.map +1 -1
  78. package/services/notification/server.d.ts.map +1 -1
  79. package/services/notification/server.js +4 -1
  80. package/services/notification/server.js.map +1 -1
  81. package/services/storage/client.js +50 -6
  82. package/services/storage/client.js.map +1 -1
  83. package/services/storage/clients/contacts.d.ts +5 -0
  84. package/services/storage/clients/contacts.d.ts.map +1 -1
  85. package/services/storage/clients/contacts.js +20 -9
  86. package/services/storage/clients/contacts.js.map +1 -1
  87. package/services/storage/server.d.ts +1 -1
  88. package/services/storage/server.d.ts.map +1 -1
  89. package/services/storage/server.js +2 -2
  90. package/services/storage/server.js.map +1 -1
  91. package/services/username/client.js +50 -6
  92. package/services/username/client.js.map +1 -1
  93. package/services/username/server.d.ts.map +1 -1
  94. package/services/username/server.js +4 -1
  95. package/services/username/server.js.map +1 -1
@@ -0,0 +1,405 @@
1
+ import type { GenericAccount } from '@keetanetwork/keetanet-client/lib/account.js';
2
+ import type { Block } from '@keetanetwork/keetanet-client/lib/block/index.js';
3
+ import type { BlockOperations } from '@keetanetwork/keetanet-client/lib/block/operations.js';
4
+ import { lib as KeetaNetLib } from '@keetanetwork/keetanet-client';
5
+ import type { KeetaNetAccount } from './asset.js';
6
+ import type { Logger } from './log/index.js';
7
+ import type { KeetaAssetMovementTransaction } from '../services/asset-movement/common.js';
8
+ import type { AnchorTransactionStatus } from './anchor-status.js';
9
+ type Account = InstanceType<typeof KeetaNetLib.Account>;
10
+ /**
11
+ * Wallet-facing logical category of a transaction.
12
+ */
13
+ export type LogicalTransactionType = 'send' | 'receive' | 'swap' | 'deposit' | 'withdraw' | 'bridge' | 'other';
14
+ /**
15
+ * Standardized lifecycle state. Only `complete` is asserted from a settled
16
+ * block or a `COMPLETE` anchor status.
17
+ */
18
+ export type LogicalTransactionStatus = 'pending' | 'complete' | 'failed';
19
+ /**
20
+ * Flow of value relative to the queried account.
21
+ */
22
+ export type LogicalDirection = 'in' | 'out' | 'self';
23
+ /**
24
+ * A token (or anchor asset) and its quantity in smallest units.
25
+ */
26
+ export type LogicalAmount = {
27
+ /**
28
+ * Token public key for on-chain legs, or the anchor asset rendered as a
29
+ * string for anchor legs.
30
+ */
31
+ token: string;
32
+ /**
33
+ * Quantity in the asset's smallest unit.
34
+ */
35
+ amount: bigint;
36
+ };
37
+ /**
38
+ * The other party to a logical transaction.
39
+ */
40
+ export type LogicalCounterparty = {
41
+ /**
42
+ * What the counterparty represents.
43
+ */
44
+ kind: 'account' | 'anchor' | 'liquidity';
45
+ /**
46
+ * Account public key (or anchor id) of the counterparty.
47
+ */
48
+ id: string;
49
+ /**
50
+ * Optional display name resolved for the counterparty.
51
+ */
52
+ name?: string;
53
+ };
54
+ /**
55
+ * One constituent part of a logical transaction: either a single on-chain
56
+ * operation or a transfer tracked at an anchor.
57
+ */
58
+ export type LogicalLeg = {
59
+ /**
60
+ * On-chain operation leg.
61
+ */
62
+ kind: 'onchain';
63
+ /**
64
+ * Hash of the block carrying the operation.
65
+ */
66
+ blockHash: string;
67
+ /**
68
+ * Index of the operation within its block.
69
+ */
70
+ operationIndex: number;
71
+ /**
72
+ * Whether the operation sent or received value.
73
+ */
74
+ opType: 'send' | 'receive';
75
+ /**
76
+ * Account on the other side of the operation.
77
+ */
78
+ counterparty: string;
79
+ /**
80
+ * Value moved by the operation.
81
+ */
82
+ amount: LogicalAmount;
83
+ } | {
84
+ /**
85
+ * Anchor-tracked transfer leg.
86
+ */
87
+ kind: 'anchor';
88
+ /**
89
+ * Anchor account the transfer was filed under.
90
+ */
91
+ anchorID: string;
92
+ /**
93
+ * Anchor-scoped transaction id.
94
+ */
95
+ transactionID: string;
96
+ /**
97
+ * Related chain transaction ids reported by the anchor.
98
+ */
99
+ subTransactions: string[];
100
+ };
101
+ /**
102
+ * A single condensed, wallet-displayable transaction folded from one or more
103
+ * on-chain operations and any anchor transfer that backs them.
104
+ */
105
+ export type LogicalTransaction = {
106
+ /**
107
+ * Stable id: the block hash, or `blockHash:operationIndex` when a block
108
+ * yields more than one logical transaction.
109
+ */
110
+ id: string;
111
+ /**
112
+ * Logical category.
113
+ */
114
+ type: LogicalTransactionType;
115
+ /**
116
+ * Standardized status.
117
+ */
118
+ status: LogicalTransactionStatus;
119
+ /**
120
+ * Raw provider status string, present when an anchor transfer backs the
121
+ * transaction. The wallet interprets non-standardized states.
122
+ */
123
+ providerStatus?: string;
124
+ /**
125
+ * Flow of value relative to the queried account.
126
+ */
127
+ direction: LogicalDirection;
128
+ /**
129
+ * ISO-8601 timestamp from the vote staple the block settled in.
130
+ */
131
+ timestamp: string;
132
+ /**
133
+ * Value the account sent, when applicable.
134
+ */
135
+ send?: LogicalAmount;
136
+ /**
137
+ * Value the account received, when applicable.
138
+ */
139
+ receive?: LogicalAmount;
140
+ /**
141
+ * Fee paid, when applicable.
142
+ */
143
+ fee?: LogicalAmount;
144
+ /**
145
+ * The other party, when one applies.
146
+ */
147
+ counterparty?: LogicalCounterparty;
148
+ /**
149
+ * Constituent legs.
150
+ */
151
+ legs: LogicalLeg[];
152
+ /**
153
+ * Source references for drill-down.
154
+ */
155
+ refs: {
156
+ /**
157
+ * Block hashes contributing to this logical transaction.
158
+ */
159
+ blockHashes: string[];
160
+ /**
161
+ * Anchor-scoped transaction ids contributing to this logical transaction.
162
+ */
163
+ anchorTxIDs: string[];
164
+ /**
165
+ * Raw `external` strings observed, when present.
166
+ */
167
+ external?: string[];
168
+ };
169
+ /**
170
+ * Raw source the transaction was folded from. Present only when
171
+ * {@link UserHistoryListOptions.includeSource} is set.
172
+ */
173
+ source?: LogicalTransactionSource;
174
+ };
175
+ /**
176
+ * Raw source backing a {@link LogicalTransaction}, for callers that need to
177
+ * drill down into the underlying on-chain data without re-fetching.
178
+ */
179
+ export type LogicalTransactionSource = {
180
+ /**
181
+ * Vote staple that settled the source block.
182
+ */
183
+ staple: HistoryStaple;
184
+ /**
185
+ * The enriched source block the transaction was classified from.
186
+ */
187
+ enriched: EnrichedBlock;
188
+ };
189
+ /**
190
+ * One on-chain operation enriched with the anchor transfer it resolved to,
191
+ * if any. The classify input unit.
192
+ */
193
+ export type EnrichedOperation = {
194
+ /**
195
+ * The decoded on-chain operation.
196
+ */
197
+ operation: BlockOperations;
198
+ /**
199
+ * Index of the operation within its block.
200
+ */
201
+ index: number;
202
+ /**
203
+ * Anchor transfer the operation resolved to, if enrichment found one.
204
+ */
205
+ transfer?: KeetaAssetMovementTransaction;
206
+ /**
207
+ * Anchor account the transfer resolved under, when enrichment found one.
208
+ * Authoritative over operation counterparties: for anchor-issued payout
209
+ * blocks the operation counterparty is the user, not the anchor.
210
+ */
211
+ anchorID?: string;
212
+ };
213
+ /**
214
+ * A block with each of its operations enriched. The classifier operates on
215
+ * this and has no I/O of its own.
216
+ */
217
+ export type EnrichedBlock = {
218
+ /**
219
+ * Hash of the block.
220
+ */
221
+ blockHash: string;
222
+ /**
223
+ * Issuing account of the block.
224
+ * Note: Do NOT narrow to `AccountPublicKeyString`.
225
+ */
226
+ account: string;
227
+ /**
228
+ * Account whose history is being folded.
229
+ * Note: Do NOT narrow to `AccountPublicKeyString`.
230
+ */
231
+ perspective?: string;
232
+ /**
233
+ * ISO-8601 timestamp from the block's vote staple.
234
+ */
235
+ timestamp: string;
236
+ /**
237
+ * The block's enriched operations.
238
+ */
239
+ operations: EnrichedOperation[];
240
+ };
241
+ /**
242
+ * A classifier that maps an enriched block to zero or more logical
243
+ * transactions. Returns `null` when it does not apply.
244
+ */
245
+ export interface LogicalClassifier {
246
+ classify(block: EnrichedBlock): LogicalTransaction[] | null;
247
+ }
248
+ /**
249
+ * A history page entry as produced by a node client's history call.
250
+ */
251
+ export interface HistoryEntry {
252
+ /**
253
+ * The vote staple settling one or more blocks.
254
+ */
255
+ voteStaple: HistoryStaple;
256
+ }
257
+ /**
258
+ * The minimal vote-staple surface consumed when folding history.
259
+ */
260
+ export interface HistoryStaple {
261
+ /**
262
+ * Settlement time of the staple.
263
+ */
264
+ timestamp(): Date;
265
+ /**
266
+ * Blocks settled by the staple.
267
+ */
268
+ blocks: readonly Block[];
269
+ /**
270
+ * Cursor for the next page.
271
+ */
272
+ blocksHash: {
273
+ toString(): string;
274
+ };
275
+ }
276
+ /**
277
+ * Per-page query passed to a {@link HistorySource}.
278
+ */
279
+ export type HistoryQuery = {
280
+ /**
281
+ * Number of vote staples to walk back per page.
282
+ */
283
+ depth?: number;
284
+ /**
285
+ * Cursor returned by a previous page.
286
+ */
287
+ startBlocksHash?: string;
288
+ /**
289
+ * Page size hint.
290
+ */
291
+ pageSize?: number;
292
+ };
293
+ /**
294
+ * Account a history is read for: an account instance, its public-key
295
+ * string, or `null` for the network-wide perspective.
296
+ */
297
+ export type HistoryAccount = GenericAccount | string | null;
298
+ /**
299
+ * Inverted source of on-chain history pages, newest-first.
300
+ */
301
+ export interface HistorySource {
302
+ getHistory(account: HistoryAccount, query?: HistoryQuery): Promise<HistoryEntry[]>;
303
+ }
304
+ /**
305
+ * Construction inputs for {@link UserHistory}.
306
+ */
307
+ export type UserHistoryConfig = {
308
+ /**
309
+ * Source of on-chain history pages. Any object exposing
310
+ * {@link HistorySource.getHistory} is accepted, including a node client.
311
+ */
312
+ history: HistorySource;
313
+ /**
314
+ * Anchor status reader used to enrich operations.
315
+ */
316
+ status?: AnchorTransactionStatus<KeetaAssetMovementTransaction>;
317
+ /**
318
+ * Ordered classifiers, specific-first.
319
+ * Defaults to {@link defaultClassifiers}.
320
+ */
321
+ classifiers?: readonly LogicalClassifier[];
322
+ /**
323
+ * Logger for diagnostics.
324
+ */
325
+ logger?: Logger;
326
+ };
327
+ /**
328
+ * Per-call options for {@link UserHistory.list}.
329
+ */
330
+ export type UserHistoryListOptions = {
331
+ /**
332
+ * Vote staples to walk back per page.
333
+ */
334
+ depth?: number;
335
+ /**
336
+ * Page size hint.
337
+ */
338
+ pageSize?: number;
339
+ /**
340
+ * Maximum number of logical transactions to return.
341
+ */
342
+ limit?: number;
343
+ /**
344
+ * Cursor to resume paging from.
345
+ */
346
+ cursor?: string;
347
+ /**
348
+ * Enable anchor enrichment.
349
+ * Defaults to `true` when a status source is set.
350
+ */
351
+ enrich?: boolean;
352
+ /**
353
+ * Keys tried against encrypted external slices.
354
+ */
355
+ decryptionKeys?: Account[];
356
+ /**
357
+ * Account used to authenticate anchor status reads.
358
+ */
359
+ requesterAccount?: KeetaNetAccount;
360
+ /**
361
+ * Attach {@link LogicalTransaction.source} to each returned transaction.
362
+ * Defaults to `false` to keep results lean.
363
+ */
364
+ includeSource?: boolean;
365
+ };
366
+ /**
367
+ * Derive the logical type of an anchor transfer from its endpoints.
368
+ */
369
+ export declare function logicalTypeFromTransfer(transfer: KeetaAssetMovementTransaction): LogicalTransactionType;
370
+ /**
371
+ * Map an anchor transfer's raw status onto the standardized status, carrying
372
+ * the raw provider string for the wallet to interpret.
373
+ */
374
+ export declare function statusFromTransfer(transfer: KeetaAssetMovementTransaction): {
375
+ status: LogicalTransactionStatus;
376
+ providerStatus: string;
377
+ };
378
+ /**
379
+ * Default ordered classifier list, specific-first.
380
+ */
381
+ export declare const defaultClassifiers: readonly LogicalClassifier[];
382
+ /**
383
+ * Fold enriched blocks into logical transactions by running the ordered
384
+ * classifiers; the first classifier that applies to a block wins.
385
+ */
386
+ export declare function foldHistory(blocks: readonly EnrichedBlock[], classifiers: readonly LogicalClassifier[]): LogicalTransaction[];
387
+ /**
388
+ * Folds a user's on-chain history and anchor transfer data into a condensed
389
+ * list of {@link LogicalTransaction}.
390
+ */
391
+ export declare class UserHistory {
392
+ #private;
393
+ constructor(config: UserHistoryConfig);
394
+ /**
395
+ * Fetch, enrich and fold a user's history into logical transactions.
396
+ */
397
+ list(account: HistoryAccount, options?: UserHistoryListOptions): Promise<LogicalTransaction[]>;
398
+ /**
399
+ * Stream logical transactions page by page instead of buffering the full
400
+ * result set in memory.
401
+ */
402
+ iterate(account: HistoryAccount, options?: UserHistoryListOptions): AsyncGenerator<LogicalTransaction>;
403
+ }
404
+ export default UserHistory;
405
+ //# sourceMappingURL=history.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../src/lib/history.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,KAAK,EAAE,eAA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