@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 +2 -0
- package/dist/index.d.mts +332 -295
- package/dist/index.d.mts.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
28
|
-
|
|
27
|
+
* The variable identifier for this variable.
|
|
28
|
+
*/
|
|
29
29
|
variableIdentifier: string;
|
|
30
30
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
* The value of this variable.
|
|
32
|
+
*/
|
|
33
33
|
value: XOInvitationVariableValue;
|
|
34
34
|
/**
|
|
35
|
-
|
|
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
|
-
|
|
45
|
-
|
|
44
|
+
* The input identifier for this input.
|
|
45
|
+
*/
|
|
46
46
|
inputIdentifier?: string;
|
|
47
47
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
* The position/index this input should occupy in the final transaction.
|
|
49
|
+
*/
|
|
50
50
|
transactionIndex?: number;
|
|
51
51
|
/**
|
|
52
|
-
|
|
53
|
-
|
|
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
|
-
|
|
58
|
-
|
|
57
|
+
* The parent commit's item that this item extends.
|
|
58
|
+
*/
|
|
59
59
|
mergesWith?: {
|
|
60
60
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
* The commit identifier of the parent commit.
|
|
62
|
+
*/
|
|
63
63
|
commitIdentifier: string;
|
|
64
64
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
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
|
-
|
|
77
|
-
|
|
76
|
+
* The output identifier for this output.
|
|
77
|
+
*/
|
|
78
78
|
outputIdentifier?: string;
|
|
79
79
|
/**
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
* The position/index this output should occupy in the final transaction.
|
|
81
|
+
*/
|
|
82
82
|
transactionIndex?: number;
|
|
83
83
|
/**
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
* The secret identifier for this output.
|
|
85
|
+
*/
|
|
86
86
|
secretIdentifier?: string;
|
|
87
87
|
/**
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
* The role identifier this output belongs to.
|
|
89
|
+
*/
|
|
90
90
|
roleIdentifier?: string;
|
|
91
91
|
/**
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
* The parent commit's item that this item extends.
|
|
93
|
+
*/
|
|
94
94
|
mergesWith?: {
|
|
95
95
|
/**
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
* The commit identifier of the parent commit.
|
|
97
|
+
*/
|
|
98
98
|
commitIdentifier: string;
|
|
99
99
|
/**
|
|
100
|
-
|
|
101
|
-
|
|
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
|
-
|
|
112
|
-
|
|
111
|
+
* The commit identifier for this commit.
|
|
112
|
+
*/
|
|
113
113
|
commitIdentifier: string;
|
|
114
114
|
/**
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
* The identifier of the previous commit.
|
|
116
|
+
*/
|
|
117
117
|
previousCommitIdentifier: string | undefined;
|
|
118
118
|
/**
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
* The entity identifier that made this commit.
|
|
120
|
+
*/
|
|
121
121
|
entityIdentifier: string;
|
|
122
122
|
/**
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
* The data contributed by this commit.
|
|
124
|
+
*/
|
|
125
125
|
data: {
|
|
126
126
|
/**
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
* The version of the transaction.
|
|
128
|
+
*/
|
|
129
129
|
transactionVersion?: number;
|
|
130
130
|
/**
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
* The locktime for the transaction.
|
|
132
|
+
*/
|
|
133
133
|
transactionLocktime?: number;
|
|
134
134
|
/**
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
* Variables provided in this commit.
|
|
136
|
+
*/
|
|
137
137
|
variables?: XOInvitationVariable[];
|
|
138
138
|
/**
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
* Transaction inputs provided in this commit.
|
|
140
|
+
*/
|
|
141
141
|
inputs?: XOInvitationInput[];
|
|
142
142
|
/**
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
* Transaction outputs provided in this commit.
|
|
144
|
+
*/
|
|
145
145
|
outputs?: XOInvitationOutput[];
|
|
146
146
|
};
|
|
147
147
|
/**
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
* Signature of the entity committing this data.
|
|
149
|
+
*/
|
|
150
150
|
signature: string;
|
|
151
151
|
/**
|
|
152
|
-
|
|
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
|
-
|
|
162
|
-
|
|
161
|
+
* The invitation identifier for the invitation.
|
|
162
|
+
*/
|
|
163
163
|
invitationIdentifier: string;
|
|
164
164
|
/**
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
* The timestamp when the invitation was created.
|
|
166
|
+
*/
|
|
167
167
|
createdAtTimestamp: number;
|
|
168
168
|
/**
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
* The template identifier.
|
|
170
|
+
*/
|
|
171
171
|
templateIdentifier: string;
|
|
172
172
|
/**
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
* The action identifier.
|
|
174
|
+
*/
|
|
175
175
|
actionIdentifier: string;
|
|
176
176
|
/**
|
|
177
|
-
|
|
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
|
-
|
|
193
|
-
|
|
192
|
+
* A name for this item.
|
|
193
|
+
*/
|
|
194
194
|
name: string;
|
|
195
195
|
/**
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
* A description for this item.
|
|
197
|
+
*/
|
|
198
198
|
description: string;
|
|
199
199
|
/**
|
|
200
|
-
|
|
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
|
-
|
|
210
|
-
|
|
209
|
+
* Minimum number of slots required for this role.
|
|
210
|
+
*/
|
|
211
211
|
min: number;
|
|
212
212
|
/**
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
* Maximum number of slots allowed for this role (undefined means unlimited).
|
|
214
|
+
*/
|
|
215
215
|
max: number | undefined;
|
|
216
216
|
};
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* Generic data used in requirements, intents and state.
|
|
219
219
|
*/
|
|
220
|
-
type
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
231
|
-
|
|
274
|
+
* List of secret identifiers required for this role.
|
|
275
|
+
*/
|
|
232
276
|
secrets?: string[];
|
|
233
277
|
/**
|
|
234
|
-
|
|
235
|
-
|
|
278
|
+
* List of state identifiers required for this role.
|
|
279
|
+
*/
|
|
236
280
|
state?: string[];
|
|
237
281
|
/**
|
|
238
|
-
|
|
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
|
-
|
|
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
|
-
|
|
257
|
-
|
|
300
|
+
* The role identifier that this requirement applies to.
|
|
301
|
+
*/
|
|
258
302
|
role: string;
|
|
259
303
|
/**
|
|
260
|
-
|
|
261
|
-
|
|
304
|
+
* Slot configuration for this role.
|
|
305
|
+
*/
|
|
262
306
|
slots: XOTemplateRoleSlots;
|
|
263
307
|
/**
|
|
264
|
-
|
|
265
|
-
|
|
308
|
+
* Optional list of variable identifiers required for this role.
|
|
309
|
+
*/
|
|
266
310
|
variables?: string[];
|
|
267
311
|
/**
|
|
268
|
-
|
|
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
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
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
|
-
|
|
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
|
-
|
|
294
|
-
|
|
337
|
+
* The type of this constant.
|
|
338
|
+
*/
|
|
295
339
|
type: string;
|
|
296
340
|
/**
|
|
297
|
-
|
|
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
|
-
|
|
307
|
-
|
|
350
|
+
* The value for this data field.
|
|
351
|
+
*/
|
|
308
352
|
value: string;
|
|
309
353
|
/**
|
|
310
|
-
|
|
311
|
-
|
|
354
|
+
* The type of this data field.
|
|
355
|
+
*/
|
|
312
356
|
type: string;
|
|
313
357
|
/**
|
|
314
|
-
|
|
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
|
-
|
|
324
|
-
|
|
367
|
+
* A name for this icon.
|
|
368
|
+
*/
|
|
325
369
|
name: string;
|
|
326
370
|
/**
|
|
327
|
-
|
|
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
|
-
|
|
337
|
-
|
|
338
|
-
|
|
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
|
-
|
|
343
|
-
|
|
386
|
+
* The amount of fungible tokens to omit from the change.
|
|
387
|
+
*/
|
|
344
388
|
fungibleTokens?: number | string;
|
|
345
389
|
/**
|
|
346
|
-
|
|
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
|
-
|
|
356
|
-
|
|
399
|
+
* The category of the token.
|
|
400
|
+
*/
|
|
357
401
|
category: string;
|
|
358
402
|
/**
|
|
359
|
-
|
|
360
|
-
|
|
403
|
+
* The amount of fungible tokens.
|
|
404
|
+
*/
|
|
361
405
|
amount?: string | number | null;
|
|
362
406
|
/**
|
|
363
|
-
|
|
364
|
-
|
|
407
|
+
* The configuration for the non-fungible token.
|
|
408
|
+
*/
|
|
365
409
|
nft?: {
|
|
366
410
|
/**
|
|
367
|
-
|
|
368
|
-
|
|
411
|
+
* The capability of the NFT.
|
|
412
|
+
*/
|
|
369
413
|
capability: string;
|
|
370
414
|
/**
|
|
371
|
-
|
|
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
|
-
|
|
382
|
-
|
|
383
|
-
|
|
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
|
-
|
|
388
|
-
|
|
431
|
+
* Token configuration for this input.
|
|
432
|
+
*/
|
|
389
433
|
token?: XOTemplateToken | null;
|
|
390
434
|
/**
|
|
391
|
-
|
|
392
|
-
|
|
435
|
+
* The outpoint index of this input in the transaction.
|
|
436
|
+
*/
|
|
393
437
|
outpointIndex?: number;
|
|
394
438
|
/**
|
|
395
|
-
|
|
396
|
-
|
|
439
|
+
* The outpoint transaction hash of this input in the transaction.
|
|
440
|
+
*/
|
|
397
441
|
outpointTransactionHash?: string;
|
|
398
442
|
/**
|
|
399
|
-
|
|
400
|
-
|
|
443
|
+
* The sequence number of this input.
|
|
444
|
+
*/
|
|
401
445
|
sequenceNumber?: number;
|
|
402
446
|
/**
|
|
403
|
-
|
|
404
|
-
|
|
447
|
+
* The unlocking script for this input.
|
|
448
|
+
*/
|
|
405
449
|
unlockingScript?: string;
|
|
406
450
|
/**
|
|
407
|
-
|
|
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
|
-
|
|
417
|
-
|
|
460
|
+
* The action.
|
|
461
|
+
*/
|
|
418
462
|
action: string;
|
|
419
463
|
/**
|
|
420
|
-
|
|
421
|
-
|
|
464
|
+
* The role identifier for this action.
|
|
465
|
+
*/
|
|
422
466
|
role: string;
|
|
423
467
|
/**
|
|
424
|
-
|
|
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
|
-
|
|
434
|
-
|
|
477
|
+
* List of variable identifiers required for this role.
|
|
478
|
+
*/
|
|
435
479
|
variables?: string[];
|
|
436
480
|
/**
|
|
437
|
-
|
|
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
|
-
|
|
447
|
-
|
|
490
|
+
* State configuration for this role.
|
|
491
|
+
*/
|
|
448
492
|
state?: XOTemplateLockingScriptRoleState;
|
|
449
493
|
/**
|
|
450
|
-
|
|
451
|
-
|
|
494
|
+
* List of action references available to this role.
|
|
495
|
+
*/
|
|
452
496
|
actions?: XOTemplateLockingScriptRoleAction[];
|
|
453
497
|
/**
|
|
454
|
-
|
|
455
|
-
|
|
498
|
+
* Balance configuration for this role.
|
|
499
|
+
*/
|
|
456
500
|
balance?: XOTemplateBalance;
|
|
457
501
|
/**
|
|
458
|
-
|
|
459
|
-
|
|
502
|
+
* Whether outputs locked to this script should be selectable for coin selection.
|
|
503
|
+
*/
|
|
460
504
|
selectable?: boolean;
|
|
461
505
|
/**
|
|
462
|
-
|
|
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
|
-
|
|
472
|
-
|
|
515
|
+
* The type of locking mechanism.
|
|
516
|
+
*/
|
|
473
517
|
lockingType?: string;
|
|
474
518
|
/**
|
|
475
|
-
|
|
476
|
-
|
|
519
|
+
* The locking script.
|
|
520
|
+
*/
|
|
477
521
|
lockingScript?: string;
|
|
478
522
|
/**
|
|
479
|
-
|
|
480
|
-
|
|
523
|
+
* The unlocking script.
|
|
524
|
+
*/
|
|
481
525
|
unlockingScript?: string;
|
|
482
526
|
/**
|
|
483
|
-
|
|
484
|
-
|
|
527
|
+
* The actions available for this locking script.
|
|
528
|
+
*/
|
|
485
529
|
actions?: string[];
|
|
486
530
|
/**
|
|
487
|
-
|
|
488
|
-
|
|
531
|
+
* The state for this locking script.
|
|
532
|
+
*/
|
|
489
533
|
state?: string[];
|
|
490
534
|
/**
|
|
491
|
-
|
|
492
|
-
|
|
535
|
+
* The secrets for this locking script.
|
|
536
|
+
*/
|
|
493
537
|
secrets?: string[];
|
|
494
538
|
/**
|
|
495
|
-
|
|
496
|
-
|
|
539
|
+
* Whether outputs locked to this script should be included in the balance.
|
|
540
|
+
*/
|
|
497
541
|
balance?: boolean;
|
|
498
542
|
/**
|
|
499
|
-
|
|
500
|
-
|
|
543
|
+
* Whether outputs locked to this script should be selectable.
|
|
544
|
+
*/
|
|
501
545
|
selectable?: boolean;
|
|
502
546
|
/**
|
|
503
|
-
|
|
504
|
-
|
|
547
|
+
* Whether outputs locked to this script are considered private.
|
|
548
|
+
*/
|
|
505
549
|
privacy?: boolean;
|
|
506
550
|
/**
|
|
507
|
-
|
|
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
|
-
|
|
523
|
-
|
|
566
|
+
* The outpoint index of this output in the transaction.
|
|
567
|
+
*/
|
|
524
568
|
outpointIndex?: number;
|
|
525
569
|
/**
|
|
526
|
-
|
|
527
|
-
|
|
570
|
+
* The locking script for this output.
|
|
571
|
+
*/
|
|
528
572
|
lockscript?: string;
|
|
529
573
|
/**
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
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
|
-
|
|
537
|
-
|
|
580
|
+
* Token configuration for this output.
|
|
581
|
+
*/
|
|
538
582
|
token?: XOTemplateToken | null;
|
|
539
583
|
/**
|
|
540
|
-
|
|
541
|
-
|
|
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
|
|
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
|
-
|
|
574
|
-
|
|
604
|
+
* The input definition identifier.
|
|
605
|
+
*/
|
|
575
606
|
input: string;
|
|
576
607
|
/**
|
|
577
|
-
|
|
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
|
-
|
|
587
|
-
|
|
617
|
+
* The output definition identifier.
|
|
618
|
+
*/
|
|
588
619
|
output: string;
|
|
589
620
|
/**
|
|
590
|
-
|
|
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
|
-
|
|
600
|
-
|
|
630
|
+
* The inputs required for this role.
|
|
631
|
+
*/
|
|
601
632
|
inputs?: string[];
|
|
602
633
|
/**
|
|
603
|
-
|
|
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
|
-
|
|
613
|
-
|
|
643
|
+
* The version of the transaction.
|
|
644
|
+
*/
|
|
614
645
|
version?: number;
|
|
615
646
|
/**
|
|
616
|
-
|
|
617
|
-
|
|
647
|
+
* The locktime for this transaction.
|
|
648
|
+
*/
|
|
618
649
|
locktime?: number;
|
|
619
650
|
/**
|
|
620
|
-
|
|
621
|
-
|
|
651
|
+
* The inputs for this transaction
|
|
652
|
+
*/
|
|
622
653
|
inputs?: XOTemplateTransactionInput[];
|
|
623
654
|
/**
|
|
624
|
-
|
|
625
|
-
|
|
655
|
+
* The outputs for this transaction
|
|
656
|
+
*/
|
|
626
657
|
outputs?: XOTemplateTransactionOutput[];
|
|
627
658
|
/**
|
|
628
|
-
|
|
629
|
-
|
|
659
|
+
* The roles required for this transaction.
|
|
660
|
+
*/
|
|
630
661
|
roles?: Record<string, XOTemplateTransactionRoleData>;
|
|
631
662
|
/**
|
|
632
|
-
|
|
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
|
-
|
|
642
|
-
|
|
672
|
+
* The data type of this variable.
|
|
673
|
+
*/
|
|
643
674
|
type?: string;
|
|
644
675
|
/**
|
|
645
|
-
|
|
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
|
-
|
|
655
|
-
|
|
685
|
+
* The roles for this action.
|
|
686
|
+
*/
|
|
656
687
|
roles?: {
|
|
657
688
|
[roleId: string]: XOTemplateActionRole;
|
|
658
689
|
};
|
|
659
690
|
/**
|
|
660
|
-
|
|
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
|
-
|
|
670
|
-
|
|
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
|
-
|
|
675
|
-
|
|
705
|
+
* The transaction that this action may create.
|
|
706
|
+
*/
|
|
676
707
|
transaction?: string;
|
|
677
708
|
/**
|
|
678
|
-
|
|
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
|
-
|
|
688
|
-
|
|
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
|
-
|
|
693
|
-
|
|
723
|
+
* A number identifying the format version of this template.
|
|
724
|
+
*/
|
|
694
725
|
version?: number;
|
|
695
726
|
/**
|
|
696
|
-
|
|
697
|
-
|
|
727
|
+
* The supported authentication virtual machine versions or network identifiers for this template.
|
|
728
|
+
*/
|
|
698
729
|
supported?: string[];
|
|
699
730
|
/**
|
|
700
|
-
|
|
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
|
-
|
|
707
|
-
|
|
708
|
-
start:
|
|
743
|
+
* A list of entry points defining which actions are available to each role at the start.
|
|
744
|
+
*/
|
|
745
|
+
start: XOTemplateStartingActionIntents;
|
|
709
746
|
/**
|
|
710
|
-
|
|
711
|
-
|
|
747
|
+
* The actions defined in this template.
|
|
748
|
+
*/
|
|
712
749
|
actions: {
|
|
713
750
|
[actionId: string]: XOTemplateAction;
|
|
714
751
|
};
|
|
715
752
|
/**
|
|
716
|
-
|
|
717
|
-
|
|
753
|
+
* The data fields defined in this template.
|
|
754
|
+
*/
|
|
718
755
|
data?: {
|
|
719
756
|
[dataId: string]: XOTemplateData;
|
|
720
757
|
};
|
|
721
758
|
/**
|
|
722
|
-
|
|
723
|
-
|
|
759
|
+
* The transaction templates defined in this template.
|
|
760
|
+
*/
|
|
724
761
|
transactions?: {
|
|
725
762
|
[transactionId: string]: XOTemplateTransaction;
|
|
726
763
|
};
|
|
727
764
|
/**
|
|
728
|
-
|
|
729
|
-
|
|
765
|
+
* The inputs defined in this template.
|
|
766
|
+
*/
|
|
730
767
|
inputs: {
|
|
731
768
|
[inputId: string]: XOTemplateInput;
|
|
732
769
|
};
|
|
733
770
|
/**
|
|
734
|
-
|
|
735
|
-
|
|
771
|
+
* The outputs defined in this template.
|
|
772
|
+
*/
|
|
736
773
|
outputs: {
|
|
737
774
|
[outputId: string]: XOTemplateOutput;
|
|
738
775
|
};
|
|
739
776
|
/**
|
|
740
|
-
|
|
741
|
-
|
|
777
|
+
* The locking script templates defined in this template.
|
|
778
|
+
*/
|
|
742
779
|
lockingScripts: {
|
|
743
780
|
[scriptId: string]: XOTemplateLockingScript;
|
|
744
781
|
};
|
|
745
782
|
/**
|
|
746
|
-
|
|
747
|
-
|
|
783
|
+
* The scripts used in this template.
|
|
784
|
+
*/
|
|
748
785
|
scripts: {
|
|
749
786
|
[scriptId: string]: string;
|
|
750
787
|
};
|
|
751
788
|
/**
|
|
752
|
-
|
|
753
|
-
|
|
789
|
+
* The constants defined in this template.
|
|
790
|
+
*/
|
|
754
791
|
constants?: {
|
|
755
792
|
[constantId: string]: XOTemplateConstant;
|
|
756
793
|
};
|
|
757
794
|
/**
|
|
758
|
-
|
|
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
|
-
|
|
765
|
-
|
|
801
|
+
* The icons available for use throughout the template.
|
|
802
|
+
*/
|
|
766
803
|
icons?: XOTemplateIcon[];
|
|
767
804
|
/**
|
|
768
|
-
|
|
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,
|
|
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
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../source/invitation.ts","../source/template.ts"],"mappings":"
|
|
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;;;;KAMQ,wBAAA,GAA2B,2BAAA;EACnC,KAAA,GAAQ,MAAA,SAAe,2BAAA;AAAA;;;;KAMf,yBAAA;;;;KAKA,oBAAA;EAXe;;;EAgBvB,kBAAA;EAViC;;;EAejC,KAAA,EAAO,yBAAA;EAVC;;;EAeR,cAAA;AAAA;;;;KAMQ,iBAAA,GAAoB,OAAA,CAAQ,KAAA;EANtB;AAMlB;;EAKI,eAAA;EALmC;;;EAUnC,gBAAA;EAAA;;;;EAMA,cAAA;EAgBS;;AAOb;EAlBI,UAAA;IAkBqC;;;IAbjC,gBAAA;IAkBJ;;;;IAZI,KAAA;EAAA;AAAA;;;AAkDR;KA3CY,kBAAA,GA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