@xo-cash/types 0.0.1-development.13483799564 → 0.0.1-development.13730885533

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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  XO type definitions and interfaces
4
4
 
5
+ > ⚠️ This project is in **early development phase**. Use it only if you understand what you are doing and accept the risks. **Do not use funds you are not willing to lose.** Minor version bumps may introduce **breaking changes**
6
+
5
7
  ## Installation
6
8
 
7
9
  ```bash
package/dist/index.d.mts CHANGED
@@ -24,16 +24,16 @@ type XOInvitationVariableValue = bigint | boolean | number | string;
24
24
  */
25
25
  type XOInvitationVariable = {
26
26
  /**
27
- * The variable identifier for this variable.
28
- */
27
+ * The variable identifier for this variable.
28
+ */
29
29
  variableIdentifier: string;
30
30
  /**
31
- * The value of this variable.
32
- */
31
+ * The value of this variable.
32
+ */
33
33
  value: XOInvitationVariableValue;
34
34
  /**
35
- * The role identifier this variable belongs to.
36
- */
35
+ * The role identifier this variable belongs to.
36
+ */
37
37
  roleIdentifier?: string;
38
38
  };
39
39
  /**
@@ -41,30 +41,30 @@ type XOInvitationVariable = {
41
41
  */
42
42
  type XOInvitationInput = Partial<Input> & {
43
43
  /**
44
- * The input identifier for this input.
45
- */
44
+ * The input identifier for this input.
45
+ */
46
46
  inputIdentifier?: string;
47
47
  /**
48
- * The position/index this input should occupy in the final transaction.
49
- */
48
+ * The position/index this input should occupy in the final transaction.
49
+ */
50
50
  transactionIndex?: number;
51
51
  /**
52
- * The role identifier this input belongs to.
53
- * If undefined, this is generic data applicable to the whole invitation.
54
- */
52
+ * The role identifier this input belongs to.
53
+ * If undefined, this is generic data applicable to the whole invitation.
54
+ */
55
55
  roleIdentifier?: string;
56
56
  /**
57
- * The parent commit's item that this item extends.
58
- */
57
+ * The parent commit's item that this item extends.
58
+ */
59
59
  mergesWith?: {
60
60
  /**
61
- * The commit identifier of the parent commit.
62
- */
61
+ * The commit identifier of the parent commit.
62
+ */
63
63
  commitIdentifier: string;
64
64
  /**
65
- * The array index of the item in the parent commit's data array.
66
- * 0-based index (0 = first item, 1 = second item, etc.)
67
- */
65
+ * The array index of the item in the parent commit's data array.
66
+ * 0-based index (0 = first item, 1 = second item, etc.)
67
+ */
68
68
  index: number;
69
69
  };
70
70
  };
@@ -73,33 +73,33 @@ type XOInvitationInput = Partial<Input> & {
73
73
  */
74
74
  type XOInvitationOutput = Partial<Output> & {
75
75
  /**
76
- * The output identifier for this output.
77
- */
76
+ * The output identifier for this output.
77
+ */
78
78
  outputIdentifier?: string;
79
79
  /**
80
- * The position/index this output should occupy in the final transaction.
81
- */
80
+ * The position/index this output should occupy in the final transaction.
81
+ */
82
82
  transactionIndex?: number;
83
83
  /**
84
- * The secret identifier for this output.
85
- */
84
+ * The secret identifier for this output.
85
+ */
86
86
  secretIdentifier?: string;
87
87
  /**
88
- * The role identifier this output belongs to.
89
- */
88
+ * The role identifier this output belongs to.
89
+ */
90
90
  roleIdentifier?: string;
91
91
  /**
92
- * The parent commit's item that this item extends.
93
- */
92
+ * The parent commit's item that this item extends.
93
+ */
94
94
  mergesWith?: {
95
95
  /**
96
- * The commit identifier of the parent commit.
97
- */
96
+ * The commit identifier of the parent commit.
97
+ */
98
98
  commitIdentifier: string;
99
99
  /**
100
- * The array index of the item in the parent commit's data array.
101
- * 0-based index (0 = first item, 1 = second item, etc.)
102
- */
100
+ * The array index of the item in the parent commit's data array.
101
+ * 0-based index (0 = first item, 1 = second item, etc.)
102
+ */
103
103
  index: number;
104
104
  };
105
105
  };
@@ -108,49 +108,49 @@ type XOInvitationOutput = Partial<Output> & {
108
108
  */
109
109
  type XOInvitationCommit = {
110
110
  /**
111
- * The commit identifier for this commit.
112
- */
111
+ * The commit identifier for this commit.
112
+ */
113
113
  commitIdentifier: string;
114
114
  /**
115
- * The identifier of the previous commit.
116
- */
115
+ * The identifier of the previous commit.
116
+ */
117
117
  previousCommitIdentifier: string | undefined;
118
118
  /**
119
- * The entity identifier that made this commit.
120
- */
119
+ * The entity identifier that made this commit.
120
+ */
121
121
  entityIdentifier: string;
122
122
  /**
123
- * The data contributed by this commit.
124
- */
123
+ * The data contributed by this commit.
124
+ */
125
125
  data: {
126
126
  /**
127
- * The version of the transaction.
128
- */
127
+ * The version of the transaction.
128
+ */
129
129
  transactionVersion?: number;
130
130
  /**
131
- * The locktime for the transaction.
132
- */
131
+ * The locktime for the transaction.
132
+ */
133
133
  transactionLocktime?: number;
134
134
  /**
135
- * Variables provided in this commit.
136
- */
135
+ * Variables provided in this commit.
136
+ */
137
137
  variables?: XOInvitationVariable[];
138
138
  /**
139
- * Transaction inputs provided in this commit.
140
- */
139
+ * Transaction inputs provided in this commit.
140
+ */
141
141
  inputs?: XOInvitationInput[];
142
142
  /**
143
- * Transaction outputs provided in this commit.
144
- */
143
+ * Transaction outputs provided in this commit.
144
+ */
145
145
  outputs?: XOInvitationOutput[];
146
146
  };
147
147
  /**
148
- * Signature of the entity committing this data.
149
- */
148
+ * Signature of the entity committing this data.
149
+ */
150
150
  signature: string;
151
151
  /**
152
- * Expiration timestamp for this specific commit.
153
- */
152
+ * Expiration timestamp for this specific commit.
153
+ */
154
154
  expiresAtTimestamp: number;
155
155
  };
156
156
  /**
@@ -158,24 +158,24 @@ type XOInvitationCommit = {
158
158
  */
159
159
  type XOInvitation = {
160
160
  /**
161
- * The invitation identifier for the invitation.
162
- */
161
+ * The invitation identifier for the invitation.
162
+ */
163
163
  invitationIdentifier: string;
164
164
  /**
165
- * The timestamp when the invitation was created.
166
- */
165
+ * The timestamp when the invitation was created.
166
+ */
167
167
  createdAtTimestamp: number;
168
168
  /**
169
- * The template identifier.
170
- */
169
+ * The template identifier.
170
+ */
171
171
  templateIdentifier: string;
172
172
  /**
173
- * The action identifier.
174
- */
173
+ * The action identifier.
174
+ */
175
175
  actionIdentifier: string;
176
176
  /**
177
- * The commits in the invitation.
178
- */
177
+ * The commits in the invitation.
178
+ */
179
179
  commits: XOInvitationCommit[];
180
180
  };
181
181
  //#endregion
@@ -189,16 +189,16 @@ type Satoshis = bigint;
189
189
  */
190
190
  type XOTemplateViewProperties = {
191
191
  /**
192
- * A name for this item.
193
- */
192
+ * A name for this item.
193
+ */
194
194
  name: string;
195
195
  /**
196
- * A description for this item.
197
- */
196
+ * A description for this item.
197
+ */
198
198
  description: string;
199
199
  /**
200
- * An icon for this item.
201
- */
200
+ * An icon for this item.
201
+ */
202
202
  icon?: string;
203
203
  };
204
204
  /**
@@ -206,37 +206,81 @@ type XOTemplateViewProperties = {
206
206
  */
207
207
  type XOTemplateRoleSlots = {
208
208
  /**
209
- * Minimum number of slots required for this role.
210
- */
209
+ * Minimum number of slots required for this role.
210
+ */
211
211
  min: number;
212
212
  /**
213
- * Maximum number of slots allowed for this role (undefined means unlimited).
214
- */
213
+ * Maximum number of slots allowed for this role (undefined means unlimited).
214
+ */
215
215
  max: number | undefined;
216
216
  };
217
217
  /**
218
- * Requirements for a specific role within an action.
218
+ * Generic data used in requirements, intents and state.
219
219
  */
220
- type XOTemplateActionRoleRequirements = {
220
+ type XOTemplateVariablesAndSecrets = {
221
+ /**
222
+ * List of identifiers and their data as public variables.
223
+ */
224
+ variables?: string[];
221
225
  /**
222
- * List of identifiers to generate (e.g., keys, secrets).
223
- */
226
+ * List of identifiers and their data as private secrets.
227
+ */
228
+ secrets?: string[];
229
+ };
230
+ /**
231
+ * Specific data used to set up intents.
232
+ */
233
+ type XOTemplateIntentParameters = XOTemplateVariablesAndSecrets & {
234
+ /**
235
+ * List of identifiers to generate data for (e.g., keys, secrets).
236
+ */
224
237
  generate?: string[];
238
+ };
239
+ /**
240
+ * Parameters defining an intent to take an action.
241
+ */
242
+ type XOTemplateActionIntent = XOTemplateIntentParameters & {
243
+ /**
244
+ * The identifier for the intended action.
245
+ */
246
+ action: string;
247
+ /**
248
+ * The identifier for the intended role.
249
+ */
250
+ role: string;
251
+ };
252
+ /**
253
+ * Parameters defining an intent to take make an output.
254
+ */
255
+ type XOTemplateOutputIntent = XOTemplateIntentParameters & {
256
+ /**
257
+ * The identifier for the intended output.
258
+ */
259
+ output: string;
225
260
  /**
226
- * List of variable identifiers required for this role.
227
- */
261
+ * The identifier for the intended role.
262
+ */
263
+ role: string;
264
+ };
265
+ /**
266
+ * Requirements for a specific role within an action.
267
+ */
268
+ type XOTemplateActionRoleRequirements = {
269
+ /**
270
+ * List of variable identifiers required for this role.
271
+ */
228
272
  variables?: string[];
229
273
  /**
230
- * List of secret identifiers required for this role.
231
- */
274
+ * List of secret identifiers required for this role.
275
+ */
232
276
  secrets?: string[];
233
277
  /**
234
- * List of state identifiers required for this role.
235
- */
278
+ * List of state identifiers required for this role.
279
+ */
236
280
  state?: string[];
237
281
  /**
238
- * Slot configuration for this role.
239
- */
282
+ * Slot configuration for this role.
283
+ */
240
284
  slots?: XOTemplateRoleSlots;
241
285
  };
242
286
  /**
@@ -244,8 +288,8 @@ type XOTemplateActionRoleRequirements = {
244
288
  */
245
289
  type XOTemplateActionRole = Partial<XOTemplateViewProperties> & {
246
290
  /**
247
- * The requirements for this role for this action.
248
- */
291
+ * The requirements for this role for this action.
292
+ */
249
293
  requirements?: XOTemplateActionRoleRequirements;
250
294
  };
251
295
  /**
@@ -253,20 +297,20 @@ type XOTemplateActionRole = Partial<XOTemplateViewProperties> & {
253
297
  */
254
298
  type XOTemplateActionRoleRequirement = {
255
299
  /**
256
- * The role identifier that this requirement applies to.
257
- */
300
+ * The role identifier that this requirement applies to.
301
+ */
258
302
  role: string;
259
303
  /**
260
- * Slot configuration for this role.
261
- */
304
+ * Slot configuration for this role.
305
+ */
262
306
  slots: XOTemplateRoleSlots;
263
307
  /**
264
- * Optional list of variable identifiers required for this role.
265
- */
308
+ * Optional list of variable identifiers required for this role.
309
+ */
266
310
  variables?: string[];
267
311
  /**
268
- * Optional list of state identifiers required for this role.
269
- */
312
+ * Optional list of state identifiers required for this role.
313
+ */
270
314
  state?: string[];
271
315
  };
272
316
  /**
@@ -274,15 +318,15 @@ type XOTemplateActionRoleRequirement = {
274
318
  */
275
319
  type XOTemplateBalance = {
276
320
  /**
277
- * Whether satoshis should be included in balance.
278
- * - `boolean`: Whether satoshis should be included in the balance.
279
- * - `Satoshis`: A specific amount of satoshis to include in the balance.
280
- * - `string`: A CashASM evaluation expression that resolves to a satoshi amount.
281
- */
321
+ * Whether satoshis should be included in balance.
322
+ * - `boolean`: Whether satoshis should be included in the balance.
323
+ * - `Satoshis`: A specific amount of satoshis to include in the balance.
324
+ * - `string`: A CashASM evaluation expression that resolves to a satoshi amount.
325
+ */
282
326
  satoshis: boolean | Satoshis | string;
283
327
  /**
284
- * Whether fungible tokens should be included in balance (boolean or number).
285
- */
328
+ * Whether fungible tokens should be included in balance (boolean or number).
329
+ */
286
330
  fungibleTokens: boolean | number;
287
331
  };
288
332
  /**
@@ -290,12 +334,12 @@ type XOTemplateBalance = {
290
334
  */
291
335
  type XOTemplateConstant = XOTemplateViewProperties & {
292
336
  /**
293
- * The type of this constant.
294
- */
337
+ * The type of this constant.
338
+ */
295
339
  type: string;
296
340
  /**
297
- * The value of this constant.
298
- */
341
+ * The value of this constant.
342
+ */
299
343
  value?: unknown;
300
344
  };
301
345
  /**
@@ -303,16 +347,16 @@ type XOTemplateConstant = XOTemplateViewProperties & {
303
347
  */
304
348
  type XOTemplateData = {
305
349
  /**
306
- * The value for this data field.
307
- */
350
+ * The value for this data field.
351
+ */
308
352
  value: string;
309
353
  /**
310
- * The type of this data field.
311
- */
354
+ * The type of this data field.
355
+ */
312
356
  type: string;
313
357
  /**
314
- * An optional hint to help apps and users understand this data field.
315
- */
358
+ * An optional hint to help apps and users understand this data field.
359
+ */
316
360
  hint?: string;
317
361
  };
318
362
  /**
@@ -320,12 +364,12 @@ type XOTemplateData = {
320
364
  */
321
365
  type XOTemplateIcon = {
322
366
  /**
323
- * A name for this icon.
324
- */
367
+ * A name for this icon.
368
+ */
325
369
  name: string;
326
370
  /**
327
- * The identifier of the icon resource.
328
- */
371
+ * The identifier of the icon resource.
372
+ */
329
373
  hash: string;
330
374
  };
331
375
  /**
@@ -333,18 +377,18 @@ type XOTemplateIcon = {
333
377
  */
334
378
  type XOTemplateOmitChangeAmounts = {
335
379
  /**
336
- * The amount of satoshis to omit from the change.
337
- * - `Satoshis`: A specific amount of satoshis to omit.
338
- * - `string`: A CashASM evaluation expression that resolves to the amount of satoshis to omit.
339
- */
380
+ * The amount of satoshis to omit from the change.
381
+ * - `Satoshis`: A specific amount of satoshis to omit.
382
+ * - `string`: A CashASM evaluation expression that resolves to the amount of satoshis to omit.
383
+ */
340
384
  satoshis?: Satoshis | string;
341
385
  /**
342
- * The amount of fungible tokens to omit from the change.
343
- */
386
+ * The amount of fungible tokens to omit from the change.
387
+ */
344
388
  fungibleTokens?: number | string;
345
389
  /**
346
- * The amount of non-fungible tokens to omit from the change.
347
- */
390
+ * The amount of non-fungible tokens to omit from the change.
391
+ */
348
392
  nonfungibleTokens?: number | string;
349
393
  };
350
394
  /**
@@ -352,24 +396,24 @@ type XOTemplateOmitChangeAmounts = {
352
396
  */
353
397
  type XOTemplateToken = {
354
398
  /**
355
- * The category of the token.
356
- */
399
+ * The category of the token.
400
+ */
357
401
  category: string;
358
402
  /**
359
- * The amount of fungible tokens.
360
- */
403
+ * The amount of fungible tokens.
404
+ */
361
405
  amount?: string | number | null;
362
406
  /**
363
- * The configuration for the non-fungible token.
364
- */
407
+ * The configuration for the non-fungible token.
408
+ */
365
409
  nft?: {
366
410
  /**
367
- * The capability of the NFT.
368
- */
411
+ * The capability of the NFT.
412
+ */
369
413
  capability: string;
370
414
  /**
371
- * The commitment data for the NFT.
372
- */
415
+ * The commitment data for the NFT.
416
+ */
373
417
  commitment: string;
374
418
  } | null;
375
419
  };
@@ -378,34 +422,34 @@ type XOTemplateToken = {
378
422
  */
379
423
  type XOTemplateInput = XOTemplateViewProperties & {
380
424
  /**
381
- * The amount of satoshis for this input.
382
- * - `Satoshis`: A specific amount of satoshis.
383
- * - `string`: A CashASM evaluation expression that resolves to the satoshi amount.
384
- */
425
+ * The amount of satoshis for this input.
426
+ * - `Satoshis`: A specific amount of satoshis.
427
+ * - `string`: A CashASM evaluation expression that resolves to the satoshi amount.
428
+ */
385
429
  valueSatoshis?: Satoshis | string;
386
430
  /**
387
- * Token configuration for this input.
388
- */
431
+ * Token configuration for this input.
432
+ */
389
433
  token?: XOTemplateToken | null;
390
434
  /**
391
- * The outpoint index of this input in the transaction.
392
- */
435
+ * The outpoint index of this input in the transaction.
436
+ */
393
437
  outpointIndex?: number;
394
438
  /**
395
- * The outpoint transaction hash of this input in the transaction.
396
- */
439
+ * The outpoint transaction hash of this input in the transaction.
440
+ */
397
441
  outpointTransactionHash?: string;
398
442
  /**
399
- * The sequence number of this input.
400
- */
443
+ * The sequence number of this input.
444
+ */
401
445
  sequenceNumber?: number;
402
446
  /**
403
- * The unlocking script for this input.
404
- */
447
+ * The unlocking script for this input.
448
+ */
405
449
  unlockingScript?: string;
406
450
  /**
407
- * Omit amount change configuration for this input.
408
- */
451
+ * Omit amount change configuration for this input.
452
+ */
409
453
  omitChangeAmounts?: XOTemplateOmitChangeAmounts;
410
454
  };
411
455
  /**
@@ -413,16 +457,16 @@ type XOTemplateInput = XOTemplateViewProperties & {
413
457
  */
414
458
  type XOTemplateLockingScriptRoleAction = {
415
459
  /**
416
- * The action.
417
- */
460
+ * The action.
461
+ */
418
462
  action: string;
419
463
  /**
420
- * The role identifier for this action.
421
- */
464
+ * The role identifier for this action.
465
+ */
422
466
  role: string;
423
467
  /**
424
- * The secret identifier required for this action.
425
- */
468
+ * The secret identifier required for this action.
469
+ */
426
470
  secrets?: string | string[];
427
471
  };
428
472
  /**
@@ -430,12 +474,12 @@ type XOTemplateLockingScriptRoleAction = {
430
474
  */
431
475
  type XOTemplateLockingScriptRoleState = {
432
476
  /**
433
- * List of variable identifiers required for this role.
434
- */
477
+ * List of variable identifiers required for this role.
478
+ */
435
479
  variables?: string[];
436
480
  /**
437
- * List of secret identifiers required for this role.
438
- */
481
+ * List of secret identifiers required for this role.
482
+ */
439
483
  secrets?: string[];
440
484
  };
441
485
  /**
@@ -443,24 +487,24 @@ type XOTemplateLockingScriptRoleState = {
443
487
  */
444
488
  type XOTemplateLockingScriptRole = {
445
489
  /**
446
- * State configuration for this role.
447
- */
490
+ * State configuration for this role.
491
+ */
448
492
  state?: XOTemplateLockingScriptRoleState;
449
493
  /**
450
- * List of action references available to this role.
451
- */
494
+ * List of action references available to this role.
495
+ */
452
496
  actions?: XOTemplateLockingScriptRoleAction[];
453
497
  /**
454
- * Balance configuration for this role.
455
- */
498
+ * Balance configuration for this role.
499
+ */
456
500
  balance?: XOTemplateBalance;
457
501
  /**
458
- * Whether outputs locked to this script should be selectable for coin selection.
459
- */
502
+ * Whether outputs locked to this script should be selectable for coin selection.
503
+ */
460
504
  selectable?: boolean;
461
505
  /**
462
- * Whether outputs locked to this script are considered private.
463
- */
506
+ * Whether outputs locked to this script are considered private.
507
+ */
464
508
  privacy?: boolean;
465
509
  };
466
510
  /**
@@ -468,103 +512,101 @@ type XOTemplateLockingScriptRole = {
468
512
  */
469
513
  type XOTemplateLockingScript = XOTemplateViewProperties & {
470
514
  /**
471
- * The type of locking mechanism.
472
- */
515
+ * The type of locking mechanism.
516
+ */
473
517
  lockingType?: string;
474
518
  /**
475
- * The locking script.
476
- */
519
+ * The locking script.
520
+ */
477
521
  lockingScript?: string;
478
522
  /**
479
- * The unlocking script.
480
- */
523
+ * The unlocking script.
524
+ */
481
525
  unlockingScript?: string;
482
526
  /**
483
- * The actions available for this locking script.
484
- */
527
+ * The actions available for this locking script.
528
+ */
485
529
  actions?: string[];
486
530
  /**
487
- * The state for this locking script.
488
- */
531
+ * The state for this locking script.
532
+ */
489
533
  state?: string[];
490
534
  /**
491
- * The secrets for this locking script.
492
- */
535
+ * The secrets for this locking script.
536
+ */
493
537
  secrets?: string[];
494
538
  /**
495
- * Whether outputs locked to this script should be included in the balance.
496
- */
539
+ * Whether outputs locked to this script should be included in the balance.
540
+ */
497
541
  balance?: boolean;
498
542
  /**
499
- * Whether outputs locked to this script should be selectable.
500
- */
543
+ * Whether outputs locked to this script should be selectable.
544
+ */
501
545
  selectable?: boolean;
502
546
  /**
503
- * Whether outputs locked to this script are considered private.
504
- */
547
+ * Whether outputs locked to this script are considered private.
548
+ */
505
549
  privacy?: boolean;
506
550
  /**
507
- * A map of roles defined for this locking script.
508
- */
551
+ * A map of roles defined for this locking script.
552
+ */
509
553
  roles?: {
510
554
  [roleId: string]: XOTemplateLockingScriptRole;
511
555
  };
512
556
  };
557
+ /**
558
+ * Role-specific view properties for an output.
559
+ */
560
+ type XOTemplateOutputRole = Partial<XOTemplateViewProperties>;
513
561
  /**
514
562
  * An output definition in the template.
515
563
  */
516
564
  type XOTemplateOutput = XOTemplateViewProperties & {
517
565
  /**
518
- * The outpoint index of this output in the transaction.
519
- */
566
+ * The outpoint index of this output in the transaction.
567
+ */
520
568
  outpointIndex?: number;
521
569
  /**
522
- * The locking script for this output.
523
- */
570
+ * The locking script for this output.
571
+ */
524
572
  lockscript?: string;
525
573
  /**
526
- * The amount of satoshis for this output.
527
- * - `Satoshis`: A specific amount of satoshis.
528
- * - `string`: A CashASM evaluation expression that resolves to the satoshi amount.
529
- */
574
+ * The amount of satoshis for this output.
575
+ * - `Satoshis`: A specific amount of satoshis.
576
+ * - `string`: A CashASM evaluation expression that resolves to the satoshi amount.
577
+ */
530
578
  valueSatoshis?: Satoshis | string;
531
579
  /**
532
- * Token configuration for this output.
533
- */
580
+ * Token configuration for this output.
581
+ */
534
582
  token?: XOTemplateToken | null;
583
+ /**
584
+ * Role-specific view properties for this output. When a participant's role is known,
585
+ * these override the generic name, description, and icon.
586
+ */
587
+ roles?: {
588
+ [roleId: string]: XOTemplateOutputRole;
589
+ };
535
590
  };
536
591
  /**
537
592
  * A role definition within a template.
538
593
  */
539
594
  type XOTemplateRoleDescription = XOTemplateViewProperties;
540
- /**
541
- * A starting action entry point defined in a template.
542
- */
543
- type XOTemplateStartingAction = {
544
- /**
545
- * The action that can be initiated.
546
- */
547
- action: string;
548
- /**
549
- * The role that can initiate this action.
550
- */
551
- role: string;
552
- };
553
595
  /**
554
596
  * A list of starting actions defined in a template.
555
597
  */
556
- type XOTemplateStartingActions = XOTemplateStartingAction[];
598
+ type XOTemplateStartingActionIntents = XOTemplateActionIntent[];
557
599
  /**
558
600
  * Reference to an input in a transaction definition in the template.
559
601
  */
560
602
  type XOTemplateTransactionInput = {
561
603
  /**
562
- * The input definition identifier.
563
- */
604
+ * The input definition identifier.
605
+ */
564
606
  input: string;
565
607
  /**
566
- * Optional index of this input in the transaction.
567
- */
608
+ * Optional index of this input in the transaction.
609
+ */
568
610
  index?: number;
569
611
  };
570
612
  /**
@@ -572,12 +614,12 @@ type XOTemplateTransactionInput = {
572
614
  */
573
615
  type XOTemplateTransactionOutput = {
574
616
  /**
575
- * The output definition identifier.
576
- */
617
+ * The output definition identifier.
618
+ */
577
619
  output: string;
578
620
  /**
579
- * Optional index of this output in the transaction.
580
- */
621
+ * Optional index of this output in the transaction.
622
+ */
581
623
  index?: number;
582
624
  };
583
625
  /**
@@ -585,12 +627,12 @@ type XOTemplateTransactionOutput = {
585
627
  */
586
628
  type XOTemplateTransactionRoleData = Partial<XOTemplateViewProperties> & {
587
629
  /**
588
- * The inputs required for this role.
589
- */
630
+ * The inputs required for this role.
631
+ */
590
632
  inputs?: string[];
591
633
  /**
592
- * The outputs required for this role.
593
- */
634
+ * The outputs required for this role.
635
+ */
594
636
  outputs?: string[];
595
637
  };
596
638
  /**
@@ -598,28 +640,28 @@ type XOTemplateTransactionRoleData = Partial<XOTemplateViewProperties> & {
598
640
  */
599
641
  type XOTemplateTransaction = XOTemplateViewProperties & {
600
642
  /**
601
- * The version of the transaction.
602
- */
643
+ * The version of the transaction.
644
+ */
603
645
  version?: number;
604
646
  /**
605
- * The locktime for this transaction.
606
- */
647
+ * The locktime for this transaction.
648
+ */
607
649
  locktime?: number;
608
650
  /**
609
- * The inputs for this transaction
610
- */
651
+ * The inputs for this transaction
652
+ */
611
653
  inputs?: XOTemplateTransactionInput[];
612
654
  /**
613
- * The outputs for this transaction
614
- */
655
+ * The outputs for this transaction
656
+ */
615
657
  outputs?: XOTemplateTransactionOutput[];
616
658
  /**
617
- * The roles required for this transaction.
618
- */
659
+ * The roles required for this transaction.
660
+ */
619
661
  roles?: Record<string, XOTemplateTransactionRoleData>;
620
662
  /**
621
- * Whether this transaction can be composed with other transactions.
622
- */
663
+ * Whether this transaction can be composed with other transactions.
664
+ */
623
665
  composable?: boolean;
624
666
  };
625
667
  /**
@@ -627,12 +669,12 @@ type XOTemplateTransaction = XOTemplateViewProperties & {
627
669
  */
628
670
  type XOTemplateVariable = XOTemplateViewProperties & {
629
671
  /**
630
- * The data type of this variable.
631
- */
672
+ * The data type of this variable.
673
+ */
632
674
  type?: string;
633
675
  /**
634
- * A hint to help users understand what value to provide.
635
- */
676
+ * A hint to help users understand what value to provide.
677
+ */
636
678
  hint?: string;
637
679
  };
638
680
  /**
@@ -640,14 +682,14 @@ type XOTemplateVariable = XOTemplateViewProperties & {
640
682
  */
641
683
  type XOTemplateAction = XOTemplateViewProperties & {
642
684
  /**
643
- * The roles for this action.
644
- */
685
+ * The roles for this action.
686
+ */
645
687
  roles?: {
646
688
  [roleId: string]: XOTemplateActionRole;
647
689
  };
648
690
  /**
649
- * The requirements for this action.
650
- */
691
+ * The requirements for this action.
692
+ */
651
693
  requirements?: {
652
694
  roles?: XOTemplateActionRoleRequirement[];
653
695
  variables?: string[];
@@ -655,17 +697,17 @@ type XOTemplateAction = XOTemplateViewProperties & {
655
697
  secrets?: string[];
656
698
  };
657
699
  /**
658
- * Optional condition script that must evaluate to true for this action
659
- * to be available.
660
- */
700
+ * Optional condition script that must evaluate to true for this action
701
+ * to be available.
702
+ */
661
703
  condition?: string;
662
704
  /**
663
- * The transaction that this action may create.
664
- */
705
+ * The transaction that this action may create.
706
+ */
665
707
  transaction?: string;
666
708
  /**
667
- * The data that this action may use or modify.
668
- */
709
+ * The data that this action may use or modify.
710
+ */
669
711
  data?: string[];
670
712
  };
671
713
  /**
@@ -673,91 +715,97 @@ type XOTemplateAction = XOTemplateViewProperties & {
673
715
  */
674
716
  type XOTemplate = XOTemplateViewProperties & {
675
717
  /**
676
- * The URI that identifies the JSON Schema used by this template.
677
- * This enables documentation, autocompletion, and validation in JSON documents.
678
- */
718
+ * The URI that identifies the JSON Schema used by this template.
719
+ * This enables documentation, autocompletion, and validation in JSON documents.
720
+ */
679
721
  $schema: string;
680
722
  /**
681
- * A number identifying the format version of this template.
682
- */
723
+ * A number identifying the format version of this template.
724
+ */
683
725
  version?: number;
684
726
  /**
685
- * The supported authentication virtual machine versions or network identifiers for this template.
686
- */
727
+ * The supported authentication virtual machine versions or network identifiers for this template.
728
+ */
687
729
  supported?: string[];
688
730
  /**
689
- * The roles defined in this template.
690
- */
731
+ * Optional default settings used in this template.
732
+ */
733
+ defaults?: {
734
+ change?: XOTemplateOutputIntent;
735
+ };
736
+ /**
737
+ * The roles defined in this template.
738
+ */
691
739
  roles?: {
692
740
  [roleId: string]: XOTemplateRoleDescription;
693
741
  };
694
742
  /**
695
- * A list of entry points defining which actions are available to each role at the start.
696
- */
697
- start: XOTemplateStartingActions;
743
+ * A list of entry points defining which actions are available to each role at the start.
744
+ */
745
+ start: XOTemplateStartingActionIntents;
698
746
  /**
699
- * The actions defined in this template.
700
- */
747
+ * The actions defined in this template.
748
+ */
701
749
  actions: {
702
750
  [actionId: string]: XOTemplateAction;
703
751
  };
704
752
  /**
705
- * The data fields defined in this template.
706
- */
753
+ * The data fields defined in this template.
754
+ */
707
755
  data?: {
708
756
  [dataId: string]: XOTemplateData;
709
757
  };
710
758
  /**
711
- * The transaction templates defined in this template.
712
- */
759
+ * The transaction templates defined in this template.
760
+ */
713
761
  transactions?: {
714
762
  [transactionId: string]: XOTemplateTransaction;
715
763
  };
716
764
  /**
717
- * The inputs defined in this template.
718
- */
765
+ * The inputs defined in this template.
766
+ */
719
767
  inputs: {
720
768
  [inputId: string]: XOTemplateInput;
721
769
  };
722
770
  /**
723
- * The outputs defined in this template.
724
- */
771
+ * The outputs defined in this template.
772
+ */
725
773
  outputs: {
726
774
  [outputId: string]: XOTemplateOutput;
727
775
  };
728
776
  /**
729
- * The locking script templates defined in this template.
730
- */
777
+ * The locking script templates defined in this template.
778
+ */
731
779
  lockingScripts: {
732
780
  [scriptId: string]: XOTemplateLockingScript;
733
781
  };
734
782
  /**
735
- * The scripts used in this template.
736
- */
783
+ * The scripts used in this template.
784
+ */
737
785
  scripts: {
738
786
  [scriptId: string]: string;
739
787
  };
740
788
  /**
741
- * The constants defined in this template.
742
- */
789
+ * The constants defined in this template.
790
+ */
743
791
  constants?: {
744
792
  [constantId: string]: XOTemplateConstant;
745
793
  };
746
794
  /**
747
- * The variables that must be provided for use in the template's scripts.
748
- */
795
+ * The variables that must be provided for use in the template's scripts.
796
+ */
749
797
  variables?: {
750
798
  [variableId: string]: XOTemplateVariable;
751
799
  };
752
800
  /**
753
- * The icons available for use throughout the template.
754
- */
801
+ * The icons available for use throughout the template.
802
+ */
755
803
  icons?: XOTemplateIcon[];
756
804
  /**
757
- * The scenarios defined in this template.
758
- */
805
+ * The scenarios defined in this template.
806
+ */
759
807
  scenarios: unknown;
760
808
  };
761
809
  //#endregion
762
- export { Satoshis, XOInvitation, XOInvitationCommit, XOInvitationInput, XOInvitationOutput, XOInvitationRequirements, XOInvitationRoleRequirement, XOInvitationVariable, XOInvitationVariableValue, XOTemplate, XOTemplateAction, XOTemplateActionRole, XOTemplateActionRoleRequirement, XOTemplateActionRoleRequirements, XOTemplateBalance, XOTemplateConstant, XOTemplateData, XOTemplateIcon, XOTemplateInput, XOTemplateLockingScript, XOTemplateLockingScriptRole, XOTemplateLockingScriptRoleAction, XOTemplateLockingScriptRoleState, XOTemplateOmitChangeAmounts, XOTemplateOutput, XOTemplateRoleDescription, XOTemplateRoleSlots, XOTemplateStartingAction, XOTemplateStartingActions, XOTemplateToken, XOTemplateTransaction, XOTemplateTransactionInput, XOTemplateTransactionOutput, XOTemplateTransactionRoleData, XOTemplateVariable, XOTemplateViewProperties };
810
+ export { Satoshis, XOInvitation, XOInvitationCommit, XOInvitationInput, XOInvitationOutput, XOInvitationRequirements, XOInvitationRoleRequirement, XOInvitationVariable, XOInvitationVariableValue, XOTemplate, XOTemplateAction, XOTemplateActionIntent, XOTemplateActionRole, XOTemplateActionRoleRequirement, XOTemplateActionRoleRequirements, XOTemplateBalance, XOTemplateConstant, XOTemplateData, XOTemplateIcon, XOTemplateInput, XOTemplateIntentParameters, XOTemplateLockingScript, XOTemplateLockingScriptRole, XOTemplateLockingScriptRoleAction, XOTemplateLockingScriptRoleState, XOTemplateOmitChangeAmounts, XOTemplateOutput, XOTemplateOutputIntent, XOTemplateOutputRole, XOTemplateRoleDescription, XOTemplateRoleSlots, XOTemplateStartingActionIntents, XOTemplateToken, XOTemplateTransaction, XOTemplateTransactionInput, XOTemplateTransactionOutput, XOTemplateTransactionRoleData, XOTemplateVariable, XOTemplateVariablesAndSecrets, XOTemplateViewProperties };
763
811
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../source/invitation.ts","../source/template.ts"],"mappings":";;;;AAKA;;KAAY,2BAAA;EACR,SAAA;EACA,MAAA;EACA,OAAA;AAAA;AAAA;;;AAAA,KAMQ,wBAAA,GAA2B,2BAAA;EACnC,KAAA,GAAQ,MAAA,SAAe,2BAAA;AAAA;AAAA;;;AAAA,KAMf,yBAAA;AAAA;;;AAAA,KAKA,oBAAA;EAAA;;;EAKR,kBAAA;EAAA;;;EAKA,KAAA,EAAO,yBAAA;EAAA;;;EAKP,cAAA;AAAA;AAAA;;;AAAA,KAMQ,iBAAA,GAAoB,OAAA,CAAQ,KAAA;EAAA;;;EAKpC,eAAA;EAAA;;;EAKA,gBAAA;EAAA;;;;EAMA,cAAA;EAAA;;;EAKA,UAAA;IAAA;;;IAKI,gBAAA;IAAA;;;;IAMA,KAAA;EAAA;AAAA;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;IAAA,CACK,aAAA,WAAwB,qBAAA;EAAA;;;;EAM7B,MAAA;IAAA,CACK,OAAA,WAAkB,eAAA;EAAA;;;;EAMvB,OAAA;IAAA,CACK,QAAA,WAAmB,gBAAA;EAAA;;;;EAMxB,cAAA;IAAA,CACK,QAAA,WAAmB,uBAAA;EAAA;;;;EAMxB,OAAA;IAAA,CACK,QAAA;EAAA;;;;EAML,SAAA;IAAA,CACK,UAAA,WAAqB,kBAAA;EAAA;;;;EAM1B,SAAA;IAAA,CACK,UAAA,WAAqB,kBAAA;EAAA;;;;EAM1B,KAAA,GAAQ,cAAA;;;;EAKR,SAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xo-cash/types",
3
- "version": "0.0.1-development.13483799564",
3
+ "version": "0.0.1-development.13730885533",
4
4
  "description": "XO type definitions and interfaces",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.mts",