Add relevant field property in the schema
This commit is contained in:
Generated
+14
-4
@@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"name": "@xo-cash/utils",
|
"name": "@xo-cash/utils",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@xo-cash/utils",
|
"name": "@xo-cash/utils",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bitauth/libauth": "^3.1.0-next.8",
|
"@bitauth/libauth": "^3.1.0-next.8",
|
||||||
"@xo-cash/primitives": "0.0.2",
|
"@xo-cash/primitives": "0.0.2",
|
||||||
"@xo-cash/types": "0.0.4",
|
"@xo-cash/types": "0.0.5",
|
||||||
"zod": "^4.3.6"
|
"zod": "^4.3.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -2941,10 +2941,20 @@
|
|||||||
"@xo-cash/types": "0.0.4"
|
"@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",
|
"version": "0.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.4.tgz",
|
||||||
"integrity": "sha512-XBB/jNC1orDcMUi5Q0g+fnPXdKdb+n7OyqmJ8pxFrfM0y9OAdLjfddMih/JWfOWQtBkvY0CtdaZapgBSrvLeSw==",
|
"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",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bitauth/libauth": "^3.1.0-next.8"
|
"@bitauth/libauth": "^3.1.0-next.8"
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@xo-cash/utils",
|
"name": "@xo-cash/utils",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"description": "XO Cash utilities",
|
"description": "XO Cash utilities",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./dist/index.d.mts",
|
"types": "./dist/index.d.mts",
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bitauth/libauth": "^3.1.0-next.8",
|
"@bitauth/libauth": "^3.1.0-next.8",
|
||||||
"@xo-cash/primitives": "0.0.2",
|
"@xo-cash/primitives": "0.0.2",
|
||||||
"@xo-cash/types": "0.0.4",
|
"@xo-cash/types": "0.0.5",
|
||||||
"zod": "^4.3.6"
|
"zod": "^4.3.6"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
|
|||||||
@@ -521,6 +521,11 @@ export const xoTemplateLockingScriptRoleSchema = xoTemplateViewPropertiesSchema
|
|||||||
actions: z.array(xoTemplateActionIntentSchema).optional().describe('List of action references available to this role.'),
|
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.'),
|
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.'),
|
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
|
privacy: z
|
||||||
.union([ z.number(), z.string() ])
|
.union([ z.number(), z.string() ])
|
||||||
.optional()
|
.optional()
|
||||||
|
|||||||
Reference in New Issue
Block a user