From 4a5d6486a4d4ec75ec91c6d7b43745fcb209ddf6 Mon Sep 17 00:00:00 2001 From: kiok46 Date: Fri, 25 Sep 2026 17:06:36 +0530 Subject: [PATCH] Add receive and address in default --- package-lock.json | 12 ++++++------ package.json | 4 ++-- source/template/schemas.ts | 2 ++ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0cb6e63..5a203ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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" diff --git a/package.json b/package.json index d50bf89..e3612f1 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/source/template/schemas.ts b/source/template/schemas.ts index 0445caf..76aa868 100644 --- a/source/template/schemas.ts +++ b/source/template/schemas.ts @@ -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();