Merge branch 'update/defaults' into 'development'

Add receive and address in default

See merge request GeneralProtocols/xo/utils!21
This commit is contained in:
Kuldeep
2026-09-25 11:57:29 +00:00
3 changed files with 10 additions and 8 deletions
+6 -6
View File
@@ -1,17 +1,17 @@
{
"name": "@xo-cash/utils",
"version": "0.0.8",
"version": "0.0.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@xo-cash/utils",
"version": "0.0.8",
"version": "0.0.9",
"license": "MIT",
"dependencies": {
"@bitauth/libauth": "^3.1.0-next.8",
"@xo-cash/primitives": "0.0.2",
"@xo-cash/types": "0.0.6",
"@xo-cash/types": "0.0.7",
"zod": "^4.3.6"
},
"devDependencies": {
@@ -2969,9 +2969,9 @@
}
},
"node_modules/@xo-cash/types": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.6.tgz",
"integrity": "sha512-SZBY8RA6V6lhdr5qwJtcQZVWqeT++pHXwOTHJeeBT3LDABIP7wcmoniKYuQehtmqV8Ttb8LGL4d0XemBd+6U7Q==",
"version": "0.0.7",
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.7.tgz",
"integrity": "sha512-xqcuFI9kl39JY0NcHZB+lHHE3W5jthEH2e/iQKVi9c7DbZ7TzC5jKMnY29udUlWxQeNZ0fnqW/ewDar7hrryRg==",
"license": "MIT",
"dependencies": {
"@bitauth/libauth": "^3.1.0-next.8"
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@xo-cash/utils",
"version": "0.0.8",
"version": "0.0.9",
"description": "XO Cash utilities",
"type": "module",
"types": "./dist/index.d.mts",
@@ -48,7 +48,7 @@
"dependencies": {
"@bitauth/libauth": "^3.1.0-next.8",
"@xo-cash/primitives": "0.0.2",
"@xo-cash/types": "0.0.6",
"@xo-cash/types": "0.0.7",
"zod": "^4.3.6"
},
"overrides": {
+2
View File
@@ -863,6 +863,8 @@ export const xoTemplateIconSchema = xoTemplateViewPropertiesSchema
export const xoTemplateDefaultsSchema = z
.object({
change: xoTemplateOutputIntentSchema.optional().describe('Instructions for how to construct automated change output.'),
address: xoTemplateLockingScriptIntentSchema.optional().describe('Configure the default intent structure for creating receiving addresses / locking scripts.'),
receive: xoTemplateOutputIntentSchema.optional().describe('Configure the default intent structure for creating receive outputs.'),
})
.strict();