Add receive and address in default

This commit is contained in:
kiok46
2026-09-25 17:06:36 +05:30
parent 04db9f4c0e
commit 4a5d6486a4
3 changed files with 10 additions and 8 deletions
+6 -6
View File
@@ -1,17 +1,17 @@
{ {
"name": "@xo-cash/utils", "name": "@xo-cash/utils",
"version": "0.0.8", "version": "0.0.9",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@xo-cash/utils", "name": "@xo-cash/utils",
"version": "0.0.8", "version": "0.0.9",
"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.6", "@xo-cash/types": "0.0.7",
"zod": "^4.3.6" "zod": "^4.3.6"
}, },
"devDependencies": { "devDependencies": {
@@ -2969,9 +2969,9 @@
} }
}, },
"node_modules/@xo-cash/types": { "node_modules/@xo-cash/types": {
"version": "0.0.6", "version": "0.0.7",
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.6.tgz", "resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.7.tgz",
"integrity": "sha512-SZBY8RA6V6lhdr5qwJtcQZVWqeT++pHXwOTHJeeBT3LDABIP7wcmoniKYuQehtmqV8Ttb8LGL4d0XemBd+6U7Q==", "integrity": "sha512-xqcuFI9kl39JY0NcHZB+lHHE3W5jthEH2e/iQKVi9c7DbZ7TzC5jKMnY29udUlWxQeNZ0fnqW/ewDar7hrryRg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@bitauth/libauth": "^3.1.0-next.8" "@bitauth/libauth": "^3.1.0-next.8"
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@xo-cash/utils", "name": "@xo-cash/utils",
"version": "0.0.8", "version": "0.0.9",
"description": "XO Cash utilities", "description": "XO Cash utilities",
"type": "module", "type": "module",
"types": "./dist/index.d.mts", "types": "./dist/index.d.mts",
@@ -48,7 +48,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.6", "@xo-cash/types": "0.0.7",
"zod": "^4.3.6" "zod": "^4.3.6"
}, },
"overrides": { "overrides": {
+2
View File
@@ -863,6 +863,8 @@ export const xoTemplateIconSchema = xoTemplateViewPropertiesSchema
export const xoTemplateDefaultsSchema = z export const xoTemplateDefaultsSchema = z
.object({ .object({
change: xoTemplateOutputIntentSchema.optional().describe('Instructions for how to construct automated change output.'), 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(); .strict();