diff --git a/package-lock.json b/package-lock.json index 6de1ee8..4498650 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "bolt12-pay-startos", "dependencies": { - "@start9labs/start-sdk": "2.0.6", + "@start9labs/start-sdk": "2.0.7", "bitcoin-core-startos": "github:Start9Labs/bitcoin-core-startos#next/28.x", "lnd-startos": "github:Start9Labs/lnd-startos#next" }, @@ -17,6 +17,12 @@ "typescript": "^6.0.3" } }, + "node_modules/@iarna/toml": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-3.0.0.tgz", + "integrity": "sha512-td6ZUkz2oS3VeleBcN+m//Q6HlCFCPrnI0FZhrt/h4XqLEdOyYp2u21nd8MdsR+WJy5r9PTDaHTDDfhf4H4l6Q==", + "license": "ISC" + }, "node_modules/@noble/curves": { "version": "1.9.7", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.7.tgz", @@ -57,9 +63,9 @@ "license": "MIT" }, "node_modules/@start9labs/start-sdk": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-2.0.6.tgz", - "integrity": "sha512-0aTCnCvDZWp3UGqmyB8xQL1A0mWYlIwbTdHyQQkha/aOAzFpTIC6MIwkDCLnXLpoFqhF6btbBPp9hIMKwsRBOw==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-2.0.7.tgz", + "integrity": "sha512-lJuZto0vfD/2fPubzwavuStAdlnQQo8AmYFvBBhENY4WbXAXJ64b5zuXwrkmJ8wZObUngno5LYZWWr7yOlYLxQ==", "bundleDependencies": [ "@start9labs/start-core", "eslint", @@ -330,12 +336,27 @@ "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@start9labs/start-sdk/node_modules/@iarna/toml": { + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core": { + "inBundle": true, + "license": "MIT", + "dependencies": { + "@iarna/toml": "^3.0.0", + "@noble/curves": "^1.9.7", + "@noble/hashes": "^1.8.0", + "deep-equality-data-structures": "^2.0.0", + "isomorphic-fetch": "^3.0.0", + "mime": "^4.1.0", + "yaml": "^2.8.3", + "zod": "4.4.3", + "zod-deep-partial": "^1.4.4" + } + }, + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/@iarna/toml": { "version": "3.0.0", "inBundle": true, "license": "ISC" }, - "node_modules/@start9labs/start-sdk/node_modules/@noble/curves": { + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/@noble/curves": { "version": "1.9.7", "inBundle": true, "license": "MIT", @@ -349,7 +370,7 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/@start9labs/start-sdk/node_modules/@noble/hashes": { + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/@noble/hashes": { "version": "1.8.0", "inBundle": true, "license": "MIT", @@ -360,27 +381,100 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core": { + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/deep-equality-data-structures": { + "version": "2.0.0", "inBundle": true, "license": "MIT", "dependencies": { - "@iarna/toml": "^3.0.0", - "@noble/curves": "^1.9.7", - "@noble/hashes": "^1.8.0", - "deep-equality-data-structures": "^2.0.0", - "isomorphic-fetch": "^3.0.0", - "mime": "^4.1.0", - "yaml": "^2.8.3", - "zod": "4.4.3", - "zod-deep-partial": "^1.4.4" + "object-hash": "^3.0.0" } }, - "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/deep-equality-data-structures": { - "version": "2.0.0", + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/isomorphic-fetch": { + "version": "3.0.0", "inBundle": true, "license": "MIT", "dependencies": { - "object-hash": "^3.0.0" + "node-fetch": "^2.6.1", + "whatwg-fetch": "^3.4.1" + } + }, + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/mime": { + "version": "4.1.0", + "funding": [ + "https://github.com/sponsors/broofa" + ], + "inBundle": true, + "license": "MIT", + "bin": { + "mime": "bin/cli.js" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/node-fetch": { + "version": "2.7.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/object-hash": { + "version": "3.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/tr46": { + "version": "0.0.3", + "inBundle": true, + "license": "MIT" + }, + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/webidl-conversions": { + "version": "3.0.1", + "inBundle": true, + "license": "BSD-2-Clause" + }, + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/whatwg-fetch": { + "version": "3.6.20", + "inBundle": true, + "license": "MIT" + }, + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/whatwg-url": { + "version": "5.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/yaml": { + "version": "2.9.0", + "inBundle": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" } }, "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/zod": { @@ -391,6 +485,14 @@ "url": "https://github.com/sponsors/colinhacks" } }, + "node_modules/@start9labs/start-sdk/node_modules/@start9labs/start-core/node_modules/zod-deep-partial": { + "version": "1.4.4", + "inBundle": true, + "license": "MIT", + "peerDependencies": { + "zod": "^4.1.13" + } + }, "node_modules/@start9labs/start-sdk/node_modules/@types/estree": { "version": "1.0.9", "inBundle": true, @@ -1159,15 +1261,6 @@ "inBundle": true, "license": "ISC" }, - "node_modules/@start9labs/start-sdk/node_modules/isomorphic-fetch": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "node-fetch": "^2.6.1", - "whatwg-fetch": "^3.4.1" - } - }, "node_modules/@start9labs/start-sdk/node_modules/json-buffer": { "version": "3.0.1", "inBundle": true, @@ -1208,20 +1301,6 @@ "inBundle": true, "license": "MIT" }, - "node_modules/@start9labs/start-sdk/node_modules/mime": { - "version": "4.1.0", - "funding": [ - "https://github.com/sponsors/broofa" - ], - "inBundle": true, - "license": "MIT", - "bin": { - "mime": "bin/cli.js" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/@start9labs/start-sdk/node_modules/ms": { "version": "2.1.3", "inBundle": true, @@ -1232,33 +1311,6 @@ "inBundle": true, "license": "MIT" }, - "node_modules/@start9labs/start-sdk/node_modules/node-fetch": { - "version": "2.7.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/@start9labs/start-sdk/node_modules/object-hash": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, "node_modules/@start9labs/start-sdk/node_modules/optionator": { "version": "0.9.4", "inBundle": true, @@ -1399,11 +1451,6 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/@start9labs/start-sdk/node_modules/tr46": { - "version": "0.0.3", - "inBundle": true, - "license": "MIT" - }, "node_modules/@start9labs/start-sdk/node_modules/ts-api-utils": { "version": "2.5.0", "inBundle": true, @@ -1456,25 +1503,6 @@ "punycode": "^2.1.0" } }, - "node_modules/@start9labs/start-sdk/node_modules/webidl-conversions": { - "version": "3.0.1", - "inBundle": true, - "license": "BSD-2-Clause" - }, - "node_modules/@start9labs/start-sdk/node_modules/whatwg-fetch": { - "version": "3.6.20", - "inBundle": true, - "license": "MIT" - }, - "node_modules/@start9labs/start-sdk/node_modules/whatwg-url": { - "version": "5.0.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, "node_modules/@start9labs/start-sdk/node_modules/which": { "version": "2.0.2", "inBundle": true, @@ -1497,20 +1525,6 @@ "node": ">=0.10.0" } }, - "node_modules/@start9labs/start-sdk/node_modules/yaml": { - "version": "2.9.0", - "inBundle": true, - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14.6" - }, - "funding": { - "url": "https://github.com/sponsors/eemeli" - } - }, "node_modules/@start9labs/start-sdk/node_modules/yocto-queue": { "version": "0.1.0", "inBundle": true, @@ -1522,14 +1536,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@start9labs/start-sdk/node_modules/zod-deep-partial": { - "version": "1.4.4", - "inBundle": true, - "license": "MIT", - "peerDependencies": { - "zod": "^4.1.13" - } - }, "node_modules/@types/ini": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/@types/ini/-/ini-4.1.1.tgz", @@ -1569,9 +1575,9 @@ "license": "MIT" }, "node_modules/bitcoin-core-startos": { - "resolved": "git+ssh://git@github.com/Start9Labs/bitcoin-core-startos.git#b6bea2df9716acbebddda444299ac2838c05f2f7", + "resolved": "git+ssh://git@github.com/Start9Labs/bitcoin-core-startos.git#4f8dff85044df9c6ce1179f7a6090ee648c54ae8", "dependencies": { - "@start9labs/start-sdk": "2.0.6", + "@start9labs/start-sdk": "2.0.7", "diskusage": "^1.2.0", "tor-startos": "github:Start9Labs/tor-startos#next" } @@ -1648,10 +1654,20 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/isomorphic-fetch": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz", + "integrity": "sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA==", + "license": "MIT", + "dependencies": { + "node-fetch": "^2.6.1", + "whatwg-fetch": "^3.4.1" + } + }, "node_modules/lnd-startos": { - "resolved": "git+ssh://git@github.com/Start9Labs/lnd-startos.git#43233befea6f6148f9aefa8a892cca31d72b551e", + "resolved": "git+ssh://git@github.com/Start9Labs/lnd-startos.git#7881e414558146b8ab8325016d95af4c36dd8b4b", "dependencies": { - "@start9labs/start-sdk": "2.0.6", + "@start9labs/start-sdk": "2.0.7", "bitcoin-core-startos": "github:Start9Labs/bitcoin-core-startos#next/28.x", "mime": "^4.0.7", "rfc4648": "1.5.4", @@ -1679,6 +1695,26 @@ "integrity": "sha512-fTsDz99OTq2sVePhGdp4qQhggZFtKr64ZNVyVajRKtMOkJxYekplBh577PiJB12v/D3s2E5cGtOI45LWp6rnLQ==", "license": "MIT" }, + "node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, "node_modules/object-hash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", @@ -1741,13 +1777,19 @@ } }, "node_modules/tor-startos": { - "resolved": "git+ssh://git@github.com/Start9Labs/tor-startos.git#d13799d9b08f8da41d27d9ec0f47d9c80c8e0199", + "resolved": "git+ssh://git@github.com/Start9Labs/tor-startos.git#e3e2b53a84cb92855ac7b35764df288fab1fa333", "dependencies": { "@noble/curves": "*", - "@start9labs/start-sdk": "2.0.6", + "@start9labs/start-sdk": "2.0.7", "rfc4648": "^1.5.4" } }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" + }, "node_modules/typescript": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", @@ -1768,6 +1810,28 @@ "dev": true, "license": "MIT" }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-fetch": { + "version": "3.6.20", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", + "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==", + "license": "MIT" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, "node_modules/xml-naming": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/xml-naming/-/xml-naming-0.1.0.tgz", @@ -1783,6 +1847,21 @@ "node": ">=16.0.0" } }, + "node_modules/yaml": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz", + "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==", + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" + } + }, "node_modules/zod": { "version": "4.4.3", "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", @@ -1791,6 +1870,15 @@ "funding": { "url": "https://github.com/sponsors/colinhacks" } + }, + "node_modules/zod-deep-partial": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/zod-deep-partial/-/zod-deep-partial-1.4.4.tgz", + "integrity": "sha512-aWkPl7hVStgE01WzbbSxCgX4O+sSpgt8JOjvFUtMTF75VgL6MhWQbiZi+AWGN85SfSTtI9gsOtL1vInoqfDVaA==", + "license": "MIT", + "peerDependencies": { + "zod": "^4.1.13" + } } } } diff --git a/package.json b/package.json index e0e7398..b5f6f9c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "check": "tsc --noEmit" }, "dependencies": { - "@start9labs/start-sdk": "2.0.6", + "@start9labs/start-sdk": "2.0.7", "bitcoin-core-startos": "github:Start9Labs/bitcoin-core-startos#next/28.x", "lnd-startos": "github:Start9Labs/lnd-startos#next" }, diff --git a/startos/dependencies.ts b/startos/dependencies.ts index 2a5ce58..e523517 100644 --- a/startos/dependencies.ts +++ b/startos/dependencies.ts @@ -43,7 +43,7 @@ export const setDependencies = sdk.setupDependencies(async ({ effects }) => { return { lnd: { kind: 'running', - versionRange: '>=0.20.1-beta:12', + versionRange: '>=0.21.1-beta:4', healthChecks: ['lnd'], }, } diff --git a/startos/versions/current.ts b/startos/versions/current.ts index ba006c9..e721d46 100644 --- a/startos/versions/current.ts +++ b/startos/versions/current.ts @@ -1,7 +1,7 @@ import { VersionInfo, IMPOSSIBLE } from '@start9labs/start-sdk' export const current = VersionInfo.of({ - version: '0.3.0:3', + version: '0.3.0:4', releaseNotes: { en_US: