Merge branch 'feat/relevant_property' into 'development'
Add relevant field property in the schema See merge request GeneralProtocols/xo/utils!18
This commit is contained in:
Generated
+14
-4
@@ -1,17 +1,17 @@
|
||||
{
|
||||
"name": "@xo-cash/utils",
|
||||
"version": "0.0.4",
|
||||
"version": "0.0.5",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@xo-cash/utils",
|
||||
"version": "0.0.4",
|
||||
"version": "0.0.5",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@bitauth/libauth": "^3.1.0-next.8",
|
||||
"@xo-cash/primitives": "0.0.2",
|
||||
"@xo-cash/types": "0.0.4",
|
||||
"@xo-cash/types": "0.0.5",
|
||||
"zod": "^4.3.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -2941,10 +2941,20 @@
|
||||
"@xo-cash/types": "0.0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@xo-cash/types": {
|
||||
"node_modules/@xo-cash/templates/node_modules/@xo-cash/types": {
|
||||
"version": "0.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.4.tgz",
|
||||
"integrity": "sha512-XBB/jNC1orDcMUi5Q0g+fnPXdKdb+n7OyqmJ8pxFrfM0y9OAdLjfddMih/JWfOWQtBkvY0CtdaZapgBSrvLeSw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@bitauth/libauth": "^3.1.0-next.8"
|
||||
}
|
||||
},
|
||||
"node_modules/@xo-cash/types": {
|
||||
"version": "0.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.5.tgz",
|
||||
"integrity": "sha512-qoLqR4mrm/Wnp+luZSJNzrjHL6x6baforwIFSEiMz00uXfJJcpCFwckoN4TcUrNrNyvPOgfJUp5qAg8SO+AJ3A==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@bitauth/libauth": "^3.1.0-next.8"
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@xo-cash/utils",
|
||||
"version": "0.0.4",
|
||||
"version": "0.0.5",
|
||||
"description": "XO Cash utilities",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.mts",
|
||||
@@ -45,7 +45,7 @@
|
||||
"dependencies": {
|
||||
"@bitauth/libauth": "^3.1.0-next.8",
|
||||
"@xo-cash/primitives": "0.0.2",
|
||||
"@xo-cash/types": "0.0.4",
|
||||
"@xo-cash/types": "0.0.5",
|
||||
"zod": "^4.3.6"
|
||||
},
|
||||
"overrides": {
|
||||
|
||||
@@ -521,6 +521,11 @@ export const xoTemplateLockingScriptRoleSchema = xoTemplateViewPropertiesSchema
|
||||
actions: z.array(xoTemplateActionIntentSchema).optional().describe('List of action references available to this role.'),
|
||||
balance: xoTemplateAssetAmountsSchema.partial().optional().describe('Estimated ownership in the optional set of asset amounts specified.'),
|
||||
selectable: z.boolean().optional().describe('Whether outputs locked to this script should be available for coin selection.'),
|
||||
relevant: z
|
||||
.union([ z.boolean(), z.string() ])
|
||||
.optional()
|
||||
.describe('Whether this output or locking script should be tracked by the engine, When omitted, the engine treats this field as true.'
|
||||
+ 'Accepts true, false, or a CashASM expression that evaluates to a boolean relevance value.'),
|
||||
privacy: z
|
||||
.union([ z.number(), z.string() ])
|
||||
.optional()
|
||||
|
||||
Reference in New Issue
Block a user