diff --git a/package-lock.json b/package-lock.json index 4aaf35d..2d1a9ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "@xo-cash/utils", - "version": "0.0.1", + "version": "0.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@xo-cash/utils", - "version": "0.0.1", + "version": "0.0.2", "license": "MIT", "dependencies": { "@bitauth/libauth": "^3.1.0-next.8", - "@xo-cash/types": "0.0.2", + "@xo-cash/types": "0.0.3", "zod": "^4.3.6" }, "devDependencies": { @@ -2941,9 +2941,9 @@ } }, "node_modules/@xo-cash/types": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.2.tgz", - "integrity": "sha512-mqSzdhIM7AnYuAv6aBn0r/jRjiaGdk9Ej8F3YmagfETb+BVtBCV1I2oDGHU/9Djy2q2rfdUtvfwiCpLIli6t6w==", + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.3.tgz", + "integrity": "sha512-TgPEgp7C+GqGEyN7a7fpQa9uvUyY75Xir5BDBM/+C29OLdBoL8Rj+P8MWfcALtGxt+REFUdceNgFic26uCihng==", "license": "MIT", "dependencies": { "@bitauth/libauth": "^3.1.0-next.8" @@ -4770,14 +4770,14 @@ "dev": true }, "node_modules/echarts": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.6.0.tgz", - "integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/echarts/-/echarts-6.1.0.tgz", + "integrity": "sha512-q0yaFPggC9FUdsWH4blavRWFmxdrIodbkoKNAjJudAI6CA9gNPxHtV2RcZNEepZVlk4yvBYkOkbk6HIVpIyHZA==", "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "2.3.0", - "zrender": "5.6.1" + "zrender": "6.1.0" } }, "node_modules/ee-first": { @@ -10997,9 +10997,9 @@ } }, "node_modules/zrender": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.6.1.tgz", - "integrity": "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/zrender/-/zrender-6.1.0.tgz", + "integrity": "sha512-oEGMDB6pOP2S6OwRR4PdVv610zrjnA3Bh+JnSG12fYJlBKjtNAoEb5fSUoCOOINlH96I2fU38/A2UpRKs67xYQ==", "dev": true, "license": "BSD-3-Clause", "dependencies": { diff --git a/package.json b/package.json index 4e0b5c8..17576df 100644 --- a/package.json +++ b/package.json @@ -44,9 +44,12 @@ ], "dependencies": { "@bitauth/libauth": "^3.1.0-next.8", - "@xo-cash/types": "0.0.2", + "@xo-cash/types": "0.0.3", "zod": "^4.3.6" }, + "overrides": { + "echarts": "6.1.0" + }, "devDependencies": { "@chalp/eslint-airbnb": "^1.3.0", "@generalprotocols/cspell-dictionary": "^1.0.1", diff --git a/test/parse-template.test.ts b/test/parse-template.test.ts index 79780db..f6349bf 100644 --- a/test/parse-template.test.ts +++ b/test/parse-template.test.ts @@ -123,7 +123,8 @@ const testParseTemplateThrowsOnMissingRequiredFields = (): void => { */ const testParseTemplateThrowsOnMissingScriptsField = (): void => { // Set scripts to undefined to test the field path for a missing record - const templateWithoutScripts = { ...p2pkhTemplate, scripts: undefined }; + // @ts-expect-error - scripts is intentionally undefined for this test case + const templateWithoutScripts: XOTemplate = { ...p2pkhTemplate, scripts: undefined }; let thrownError: unknown; diff --git a/tsconfig.json b/tsconfig.json index fbf1c45..106b15f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "module": "es2022", "target": "es2022", "skipLibCheck": true, + "strict": true, "moduleResolution": "bundler", "resolveJsonModule": true, "allowImportingTsExtensions": true, diff --git a/typedoc.json b/typedoc.json index 240ae1d..97e1338 100644 --- a/typedoc.json +++ b/typedoc.json @@ -3,6 +3,7 @@ "out": "public/", "plugin": ["typedoc-plugin-coverage"], "maxTypeConversionDepth": 2, + "excludeExternals": true, "visibilityFilters": { "protected": false, "private": false,