@xo-cash/types 0.0.1-development.13504604083 → 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[];
225
+ /**
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 & {
221
234
  /**
222
- * List of identifiers to generate (e.g., keys, secrets).
223
- */
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 & {
225
256
  /**
226
- * List of variable identifiers required for this role.
227
- */
257
+ * The identifier for the intended output.
258
+ */
259
+ output: string;
260
+ /**
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,44 +512,44 @@ 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
  };
@@ -519,27 +563,27 @@ type XOTemplateOutputRole = Partial<XOTemplateViewProperties>;
519
563
  */
520
564
  type XOTemplateOutput = XOTemplateViewProperties & {
521
565
  /**
522
- * The outpoint index of this output in the transaction.
523
- */
566
+ * The outpoint index of this output in the transaction.
567
+ */
524
568
  outpointIndex?: number;
525
569
  /**
526
- * The locking script for this output.
527
- */
570
+ * The locking script for this output.
571
+ */
528
572
  lockscript?: string;
529
573
  /**
530
- * The amount of satoshis for this output.
531
- * - `Satoshis`: A specific amount of satoshis.
532
- * - `string`: A CashASM evaluation expression that resolves to the satoshi amount.
533
- */
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
+ */
534
578
  valueSatoshis?: Satoshis | string;
535
579
  /**
536
- * Token configuration for this output.
537
- */
580
+ * Token configuration for this output.
581
+ */
538
582
  token?: XOTemplateToken | null;
539
583
  /**
540
- * Role-specific view properties for this output. When a participant's role is known,
541
- * these override the generic name, description, and icon.
542
- */
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
+ */
543
587
  roles?: {
544
588
  [roleId: string]: XOTemplateOutputRole;
545
589
  };
@@ -548,34 +592,21 @@ type XOTemplateOutput = XOTemplateViewProperties & {
548
592
  * A role definition within a template.
549
593
  */
550
594
  type XOTemplateRoleDescription = XOTemplateViewProperties;
551
- /**
552
- * A starting action entry point defined in a template.
553
- */
554
- type XOTemplateStartingAction = {
555
- /**
556
- * The action that can be initiated.
557
- */
558
- action: string;
559
- /**
560
- * The role that can initiate this action.
561
- */
562
- role: string;
563
- };
564
595
  /**
565
596
  * A list of starting actions defined in a template.
566
597
  */
567
- type XOTemplateStartingActions = XOTemplateStartingAction[];
598
+ type XOTemplateStartingActionIntents = XOTemplateActionIntent[];
568
599
  /**
569
600
  * Reference to an input in a transaction definition in the template.
570
601
  */
571
602
  type XOTemplateTransactionInput = {
572
603
  /**
573
- * The input definition identifier.
574
- */
604
+ * The input definition identifier.
605
+ */
575
606
  input: string;
576
607
  /**
577
- * Optional index of this input in the transaction.
578
- */
608
+ * Optional index of this input in the transaction.
609
+ */
579
610
  index?: number;
580
611
  };
581
612
  /**
@@ -583,12 +614,12 @@ type XOTemplateTransactionInput = {
583
614
  */
584
615
  type XOTemplateTransactionOutput = {
585
616
  /**
586
- * The output definition identifier.
587
- */
617
+ * The output definition identifier.
618
+ */
588
619
  output: string;
589
620
  /**
590
- * Optional index of this output in the transaction.
591
- */
621
+ * Optional index of this output in the transaction.
622
+ */
592
623
  index?: number;
593
624
  };
594
625
  /**
@@ -596,12 +627,12 @@ type XOTemplateTransactionOutput = {
596
627
  */
597
628
  type XOTemplateTransactionRoleData = Partial<XOTemplateViewProperties> & {
598
629
  /**
599
- * The inputs required for this role.
600
- */
630
+ * The inputs required for this role.
631
+ */
601
632
  inputs?: string[];
602
633
  /**
603
- * The outputs required for this role.
604
- */
634
+ * The outputs required for this role.
635
+ */
605
636
  outputs?: string[];
606
637
  };
607
638
  /**
@@ -609,28 +640,28 @@ type XOTemplateTransactionRoleData = Partial<XOTemplateViewProperties> & {
609
640
  */
610
641
  type XOTemplateTransaction = XOTemplateViewProperties & {
611
642
  /**
612
- * The version of the transaction.
613
- */
643
+ * The version of the transaction.
644
+ */
614
645
  version?: number;
615
646
  /**
616
- * The locktime for this transaction.
617
- */
647
+ * The locktime for this transaction.
648
+ */
618
649
  locktime?: number;
619
650
  /**
620
- * The inputs for this transaction
621
- */
651
+ * The inputs for this transaction
652
+ */
622
653
  inputs?: XOTemplateTransactionInput[];
623
654
  /**
624
- * The outputs for this transaction
625
- */
655
+ * The outputs for this transaction
656
+ */
626
657
  outputs?: XOTemplateTransactionOutput[];
627
658
  /**
628
- * The roles required for this transaction.
629
- */
659
+ * The roles required for this transaction.
660
+ */
630
661
  roles?: Record<string, XOTemplateTransactionRoleData>;
631
662
  /**
632
- * Whether this transaction can be composed with other transactions.
633
- */
663
+ * Whether this transaction can be composed with other transactions.
664
+ */
634
665
  composable?: boolean;
635
666
  };
636
667
  /**
@@ -638,12 +669,12 @@ type XOTemplateTransaction = XOTemplateViewProperties & {
638
669
  */
639
670
  type XOTemplateVariable = XOTemplateViewProperties & {
640
671
  /**
641
- * The data type of this variable.
642
- */
672
+ * The data type of this variable.
673
+ */
643
674
  type?: string;
644
675
  /**
645
- * A hint to help users understand what value to provide.
646
- */
676
+ * A hint to help users understand what value to provide.
677
+ */
647
678
  hint?: string;
648
679
  };
649
680
  /**
@@ -651,14 +682,14 @@ type XOTemplateVariable = XOTemplateViewProperties & {
651
682
  */
652
683
  type XOTemplateAction = XOTemplateViewProperties & {
653
684
  /**
654
- * The roles for this action.
655
- */
685
+ * The roles for this action.
686
+ */
656
687
  roles?: {
657
688
  [roleId: string]: XOTemplateActionRole;
658
689
  };
659
690
  /**
660
- * The requirements for this action.
661
- */
691
+ * The requirements for this action.
692
+ */
662
693
  requirements?: {
663
694
  roles?: XOTemplateActionRoleRequirement[];
664
695
  variables?: string[];
@@ -666,17 +697,17 @@ type XOTemplateAction = XOTemplateViewProperties & {
666
697
  secrets?: string[];
667
698
  };
668
699
  /**
669
- * Optional condition script that must evaluate to true for this action
670
- * to be available.
671
- */
700
+ * Optional condition script that must evaluate to true for this action
701
+ * to be available.
702
+ */
672
703
  condition?: string;
673
704
  /**
674
- * The transaction that this action may create.
675
- */
705
+ * The transaction that this action may create.
706
+ */
676
707
  transaction?: string;
677
708
  /**
678
- * The data that this action may use or modify.
679
- */
709
+ * The data that this action may use or modify.
710
+ */
680
711
  data?: string[];
681
712
  };
682
713
  /**
@@ -684,91 +715,97 @@ type XOTemplateAction = XOTemplateViewProperties & {
684
715
  */
685
716
  type XOTemplate = XOTemplateViewProperties & {
686
717
  /**
687
- * The URI that identifies the JSON Schema used by this template.
688
- * This enables documentation, autocompletion, and validation in JSON documents.
689
- */
718
+ * The URI that identifies the JSON Schema used by this template.
719
+ * This enables documentation, autocompletion, and validation in JSON documents.
720
+ */
690
721
  $schema: string;
691
722
  /**
692
- * A number identifying the format version of this template.
693
- */
723
+ * A number identifying the format version of this template.
724
+ */
694
725
  version?: number;
695
726
  /**
696
- * The supported authentication virtual machine versions or network identifiers for this template.
697
- */
727
+ * The supported authentication virtual machine versions or network identifiers for this template.
728
+ */
698
729
  supported?: string[];
699
730
  /**
700
- * The roles defined in this template.
701
- */
731
+ * Optional default settings used in this template.
732
+ */
733
+ defaults?: {
734
+ change?: XOTemplateOutputIntent;
735
+ };
736
+ /**
737
+ * The roles defined in this template.
738
+ */
702
739
  roles?: {
703
740
  [roleId: string]: XOTemplateRoleDescription;
704
741
  };
705
742
  /**
706
- * A list of entry points defining which actions are available to each role at the start.
707
- */
708
- start: XOTemplateStartingActions;
743
+ * A list of entry points defining which actions are available to each role at the start.
744
+ */
745
+ start: XOTemplateStartingActionIntents;
709
746
  /**
710
- * The actions defined in this template.
711
- */
747
+ * The actions defined in this template.
748
+ */
712
749
  actions: {
713
750
  [actionId: string]: XOTemplateAction;
714
751
  };
715
752
  /**
716
- * The data fields defined in this template.
717
- */
753
+ * The data fields defined in this template.
754
+ */
718
755
  data?: {
719
756
  [dataId: string]: XOTemplateData;
720
757
  };
721
758
  /**
722
- * The transaction templates defined in this template.
723
- */
759
+ * The transaction templates defined in this template.
760
+ */
724
761
  transactions?: {
725
762
  [transactionId: string]: XOTemplateTransaction;
726
763
  };
727
764
  /**
728
- * The inputs defined in this template.
729
- */
765
+ * The inputs defined in this template.
766
+ */
730
767
  inputs: {
731
768
  [inputId: string]: XOTemplateInput;
732
769
  };
733
770
  /**
734
- * The outputs defined in this template.
735
- */
771
+ * The outputs defined in this template.
772
+ */
736
773
  outputs: {
737
774
  [outputId: string]: XOTemplateOutput;
738
775
  };
739
776
  /**
740
- * The locking script templates defined in this template.
741
- */
777
+ * The locking script templates defined in this template.
778
+ */
742
779
  lockingScripts: {
743
780
  [scriptId: string]: XOTemplateLockingScript;
744
781
  };
745
782
  /**
746
- * The scripts used in this template.
747
- */
783
+ * The scripts used in this template.
784
+ */
748
785
  scripts: {
749
786
  [scriptId: string]: string;
750
787
  };
751
788
  /**
752
- * The constants defined in this template.
753
- */
789
+ * The constants defined in this template.
790
+ */
754
791
  constants?: {
755
792
  [constantId: string]: XOTemplateConstant;
756
793
  };
757
794
  /**
758
- * The variables that must be provided for use in the template's scripts.
759
- */
795
+ * The variables that must be provided for use in the template's scripts.
796
+ */
760
797
  variables?: {
761
798
  [variableId: string]: XOTemplateVariable;
762
799
  };
763
800
  /**
764
- * The icons available for use throughout the template.
765
- */
801
+ * The icons available for use throughout the template.
802
+ */
766
803
  icons?: XOTemplateIcon[];
767
804
  /**
768
- * The scenarios defined in this template.
769
- */
805
+ * The scenarios defined in this template.
806
+ */
770
807
  scenarios: unknown;
771
808
  };
772
809
  //#endregion
773
- 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, XOTemplateOutputRole, 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 };
774
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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,yBAAA;EAAA;;;;EAMtB,KAAA,EAAO,+BAAA;;;;EAKP,OAAA;IAAA,CACK,QAAA,WAAmB,gBAAA;EAAA;;;;EAMxB,IAAA;IAAA,CACK,MAAA,WAAiB,cAAA;EAAA;;;;EAMtB,YAAA;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.13504604083",
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",