From 1ab87be99befd9b3ada156c569438244597666ad Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Thu, 1 Oct 2026 10:00:43 +0300 Subject: [PATCH 01/24] subsidy provider support --- CLAUDE.md | 1 + README.md | 42 + package-lock.json | 1886 +++------------------------------ package.json | 4 +- src/cli.ts | 160 ++- src/commands.ts | 268 ++++- src/helpers.ts | 18 + src/nodeConnection.ts | 25 + test/subsidyProviders.test.ts | 40 + 9 files changed, 714 insertions(+), 1730 deletions(-) create mode 100644 test/subsidyProviders.test.ts diff --git a/CLAUDE.md b/CLAUDE.md index 92b3eb2..cfc7613 100755 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -80,6 +80,7 @@ All registered in `src/cli.ts` via Commander (`commander` v13). Every command su - Tokens/auth: `mintOcean`, `generateAuthToken`, `invalidateAuthToken`. - Escrow: `depositEscrow`, `getUserFundsEscrow`, `withdrawFromEscrow`, `authorizeEscrow`, `getAuthorizationsEscrow`. - Access lists: `createAccessList`, `addToAccessList`, `checkAccessList`, `removeFromAccessList`. +- Subsidy providers: `getSubsidyProviders` (alias `subsidyProviders`), `getSubsidyStatus` (alias `subsidyStatus`). Provider addresses come **only** from the node's status (`nodeSubsidyInfo` in `nodeConnection.ts`), never from bundled config — a node may not support subsidies. `getSubsidyStatus` uses the ocean.js `SubsidyView`/`OPFSubsidyProvider`/`OneTimeSubsidyProvider` wrappers. Compute/service commands (`startCompute`, `startService`, `extendService`) also take `--subsidyProviders ` (tri-state: omit → node default, `none`/empty → `[]`, CSV → those; parsed by `parseSubsidyProviders` in `helpers.ts`). `startFreeCompute` ignores it. - Persistent storage buckets: `createBucket`, `addFileToBucket`, `listBuckets`, `listFilesInBucket`, `getFileObject`, `deleteFile`. - Admin: `downloadNodeLogs`. - Node selection: `setNode` (alias `useNode`), `getNode` (alias `currentNode`). diff --git a/README.md b/README.md index 1b6cb1d..8916122 100644 --- a/README.md +++ b/README.md @@ -699,6 +699,48 @@ Notes: --- +### Subsidy Providers + +Subsidy providers are on-chain contracts that sponsor part or all of a job's cost (a subsidy released +back to the payer, plus an optional bonus paid to the node), subject to allow-lists, job-type +restrictions and per-period caps. **The Ocean Node is the source of truth for which subsidy providers +are usable** — a node may not support them at all — so the CLI reads provider addresses from the node's +status, never from bundled contract addresses. + +**See which subsidy providers a node supports:** + +- `npm run cli getSubsidyProviders` + + Prints the per-chain subsidy-provider contracts the current node advertises, and whether the node + enforces a whitelist on user-supplied providers (`subsidyProviderFilter`). The same info is also shown + by `getNode`. + +**Check your subsidy limits / remaining credit for a token:** + +- **Positional:** + `npm run cli getSubsidyStatus 0x1234...tokenAddress` + +- **Named Options:** + `npm run cli getSubsidyStatus --token 0x1234...tokenAddress --chainId 8453 --node 0xNodeAddr --jobType compute --amount 10` + + Discovers the provider contract(s) from the node, then for each prints its kind, per-window buckets + (limit / used / remaining / reset), the amount claimable now, the contract's available balance and your + eligibility. `--subsidy 0xAddr[,0xAddr2]` narrows to specific node-advertised contract(s); + `--node`/`--jobType`/`--amount` together also print a subsidy quote (`{subsidy, bonus}`). + +**Choose subsidy providers when starting compute / services:** + +- Add `--subsidyProviders ` to `startCompute`, `startService`, or `extendService`: + - omit the flag → the node uses its configured defaults, + - `--subsidyProviders none` (or empty) → claim with **no** subsidy, + - `--subsidyProviders 0xA,0xB` → claim against exactly those contracts. + + e.g. `npm run cli startCompute -- did:op:dataset did:op:algo env1 900 0xToken '[...resources...]' --accept true --subsidyProviders 0xA,0xB` + + (`startFreeCompute` ignores subsidy providers — a free job does no escrow claim.) + +--- + **Allow Algorithm on Dataset:** - **Positional:** diff --git a/package-lock.json b/package-lock.json index 04aa592..bac8757 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,9 +10,9 @@ "license": "Apache-2.0", "dependencies": { "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", - "@oceanprotocol/contracts": "^2.9.0", + "@oceanprotocol/contracts": "^3.1.0", "@oceanprotocol/ddo-js": "^0.4.1", - "@oceanprotocol/lib": "^9.0.0", + "@oceanprotocol/lib": "9.3.0-next.2", "axios": "^1.19.0", "chalk": "^4.1.2", "commander": "^13.1.0", @@ -45,32 +45,22 @@ }, "node_modules/@adraffy/ens-normalize": { "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz", - "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==", "license": "MIT" }, "node_modules/@chainsafe/as-chacha20poly1305": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@chainsafe/as-chacha20poly1305/-/as-chacha20poly1305-0.1.0.tgz", - "integrity": "sha512-BpNcL8/lji/GM3+vZ/bgRWqJ1q5kwvTFmGPk7pxm/QQZDbaMI98waOHjEymTjq2JmdD/INdNBFOVSyJofXg7ew==", "license": "Apache-2.0" }, "node_modules/@chainsafe/as-sha256": { "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@chainsafe/as-sha256/-/as-sha256-1.2.5.tgz", - "integrity": "sha512-8LzmWxBC/2O5BgbP+aRom/FaDJMrM04VZMlVIivYTc6yNQKYrONmIv27m3q/1VBgxrfrNNqmibitb2hE2tQzIw==", "license": "Apache-2.0" }, "node_modules/@chainsafe/is-ip": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@chainsafe/is-ip/-/is-ip-2.1.0.tgz", - "integrity": "sha512-KIjt+6IfysQ4GCv66xihEitBjvhU/bixbbbFxdJ1sqCp4uJ0wuZiYBPhksZoy4lfaF0k9cwNzY5upEW/VWdw3w==", "license": "MIT" }, "node_modules/@chainsafe/libp2p-noise": { "version": "17.0.0", - "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-17.0.0.tgz", - "integrity": "sha512-vwrmY2Y+L1xYhIDiEpl61KHxwrLCZoXzTpwhyk34u+3+6zCAZPL3GxH3i2cs+u5IYNoyLptORdH17RKFXy7upA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@chainsafe/as-chacha20poly1305": "^0.1.0", @@ -89,12 +79,10 @@ } }, "node_modules/@chainsafe/libp2p-noise/node_modules/@noble/curves": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-2.3.0.tgz", - "integrity": "sha512-v7cY+4oWYPQszRj6ZFGzTVL7uP2TaLo1xMhWHzYC5wj0ZhOXQ5x+sBre8rF3hi8cAoi0bh1qXoovoOkdFtvqEg==", + "version": "2.4.0", "license": "MIT", "dependencies": { - "@noble/hashes": "2.3.0" + "@noble/hashes": "2.4.0" }, "engines": { "node": ">= 20.19.0" @@ -104,9 +92,7 @@ } }, "node_modules/@chainsafe/libp2p-noise/node_modules/@noble/hashes": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.3.0.tgz", - "integrity": "sha512-oN+QwyX7VSHotibwubG3kpzbwKrfnyR6OOO+3Nk/53ADL7FmgHHz4TgrbaYKvvOw09u6QTx0oiH1cNCIOuN0CQ==", + "version": "2.4.0", "license": "MIT", "engines": { "node": ">= 20.19.0" @@ -117,14 +103,10 @@ }, "node_modules/@chainsafe/libp2p-noise/node_modules/multiformats": { "version": "13.4.2", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.4.2.tgz", - "integrity": "sha512-eh6eHCrRi1+POZ3dA+Dq1C6jhP1GNtr9CRINMb67OKzqW9I5DUuZM/3jLPlzhgpGeiNUlEGEbkCYChXMCc/8DQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/@chainsafe/libp2p-noise/node_modules/uint8arrays": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.1.tgz", - "integrity": "sha512-9muQwa4wZG4dKi9gMAIBtnk2Pw87SRpvWTH6lOGm19V2Uqxr4uomUf2PGqPnWc+qs06sN8owUU4jfcoWOcfwVQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "multiformats": "^13.0.0" @@ -132,8 +114,6 @@ }, "node_modules/@chainsafe/libp2p-yamux": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-yamux/-/libp2p-yamux-8.0.1.tgz", - "integrity": "sha512-pJsqmUg1cZRJZn/luAtQaq0uLcVfExo51Rg7iRtAEceNYtsKUi/exfegnvTBzTnF1CGmTzVEV3MCLsRhqiNyoA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.0.0", @@ -144,8 +124,6 @@ }, "node_modules/@chainsafe/netmask": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@chainsafe/netmask/-/netmask-2.0.0.tgz", - "integrity": "sha512-I3Z+6SWUoaljh3TBzCnCxjlUyN8tA+NAk5L6m9IxvCf1BENQTePzPMis97CoN/iMW1St3WN+AWCCRp+TTBRiDg==", "license": "MIT", "dependencies": { "@chainsafe/is-ip": "^2.0.1" @@ -153,8 +131,6 @@ }, "node_modules/@digitalbazaar/http-client": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@digitalbazaar/http-client/-/http-client-4.4.0.tgz", - "integrity": "sha512-ODhCGmElUPmR3IR+KZmBNkRAFyjJ01rxvk2E+/qQ2h2EGPJH5k6bz3N24ympGc5+i4YCGk/ipIpmkwc0+iSmRg==", "license": "BSD-3-Clause", "dependencies": { "ky": "^1.14.3", @@ -166,8 +142,6 @@ }, "node_modules/@dnsquery/dns-packet": { "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@dnsquery/dns-packet/-/dns-packet-6.1.1.tgz", - "integrity": "sha512-WXTuFvL3G+74SchFAtz3FgIYVOe196ycvGsMgvSH/8Goptb1qpIQtIuM4SOK9G9lhMWYpHxnXyy544ZhluFOew==", "license": "MIT", "dependencies": { "@leichtgewicht/ip-codec": "^2.0.4", @@ -177,282 +151,8 @@ "node": ">=6" } }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz", - "integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz", - "integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz", - "integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz", - "integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz", - "integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz", - "integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz", - "integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz", - "integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz", - "integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz", - "integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz", - "integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz", - "integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz", - "integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==", - "cpu": [ - "mips64el" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz", - "integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz", - "integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz", - "integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, "node_modules/@esbuild/linux-x64": { "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz", - "integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==", "cpu": [ "x64" ], @@ -466,163 +166,8 @@ "node": ">=18" } }, - "node_modules/@esbuild/netbsd-arm64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz", - "integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz", - "integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-arm64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz", - "integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz", - "integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openharmony-arm64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz", - "integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openharmony" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz", - "integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz", - "integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz", - "integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.28.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz", - "integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.10.1", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz", - "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==", "dev": true, "license": "MIT", "dependencies": { @@ -640,8 +185,6 @@ }, "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, "license": "Apache-2.0", "engines": { @@ -653,8 +196,6 @@ }, "node_modules/@eslint-community/regexpp": { "version": "4.12.2", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", - "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", "dev": true, "license": "MIT", "engines": { @@ -663,8 +204,6 @@ }, "node_modules/@eslint/config-array": { "version": "0.23.5", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", - "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -678,8 +217,6 @@ }, "node_modules/@eslint/config-helpers": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz", - "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -691,8 +228,6 @@ }, "node_modules/@eslint/core": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", - "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -704,8 +239,6 @@ }, "node_modules/@eslint/js": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", - "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==", "dev": true, "license": "MIT", "engines": { @@ -725,8 +258,6 @@ }, "node_modules/@eslint/object-schema": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz", - "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==", "dev": true, "license": "Apache-2.0", "engines": { @@ -735,8 +266,6 @@ }, "node_modules/@eslint/plugin-kit": { "version": "0.7.2", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz", - "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -749,8 +278,6 @@ }, "node_modules/@humanfs/core": { "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", - "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -762,8 +289,6 @@ }, "node_modules/@humanfs/node": { "version": "0.16.8", - "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", - "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -777,8 +302,6 @@ }, "node_modules/@humanfs/types": { "version": "0.15.0", - "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", - "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", "dev": true, "license": "Apache-2.0", "engines": { @@ -787,8 +310,6 @@ }, "node_modules/@humanwhocodes/module-importer": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -801,8 +322,6 @@ }, "node_modules/@humanwhocodes/retry": { "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", - "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", "dev": true, "license": "Apache-2.0", "engines": { @@ -815,8 +334,6 @@ }, "node_modules/@inquirer/ansi": { "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.7.tgz", - "integrity": "sha512-3eTuUO1vH2cZm2ZKHeQxnOqlTi9EfZDGgIe3BL3I4u+rJHocr9Fz86M4fjYABPvFnQG/gGK551HqDiIcETwU6Q==", "dev": true, "license": "MIT", "engines": { @@ -825,8 +342,6 @@ }, "node_modules/@inquirer/checkbox": { "version": "5.2.2", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-5.2.2.tgz", - "integrity": "sha512-Y5/bAScMy5Y+9isCx0SKbyJebMCaXXX5em0kxkj115eZNscgV9srOHrgyfS0e5xAVymIfOh9piYBKDILktsMMg==", "dev": true, "license": "MIT", "dependencies": { @@ -849,8 +364,6 @@ }, "node_modules/@inquirer/confirm": { "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.2.0.tgz", - "integrity": "sha512-SKXarWrYhtpqOEctf9XGCGy29QjsvJAM0Aq9ZR9z4Ns94OmpqudOly+aSEfNqUf9SwsQaUgY9+Z8hyzG0xX8fw==", "dev": true, "license": "MIT", "dependencies": { @@ -871,8 +384,6 @@ }, "node_modules/@inquirer/core": { "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-12.0.0.tgz", - "integrity": "sha512-+nnvFEXIB08CZNVXpvW3B+zHW96QXvGUjNKJ8NJIPqAZi5Kd4WhYt2S3C234ReepG1qw2HOlEUbjYVHBowXObA==", "dev": true, "license": "MIT", "dependencies": { @@ -898,8 +409,6 @@ }, "node_modules/@inquirer/editor": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-5.3.0.tgz", - "integrity": "sha512-nnsP/IdJ8s83q7ZuObmgn12QM+uLCkab9E0Oordojbn62WUg1c+v9Ou/F/057pgh0ppX0W+Hj5bO/Dp5hsxQtA==", "dev": true, "license": "MIT", "dependencies": { @@ -921,8 +430,6 @@ }, "node_modules/@inquirer/expand": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-5.1.2.tgz", - "integrity": "sha512-OWIH1IyyWqEKIyqC9Xy+Bnga7NkGMovFdo4atYZMUOTRqf6rO2WCv9E/1MyzvOErDBCxs+9UFliRUDc50xs/jw==", "dev": true, "license": "MIT", "dependencies": { @@ -943,8 +450,6 @@ }, "node_modules/@inquirer/external-editor": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-3.0.4.tgz", - "integrity": "sha512-tZbbaK2ovq6vlrRBNQvjrypmrED/p5x2ncIHQ79cD55tei3dD96v5glMMA+6tiq7K104i/25DVYKWVPJuV6ptA==", "dev": true, "license": "MIT", "dependencies": { @@ -965,8 +470,6 @@ }, "node_modules/@inquirer/figures": { "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.8.tgz", - "integrity": "sha512-tApbon79GM9ry56ja/Ud3SY2CL4TQsao9fIwDQbgTeNY55025GdMzQ2+UdegV/lx51VNGUB59M0v0nMpybYY4Q==", "dev": true, "license": "MIT", "engines": { @@ -975,8 +478,6 @@ }, "node_modules/@inquirer/input": { "version": "5.1.3", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-5.1.3.tgz", - "integrity": "sha512-F/BZHtyEzP+HO+IGVd4AjBRgvX/ywm42bx8S0+dENk2YclzE9tJ3X/15THwtT6ehApmKvdYDMsVTuyyDod0gOQ==", "dev": true, "license": "MIT", "dependencies": { @@ -997,8 +498,6 @@ }, "node_modules/@inquirer/number": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-4.2.0.tgz", - "integrity": "sha512-ew+fSDijsQ/WhD4TV3XLb+if400cDuzTzHfGR8sTNBXkK9CYDWoGE8fhaO8GbT312pNv1AJEOsDxy/z/HVettA==", "dev": true, "license": "MIT", "dependencies": { @@ -1019,8 +518,6 @@ }, "node_modules/@inquirer/password": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-5.1.2.tgz", - "integrity": "sha512-nSdufycW8xynEVssFkNQEYIzTySilog0UlfOVRwh3pXzPSk4frXUT2jZWjHnKae6RU9PaoF9wfy1pGwewQuqGw==", "dev": true, "license": "MIT", "dependencies": { @@ -1042,8 +539,6 @@ }, "node_modules/@inquirer/prompts": { "version": "8.5.2", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-8.5.2.tgz", - "integrity": "sha512-IYR/3C/paEVVQYQvdDlFZVjRCJVYHHON0XXMH91KO9GSxs0TdKYWlUdvfQl2EfAHDxUaN3IBffkE/BDTh5nJ6g==", "dev": true, "license": "MIT", "dependencies": { @@ -1072,8 +567,6 @@ }, "node_modules/@inquirer/rawlist": { "version": "5.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-5.3.2.tgz", - "integrity": "sha512-oPSKrYK1X1bMkjXDzIKHUkJp195LFSfgbnVtXnjSKGFjrCbS6I+wyvfAZTwKE9BSt3HwWgfD7JfsXALBgCogzQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1094,8 +587,6 @@ }, "node_modules/@inquirer/search": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-4.3.0.tgz", - "integrity": "sha512-HFxXE5w727ctSUcAwrDquftJGjMgu36OeV5SHEXMlr2j/ahzmRX9xSEeVolV8tzYnTf45cg6vGkdMMRdm3RPhQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1117,8 +608,6 @@ }, "node_modules/@inquirer/select": { "version": "5.2.2", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-5.2.2.tgz", - "integrity": "sha512-RkI8dRHWt+bh04oLixvF1kFzKC7e5rqJoHKkzcqSHATebBXFC6GmrT8ddbVkgSzLV0HnHs2cPFuBINr8otij8Q==", "dev": true, "license": "MIT", "dependencies": { @@ -1141,8 +630,6 @@ }, "node_modules/@inquirer/type": { "version": "4.0.7", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.7.tgz", - "integrity": "sha512-t28inv14nMQ1PhKpsJPY+kEs/c00qzeCOS2gTNRyTjG5d6qsVA2fItxW4hkvGZ5lvanGLdtCzVIx5dwdRpN1+g==", "dev": true, "license": "MIT", "engines": { @@ -1159,8 +646,6 @@ }, "node_modules/@isaacs/cliui": { "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", "dev": true, "license": "ISC", "dependencies": { @@ -1177,8 +662,6 @@ }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", - "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", "dev": true, "license": "MIT", "engines": { @@ -1190,8 +673,6 @@ }, "node_modules/@isaacs/cliui/node_modules/strip-ansi": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, "license": "MIT", "dependencies": { @@ -1206,37 +687,31 @@ }, "node_modules/@leichtgewicht/ip-codec": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", - "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", "license": "MIT" }, "node_modules/@libp2p/bootstrap": { - "version": "12.0.29", - "resolved": "https://registry.npmjs.org/@libp2p/bootstrap/-/bootstrap-12.0.29.tgz", - "integrity": "sha512-HJqRyr75io10F/zaJCMGhrdOi7an4bJmgw12DLrBR/hPteeFAIZ4bXeiV+GNxw5vmRJoEpfUTVzIwPTsRJMViw==", + "version": "12.0.32", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^3.2.5", - "@libp2p/interface-internal": "^3.1.11", - "@libp2p/peer-id": "^6.0.14", + "@libp2p/interface": "^3.3.0", + "@libp2p/interface-internal": "^3.1.13", + "@libp2p/peer-id": "^6.0.15", "@multiformats/multiaddr": "^13.0.3", "@multiformats/multiaddr-matcher": "^3.0.2", "main-event": "^1.0.1" } }, "node_modules/@libp2p/circuit-relay-v2": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/@libp2p/circuit-relay-v2/-/circuit-relay-v2-4.2.11.tgz", - "integrity": "sha512-q47qWuJxmNocAX4oRAUWpp2d56aiymsih9ORCkBdQGUkBzynPyBsucvCX5bnF8tb80Ji5wBHl4jCa1DmrW1T1A==", + "version": "4.2.13", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/crypto": "^5.1.22", - "@libp2p/interface": "^3.2.5", - "@libp2p/interface-internal": "^3.1.11", - "@libp2p/peer-collections": "^7.0.26", - "@libp2p/peer-id": "^6.0.14", - "@libp2p/peer-record": "^9.0.15", - "@libp2p/utils": "^7.3.2", + "@libp2p/crypto": "^5.1.23", + "@libp2p/interface": "^3.3.0", + "@libp2p/interface-internal": "^3.1.13", + "@libp2p/peer-collections": "^7.0.28", + "@libp2p/peer-id": "^6.0.15", + "@libp2p/peer-record": "^9.0.16", + "@libp2p/utils": "^7.4.1", "@multiformats/multiaddr": "^13.0.3", "@multiformats/multiaddr-matcher": "^3.0.2", "any-signal": "^4.1.1", @@ -1250,28 +725,8 @@ "uint8arrays": "^6.1.1" } }, - "node_modules/@libp2p/circuit-relay-v2/node_modules/nanoid": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-6.0.1.tgz", - "integrity": "sha512-3wVS3i51pE2pi1k5FFL/95BGfVS0kSsvDVuGXHOtxox/TywUmtgq+3qiTOTbs9J7KfHaXPiN171k/A6dBnaXFw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.js" - }, - "engines": { - "node": "^22 || ^24 || >=26" - } - }, "node_modules/@libp2p/circuit-relay-v2/node_modules/protons-runtime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.0.0.tgz", - "integrity": "sha512-r/e72006xoVND4Uvf1aIs4OQOkJaASBU3ip4DzOWAktoKAkTiOYqKoS3TYMBm8HnnYU8+h0uEzr5gIRwk/pmTg==", + "version": "7.1.2", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1281,20 +736,16 @@ }, "node_modules/@libp2p/circuit-relay-v2/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/crypto": { - "version": "5.1.22", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-5.1.22.tgz", - "integrity": "sha512-yVk4BefSiEz044kjsiLSEoJTbhRoyamqx4kFI9LnX8/asr4wnqDWKTXcn6mSx/RVNEzmDO70l3vOvcMCl4aLCQ==", + "version": "5.1.23", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^3.2.5", + "@libp2p/interface": "^3.3.0", "@noble/curves": "^2.0.1", "@noble/hashes": "^2.0.1", "multiformats": "^14.0.0", @@ -1304,12 +755,10 @@ } }, "node_modules/@libp2p/crypto/node_modules/@noble/curves": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-2.3.0.tgz", - "integrity": "sha512-v7cY+4oWYPQszRj6ZFGzTVL7uP2TaLo1xMhWHzYC5wj0ZhOXQ5x+sBre8rF3hi8cAoi0bh1qXoovoOkdFtvqEg==", + "version": "2.4.0", "license": "MIT", "dependencies": { - "@noble/hashes": "2.3.0" + "@noble/hashes": "2.4.0" }, "engines": { "node": ">= 20.19.0" @@ -1319,9 +768,7 @@ } }, "node_modules/@libp2p/crypto/node_modules/@noble/hashes": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.3.0.tgz", - "integrity": "sha512-oN+QwyX7VSHotibwubG3kpzbwKrfnyR6OOO+3Nk/53ADL7FmgHHz4TgrbaYKvvOw09u6QTx0oiH1cNCIOuN0CQ==", + "version": "2.4.0", "license": "MIT", "engines": { "node": ">= 20.19.0" @@ -1331,9 +778,7 @@ } }, "node_modules/@libp2p/crypto/node_modules/protons-runtime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.0.0.tgz", - "integrity": "sha512-r/e72006xoVND4Uvf1aIs4OQOkJaASBU3ip4DzOWAktoKAkTiOYqKoS3TYMBm8HnnYU8+h0uEzr5gIRwk/pmTg==", + "version": "7.1.2", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1343,25 +788,21 @@ }, "node_modules/@libp2p/crypto/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/identify": { - "version": "4.1.12", - "resolved": "https://registry.npmjs.org/@libp2p/identify/-/identify-4.1.12.tgz", - "integrity": "sha512-nNBnxSclPVsvRsaLlwX9cz7gO020KjWEsaSzqDryWz6VStbLLdcwJYkVUP3do7VoFHkkF8PMQkScW7XCA27ZOA==", + "version": "4.1.14", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/crypto": "^5.1.22", - "@libp2p/interface": "^3.2.5", - "@libp2p/interface-internal": "^3.1.11", - "@libp2p/peer-id": "^6.0.14", - "@libp2p/peer-record": "^9.0.15", - "@libp2p/utils": "^7.3.2", + "@libp2p/crypto": "^5.1.23", + "@libp2p/interface": "^3.3.0", + "@libp2p/interface-internal": "^3.1.13", + "@libp2p/peer-id": "^6.0.15", + "@libp2p/peer-record": "^9.0.16", + "@libp2p/utils": "^7.4.1", "@multiformats/multiaddr": "^13.0.3", "@multiformats/multiaddr-matcher": "^3.0.2", "it-drain": "^3.0.10", @@ -1373,9 +814,7 @@ } }, "node_modules/@libp2p/identify/node_modules/protons-runtime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.0.0.tgz", - "integrity": "sha512-r/e72006xoVND4Uvf1aIs4OQOkJaASBU3ip4DzOWAktoKAkTiOYqKoS3TYMBm8HnnYU8+h0uEzr5gIRwk/pmTg==", + "version": "7.1.2", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1385,17 +824,13 @@ }, "node_modules/@libp2p/identify/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/interface": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-3.2.5.tgz", - "integrity": "sha512-RdTchTdakBBc4ShKKsvoME/bJYsrCoVDpdYQVdd4TQ30TCb8QwWKGClqAtw7gfLNuaUKm41xz06kASW6AZpbDA==", + "version": "3.3.0", "license": "Apache-2.0 OR MIT", "dependencies": { "@multiformats/dns": "^1.0.6", @@ -1407,40 +842,34 @@ } }, "node_modules/@libp2p/interface-internal": { - "version": "3.1.11", - "resolved": "https://registry.npmjs.org/@libp2p/interface-internal/-/interface-internal-3.1.11.tgz", - "integrity": "sha512-lHJueWKdfkf/nrbVkGNUWrqDvF3T9Brn4hyONQmhTqG2mWyWKntRR/CkPjVgMRDSF2fuyzDJGg+n9tC0Gphk8g==", + "version": "3.1.13", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^3.2.5", - "@libp2p/peer-collections": "^7.0.26", + "@libp2p/interface": "^3.3.0", + "@libp2p/peer-collections": "^7.0.28", "@multiformats/multiaddr": "^13.0.3", "progress-events": "^1.0.1" } }, "node_modules/@libp2p/interface/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/kad-dht": { - "version": "16.4.3", - "resolved": "https://registry.npmjs.org/@libp2p/kad-dht/-/kad-dht-16.4.3.tgz", - "integrity": "sha512-i3FDNr9XLHcl8X27MRWrra3UyZw4o1esIen+66CNwFzZOTe85ndv6zNDOpgd2di1JT+E/xhKrghd+0wO3zfC6w==", + "version": "16.4.5", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/crypto": "^5.1.22", - "@libp2p/interface": "^3.2.5", - "@libp2p/interface-internal": "^3.1.11", - "@libp2p/peer-collections": "^7.0.26", - "@libp2p/peer-id": "^6.0.14", - "@libp2p/ping": "^3.1.11", + "@libp2p/crypto": "^5.1.23", + "@libp2p/interface": "^3.3.0", + "@libp2p/interface-internal": "^3.1.13", + "@libp2p/peer-collections": "^7.0.28", + "@libp2p/peer-id": "^6.0.15", + "@libp2p/ping": "^3.1.13", "@libp2p/record": "^4.0.15", - "@libp2p/utils": "^7.3.2", + "@libp2p/utils": "^7.4.1", "@multiformats/multiaddr": "^13.0.3", "@multiformats/multiaddr-matcher": "^3.0.2", "any-signal": "^4.1.1", @@ -1467,9 +896,7 @@ } }, "node_modules/@libp2p/kad-dht/node_modules/protons-runtime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.0.0.tgz", - "integrity": "sha512-r/e72006xoVND4Uvf1aIs4OQOkJaASBU3ip4DzOWAktoKAkTiOYqKoS3TYMBm8HnnYU8+h0uEzr5gIRwk/pmTg==", + "version": "7.1.2", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1479,20 +906,16 @@ }, "node_modules/@libp2p/kad-dht/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/logger": { - "version": "6.2.12", - "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-6.2.12.tgz", - "integrity": "sha512-FwCdJ5hGFDvWI/SULZ4Iez+k+JtdMAj4/EK6bWmkh08ORIztwKpt0IXCOe8nIfKhBKwLYJu00BnZDRsedX7+7Q==", + "version": "6.2.13", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^3.2.5", + "@libp2p/interface": "^3.3.0", "@multiformats/multiaddr": "^13.0.3", "interface-datastore": "^10.0.1", "multiformats": "^14.0.0", @@ -1500,13 +923,11 @@ } }, "node_modules/@libp2p/multistream-select": { - "version": "7.0.26", - "resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-7.0.26.tgz", - "integrity": "sha512-bbKMgu7W/J6eknQODGpySshZq9QWEYbIM/fMYrihbdIT/eS1h+8U6ko2qylfwbDyYlnUoYP45Cqi+oxoNwGH3Q==", + "version": "7.0.28", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^3.2.5", - "@libp2p/utils": "^7.3.2", + "@libp2p/interface": "^3.3.0", + "@libp2p/utils": "^7.4.1", "it-length-prefixed": "^11.0.1", "uint8arraylist": "^3.0.2", "uint8arrays": "^6.1.1" @@ -1514,46 +935,38 @@ }, "node_modules/@libp2p/multistream-select/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/peer-collections": { - "version": "7.0.26", - "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-7.0.26.tgz", - "integrity": "sha512-hjJbC/Jo1TjxqaKph2W6ARRnrNoBCEbSQMUsGT17JXQktJc7ImVGLoFy2VsZoJGMX4RLN+gKp6f8McFGb5Vi1w==", + "version": "7.0.28", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^3.2.5", - "@libp2p/peer-id": "^6.0.14", - "@libp2p/utils": "^7.3.2", + "@libp2p/interface": "^3.3.0", + "@libp2p/peer-id": "^6.0.15", + "@libp2p/utils": "^7.4.1", "multiformats": "^14.0.0" } }, "node_modules/@libp2p/peer-id": { - "version": "6.0.14", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-6.0.14.tgz", - "integrity": "sha512-tquBouwbUXgntPtT5q4vfaXbNWmSzh2zo4p2u8IzclVvggXOpmyBlAUNPXDiFqZvQpsxVBrTTemmn0+AwDwecg==", + "version": "6.0.15", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/crypto": "^5.1.22", - "@libp2p/interface": "^3.2.5", + "@libp2p/crypto": "^5.1.23", + "@libp2p/interface": "^3.3.0", "multiformats": "^14.0.0", "uint8arrays": "^6.1.1" } }, "node_modules/@libp2p/peer-record": { - "version": "9.0.15", - "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-9.0.15.tgz", - "integrity": "sha512-WZH9Xkdvpr6TlM6eDdE/KZJmk558jrAC/ufNHnbWXdEUxF/GTzx7RsrBgaC6cPGBTNTjzICfO6vZKR2US0Fl9Q==", + "version": "9.0.16", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/crypto": "^5.1.22", - "@libp2p/interface": "^3.2.5", - "@libp2p/peer-id": "^6.0.14", + "@libp2p/crypto": "^5.1.23", + "@libp2p/interface": "^3.3.0", + "@libp2p/peer-id": "^6.0.15", "@multiformats/multiaddr": "^13.0.3", "multiformats": "^14.0.0", "protons-runtime": "^7.0.0", @@ -1563,9 +976,7 @@ } }, "node_modules/@libp2p/peer-record/node_modules/protons-runtime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.0.0.tgz", - "integrity": "sha512-r/e72006xoVND4Uvf1aIs4OQOkJaASBU3ip4DzOWAktoKAkTiOYqKoS3TYMBm8HnnYU8+h0uEzr5gIRwk/pmTg==", + "version": "7.1.2", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1575,24 +986,20 @@ }, "node_modules/@libp2p/peer-record/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/peer-store": { - "version": "12.0.26", - "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-12.0.26.tgz", - "integrity": "sha512-VoLjd7SQrYN45w3pnGl8YQQn+9tzMsoZxdmSG7VWoMiQhMLyxCtkctsVi9OCdT1IkdelPRq84KHklkK0D4FG9w==", + "version": "12.0.28", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/crypto": "^5.1.22", - "@libp2p/interface": "^3.2.5", - "@libp2p/peer-collections": "^7.0.26", - "@libp2p/peer-id": "^6.0.14", - "@libp2p/peer-record": "^9.0.15", + "@libp2p/crypto": "^5.1.23", + "@libp2p/interface": "^3.3.0", + "@libp2p/peer-collections": "^7.0.28", + "@libp2p/peer-id": "^6.0.15", + "@libp2p/peer-record": "^9.0.16", "@multiformats/multiaddr": "^13.0.3", "interface-datastore": "^10.0.1", "it-all": "^3.0.9", @@ -1605,9 +1012,7 @@ } }, "node_modules/@libp2p/peer-store/node_modules/protons-runtime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.0.0.tgz", - "integrity": "sha512-r/e72006xoVND4Uvf1aIs4OQOkJaASBU3ip4DzOWAktoKAkTiOYqKoS3TYMBm8HnnYU8+h0uEzr5gIRwk/pmTg==", + "version": "7.1.2", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1617,21 +1022,17 @@ }, "node_modules/@libp2p/peer-store/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/ping": { - "version": "3.1.11", - "resolved": "https://registry.npmjs.org/@libp2p/ping/-/ping-3.1.11.tgz", - "integrity": "sha512-3ByJjpzxMAEJv8ZjWeLYv9k0Ba3eVxPRcWc8H79/RQhTQwY2zZvHYX4gQUmyqA9Sv0Q6peL4TwUW7E3wgN27Mw==", + "version": "3.1.13", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^3.2.5", - "@libp2p/interface-internal": "^3.1.11", + "@libp2p/interface": "^3.3.0", + "@libp2p/interface-internal": "^3.1.13", "p-event": "^7.0.0", "race-signal": "^2.0.0", "uint8arraylist": "^3.0.2", @@ -1640,8 +1041,6 @@ }, "node_modules/@libp2p/ping/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -1649,8 +1048,6 @@ }, "node_modules/@libp2p/record": { "version": "4.0.15", - "resolved": "https://registry.npmjs.org/@libp2p/record/-/record-4.0.15.tgz", - "integrity": "sha512-EaHFtQAlZuM9vCpd+0KnZhTVgV26Uzje7DkyUseGNKTy+Wit9Q94C/+wDThpZuRHnK1FH/CvPxJ4kLj7AoQ1WA==", "license": "Apache-2.0 OR MIT", "dependencies": { "protons-runtime": "^7.0.0", @@ -1659,9 +1056,7 @@ } }, "node_modules/@libp2p/record/node_modules/protons-runtime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.0.0.tgz", - "integrity": "sha512-r/e72006xoVND4Uvf1aIs4OQOkJaASBU3ip4DzOWAktoKAkTiOYqKoS3TYMBm8HnnYU8+h0uEzr5gIRwk/pmTg==", + "version": "7.1.2", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1671,21 +1066,17 @@ }, "node_modules/@libp2p/record/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/tcp": { - "version": "11.0.26", - "resolved": "https://registry.npmjs.org/@libp2p/tcp/-/tcp-11.0.26.tgz", - "integrity": "sha512-OOLb1Ov6zQRo983fEPRUvfcWmFrm2oJlwPgf7M6pzLyQOsTxpgb2MV37Az8ANy5GEAG4JJ+KPZn3g7JfEp33xA==", + "version": "11.0.28", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^3.2.5", - "@libp2p/utils": "^7.3.2", + "@libp2p/interface": "^3.3.0", + "@libp2p/utils": "^7.4.1", "@multiformats/multiaddr": "^13.0.3", "@multiformats/multiaddr-matcher": "^3.0.2", "main-event": "^1.0.1", @@ -1696,23 +1087,19 @@ }, "node_modules/@libp2p/tcp/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/utils": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-7.3.2.tgz", - "integrity": "sha512-nVfJkTE3QMa/LVKVD5sKDB8birKua0BR0oKoqnLSXsX1ez89PvhR1zZjBfARSGVZdv5qUmblcdcvjJ76HD0CWA==", + "version": "7.4.1", "license": "Apache-2.0 OR MIT", "dependencies": { "@chainsafe/is-ip": "^2.1.0", "@chainsafe/netmask": "^2.0.0", - "@libp2p/interface": "^3.2.5", - "@libp2p/logger": "^6.2.12", + "@libp2p/interface": "^3.3.0", + "@libp2p/logger": "^6.2.13", "@multiformats/multiaddr": "^13.0.3", "@multiformats/multiaddr-matcher": "^3.0.2", "@sindresorhus/fnv1a": "^3.1.0", @@ -1737,18 +1124,14 @@ } }, "node_modules/@libp2p/utils/node_modules/cborg": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/cborg/-/cborg-6.1.1.tgz", - "integrity": "sha512-Ci8+V1OMFtqea8EXicsATqV+3kEqCGXCicM+5MEzpKTxqy58WMzhJUjtUqAjfWpKPZ0wpG8F+u5mC8Xy/0Zevg==", + "version": "6.1.2", "license": "Apache-2.0", "bin": { "cborg": "lib/bin.js" } }, "node_modules/@libp2p/utils/node_modules/protons-runtime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.0.0.tgz", - "integrity": "sha512-r/e72006xoVND4Uvf1aIs4OQOkJaASBU3ip4DzOWAktoKAkTiOYqKoS3TYMBm8HnnYU8+h0uEzr5gIRwk/pmTg==", + "version": "7.1.2", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1758,21 +1141,17 @@ }, "node_modules/@libp2p/utils/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" } }, "node_modules/@libp2p/websockets": { - "version": "10.1.19", - "resolved": "https://registry.npmjs.org/@libp2p/websockets/-/websockets-10.1.19.tgz", - "integrity": "sha512-inY5dWhm+mCrnS/wcHIWtDZ908c1W7UkpXE9i6uvnJVapWbvonvX9GEsTLvh4NbL7SOfnOHGkwDVgx1M2RxcRA==", + "version": "10.1.21", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^3.2.5", - "@libp2p/utils": "^7.3.2", + "@libp2p/interface": "^3.3.0", + "@libp2p/utils": "^7.4.1", "@multiformats/multiaddr": "^13.0.3", "@multiformats/multiaddr-matcher": "^3.0.2", "@multiformats/multiaddr-to-uri": "^12.0.0", @@ -1786,8 +1165,6 @@ }, "node_modules/@libp2p/websockets/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -1795,8 +1172,6 @@ }, "node_modules/@multiformats/dns": { "version": "1.0.15", - "resolved": "https://registry.npmjs.org/@multiformats/dns/-/dns-1.0.15.tgz", - "integrity": "sha512-W0zAMABtAn+3chgFcPGvllKND7M6GblMAAFcJQTy+iMmGiyFErZYPzAh2b50Y3SFf340iFV7+ckVgZkGfUyxzA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@dnsquery/dns-packet": "^6.1.1", @@ -1807,44 +1182,8 @@ "uint8arrays": "^6.1.1" } }, - "node_modules/@multiformats/dns/node_modules/eventemitter3": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz", - "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==", - "license": "MIT" - }, - "node_modules/@multiformats/dns/node_modules/p-queue": { - "version": "9.3.3", - "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-9.3.3.tgz", - "integrity": "sha512-NXAOdnEe5FsZJfT4oK84lE1Y5cFFdWlRuOo5tww8DyNMxyRXwn39fIkUtNLKppcPC+UYU/bXujNCUGDv01y7CA==", - "license": "MIT", - "dependencies": { - "eventemitter3": "^5.0.4", - "p-timeout": "^7.0.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@multiformats/dns/node_modules/p-timeout": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-7.0.1.tgz", - "integrity": "sha512-AxTM2wDGORHGEkPCt8yqxOTMgpfbEHqF51f/5fJCmwFC3C/zNcGT63SymH2ttOAaiIws2zVg4+izQCjrakcwHg==", - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@multiformats/multiaddr": { "version": "13.0.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-13.0.3.tgz", - "integrity": "sha512-mEqqJ4r3a/uuFMTpRkU316wGNIDQNhuVWpm+ebKTQeYsfv9jXbPONWM6VVnj3KGUrwfsX7GZOyp4TFqEA2SPCw==", "license": "Apache-2.0 OR MIT", "dependencies": { "@chainsafe/is-ip": "^2.0.1", @@ -1855,8 +1194,6 @@ }, "node_modules/@multiformats/multiaddr-matcher": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-matcher/-/multiaddr-matcher-3.0.2.tgz", - "integrity": "sha512-iphGQJliZxe2yKu57bdRDgeS+3znc5uXtMybDO1Wau3rIjas4zjrjlyxmFz3wqyUL9f3VDQwas/ZqA7N4QeSfw==", "license": "Apache-2.0 OR MIT", "dependencies": { "@multiformats/multiaddr": "^13.0.0" @@ -1864,17 +1201,13 @@ }, "node_modules/@multiformats/multiaddr-to-uri": { "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-to-uri/-/multiaddr-to-uri-12.0.0.tgz", - "integrity": "sha512-3uIEBCiy8tfzxYYBl81x1tISiNBQ7mHU4pGjippbJRoQYHzy/ZdZM/7JvTldr8pc/dzpkaNJxnsuxxlhsPOJsA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@multiformats/multiaddr": "^13.0.0" } }, "node_modules/@noble/ciphers": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.3.0.tgz", - "integrity": "sha512-Clu/xdfgVTf9o7ngLOURaxePwR0j8sjclKEtVij10/jGulwFsPWCvvRgG/XjUVf8Nei+jLG6uwyXzUTGY1DQrw==", + "version": "2.4.0", "license": "MIT", "engines": { "node": ">= 20.19.0" @@ -1885,8 +1218,6 @@ }, "node_modules/@noble/curves": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", - "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" @@ -1897,8 +1228,6 @@ }, "node_modules/@noble/hashes": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", - "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", "license": "MIT", "engines": { "node": ">= 16" @@ -1909,8 +1238,6 @@ }, "node_modules/@oasisprotocol/sapphire-ethers-v6": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@oasisprotocol/sapphire-ethers-v6/-/sapphire-ethers-v6-6.0.1.tgz", - "integrity": "sha512-JY1pKPByoboDNSQurP9Z0+QEvShK8Y9heqOjFQjhH6ZwYmiyJdhT+iJJvBtvsVzZ3SkFay0TXwQ+G5m+VBjJRA==", "license": "Apache-2.0", "dependencies": { "@oasisprotocol/sapphire-paratime": "^2.0.1", @@ -1929,14 +1256,10 @@ }, "node_modules/@oasisprotocol/sapphire-ethers-v6/node_modules/@oasisprotocol/deoxysii": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@oasisprotocol/deoxysii/-/deoxysii-0.0.6.tgz", - "integrity": "sha512-TI51bIpChfsla9aRbjip6zvTbz6rpsqKgM7MqJvSfeFF6G5xLXQcbSC9u/1hOnOOazd7HaqA9NvaXQdeKCb3yw==", "license": "MIT" }, "node_modules/@oasisprotocol/sapphire-ethers-v6/node_modules/@oasisprotocol/sapphire-paratime": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@oasisprotocol/sapphire-paratime/-/sapphire-paratime-2.3.0.tgz", - "integrity": "sha512-TooQ+eGxz8kQJ4PavqkXxvjbRJw8V4TB/Nu5ptaMyclFFr+tCWXEpx01gpoRsUEEc9IRcEm4IfnBUqFnBcbt7w==", "license": "Apache-2.0", "dependencies": { "@noble/hashes": "1.3.2", @@ -1945,15 +1268,11 @@ } }, "node_modules/@oceanprotocol/contracts": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-2.9.0.tgz", - "integrity": "sha512-B3dQNxIYD7bASNE066vfZu6Ik5uHZ/1c+QEcUvAsfoNvUUJ5+uQfIvhwrpdMCza1GtE11EW2glDPZvbr2LwFsg==", + "version": "3.1.0", "license": "Apache-2.0" }, "node_modules/@oceanprotocol/ddo-js": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@oceanprotocol/ddo-js/-/ddo-js-0.4.1.tgz", - "integrity": "sha512-QCEhBtBq6qMt545cQQne0C5leGRLgA+jOsbuRWQeY9VVj5HKdjc+1/oqm5BdNYBGa8HuZ+4GccJw0rREQf0CMA==", "license": "Apache-2.0", "dependencies": { "ethers": "^6.17.0", @@ -1964,23 +1283,23 @@ } }, "node_modules/@oceanprotocol/lib": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-9.0.0.tgz", - "integrity": "sha512-nm0rSNIqbfvBzi4MSvMvll3YvwRuavgJ+iL/wHf/IPtZ/w++GOwx6c8U3Y3vv6/WuKVxz+Oe+uRjCMglJh+BpQ==", + "version": "9.3.0-next.2", + "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-9.3.0-next.2.tgz", + "integrity": "sha512-qDBYInhLU0JozO2DbIg94bFYLrts+wZLl5memDoaUFuuA8dQujqw99yg74JhhuG02Ju0KIv1EeNHiQHTb+H5HA==", "license": "Apache-2.0", "dependencies": { "@chainsafe/libp2p-noise": "^17.0.0", "@chainsafe/libp2p-yamux": "^8.0.1", - "@libp2p/bootstrap": "^12.0.29", - "@libp2p/circuit-relay-v2": "^4.2.11", - "@libp2p/identify": "^4.1.12", - "@libp2p/interface": "^3.2.5", - "@libp2p/kad-dht": "^16.4.2", - "@libp2p/peer-id": "^6.0.14", - "@libp2p/ping": "^3.1.11", - "@libp2p/tcp": "^11.0.26", - "@libp2p/utils": "^7.3.2", - "@libp2p/websockets": "^10.1.19", + "@libp2p/bootstrap": "^12.0.31", + "@libp2p/circuit-relay-v2": "^4.2.13", + "@libp2p/identify": "^4.1.14", + "@libp2p/interface": "^3.3.0", + "@libp2p/kad-dht": "^16.4.5", + "@libp2p/peer-id": "^6.0.15", + "@libp2p/ping": "^3.1.13", + "@libp2p/tcp": "^11.0.28", + "@libp2p/utils": "^7.4.1", + "@libp2p/websockets": "^10.1.21", "@multiformats/multiaddr": "^13.0.3", "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", "@oceanprotocol/ddo-js": "^0.4.1", @@ -1991,7 +1310,7 @@ "eciesjs": "^0.5.0", "ethers": "^6.17.0", "jsonwebtoken": "^9.0.3", - "libp2p": "^3.3.8", + "libp2p": "^3.3.10", "multiformats": "^14.0.5", "uint8arrays": "^6.1.1" }, @@ -1999,19 +1318,8 @@ "node": ">=22" } }, - "node_modules/@oceanprotocol/lib/node_modules/cross-fetch": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.1.0.tgz", - "integrity": "sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw==", - "license": "MIT", - "dependencies": { - "node-fetch": "^2.7.0" - } - }, "node_modules/@octokit/auth-token": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz", - "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==", "dev": true, "license": "MIT", "engines": { @@ -2020,8 +1328,6 @@ }, "node_modules/@octokit/core": { "version": "7.0.6", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.6.tgz", - "integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==", "dev": true, "license": "MIT", "dependencies": { @@ -2039,8 +1345,6 @@ }, "node_modules/@octokit/endpoint": { "version": "11.0.3", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.3.tgz", - "integrity": "sha512-FWFlNxghg4HrXkD3ifYbS/IdL/mDHjh9QcsNyhQjN8dplUoZbejsdpmuqdA76nxj2xoWPs7p8uX2SNr9rYu0Ag==", "dev": true, "license": "MIT", "dependencies": { @@ -2053,8 +1357,6 @@ }, "node_modules/@octokit/graphql": { "version": "9.0.3", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.3.tgz", - "integrity": "sha512-grAEuupr/C1rALFnXTv6ZQhFuL1D8G5y8CN04RgrO4FIPMrtm+mcZzFG7dcBm+nq+1ppNixu+Jd78aeJOYxlGA==", "dev": true, "license": "MIT", "dependencies": { @@ -2068,15 +1370,11 @@ }, "node_modules/@octokit/openapi-types": { "version": "27.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-27.0.0.tgz", - "integrity": "sha512-whrdktVs1h6gtR+09+QsNk2+FO+49j6ga1c55YZudfEG+oKJVvJLQi3zkOm5JjiUXAagWK2tI2kTGKJ2Ys7MGA==", "dev": true, "license": "MIT" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-14.0.0.tgz", - "integrity": "sha512-fNVRE7ufJiAA3XUrha2omTA39M6IXIc6GIZLvlbsm8QOQCYvpq/LkMNGyFlB1d8hTDzsAXa3OKtybdMAYsV/fw==", "dev": true, "license": "MIT", "dependencies": { @@ -2091,8 +1389,6 @@ }, "node_modules/@octokit/plugin-request-log": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-6.0.0.tgz", - "integrity": "sha512-UkOzeEN3W91/eBq9sPZNQ7sUBvYCqYbrrD8gTbBuGtHEuycE4/awMXcYvx6sVYo7LypPhmQwwpUe4Yyu4QZN5Q==", "dev": true, "license": "MIT", "engines": { @@ -2104,8 +1400,6 @@ }, "node_modules/@octokit/plugin-rest-endpoint-methods": { "version": "17.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-17.0.0.tgz", - "integrity": "sha512-B5yCyIlOJFPqUUeiD0cnBJwWJO8lkJs5d8+ze9QDP6SvfiXSz1BF+91+0MeI1d2yxgOhU/O+CvtiZ9jSkHhFAw==", "dev": true, "license": "MIT", "dependencies": { @@ -2120,8 +1414,6 @@ }, "node_modules/@octokit/request": { "version": "10.0.11", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.11.tgz", - "integrity": "sha512-+s7HUxjfFqOMS9VlIwDffq0MikjSAK0gSpG73W+meAvVAvX4MBrHYTK5Bj3Uot55qFT4gzUtfzE4mGWY4Br8/Q==", "dev": true, "license": "MIT", "dependencies": { @@ -2138,8 +1430,6 @@ }, "node_modules/@octokit/request-error": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.1.0.tgz", - "integrity": "sha512-KMQIfq5sOPpkQYajXHwnhjCC0slzCNScLHs9JafXc4RAJI+9f+jNDlBNaIMTvazOPLgb4BnlhGJOTbnN0wIjPw==", "dev": true, "license": "MIT", "dependencies": { @@ -2151,8 +1441,6 @@ }, "node_modules/@octokit/request/node_modules/content-type": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz", - "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==", "dev": true, "license": "MIT", "engines": { @@ -2165,8 +1453,6 @@ }, "node_modules/@octokit/rest": { "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-22.0.1.tgz", - "integrity": "sha512-Jzbhzl3CEexhnivb1iQ0KJ7s5vvjMWcmRtq5aUsKmKDrRW6z3r84ngmiFKFvpZjpiU/9/S6ITPFRpn5s/3uQJw==", "dev": true, "license": "MIT", "dependencies": { @@ -2181,8 +1467,6 @@ }, "node_modules/@octokit/types": { "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-16.0.0.tgz", - "integrity": "sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg==", "dev": true, "license": "MIT", "dependencies": { @@ -2191,8 +1475,6 @@ }, "node_modules/@phun-ky/typeof": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@phun-ky/typeof/-/typeof-2.0.3.tgz", - "integrity": "sha512-oeQJs1aa8Ghke8JIK9yuq/+KjMiaYeDZ38jx7MhkXncXlUKjqQ3wEm2X3qCKyjo+ZZofZj+WsEEiqkTtRuE2xQ==", "dev": true, "license": "MIT", "engines": { @@ -2205,8 +1487,6 @@ }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", "dev": true, "license": "MIT", "optional": true, @@ -2216,8 +1496,6 @@ }, "node_modules/@rdfjs/data-model": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@rdfjs/data-model/-/data-model-2.1.2.tgz", - "integrity": "sha512-yoSVlyCltqbaCTse3uSdf5Vo3q4UskcTm+3klaUQTwOq7Z5aCZLtLPZatXTPzr+S0WEcjTZvD++A+r3QmgamsA==", "license": "MIT", "bin": { "rdfjs-data-model-test": "bin/test.js" @@ -2225,8 +1503,6 @@ }, "node_modules/@rdfjs/dataset": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@rdfjs/dataset/-/dataset-2.0.3.tgz", - "integrity": "sha512-Ur6M0nDFXMJWNYe1IBDBaQV/nIwRbe3+I58syOHnzZNbe7ZHumUOS/0XQ1+9WYF31tmQU7w741MRn6W3J+OTeg==", "license": "MIT", "bin": { "rdfjs-dataset-test": "bin/test.js" @@ -2234,14 +1510,10 @@ }, "node_modules/@rdfjs/environment": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@rdfjs/environment/-/environment-1.0.0.tgz", - "integrity": "sha512-+S5YjSvfoQR5r7YQCRCCVHvIEyrWia7FJv2gqM3s5EDfotoAQmFeBagApa9c/eQFi5EiNhmBECE5nB8LIxTaHg==", "license": "MIT" }, "node_modules/@rdfjs/namespace": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@rdfjs/namespace/-/namespace-2.0.1.tgz", - "integrity": "sha512-U85NWVGnL3gWvOZ4eXwUcv3/bom7PAcutSBQqmVWvOaslPy+kDzAJCH1WYBLpdQd4yMmJ+bpJcDl9rcHtXeixg==", "license": "MIT", "dependencies": { "@rdfjs/data-model": "^2.0.1" @@ -2249,8 +1521,6 @@ }, "node_modules/@rdfjs/term-map": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@rdfjs/term-map/-/term-map-2.0.2.tgz", - "integrity": "sha512-EJ2FmmdEUsSR/tU1nrizRLWzH24YzhuvesrbUWxC3Fs0ilYNdtTbg0RaFJDUnJF3HkbNBQe8Zrt/uvU/hcKnHg==", "license": "MIT", "dependencies": { "@rdfjs/to-ntriples": "^3.0.1" @@ -2258,8 +1528,6 @@ }, "node_modules/@rdfjs/term-set": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@rdfjs/term-set/-/term-set-2.0.3.tgz", - "integrity": "sha512-DyXrKWEx+mtAFUZVU7bc3Va6/KZ8PsIp0RVdyWT9jfDgI/HCvNisZaBtAcm+SYTC45o+7WLkbudkk1bfaKVB0A==", "license": "MIT", "dependencies": { "@rdfjs/to-ntriples": "^3.0.1" @@ -2267,14 +1535,10 @@ }, "node_modules/@rdfjs/to-ntriples": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@rdfjs/to-ntriples/-/to-ntriples-3.0.1.tgz", - "integrity": "sha512-gjoPAvh4j7AbGMjcDn/8R4cW+d/FPtbfbMM0uQXkyfBFtNUW2iVgrqsgJ65roLc54Y9A2TTFaeeTGSvY9a0HCQ==", "license": "MIT" }, "node_modules/@rdfjs/types": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@rdfjs/types/-/types-2.0.1.tgz", - "integrity": "sha512-uyAzpugX7KekAXAHq26m3JlUIZJOC0uSBhpnefGV5i15bevDyyejoB7I+9MKeUrzXD8OOUI3+4FeV1wwQr5ihA==", "license": "MIT", "dependencies": { "@types/node": "*" @@ -2282,8 +1546,6 @@ }, "node_modules/@sindresorhus/fnv1a": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/fnv1a/-/fnv1a-3.1.0.tgz", - "integrity": "sha512-KV321z5m/0nuAg83W1dPLy85HpHDk7Sdi4fJbwvacWsEhAh+rZUW4ZfGcXmUIvjZg4ss2bcwNlRhJ7GBEUG08w==", "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" @@ -2294,8 +1556,6 @@ }, "node_modules/@tpluscode/rdf-ns-builders": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@tpluscode/rdf-ns-builders/-/rdf-ns-builders-5.0.0.tgz", - "integrity": "sha512-rtMFbArdief+s0z2A3TOb/gNe5O5xn9LDiEpilCf6lGYCUIfyqoOvZY80fS/eILwcF2Mj6cUQN1WBQ+1neJmaw==", "license": "MIT", "dependencies": { "@rdfjs/data-model": "^2.1.0", @@ -2307,8 +1567,6 @@ }, "node_modules/@types/chai": { "version": "5.2.3", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", - "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==", "dev": true, "license": "MIT", "dependencies": { @@ -2318,43 +1576,31 @@ }, "node_modules/@types/deep-eql": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", - "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", "dev": true, "license": "MIT" }, "node_modules/@types/esrecurse": { "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", - "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", "dev": true, "license": "MIT" }, "node_modules/@types/estree": { "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", - "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", "dev": true, "license": "MIT" }, "node_modules/@types/json-schema": { "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true, "license": "MIT" }, "node_modules/@types/mocha": { "version": "10.0.10", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.10.tgz", - "integrity": "sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==", "dev": true, "license": "MIT" }, "node_modules/@types/node": { "version": "22.20.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.1.tgz", - "integrity": "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==", "license": "MIT", "dependencies": { "undici-types": "~6.21.0" @@ -2362,15 +1608,11 @@ }, "node_modules/@types/parse-path": { "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@types/parse-path/-/parse-path-7.0.3.tgz", - "integrity": "sha512-LriObC2+KYZD3FzCrgWGv/qufdUy4eXrxcLgQMfYXgPbLIecKIsVBaQgUPmxSSLcjmYbDTQbMgr6qr6l/eb7Bg==", "dev": true, "license": "MIT" }, "node_modules/@types/rdfjs__namespace": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/rdfjs__namespace/-/rdfjs__namespace-2.0.10.tgz", - "integrity": "sha512-xoVzEIOxcpyteEmzaj94MSBbrBFs+vqv05joMhzLEiPRwsBBDnhkdBCaaDxR1Tf7wOW0kB2R1IYe4C3vEBFPgA==", "license": "MIT", "dependencies": { "@rdfjs/types": "*" @@ -2378,8 +1620,6 @@ }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.67.0.tgz", - "integrity": "sha512-Un7Heoyj65NREbKAyIrFxeM143NZpExWmy1Nep4DLeQOeLlTeumPjoNKnBrU5D5moWXbPJgRa5Uwcdu0faVNGQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2407,8 +1647,6 @@ }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { "version": "7.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.6.tgz", - "integrity": "sha512-BAg6QkE8W+TuQLrrw0Ugr7HegXduRuuj8/ti2kSOc+jz1dmx8/WNcjr6XGnq5YpDWxFwwaavqD0+jIUOKelTsw==", "dev": true, "license": "MIT", "engines": { @@ -2417,8 +1655,6 @@ }, "node_modules/@typescript-eslint/parser": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.67.0.tgz", - "integrity": "sha512-fUBfTuuEulWqX6V8+O3PtScV01tzYYRUDTAirHFKoRAt7nOzoGiPt0M/bB47wWNy0coOOcgEwAMUtBpykMxl6w==", "dev": true, "license": "MIT", "dependencies": { @@ -2442,8 +1678,6 @@ }, "node_modules/@typescript-eslint/project-service": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.67.0.tgz", - "integrity": "sha512-cvE8c7ulYeXN9fYuszhCeCsbzyVEXuhrRCybnBre7TUmqb5nRmBfQAwCj0O3WJFDeyAZt4VYv51vMCC9LHSdYw==", "dev": true, "license": "MIT", "dependencies": { @@ -2464,8 +1698,6 @@ }, "node_modules/@typescript-eslint/scope-manager": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.67.0.tgz", - "integrity": "sha512-EgvsleTwS4E+WzzSvem8fAUubLwatMNF1B5hHSLQxcvs7q2dtRhGyujHwLJSYlG41niJ7GP24Aha2+0mb1b2kg==", "dev": true, "license": "MIT", "dependencies": { @@ -2482,8 +1714,6 @@ }, "node_modules/@typescript-eslint/tsconfig-utils": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.67.0.tgz", - "integrity": "sha512-vV+LUSv5njUWsknE71fqKTlXUva+R76SaeORd6Zojcunk/6DvKFXONU3BrAs2H49mbygUXt6gbYunzwqNwlhdg==", "dev": true, "license": "MIT", "engines": { @@ -2499,8 +1729,6 @@ }, "node_modules/@typescript-eslint/type-utils": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.67.0.tgz", - "integrity": "sha512-aVWDXbRmdXO9siTfX4ditQI1T9+zVcNazT48EJCD0v40/9RIFoUgZ05CmGEq9H2gixRpjUn/iplwvlcvutJW/Q==", "dev": true, "license": "MIT", "dependencies": { @@ -2524,8 +1752,6 @@ }, "node_modules/@typescript-eslint/types": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.67.0.tgz", - "integrity": "sha512-sBtgslww8nsMYUjhdPBiSyUqSzT8uR6g93A2QXnQC8+cGdjz0CyaOdqHDRJb1AtORbZCNUJBBeFA/tNR2uQmww==", "dev": true, "license": "MIT", "engines": { @@ -2538,8 +1764,6 @@ }, "node_modules/@typescript-eslint/typescript-estree": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.67.0.tgz", - "integrity": "sha512-EKQBCE9yNlRJYm7jdTW5AhDacDUmSwQb0FAJAmK2EKYrNXIsa2vxcSZx6PvJ/dEdI6lS+Y9W+EXckLj0iPFGcw==", "dev": true, "license": "MIT", "dependencies": { @@ -2566,8 +1790,6 @@ }, "node_modules/@typescript-eslint/utils": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.67.0.tgz", - "integrity": "sha512-U9D1FdwEWBwok3hxxSdhclMb0twvt9QnjIQ0VfQ1AiX2epnpSgv2ubVDsayOFyY8K6FX+AQ7E0FKWVG3iKsj1A==", "dev": true, "license": "MIT", "dependencies": { @@ -2590,8 +1812,6 @@ }, "node_modules/@typescript-eslint/visitor-keys": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.67.0.tgz", - "integrity": "sha512-fkv8dHRDqfGtTHuJeebdrQ7cX6Ad4WAS00rgHh9UGvMycF1mjBfsxry1XsLIFhWZ6Judlh6UdzK+TYlbpCXgnA==", "dev": true, "license": "MIT", "dependencies": { @@ -2608,8 +1828,6 @@ }, "node_modules/@vocabulary/sh": { "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@vocabulary/sh/-/sh-1.1.6.tgz", - "integrity": "sha512-8IfAQoKh57THz8LA2+n1jaY/VC2XaqMNSsJgzBKSSrj20y5PSMAawb6dMsxoLxqDIPBDs1TFRl/9CijUnwbBUA==", "license": "MIT", "peerDependencies": { "@rdfjs/types": "^2.0.0" @@ -2617,14 +1835,10 @@ }, "node_modules/@zazuko/prefixes": { "version": "2.6.1", - "resolved": "https://registry.npmjs.org/@zazuko/prefixes/-/prefixes-2.6.1.tgz", - "integrity": "sha512-fbOadP7twxt0ZYT9mgIC+xQMk6f3pYYLI5a/2UJ/mc/ygqb/NoVv2ryK3lTtoi74xwkdpUeDwIuFQSosowzUgg==", "license": "MIT" }, "node_modules/abort-controller": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", "license": "MIT", "dependencies": { "event-target-shim": "^5.0.0" @@ -2635,14 +1849,10 @@ }, "node_modules/abort-error": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/abort-error/-/abort-error-1.0.2.tgz", - "integrity": "sha512-lVgvB2NyPLqbXXhVmXcYFTC1x5K7CiVdPgdY7LGgFQWC8506oN01sPN3i9cl9ynuwF4iJ0TS9exnR7cZ9FuX4w==", "license": "Apache-2.0 OR MIT" }, "node_modules/acorn": { "version": "8.18.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", - "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", "dev": true, "license": "MIT", "bin": { @@ -2654,8 +1864,6 @@ }, "node_modules/acorn-jsx": { "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -2664,14 +1872,10 @@ }, "node_modules/aes-js": { "version": "4.0.0-beta.5", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", "license": "MIT" }, "node_modules/agent-base": { "version": "9.0.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-9.0.0.tgz", - "integrity": "sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==", "dev": true, "license": "MIT", "engines": { @@ -2680,8 +1884,6 @@ }, "node_modules/ajv": { "version": "6.15.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", - "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", "dev": true, "license": "MIT", "dependencies": { @@ -2697,8 +1899,6 @@ }, "node_modules/ansi-colors": { "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", "license": "MIT", "engines": { "node": ">=6" @@ -2706,8 +1906,6 @@ }, "node_modules/ansi-regex": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "license": "MIT", "engines": { "node": ">=8" @@ -2715,8 +1913,6 @@ }, "node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -2730,8 +1926,6 @@ }, "node_modules/any-signal": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.2.0.tgz", - "integrity": "sha512-LndMvYuAPf4rC195lk7oSFuHOYFpOszIYrNYv0gHAvz+aEhE9qPZLhmrIz5pXP2BSsPOXvsuHDXEGaiQhIh9wA==", "license": "Apache-2.0 OR MIT", "engines": { "node": ">=16.0.0", @@ -2740,15 +1934,11 @@ }, "node_modules/argparse": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true, "license": "Python-2.0" }, "node_modules/assertion-error": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", - "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", "dev": true, "license": "MIT", "engines": { @@ -2757,8 +1947,6 @@ }, "node_modules/ast-types": { "version": "0.13.4", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", - "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", "dev": true, "license": "MIT", "dependencies": { @@ -2770,8 +1958,6 @@ }, "node_modules/async-retry": { "version": "1.3.3", - "resolved": "https://registry.npmjs.org/async-retry/-/async-retry-1.3.3.tgz", - "integrity": "sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==", "dev": true, "license": "MIT", "dependencies": { @@ -2780,14 +1966,10 @@ }, "node_modules/asynckit": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "license": "MIT" }, "node_modules/auto-changelog": { "version": "2.6.0", - "resolved": "https://registry.npmjs.org/auto-changelog/-/auto-changelog-2.6.0.tgz", - "integrity": "sha512-jJgUkuWXQ7fPLPXOMQk/XSSmy7KvzpzhjJa6w660dq1KTEez/GW2CPckBra3jMMMMpcwxp84bOslo29qRCewzA==", "dev": true, "license": "MIT", "dependencies": { @@ -2806,8 +1988,6 @@ }, "node_modules/auto-changelog/node_modules/commander": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", "dev": true, "license": "MIT", "engines": { @@ -2816,8 +1996,6 @@ }, "node_modules/axios": { "version": "1.19.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.19.0.tgz", - "integrity": "sha512-ht/iuYZXEjFxLH/Hkezgd7m6JKlHHXEUSneaDz8uZe1Gj5QZtCnpyDsckvAiEnT89OEbCLmnte4R4sn7P0EKFw==", "license": "MIT", "dependencies": { "follow-redirects": "^1.16.0", @@ -2828,8 +2006,6 @@ }, "node_modules/axios/node_modules/agent-base": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "license": "MIT", "dependencies": { "debug": "4" @@ -2840,8 +2016,6 @@ }, "node_modules/axios/node_modules/https-proxy-agent": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "license": "MIT", "dependencies": { "agent-base": "6", @@ -2853,15 +2027,11 @@ }, "node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true, "license": "MIT" }, "node_modules/base64-js": { "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", "funding": [ { "type": "github", @@ -2880,8 +2050,6 @@ }, "node_modules/basic-ftp": { "version": "5.3.1", - "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.3.1.tgz", - "integrity": "sha512-bopVNp6ugyA150DDuZfPFdt1KZ5a94ZDiwX4hMgZDzF+GttD80lEy8kj98kbyhLXnPvhtIo93mdnLIjpCAeeOw==", "dev": true, "license": "MIT", "engines": { @@ -2890,21 +2058,15 @@ }, "node_modules/before-after-hook": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz", - "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==", "dev": true, "license": "Apache-2.0" }, "node_modules/bignumber.js": { "version": "11.1.5", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-11.1.5.tgz", - "integrity": "sha512-6WmzCNtUnfKpbozq+hOgWaZMMzORmYBwF1xZScyoIX3QRYWeKTtxxwDOW5tIz7C9BdjkIYHGTcelCLkXg0mndw==", "license": "MIT" }, "node_modules/brace-expansion": { "version": "5.0.9", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz", - "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==", "dev": true, "license": "MIT", "dependencies": { @@ -2916,8 +2078,6 @@ }, "node_modules/brace-expansion/node_modules/balanced-match": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", "dev": true, "license": "MIT", "engines": { @@ -2926,15 +2086,11 @@ }, "node_modules/browser-stdout": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", - "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", "dev": true, "license": "ISC" }, "node_modules/buffer": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", "funding": [ { "type": "github", @@ -2957,14 +2113,10 @@ }, "node_modules/buffer-equal-constant-time": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", "license": "BSD-3-Clause" }, "node_modules/bufferutil": { "version": "4.0.9", - "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.9.tgz", - "integrity": "sha512-WDtdLmJvAuNNPzByAYpRo2rF1Mmradw6gvWsQKf63476DDXmomT9zUiGypLcG4ibIM67vhAj8jJRdbmEws2Aqw==", "hasInstallScript": true, "license": "MIT", "optional": true, @@ -2978,8 +2130,6 @@ }, "node_modules/bundle-name": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", - "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", "dev": true, "license": "MIT", "dependencies": { @@ -2994,8 +2144,6 @@ }, "node_modules/c12": { "version": "3.3.4", - "resolved": "https://registry.npmjs.org/c12/-/c12-3.3.4.tgz", - "integrity": "sha512-cM0ApFQSBXuourJejzwv/AuPRvAxordTyParRVcHjjtXirtkzM0uK2L9TTn9s0cXZbG7E55jCivRQzoxYmRAlA==", "dev": true, "license": "MIT", "dependencies": { @@ -3023,8 +2171,6 @@ }, "node_modules/c12/node_modules/chokidar": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", - "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", "dev": true, "license": "MIT", "dependencies": { @@ -3039,8 +2185,6 @@ }, "node_modules/c12/node_modules/readdirp": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.1.1.tgz", - "integrity": "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==", "dev": true, "license": "MIT", "engines": { @@ -3053,8 +2197,6 @@ }, "node_modules/call-bind-apply-helpers": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", - "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -3066,8 +2208,6 @@ }, "node_modules/camelcase": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, "license": "MIT", "engines": { @@ -3079,8 +2219,6 @@ }, "node_modules/canonicalize": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/canonicalize/-/canonicalize-2.1.0.tgz", - "integrity": "sha512-F705O3xrsUtgt98j7leetNhTWPe+5S72rlL5O4jA1pKqBVQ/dT1O1D6PFxmSXvc0SUOinWS57DKx0I3CHrXJHQ==", "license": "Apache-2.0", "bin": { "canonicalize": "bin/canonicalize.js" @@ -3088,8 +2226,6 @@ }, "node_modules/cborg": { "version": "1.10.2", - "resolved": "https://registry.npmjs.org/cborg/-/cborg-1.10.2.tgz", - "integrity": "sha512-b3tFPA9pUr2zCUiCfRd2+wok2/LBSNUMKOuRRok+WlvvAgEt/PlbgPTsZUcwCOs53IJvLgTp0eotwtosE6njug==", "license": "Apache-2.0", "bin": { "cborg": "cli.js" @@ -3097,8 +2233,6 @@ }, "node_modules/chai": { "version": "6.2.2", - "resolved": "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz", - "integrity": "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==", "dev": true, "license": "MIT", "engines": { @@ -3107,8 +2241,6 @@ }, "node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -3123,15 +2255,11 @@ }, "node_modules/chardet": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.2.0.tgz", - "integrity": "sha512-rddelWYNPRrXq6PtNEN2S3f6t9ILzvqaN5pVgi4kqt9jHQaXIial9PznB5iSPVlQSLNaaH22ItWz3EJtQ10+OA==", "dev": true, "license": "MIT" }, "node_modules/chokidar": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", - "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", "dev": true, "license": "MIT", "dependencies": { @@ -3146,8 +2274,6 @@ }, "node_modules/ci-info": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.4.0.tgz", - "integrity": "sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==", "dev": true, "funding": [ { @@ -3162,8 +2288,6 @@ }, "node_modules/cli-cursor": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", - "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", "dev": true, "license": "MIT", "dependencies": { @@ -3178,8 +2302,6 @@ }, "node_modules/cli-spinners": { "version": "3.4.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-3.4.0.tgz", - "integrity": "sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==", "dev": true, "license": "MIT", "engines": { @@ -3191,8 +2313,6 @@ }, "node_modules/cli-width": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", - "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", "dev": true, "license": "ISC", "engines": { @@ -3201,8 +2321,6 @@ }, "node_modules/cliui": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, "license": "ISC", "dependencies": { @@ -3216,15 +2334,11 @@ }, "node_modules/cliui/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/cliui/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -3238,8 +2352,6 @@ }, "node_modules/cliui/node_modules/wrap-ansi": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "license": "MIT", "dependencies": { @@ -3256,8 +2368,6 @@ }, "node_modules/clownface": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/clownface/-/clownface-2.0.3.tgz", - "integrity": "sha512-E76TBJ7CgU9+/5paSAvuNdMO+fzFThnvRVtidosktYppYkXM8V7tid8Ezzo8S1OmoWxKUam3yfkZlfCid4OiJQ==", "license": "MIT", "dependencies": { "@rdfjs/data-model": "^2.0.1", @@ -3267,8 +2377,6 @@ }, "node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -3279,14 +2387,10 @@ }, "node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "license": "MIT" }, "node_modules/combined-stream": { "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" @@ -3297,8 +2401,6 @@ }, "node_modules/commander": { "version": "13.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz", - "integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==", "license": "MIT", "engines": { "node": ">=18" @@ -3306,15 +2408,18 @@ }, "node_modules/confbox": { "version": "0.2.4", - "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.2.4.tgz", - "integrity": "sha512-ysOGlgTFbN2/Y6Cg3Iye8YKulHw+R2fNXHrgSmXISQdMnomY6eNDprVdW9R5xBguEqI954+S6709UyiO7B+6OQ==", "dev": true, "license": "MIT" }, + "node_modules/cross-fetch": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "node-fetch": "^2.7.0" + } + }, "node_modules/cross-spawn": { "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "license": "MIT", "dependencies": { @@ -3328,14 +2433,10 @@ }, "node_modules/crypto-js": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", - "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==", "license": "MIT" }, "node_modules/datastore-core": { "version": "12.0.1", - "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-12.0.1.tgz", - "integrity": "sha512-pfgIE5LG0Z5oyc6TxiLaF/0j4Gh1Yrs2+Ck/qssf9Oxw4s4YKC3zpqifuzThnKakAFWONr/vRv+66Koc0yJvyA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/logger": "^6.2.4", @@ -3353,8 +2454,6 @@ }, "node_modules/debug": { "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -3370,8 +2469,6 @@ }, "node_modules/decamelize": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", - "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", "dev": true, "license": "MIT", "engines": { @@ -3383,21 +2480,15 @@ }, "node_modules/decimal.js": { "version": "10.6.0", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz", - "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==", "license": "MIT" }, "node_modules/deep-is": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true, "license": "MIT" }, "node_modules/default-browser": { "version": "5.5.1", - "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.1.tgz", - "integrity": "sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==", "dev": true, "license": "MIT", "dependencies": { @@ -3413,8 +2504,6 @@ }, "node_modules/default-browser-id": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", - "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", "dev": true, "license": "MIT", "engines": { @@ -3426,8 +2515,6 @@ }, "node_modules/define-lazy-prop": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", - "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", "dev": true, "license": "MIT", "engines": { @@ -3439,15 +2526,11 @@ }, "node_modules/defu": { "version": "6.1.7", - "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.7.tgz", - "integrity": "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==", "dev": true, "license": "MIT" }, "node_modules/degenerator": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-7.0.1.tgz", - "integrity": "sha512-ABErK0IefDSyHjlPH7WUEenIAX2rPPnrDcDM+TS3z3+zu9TfyKKi07BQM+8rmxpdE2y1v5fjjdoAS/x4D2U60w==", "dev": true, "license": "MIT", "dependencies": { @@ -3464,8 +2547,6 @@ }, "node_modules/delay": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/delay/-/delay-7.0.0.tgz", - "integrity": "sha512-C3vaGs818qzZjCvVJ98GQUMVyWeg7dr5w2Nwwb2t5K8G98jOyyVO2ti2bKYk5yoYElqH3F2yA53ykuEnwD6MCg==", "license": "MIT", "dependencies": { "random-int": "^3.1.0", @@ -3480,8 +2561,6 @@ }, "node_modules/delayed-stream": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "license": "MIT", "engines": { "node": ">=0.4.0" @@ -3489,15 +2568,11 @@ }, "node_modules/destr": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/destr/-/destr-2.0.5.tgz", - "integrity": "sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==", "dev": true, "license": "MIT" }, "node_modules/diff": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", - "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -3506,8 +2581,6 @@ }, "node_modules/dotenv": { "version": "17.4.2", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.2.tgz", - "integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -3519,8 +2592,6 @@ }, "node_modules/dunder-proto": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", - "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.1", @@ -3533,15 +2604,11 @@ }, "node_modules/eastasianwidth": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "dev": true, "license": "MIT" }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", "license": "Apache-2.0", "dependencies": { "safe-buffer": "^5.0.1" @@ -3549,8 +2616,6 @@ }, "node_modules/eciesjs": { "version": "0.5.0", - "resolved": "https://registry.npmjs.org/eciesjs/-/eciesjs-0.5.0.tgz", - "integrity": "sha512-s0J9SEVYAEPg7J63GFMApLYzPH9VNIQIyC6s15JpnqVc0TqcKWdbgFlnAweEBRyMmko2dcs2sfC83Hj4J43tuA==", "license": "MIT", "dependencies": { "@ecies/ciphers": "^0.2.6", @@ -3566,8 +2631,6 @@ }, "node_modules/eciesjs/node_modules/@ecies/ciphers": { "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@ecies/ciphers/-/ciphers-0.2.6.tgz", - "integrity": "sha512-patgsRPKGkhhoBjETV4XxD0En4ui5fbX0hzayqI3M8tvNMGUoUvmyYAIWwlxBc1KX5cturfqByYdj5bYGRpN9g==", "license": "MIT", "engines": { "bun": ">=1", @@ -3580,8 +2643,6 @@ }, "node_modules/eciesjs/node_modules/@noble/ciphers": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz", - "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==", "license": "MIT", "engines": { "node": "^14.21.3 || >=16" @@ -3592,8 +2653,6 @@ }, "node_modules/eciesjs/node_modules/@noble/curves": { "version": "1.9.7", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.7.tgz", - "integrity": "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==", "license": "MIT", "dependencies": { "@noble/hashes": "1.8.0" @@ -3607,8 +2666,6 @@ }, "node_modules/eciesjs/node_modules/@noble/hashes": { "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz", - "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==", "license": "MIT", "engines": { "node": "^14.21.3 || >=16" @@ -3619,15 +2676,11 @@ }, "node_modules/emoji-regex": { "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true, "license": "MIT" }, "node_modules/enquirer": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", - "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", "license": "MIT", "dependencies": { "ansi-colors": "^4.1.1", @@ -3639,8 +2692,6 @@ }, "node_modules/es-define-property": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", - "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -3648,8 +2699,6 @@ }, "node_modules/es-errors": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -3657,8 +2706,6 @@ }, "node_modules/es-object-atoms": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", - "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", "license": "MIT", "dependencies": { "es-errors": "^1.3.0" @@ -3669,8 +2716,6 @@ }, "node_modules/es-set-tostringtag": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", - "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -3684,8 +2729,6 @@ }, "node_modules/esbuild": { "version": "0.28.2", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", - "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -3726,8 +2769,6 @@ }, "node_modules/escalade": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, "license": "MIT", "engines": { @@ -3736,8 +2777,6 @@ }, "node_modules/escape-string-regexp": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, "license": "MIT", "engines": { @@ -3749,8 +2788,6 @@ }, "node_modules/escodegen": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", - "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -3771,8 +2808,6 @@ }, "node_modules/eslint": { "version": "10.8.1", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.8.1.tgz", - "integrity": "sha512-wqA7W2jbsC/BnV9Iv1UZpKVFkO1AdNoSmYW8NWG4HNOBbkAMvIqDZ27pI2f07dqn583NcIC44ckjAcOXDL1QbQ==", "dev": true, "license": "MIT", "workspaces": [ @@ -3830,8 +2865,6 @@ }, "node_modules/eslint-scope": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", - "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -3849,8 +2882,6 @@ }, "node_modules/eslint-visitor-keys": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", - "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -3862,8 +2893,6 @@ }, "node_modules/espree": { "version": "11.2.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", - "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -3880,8 +2909,6 @@ }, "node_modules/esprima": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true, "license": "BSD-2-Clause", "bin": { @@ -3894,8 +2921,6 @@ }, "node_modules/esquery": { "version": "1.7.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", - "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -3907,8 +2932,6 @@ }, "node_modules/esrecurse": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -3920,8 +2943,6 @@ }, "node_modules/estraverse": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -3930,8 +2951,6 @@ }, "node_modules/esutils": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -3940,8 +2959,6 @@ }, "node_modules/eta": { "version": "4.6.0", - "resolved": "https://registry.npmjs.org/eta/-/eta-4.6.0.tgz", - "integrity": "sha512-lW6is4T1NFOYnmqGZIfvixqj7A7sSvScF+DN8EK6K58xI5MZ5UvYe0GjopxOXQtZvUn4eDdVuZ8XSoYWTMEKwA==", "dev": true, "license": "MIT", "engines": { @@ -3953,8 +2970,6 @@ }, "node_modules/ethers": { "version": "6.17.0", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.17.0.tgz", - "integrity": "sha512-BpyrpIPJ3ydEVow8zGaz1DuPS7YU8DcWxuBnY9a0UA/lvAPwrMr+EPXsfrul628SRaekPNeIM4UFh/91GWZang==", "funding": [ { "type": "individual", @@ -3981,8 +2996,6 @@ }, "node_modules/ethers/node_modules/@types/node": { "version": "22.7.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", - "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "license": "MIT", "dependencies": { "undici-types": "~6.19.2" @@ -3990,23 +3003,21 @@ }, "node_modules/ethers/node_modules/undici-types": { "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", "license": "MIT" }, "node_modules/event-target-shim": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", "license": "MIT", "engines": { "node": ">=6" } }, + "node_modules/eventemitter3": { + "version": "5.0.4", + "license": "MIT" + }, "node_modules/events": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "license": "MIT", "engines": { "node": ">=0.8.x" @@ -4014,43 +3025,31 @@ }, "node_modules/exsolve": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.1.1.tgz", - "integrity": "sha512-9U/jZUgjnSGyntRr6y5Muu1MJcwFl6kPu7k8qLF0IMNfLqvw0NZ4nnVDq0RVoZ0RvCyumib4Ez3KYrVfilrw+g==", "dev": true, "license": "MIT" }, "node_modules/fast-deep-equal": { "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true, "license": "MIT" }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", "dev": true, "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true, "license": "MIT" }, "node_modules/fast-string-truncated-width": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", - "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==", "dev": true, "license": "MIT" }, "node_modules/fast-string-width": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz", - "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==", "dev": true, "license": "MIT", "dependencies": { @@ -4059,8 +3058,6 @@ }, "node_modules/fast-wrap-ansi": { "version": "0.2.2", - "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.2.tgz", - "integrity": "sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==", "dev": true, "license": "MIT", "dependencies": { @@ -4069,8 +3066,6 @@ }, "node_modules/figlet": { "version": "1.11.4", - "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.11.4.tgz", - "integrity": "sha512-ZU41480OncL+NVLQrT0GVnbO0COL24sLSrzksioDgunmdJNYEUxhJJZ4Y3x1csN8XXqN5OcCZTLG8lKdquNyfQ==", "license": "MIT", "dependencies": { "commander": "^14.0.0" @@ -4084,8 +3079,6 @@ }, "node_modules/figlet/node_modules/commander": { "version": "14.0.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", - "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", "license": "MIT", "engines": { "node": ">=20" @@ -4093,8 +3086,6 @@ }, "node_modules/file-entry-cache": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", - "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4106,8 +3097,6 @@ }, "node_modules/find-up": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, "license": "MIT", "dependencies": { @@ -4123,8 +3112,6 @@ }, "node_modules/flat": { "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", "dev": true, "license": "BSD-3-Clause", "bin": { @@ -4133,8 +3120,6 @@ }, "node_modules/flat-cache": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", - "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, "license": "MIT", "dependencies": { @@ -4147,15 +3132,11 @@ }, "node_modules/flatted": { "version": "3.4.4", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", - "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", "dev": true, "license": "ISC" }, "node_modules/follow-redirects": { "version": "1.16.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", - "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==", "funding": [ { "type": "individual", @@ -4174,8 +3155,6 @@ }, "node_modules/foreground-child": { "version": "3.3.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", - "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", "dev": true, "license": "ISC", "dependencies": { @@ -4191,8 +3170,6 @@ }, "node_modules/form-data": { "version": "4.0.6", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", - "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", @@ -4205,25 +3182,8 @@ "node": ">= 6" } }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -4231,8 +3191,6 @@ }, "node_modules/get-caller-file": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, "license": "ISC", "engines": { @@ -4241,8 +3199,6 @@ }, "node_modules/get-east-asian-width": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz", - "integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==", "dev": true, "license": "MIT", "engines": { @@ -4254,8 +3210,6 @@ }, "node_modules/get-intrinsic": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", - "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.2", @@ -4278,8 +3232,6 @@ }, "node_modules/get-proto": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", - "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", "license": "MIT", "dependencies": { "dunder-proto": "^1.0.1", @@ -4291,8 +3243,6 @@ }, "node_modules/get-uri": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-8.0.1.tgz", - "integrity": "sha512-/5N/P4Lrh0p/mDwlDRi7Y1+P2o/OyzZI3l6Iz1Ov6XXwwm1y3RlZLuo3gVgML99djrEDtV980bBxSuOeHLk8ww==", "dev": true, "license": "MIT", "dependencies": { @@ -4306,8 +3256,6 @@ }, "node_modules/get-uri/node_modules/data-uri-to-buffer": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-8.0.0.tgz", - "integrity": "sha512-6UHfyCux51b8PTGDgveqtz1tvphBku5DrMKKJbFAZAJOI2zsjDpDoYE1+QGj7FOMS4BdTFNJsJiR3zEB0xH0yQ==", "dev": true, "license": "MIT", "engines": { @@ -4316,8 +3264,6 @@ }, "node_modules/giget": { "version": "3.3.1", - "resolved": "https://registry.npmjs.org/giget/-/giget-3.3.1.tgz", - "integrity": "sha512-r+mvuDjrjMpsdw46Kmeydb8bdHm7wOKw8wNBtTndkjbPjgAp5oUJUxRE76wZFknxIPokfWvep2qSXK37aXE6zg==", "dev": true, "license": "MIT", "bin": { @@ -4326,8 +3272,6 @@ }, "node_modules/git-up": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/git-up/-/git-up-8.1.1.tgz", - "integrity": "sha512-FDenSF3fVqBYSaJoYy1KSc2wosx0gCvKP+c+PRBht7cAaiCeQlBtfBDX9vgnNOHmdePlSFITVcn4pFfcgNvx3g==", "dev": true, "license": "MIT", "dependencies": { @@ -4337,8 +3281,6 @@ }, "node_modules/git-url-parse": { "version": "16.1.0", - "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-16.1.0.tgz", - "integrity": "sha512-cPLz4HuK86wClEW7iDdeAKcCVlWXmrLpb2L+G9goW0Z1dtpNS6BXXSOckUTlJT/LDQViE1QZKstNORzHsLnobw==", "dev": true, "license": "MIT", "dependencies": { @@ -4347,9 +3289,6 @@ }, "node_modules/glob": { "version": "10.5.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", - "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", "dev": true, "license": "ISC", "dependencies": { @@ -4369,8 +3308,6 @@ }, "node_modules/glob-parent": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, "license": "ISC", "dependencies": { @@ -4382,8 +3319,6 @@ }, "node_modules/glob/node_modules/brace-expansion": { "version": "2.1.4", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", - "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", "dev": true, "license": "MIT", "dependencies": { @@ -4392,8 +3327,6 @@ }, "node_modules/glob/node_modules/minimatch": { "version": "9.0.9", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", - "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "dev": true, "license": "ISC", "dependencies": { @@ -4408,8 +3341,6 @@ }, "node_modules/globals": { "version": "17.11.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-17.11.0.tgz", - "integrity": "sha512-Z2I8hM+PbJDXQDq3Icgpzv+mPdwr68iZUU9d5WW4FuXfDUQfkZaZuvjMv42/5crNyw154+9+VWXbYrUgDXbxNw==", "dev": true, "license": "MIT", "engines": { @@ -4421,8 +3352,6 @@ }, "node_modules/gopd": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", - "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -4433,8 +3362,6 @@ }, "node_modules/handlebars": { "version": "4.7.9", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz", - "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4455,8 +3382,6 @@ }, "node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "license": "MIT", "engines": { "node": ">=8" @@ -4464,8 +3389,6 @@ }, "node_modules/has-symbols": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", - "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -4476,8 +3399,6 @@ }, "node_modules/has-tostringtag": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" @@ -4491,14 +3412,10 @@ }, "node_modules/hashlru": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/hashlru/-/hashlru-2.3.0.tgz", - "integrity": "sha512-0cMsjjIC8I+D3M44pOQdsy0OHXGLVz6Z0beRuufhKa0KfaD2wGwAev6jILzXsd3/vpnNQJmWyZtIILqM1N+n5A==", "license": "MIT" }, "node_modules/hasown": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", - "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -4509,8 +3426,6 @@ }, "node_modules/he": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true, "license": "MIT", "bin": { @@ -4519,8 +3434,6 @@ }, "node_modules/http-proxy-agent": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-9.1.0.tgz", - "integrity": "sha512-2NxoveTT58mjYT4n3RPTEfCZGLMbidoO8XEieXfpSYxu+PQJ1qpx4ypwH6N+uF9twBPIvRRgvkvW5HUTYWENig==", "dev": true, "license": "MIT", "dependencies": { @@ -4534,8 +3447,6 @@ }, "node_modules/https-proxy-agent": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-9.1.0.tgz", - "integrity": "sha512-ag87y7cJJ9/3+GxFr8Oy4O5faDsGRGnBGsJj/YjOSsSx/5eadKLYTMPlzuR6obgoCDDm0abAAZitXXQkMOPSpA==", "dev": true, "license": "MIT", "dependencies": { @@ -4549,8 +3460,6 @@ }, "node_modules/iconv-lite": { "version": "0.7.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", - "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4566,8 +3475,6 @@ }, "node_modules/ieee754": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "funding": [ { "type": "github", @@ -4586,8 +3493,6 @@ }, "node_modules/ignore": { "version": "5.3.2", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", - "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "license": "MIT", "engines": { @@ -4596,8 +3501,6 @@ }, "node_modules/import-cwd": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-3.0.0.tgz", - "integrity": "sha512-4pnzH16plW+hgvRECbDWpQl3cqtvSofHWh44met7ESfZ8UZOWWddm8hEyDTqREJ9RbYHY8gi8DqmaelApoOGMg==", "dev": true, "license": "MIT", "dependencies": { @@ -4609,8 +3512,6 @@ }, "node_modules/import-from": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/import-from/-/import-from-3.0.0.tgz", - "integrity": "sha512-CiuXOFFSzkU5x/CR0+z7T91Iht4CXgfCxVOFRhh2Zyhg5wOpWvvDLQUsWl+gcN+QscYBjez8hDCt85O7RLDttQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4622,8 +3523,6 @@ }, "node_modules/import-from/node_modules/resolve-from": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, "license": "MIT", "engines": { @@ -4632,8 +3531,6 @@ }, "node_modules/imurmurhash": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, "license": "MIT", "engines": { @@ -4642,8 +3539,6 @@ }, "node_modules/interface-datastore": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-10.0.1.tgz", - "integrity": "sha512-DYMj/Og5Cz1Qwkx6/x5KRvR8SYEX7rVAv3KKCm2NzTwWSfpNAC4PahjcYbHyoZBP6zPWrhQv5n5wE+vaDdgSAg==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.2", @@ -4653,8 +3548,6 @@ }, "node_modules/interface-store": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-8.0.0.tgz", - "integrity": "sha512-e2+s3EEROzM+Wlas4hU3zveTUscvVMf1BOvdsJfpzFm19SoEXLVadpACjWOnM491HqGpvtfFnevyiaN8W+I6Eg==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.2" @@ -4662,8 +3555,6 @@ }, "node_modules/ip-address": { "version": "10.5.0", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.5.0.tgz", - "integrity": "sha512-R5SnVLJmgYYvf2F2ZgwSBnelz5G4q5AxIC277GDfUaNbrZKNANcBC7RHqYYePlszf4kBolVkJauG0ZjHHFh55g==", "dev": true, "license": "MIT", "engines": { @@ -4672,8 +3563,6 @@ }, "node_modules/is-docker": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", - "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", "dev": true, "license": "MIT", "bin": { @@ -4688,14 +3577,10 @@ }, "node_modules/is-electron": { "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-electron/-/is-electron-2.2.2.tgz", - "integrity": "sha512-FO/Rhvz5tuw4MCWkpMzHFKWD2LsfHzIb7i6MdPYZ/KW7AlxawyLkqdy+jPZP1WubqEADE3O4FUENlJHDfQASRg==", "license": "MIT" }, "node_modules/is-extglob": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, "license": "MIT", "engines": { @@ -4704,8 +3589,6 @@ }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, "license": "MIT", "engines": { @@ -4714,8 +3597,6 @@ }, "node_modules/is-glob": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "license": "MIT", "dependencies": { @@ -4727,8 +3608,6 @@ }, "node_modules/is-in-ssh": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-in-ssh/-/is-in-ssh-1.0.0.tgz", - "integrity": "sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==", "dev": true, "license": "MIT", "engines": { @@ -4740,8 +3619,6 @@ }, "node_modules/is-inside-container": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", - "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", "dev": true, "license": "MIT", "dependencies": { @@ -4759,8 +3636,6 @@ }, "node_modules/is-interactive": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", - "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", "dev": true, "license": "MIT", "engines": { @@ -4772,14 +3647,10 @@ }, "node_modules/is-loopback-addr": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-loopback-addr/-/is-loopback-addr-2.1.0.tgz", - "integrity": "sha512-77bB59Coq+vGTibZlnuYVU1bUuiboGZ62ZJ7TqmgYKb+hko9dSlqS5OfqvmPZhwJys48At4y4D1UJP3GuvoXtQ==", "license": "MIT" }, "node_modules/is-network-error": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.3.2.tgz", - "integrity": "sha512-PhBY86zaxNZUuWP6h13Vu5oFe0XY6/UlKzQnYFELzGVHygP3MxmvTfYSG7GN3aIab/iWudSMgjSnG9Dq+nHrgA==", "license": "MIT", "engines": { "node": ">=16" @@ -4790,8 +3661,6 @@ }, "node_modules/is-path-inside": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true, "license": "MIT", "engines": { @@ -4800,8 +3669,6 @@ }, "node_modules/is-plain-obj": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true, "license": "MIT", "engines": { @@ -4810,8 +3677,6 @@ }, "node_modules/is-ssh": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.1.tgz", - "integrity": "sha512-JNeu1wQsHjyHgn9NcWTaXq6zWSR6hqE0++zhfZlkFBbScNkyvxCdeV8sRkSBaeLKxmbpR21brail63ACNxJ0Tg==", "dev": true, "license": "MIT", "dependencies": { @@ -4820,8 +3685,6 @@ }, "node_modules/is-unicode-supported": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", "dev": true, "license": "MIT", "engines": { @@ -4833,8 +3696,6 @@ }, "node_modules/is-wsl": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz", - "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==", "dev": true, "license": "MIT", "dependencies": { @@ -4849,15 +3710,11 @@ }, "node_modules/isexe": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true, "license": "ISC" }, "node_modules/issue-parser": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.2.tgz", - "integrity": "sha512-7atWPjhGEIX3JEtMrOYd8TKzboYlq+5sNbdl9POiLYOI14G5HZiQbZP0Xj5EZdrufQVXfJlpTV0hys0CuxwxZw==", "dev": true, "license": "MIT", "dependencies": { @@ -4873,20 +3730,14 @@ }, "node_modules/it-all": { "version": "3.0.11", - "resolved": "https://registry.npmjs.org/it-all/-/it-all-3.0.11.tgz", - "integrity": "sha512-Gvqj6MO4GMLnFdtE68HZRpGBskNC+9+GQ+JevTGNYLyhjUuPhjDLU3jN1LpBemXJDW1bRSkczqA/qGyKlPKrcQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/it-drain": { "version": "3.0.12", - "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.12.tgz", - "integrity": "sha512-RaFA9X1PF2Pf1Jlqhgf5PlXLgf6CaZt7tSzhia+EkEVcAJRKa0Uhr8UnjVv0GmOA3Air9jDJfIX2KIvz5hZ1Ag==", "license": "Apache-2.0 OR MIT" }, "node_modules/it-filter": { "version": "3.1.6", - "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.1.6.tgz", - "integrity": "sha512-yXiGPAvJn/exXjVFSCMQc3+J/7RLpOMwKoY2DH1yMhF4lYkdRoAdOwU0vnDACAlRAexf7AZvESZIc9mzhEoi/A==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-peekable": "^3.0.0" @@ -4894,14 +3745,10 @@ }, "node_modules/it-length": { "version": "3.0.11", - "resolved": "https://registry.npmjs.org/it-length/-/it-length-3.0.11.tgz", - "integrity": "sha512-j0uukHdr3zoLm4dcozDoyv5khQrOI8dfXMSSEqaxorfOtleh1KwRVbdnTmzj6HVkHgTM1jcx+bhAcnTkbpHl+g==", "license": "Apache-2.0 OR MIT" }, "node_modules/it-length-prefixed": { "version": "11.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-11.0.1.tgz", - "integrity": "sha512-0Cy4RHFiL2CH060Lkigq0N37VaPg7oSylG6YjXErq+ccJFYcNEWNzxNjbqceio/sY1C+q84vZXOCE6/C0flYfQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-reader": "^7.0.0", @@ -4913,8 +3760,6 @@ }, "node_modules/it-length-prefixed/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -4922,8 +3767,6 @@ }, "node_modules/it-map": { "version": "3.1.6", - "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.1.6.tgz", - "integrity": "sha512-wCix0FXImtIPIxhCnbz35RqWs00e/CReSZX9nZq1j46JcAzBBp57ob9/2l1WnDYEaUURIR8xCyg2NsWbOwBJFQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-peekable": "^3.0.0" @@ -4931,8 +3774,6 @@ }, "node_modules/it-merge": { "version": "3.0.15", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.15.tgz", - "integrity": "sha512-rUskoyECUdJsUwpfBtiLXddm56J+vukMztq+PpfTss1mRl/aHv1YJs+6Q2XnpvDThFC2y4Xm636X0xh6IecPGg==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-queueless-pushable": "^2.0.0" @@ -4940,8 +3781,6 @@ }, "node_modules/it-parallel": { "version": "3.0.16", - "resolved": "https://registry.npmjs.org/it-parallel/-/it-parallel-3.0.16.tgz", - "integrity": "sha512-qr3nTgj4fraSfr6Ix9JkHsy/Yb/4vmS3QIAu3fsX52r2SOTLbohXoixKp6AIhTJcorpKwjP0VFcpHr5V54jivA==", "license": "Apache-2.0 OR MIT", "dependencies": { "p-defer": "^4.0.1" @@ -4949,14 +3788,10 @@ }, "node_modules/it-peekable": { "version": "3.0.10", - "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-3.0.10.tgz", - "integrity": "sha512-2E6+p1pelZOhzp69aaiiBuEybWzAl10uYbIdCR3Pxy8bFNnS/kgpbLtGbNbIZ6RVdU7yHHkmATYwjy52GfFEKA==", "license": "Apache-2.0 OR MIT" }, "node_modules/it-pipe": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", - "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-merge": "^3.0.0", @@ -4970,8 +3805,6 @@ }, "node_modules/it-pushable": { "version": "3.2.4", - "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.2.4.tgz", - "integrity": "sha512-WSD7Ss4oCRfDZJT4ldLWr0Bom/muY90xxoJ5PQnU3uSKf0kxCOeehqZtiJX1ARqn+ymXGh1bxpDW9bDNHp2ivQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "p-defer": "^4.0.0" @@ -4979,8 +3812,6 @@ }, "node_modules/it-queue": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/it-queue/-/it-queue-1.1.4.tgz", - "integrity": "sha512-cGH0+YfMPmwQ+lV+MhJcOXqOgE04h0zQCXvDUmvGGTyW0VqxJZbi7V+PQFEuPVN/5dHQg5RY9aVjMCgmxXaE5Q==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.2", @@ -4992,8 +3823,6 @@ }, "node_modules/it-queueless-pushable": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/it-queueless-pushable/-/it-queueless-pushable-2.0.5.tgz", - "integrity": "sha512-BaKqGLL1AQMR1AEaxiM09vzJQVXHHhfhh9UV0qPqORw/8Rm8igDQqT1qHregfHIb1NIW9jxQ/aXBibHJyuivuQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.2", @@ -5003,8 +3832,6 @@ }, "node_modules/it-reader": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/it-reader/-/it-reader-7.0.0.tgz", - "integrity": "sha512-bTWQPHH1if8N1K9XeidDjhTDm51ALbOksMa9uCZVVsQkoIPXP0XVKM88/Ynqr7HS18La/P1Kvu7C73j4rRoKWQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-stream-types": "^2.0.1", @@ -5013,8 +3840,6 @@ }, "node_modules/it-reader/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -5022,8 +3847,6 @@ }, "node_modules/it-sort": { "version": "3.0.11", - "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.11.tgz", - "integrity": "sha512-eZ22LAoNLx4i4gVV44tJPoUYf/o+mHKa6+OigdVH/hmsdA2qoJN6MNPvKZyZKBf6+S/8PBE44zyvkzdYGkRhbA==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-all": "^3.0.0" @@ -5031,20 +3854,14 @@ }, "node_modules/it-stream-types": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.4.tgz", - "integrity": "sha512-tsX+klvMQ53J4Jm2B52vCIs7WD609ck+VS9X2TKMEv7VPY9VwaYKmSWyHek5QS0wHBtP0bWj9KMqCtAHgVKiXw==", "license": "Apache-2.0 OR MIT" }, "node_modules/it-take": { "version": "3.0.11", - "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.11.tgz", - "integrity": "sha512-zvoeEjLViGFyhYT5KNCgmcIH90Si8lCve4aTMvgej/ZQRfB9YzrcJW3UHIJjbQ9TiAnsT4vsWDImEFQNk5xmnA==", "license": "Apache-2.0 OR MIT" }, "node_modules/jackspeak": { "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -5059,8 +3876,6 @@ }, "node_modules/jiti": { "version": "2.7.0", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", - "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", "dev": true, "license": "MIT", "bin": { @@ -5069,8 +3884,6 @@ }, "node_modules/js-yaml": { "version": "4.3.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.1.tgz", - "integrity": "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==", "dev": true, "funding": [ { @@ -5092,36 +3905,26 @@ }, "node_modules/json-buffer": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", "dev": true, "license": "MIT" }, "node_modules/json-schema-traverse": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true, "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "dev": true, "license": "MIT" }, "node_modules/json-with-bigint": { "version": "3.5.10", - "resolved": "https://registry.npmjs.org/json-with-bigint/-/json-with-bigint-3.5.10.tgz", - "integrity": "sha512-Vcx+JVNEBts/xfcoCS69sKrOhOk/3TVlvlT+XzUOefVKnnrbYSCKpDCm10pohsJFtsJVYnwa/cXRZ4eElzaM6w==", "dev": true, "license": "MIT" }, "node_modules/jsonld": { "version": "9.0.0", - "resolved": "https://registry.npmjs.org/jsonld/-/jsonld-9.0.0.tgz", - "integrity": "sha512-pjMIdkXfC1T2wrX9B9i2uXhGdyCmgec3qgMht+TDj+S0qX3bjWMQUfL7NeqEhuRTi8G5ESzmL9uGlST7nzSEWg==", "license": "BSD-3-Clause", "dependencies": { "@digitalbazaar/http-client": "^4.2.0", @@ -5135,8 +3938,6 @@ }, "node_modules/jsonwebtoken": { "version": "9.0.3", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.3.tgz", - "integrity": "sha512-MT/xP0CrubFRNLNKvxJ2BYfy53Zkm++5bX9dtuPbqAeQpTVe0MQTFhao8+Cp//EmJp244xt6Drw/GVEGCUj40g==", "license": "MIT", "dependencies": { "jws": "^4.0.1", @@ -5157,8 +3958,6 @@ }, "node_modules/jwa": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", - "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", "license": "MIT", "dependencies": { "buffer-equal-constant-time": "^1.0.1", @@ -5168,8 +3967,6 @@ }, "node_modules/jws": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz", - "integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==", "license": "MIT", "dependencies": { "jwa": "^2.0.1", @@ -5178,8 +3975,6 @@ }, "node_modules/keyv": { "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", "dev": true, "license": "MIT", "dependencies": { @@ -5188,8 +3983,6 @@ }, "node_modules/ky": { "version": "1.14.3", - "resolved": "https://registry.npmjs.org/ky/-/ky-1.14.3.tgz", - "integrity": "sha512-9zy9lkjac+TR1c2tG+mkNSVlyOpInnWdSMiue4F+kq8TwJSgv6o8jhLRg8Ho6SnZ9wOYUq/yozts9qQCfk7bIw==", "license": "MIT", "engines": { "node": ">=18" @@ -5200,8 +3993,6 @@ }, "node_modules/levn": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5213,22 +4004,20 @@ } }, "node_modules/libp2p": { - "version": "3.3.8", - "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-3.3.8.tgz", - "integrity": "sha512-CMDYzEflxjtDkRV4vx8u4H93VxnPJOnntqd1pumrb5meorpe3hppxvwvgUc/eQ/5+ZwRQCgFi1rUfaaQt0zy0g==", + "version": "3.3.11", "license": "Apache-2.0 OR MIT", "dependencies": { "@chainsafe/is-ip": "^2.1.0", "@chainsafe/netmask": "^2.0.0", - "@libp2p/crypto": "^5.1.22", - "@libp2p/interface": "^3.2.5", - "@libp2p/interface-internal": "^3.1.11", - "@libp2p/logger": "^6.2.12", - "@libp2p/multistream-select": "^7.0.26", - "@libp2p/peer-collections": "^7.0.26", - "@libp2p/peer-id": "^6.0.14", - "@libp2p/peer-store": "^12.0.26", - "@libp2p/utils": "^7.3.2", + "@libp2p/crypto": "^5.1.23", + "@libp2p/interface": "^3.3.0", + "@libp2p/interface-internal": "^3.1.13", + "@libp2p/logger": "^6.2.13", + "@libp2p/multistream-select": "^7.0.28", + "@libp2p/peer-collections": "^7.0.28", + "@libp2p/peer-id": "^6.0.15", + "@libp2p/peer-store": "^12.0.28", + "@libp2p/utils": "^7.4.1", "@multiformats/dns": "^1.0.6", "@multiformats/multiaddr": "^13.0.3", "@multiformats/multiaddr-matcher": "^3.0.2", @@ -5249,8 +4038,6 @@ }, "node_modules/locate-path": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "license": "MIT", "dependencies": { @@ -5265,78 +4052,54 @@ }, "node_modules/lodash.capitalize": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", - "integrity": "sha512-kZzYOKspf8XVX5AvmQF94gQW0lejFVgb80G85bU4ZWzoJ6C03PQg3coYAUpSTpQWelrZELd3XWgHzw4Ck5kaIw==", "dev": true, "license": "MIT" }, "node_modules/lodash.escaperegexp": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", - "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==", "dev": true, "license": "MIT" }, "node_modules/lodash.includes": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", "license": "MIT" }, "node_modules/lodash.isboolean": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", "license": "MIT" }, "node_modules/lodash.isinteger": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", "license": "MIT" }, "node_modules/lodash.isnumber": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", "license": "MIT" }, "node_modules/lodash.isplainobject": { "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", "license": "MIT" }, "node_modules/lodash.isstring": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", "license": "MIT" }, "node_modules/lodash.merge": { "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true, "license": "MIT" }, "node_modules/lodash.once": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", "license": "MIT" }, "node_modules/lodash.uniqby": { "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz", - "integrity": "sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==", "dev": true, "license": "MIT" }, "node_modules/log-symbols": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "dev": true, "license": "MIT", "dependencies": { @@ -5352,8 +4115,6 @@ }, "node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "license": "ISC", "dependencies": { "yallist": "^4.0.0" @@ -5364,8 +4125,6 @@ }, "node_modules/macos-release": { "version": "3.5.1", - "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-3.5.1.tgz", - "integrity": "sha512-Lci/1in+elqZ589PXnfP/iwZXpwQifTM94WJRQwG2tZSdfY7NfB/aUaTARHrohWCgHlXoabeaeXRDOnF5X9JQw==", "dev": true, "license": "MIT", "engines": { @@ -5377,14 +4136,10 @@ }, "node_modules/main-event": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/main-event/-/main-event-1.0.5.tgz", - "integrity": "sha512-4l9z8r7Q446mhhVTwdHmfPksOYBwN2xa7ewEW2yxPVNQapIaAf57ORFLMB91SpMEMa4wXowect7fq3uMLjDnGA==", "license": "Apache-2.0 OR MIT" }, "node_modules/math-intrinsics": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", - "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -5392,8 +4147,6 @@ }, "node_modules/mime-db": { "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "license": "MIT", "engines": { "node": ">= 0.6" @@ -5401,8 +4154,6 @@ }, "node_modules/mime-types": { "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "license": "MIT", "dependencies": { "mime-db": "1.52.0" @@ -5413,8 +4164,6 @@ }, "node_modules/mimic-function": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", - "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", "dev": true, "license": "MIT", "engines": { @@ -5426,8 +4175,6 @@ }, "node_modules/minimatch": { "version": "10.2.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", - "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -5442,8 +4189,6 @@ }, "node_modules/minimist": { "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true, "license": "MIT", "funding": { @@ -5452,8 +4197,6 @@ }, "node_modules/minipass": { "version": "7.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", - "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -5462,8 +4205,6 @@ }, "node_modules/mocha": { "version": "11.8.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.8.0.tgz", - "integrity": "sha512-VyCeUdGN3A9lmCTTgG4yuvY9ixxaDk+xt2R/7/+1AP6EqNG+G9OKkzBwhVtVYoNX8YsxNSgAl8mOv3IAeOpFbw==", "dev": true, "license": "MIT", "dependencies": { @@ -5499,8 +4240,6 @@ }, "node_modules/mocha/node_modules/brace-expansion": { "version": "2.1.4", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", - "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", "dev": true, "license": "MIT", "dependencies": { @@ -5509,8 +4248,6 @@ }, "node_modules/mocha/node_modules/minimatch": { "version": "9.0.9", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", - "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "dev": true, "license": "ISC", "dependencies": { @@ -5525,8 +4262,6 @@ }, "node_modules/mocha/node_modules/supports-color": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "license": "MIT", "dependencies": { @@ -5541,8 +4276,6 @@ }, "node_modules/mortice": { "version": "3.3.1", - "resolved": "https://registry.npmjs.org/mortice/-/mortice-3.3.1.tgz", - "integrity": "sha512-t3oESfijIPGsmsdLEKjF+grHfrbnKSXflJtgb1wY14cjxZpS6GnhHRXTxxzCAoCCnq1YYfpEPwY3gjiCPhOufQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.0", @@ -5552,20 +4285,14 @@ }, "node_modules/ms": { "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, "node_modules/multiformats": { "version": "14.0.5", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-14.0.5.tgz", - "integrity": "sha512-vbIm83F2yZ1pWJGS0yl0ysracIvv56LtbrIyiIQHoLdYDJOMoLfVFsXhh9DUH4SFdkdkFhucyWniihsNzVEjkQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/mute-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", - "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", "dev": true, "license": "ISC", "engines": { @@ -5574,8 +4301,6 @@ }, "node_modules/n3": { "version": "2.2.5", - "resolved": "https://registry.npmjs.org/n3/-/n3-2.2.5.tgz", - "integrity": "sha512-lR/0N7zVayC6N0uWqrMkPpJn8Up4+qBsjWiBnoOWWEi/ldTcygs2Dw1iAgozzDXLW/fcxXFfbMzpGHlc/1MBLQ==", "license": "MIT", "dependencies": { "buffer": "^6.0.3", @@ -5585,24 +4310,34 @@ "node": ">=12.0" } }, + "node_modules/nanoid": { + "version": "6.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^22 || ^24 || >=26" + } + }, "node_modules/natural-compare": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true, "license": "MIT" }, "node_modules/neo-async": { "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", "dev": true, "license": "MIT" }, "node_modules/netmask": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.1.1.tgz", - "integrity": "sha512-eonl3sLUha+S1GzTPxychyhnUzKyeQkZ7jLjKrBagJgPla13F+uQ71HgpFefyHgqrjEbCPkDArxYsjY8/+gLKA==", "license": "MIT", "engines": { "node": ">= 0.4.0" @@ -5610,8 +4345,6 @@ }, "node_modules/new-github-release-url": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/new-github-release-url/-/new-github-release-url-2.0.0.tgz", - "integrity": "sha512-NHDDGYudnvRutt/VhKFlX26IotXe1w0cmkDm6JGquh5bz/bDTw0LufSmH/GxTjEdpHEO+bVKFTwdrcGa/9XlKQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5626,8 +4359,6 @@ }, "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" @@ -5646,8 +4377,6 @@ }, "node_modules/node-gyp-build": { "version": "4.8.4", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", - "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", "license": "MIT", "optional": true, "peer": true, @@ -5659,15 +4388,11 @@ }, "node_modules/ohash": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/ohash/-/ohash-2.0.12.tgz", - "integrity": "sha512-65S/5gk9YSsaRjcyf7Nfa6h/d3E8/1gslpXfI4W7Dxn/oap8IKRuNT5VXkLQ1YFKIEg4apRY4Pj6aiwFzrDdmw==", "dev": true, "license": "MIT" }, "node_modules/onetime": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", - "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5682,8 +4407,6 @@ }, "node_modules/open": { "version": "11.0.0", - "resolved": "https://registry.npmjs.org/open/-/open-11.0.0.tgz", - "integrity": "sha512-smsWv2LzFjP03xmvFoJ331ss6h+jixfA4UUV/Bsiyuu4YJPfN+FIQGOIiv4w9/+MoHkfkJ22UIaQWRVFRfH6Vw==", "dev": true, "license": "MIT", "dependencies": { @@ -5703,8 +4426,6 @@ }, "node_modules/optionator": { "version": "0.9.4", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", - "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, "license": "MIT", "dependencies": { @@ -5721,8 +4442,6 @@ }, "node_modules/ora": { "version": "9.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-9.4.1.tgz", - "integrity": "sha512-6VlU9MLXbjVQD04AZCMX28hVtA5bUoadvUqO76MUCVA0ilwJbMiHsITRPfyVm6p/BC0Av/BXMujx39WCe1LEqw==", "dev": true, "license": "MIT", "dependencies": { @@ -5744,8 +4463,6 @@ }, "node_modules/ora/node_modules/ansi-regex": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", - "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", "dev": true, "license": "MIT", "engines": { @@ -5757,8 +4474,6 @@ }, "node_modules/ora/node_modules/chalk": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", - "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", "dev": true, "license": "MIT", "engines": { @@ -5770,8 +4485,6 @@ }, "node_modules/ora/node_modules/is-unicode-supported": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", - "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", "dev": true, "license": "MIT", "engines": { @@ -5783,8 +4496,6 @@ }, "node_modules/ora/node_modules/log-symbols": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.1.tgz", - "integrity": "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==", "dev": true, "license": "MIT", "dependencies": { @@ -5800,8 +4511,6 @@ }, "node_modules/ora/node_modules/string-width": { "version": "8.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.2.tgz", - "integrity": "sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg==", "dev": true, "license": "MIT", "dependencies": { @@ -5817,8 +4526,6 @@ }, "node_modules/ora/node_modules/strip-ansi": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, "license": "MIT", "dependencies": { @@ -5833,8 +4540,6 @@ }, "node_modules/os-name": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/os-name/-/os-name-7.0.0.tgz", - "integrity": "sha512-/HfRU/lPPr4T2VigM+cvM3cU77es+XF4OEAa4aE5zpdvrxHGD2NmH0AFIWpMNAb+CsZL45rlcIO49Re0ZcRseg==", "dev": true, "license": "MIT", "dependencies": { @@ -5850,8 +4555,6 @@ }, "node_modules/p-defer": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-4.0.1.tgz", - "integrity": "sha512-Mr5KC5efvAK5VUptYEIopP1bakB85k2IWXaRC0rsh1uwn1L6M0LVml8OIQ4Gudg4oyZakf7FmeRLkMMtZW1i5A==", "license": "MIT", "engines": { "node": ">=12" @@ -5861,9 +4564,7 @@ } }, "node_modules/p-event": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/p-event/-/p-event-7.1.0.tgz", - "integrity": "sha512-/lkPs5W1aC3cp6vqZefpdosOn65J571sWodyfOQiF0+tmDCpU+H8Atwpu0vQROCVUlZuToDN5eyTLsMLLc54mg==", + "version": "7.1.1", "license": "MIT", "dependencies": { "p-timeout": "^7.0.1" @@ -5875,22 +4576,8 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-event/node_modules/p-timeout": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-7.0.1.tgz", - "integrity": "sha512-AxTM2wDGORHGEkPCt8yqxOTMgpfbEHqF51f/5fJCmwFC3C/zNcGT63SymH2ttOAaiIws2zVg4+izQCjrakcwHg==", - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/p-limit": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5905,8 +4592,6 @@ }, "node_modules/p-locate": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, "license": "MIT", "dependencies": { @@ -5919,10 +4604,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/p-queue": { + "version": "9.3.3", + "license": "MIT", + "dependencies": { + "eventemitter3": "^5.0.4", + "p-timeout": "^7.0.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/p-retry": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-8.0.0.tgz", - "integrity": "sha512-kFVqH1HxOHp8LupNsOys7bSV09VYTRLxarH/mokO4Rqhk6wGi70E0jh4VzvVGXfEVNggHoHLAMWsQqHyU1Ey9A==", + "version": "8.0.1", "license": "MIT", "dependencies": { "is-network-error": "^1.3.0" @@ -5934,10 +4631,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/p-timeout": { + "version": "7.0.2", + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/pac-proxy-agent": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-9.1.0.tgz", - "integrity": "sha512-1aU+1mpj3DrQPfo3gh+3Gap3G5x+axnMx1P/y0ZF2ch7kb2meyOCAH8K2k9d27ROsTE7TnAerzxqF9aon2jqnA==", "dev": true, "license": "MIT", "dependencies": { @@ -5956,8 +4661,6 @@ }, "node_modules/pac-resolver": { "version": "9.0.1", - "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-9.0.1.tgz", - "integrity": "sha512-lJbS008tmkj08VhoM8Hzuv/VE5tK9MS0OIQ/7+s0lIF+BYhiQWFYzkSpML7lXs9iBu2jfmzBTLzhe9n6BX+dYw==", "dev": true, "license": "MIT", "dependencies": { @@ -5973,15 +4676,11 @@ }, "node_modules/package-json-from-dist": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", - "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", "dev": true, "license": "BlueOak-1.0.0" }, "node_modules/parse-github-url": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/parse-github-url/-/parse-github-url-1.0.4.tgz", - "integrity": "sha512-CEtCOt55fHmd6DpBc/N7H5NC4vJpcquhzzs9Iw2mRj8bVxo1O5TQI5MXKOMO7+yBOqD+5dKCCRK4Kj1KskZc6Q==", "dev": true, "license": "MIT", "bin": { @@ -5993,8 +4692,6 @@ }, "node_modules/parse-path": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.1.0.tgz", - "integrity": "sha512-EuCycjZtfPcjWk7KTksnJ5xPMvWGA/6i4zrLYhRG0hGvC3GPU/jGUj3Cy+ZR0v30duV3e23R95T1lE2+lsndSw==", "dev": true, "license": "MIT", "dependencies": { @@ -6003,8 +4700,6 @@ }, "node_modules/parse-url": { "version": "9.2.0", - "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-9.2.0.tgz", - "integrity": "sha512-bCgsFI+GeGWPAvAiUv63ZorMeif3/U0zaXABGJbOWt5OH2KCaPHF6S+0ok4aqM9RuIPGyZdx9tR9l13PsW4AYQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6017,8 +4712,6 @@ }, "node_modules/path-exists": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, "license": "MIT", "engines": { @@ -6027,8 +4720,6 @@ }, "node_modules/path-key": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, "license": "MIT", "engines": { @@ -6037,8 +4728,6 @@ }, "node_modules/path-scurry": { "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -6054,36 +4743,26 @@ }, "node_modules/path-scurry/node_modules/lru-cache": { "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "dev": true, "license": "ISC" }, "node_modules/pathe": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", "dev": true, "license": "MIT" }, "node_modules/perfect-debounce": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-2.1.0.tgz", - "integrity": "sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g==", "dev": true, "license": "MIT" }, "node_modules/picocolors": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, "license": "ISC" }, "node_modules/pkg-types": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-2.3.1.tgz", - "integrity": "sha512-y+ichcgc2LrADuhLNAx8DFjVfgz91pRxfZdI3UDhxHvcVEZsenLO+7XaU5vOp0u/7V/wZ+plyuQxtrDlZJ+yeg==", "dev": true, "license": "MIT", "dependencies": { @@ -6094,8 +4773,6 @@ }, "node_modules/powershell-utils": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/powershell-utils/-/powershell-utils-0.1.0.tgz", - "integrity": "sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A==", "dev": true, "license": "MIT", "engines": { @@ -6107,8 +4784,6 @@ }, "node_modules/prelude-ls": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, "license": "MIT", "engines": { @@ -6117,8 +4792,6 @@ }, "node_modules/prettier": { "version": "3.9.6", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.6.tgz", - "integrity": "sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==", "dev": true, "license": "MIT", "bin": { @@ -6133,8 +4806,6 @@ }, "node_modules/process": { "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", "license": "MIT", "engines": { "node": ">= 0.6.0" @@ -6142,21 +4813,15 @@ }, "node_modules/progress-events": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/progress-events/-/progress-events-1.1.0.tgz", - "integrity": "sha512-82DVc5tI36neVB3IjdXR11ztwGuoBc98em9ijzubeZKxI47OlV2Znq6mlPqE5xPDzO2Uw98GHiQSjj2favBCRQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/protocols": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.2.tgz", - "integrity": "sha512-hHVTzba3wboROl0/aWRRG9dMytgH6ow//STBZh43l/wQgmMhYhOFi0EHWAPtoCz9IAUymsyP0TSBHkhgMEGNnQ==", "dev": true, "license": "MIT" }, "node_modules/protons-runtime": { "version": "5.6.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.6.0.tgz", - "integrity": "sha512-/Kde+sB9DsMFrddJT/UZWe6XqvL7SL5dbag/DBCElFKhkwDj7XKt53S+mzLyaDP5OqS0wXjV5SA572uWDaT0Hg==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^2.0.2", @@ -6166,14 +4831,10 @@ }, "node_modules/protons-runtime/node_modules/multiformats": { "version": "13.4.2", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.4.2.tgz", - "integrity": "sha512-eh6eHCrRi1+POZ3dA+Dq1C6jhP1GNtr9CRINMb67OKzqW9I5DUuZM/3jLPlzhgpGeiNUlEGEbkCYChXMCc/8DQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/protons-runtime/node_modules/uint8-varint": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/uint8-varint/-/uint8-varint-2.0.5.tgz", - "integrity": "sha512-jeFLbL/x30wBRnWjKE1qVBXeumG46r7XmYkpis955lTQ+blccGKFrOsSMHlxePwYB1pI7L8YPHz1t4jLxEs3nA==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arraylist": "^2.0.0", @@ -6182,8 +4843,6 @@ }, "node_modules/protons-runtime/node_modules/uint8arrays": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.1.tgz", - "integrity": "sha512-9muQwa4wZG4dKi9gMAIBtnk2Pw87SRpvWTH6lOGm19V2Uqxr4uomUf2PGqPnWc+qs06sN8owUU4jfcoWOcfwVQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "multiformats": "^13.0.0" @@ -6191,8 +4850,6 @@ }, "node_modules/proxy-agent": { "version": "8.0.2", - "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-8.0.2.tgz", - "integrity": "sha512-idLLRewuemWd7GH/BDJzGiB0dWGfT2SQs3jy6NtZtGWU9uPTTSdeC1/cdbqLwgzhfv027daGFuXX426e2Eg20A==", "dev": true, "license": "MIT", "dependencies": { @@ -6211,8 +4868,6 @@ }, "node_modules/proxy-agent-negotiate": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-agent-negotiate/-/proxy-agent-negotiate-1.1.0.tgz", - "integrity": "sha512-N8IBcM3UgCVzz2L2Lqv8DVntDnnC8/hiV4nEDUPkqq72TPUgYWjQc+bdZlBPZK9LzPAvOY//gAt0S0DApoOXWQ==", "dev": true, "license": "MIT", "engines": { @@ -6229,8 +4884,6 @@ }, "node_modules/proxy-agent/node_modules/lru-cache": { "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "license": "ISC", "engines": { @@ -6239,8 +4892,6 @@ }, "node_modules/proxy-from-env": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", - "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", "license": "MIT", "engines": { "node": ">=10" @@ -6248,8 +4899,6 @@ }, "node_modules/punycode": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, "license": "MIT", "engines": { @@ -6258,15 +4907,11 @@ }, "node_modules/quickjs-wasi": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/quickjs-wasi/-/quickjs-wasi-2.2.0.tgz", - "integrity": "sha512-zQxXmQMrEoD3S+jQdYsloq4qAuaxKFHZj6hHqOYGwB2iQZH+q9e/lf5zQPXCKOk0WJuAjzRFbO4KwHIp2D05Iw==", "dev": true, "license": "MIT" }, "node_modules/race-event": { "version": "1.6.1", - "resolved": "https://registry.npmjs.org/race-event/-/race-event-1.6.1.tgz", - "integrity": "sha512-vi7WH5g5KoTFpu2mme/HqZiWH14XSOtg5rfp6raBskBHl7wnmy3F/biAIyY5MsK+BHWhoPhxtZ1Y2R7OHHaWyQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.1" @@ -6274,14 +4919,10 @@ }, "node_modules/race-signal": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/race-signal/-/race-signal-2.0.2.tgz", - "integrity": "sha512-IuNNNY5NLriMFEGl3BVei2xq9NIcpkuAklhPWamhu5tRJrJz0w9sloUMz73YXpmUluE2EZocmJm9rpQqXmCPiA==", "license": "Apache-2.0 OR MIT" }, "node_modules/random-int": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/random-int/-/random-int-3.1.0.tgz", - "integrity": "sha512-h8CRz8cpvzj0hC/iH/1Gapgcl2TQ6xtnCpyOI5WvWfXf/yrDx2DOU+tD9rX23j36IF11xg1KqB9W11Z18JPMdw==", "license": "MIT", "engines": { "node": ">=12" @@ -6292,8 +4933,6 @@ }, "node_modules/randombytes": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6302,8 +4941,6 @@ }, "node_modules/rc9": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/rc9/-/rc9-3.0.1.tgz", - "integrity": "sha512-gMDyleLWVE+i6Sgtc0QbbY6pEKqYs97NGi6isHQPqYlLemPoO8dxQ3uGi0f4NiP98c+jMW6cG1Kx9dDwfvqARQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6313,8 +4950,6 @@ }, "node_modules/rdf-canonize": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/rdf-canonize/-/rdf-canonize-5.0.0.tgz", - "integrity": "sha512-g8OUrgMXAR9ys/ZuJVfBr05sPPoMA7nHIVs8VEvg9QwM5W4GR2qSFEEHjsyHF1eWlBaf8Ev40WNjQFQ+nJTO3w==", "license": "BSD-3-Clause", "dependencies": { "setimmediate": "^1.0.5" @@ -6325,8 +4960,6 @@ }, "node_modules/rdf-data-factory": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/rdf-data-factory/-/rdf-data-factory-2.0.2.tgz", - "integrity": "sha512-WzPoYHwQYWvIP9k+7IBLY1b4nIDitzAK4mA37WumAF/Cjvu/KOtYJH9IPZnUTWNSd5K2+pq4vrcE9WZC4sRHhg==", "license": "MIT", "dependencies": { "@rdfjs/types": "^2.0.0" @@ -6338,9 +4971,6 @@ }, "node_modules/rdf-dataset-ext": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/rdf-dataset-ext/-/rdf-dataset-ext-1.1.0.tgz", - "integrity": "sha512-CH85RfRKN9aSlbju8T7aM8hgCSWMBsh2eh/tGxUUtWMN+waxi6iFDt8/r4PAEmKaEA82guimZJ4ISbmJ2rvWQg==", - "deprecated": "rdf-dataset-ext is deprecated. Switching to rdf-ext is recommended.", "license": "MIT", "dependencies": { "rdf-canonize": "^3.0.0", @@ -6349,8 +4979,6 @@ }, "node_modules/rdf-dataset-ext/node_modules/rdf-canonize": { "version": "3.4.0", - "resolved": "https://registry.npmjs.org/rdf-canonize/-/rdf-canonize-3.4.0.tgz", - "integrity": "sha512-fUeWjrkOO0t1rg7B2fdyDTvngj+9RlUyL92vOdiB7c0FPguWVsniIMjEtHH+meLBO9rzkUlUzBVXgWrjI8P9LA==", "license": "BSD-3-Clause", "dependencies": { "setimmediate": "^1.0.5" @@ -6361,8 +4989,6 @@ }, "node_modules/rdf-literal": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/rdf-literal/-/rdf-literal-2.0.0.tgz", - "integrity": "sha512-jlQ+h7EvnXmncmk8OzOYR8T3gNfd4g0LQXbflHkEkancic8dh0Tdt5RiRq8vUFndjIeNHt1RWeA5TAj6rgrtng==", "license": "MIT", "dependencies": { "rdf-data-factory": "^2.0.0" @@ -6374,8 +5000,6 @@ }, "node_modules/rdf-validate-datatype": { "version": "0.2.2", - "resolved": "https://registry.npmjs.org/rdf-validate-datatype/-/rdf-validate-datatype-0.2.2.tgz", - "integrity": "sha512-mH9qL8i0WBbZ6HJCA26BB6V+WV2MraKvitez3SV0QegBWVQ4wYO49CgfFBzoAYg6tlnhFXl9MkrOAQ07X2N1FA==", "license": "MIT", "dependencies": { "@rdfjs/term-map": "^2.0.0", @@ -6384,8 +5008,6 @@ }, "node_modules/rdf-validate-shacl": { "version": "0.6.5", - "resolved": "https://registry.npmjs.org/rdf-validate-shacl/-/rdf-validate-shacl-0.6.5.tgz", - "integrity": "sha512-rwIibopSixDE8ecA9x0c7oTVxdMWxGiJh7h3uJ+WS2h4lq2nx3DZVO7rJvwa5kZpDq9QEFPoyZINAUyfaaoN4Q==", "license": "MIT", "dependencies": { "@rdfjs/data-model": "^2.1.0", @@ -6404,8 +5026,6 @@ }, "node_modules/readable-stream": { "version": "4.7.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz", - "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==", "license": "MIT", "dependencies": { "abort-controller": "^3.0.0", @@ -6420,8 +5040,6 @@ }, "node_modules/readdirp": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", - "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", "dev": true, "license": "MIT", "engines": { @@ -6434,8 +5052,6 @@ }, "node_modules/release-it": { "version": "21.0.2", - "resolved": "https://registry.npmjs.org/release-it/-/release-it-21.0.2.tgz", - "integrity": "sha512-QwyDnWiQNB4d8Hc2b5FLMHcsKz9S2O1dMNnPB7w+0knsL5r8+qbnznDA1X7Bw5D863+Ud7eRHc71Cfth5Tlrgg==", "dev": true, "funding": [ { @@ -6481,8 +5097,6 @@ }, "node_modules/release-it/node_modules/mime-db": { "version": "1.54.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", - "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", "dev": true, "license": "MIT", "engines": { @@ -6491,8 +5105,6 @@ }, "node_modules/release-it/node_modules/mime-types": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", - "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", "dev": true, "license": "MIT", "dependencies": { @@ -6508,8 +5120,6 @@ }, "node_modules/release-it/node_modules/undici": { "version": "7.29.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz", - "integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==", "dev": true, "license": "MIT", "engines": { @@ -6518,8 +5128,6 @@ }, "node_modules/require-directory": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, "license": "MIT", "engines": { @@ -6528,8 +5136,6 @@ }, "node_modules/restore-cursor": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", - "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", "dev": true, "license": "MIT", "dependencies": { @@ -6545,14 +5151,10 @@ }, "node_modules/retimeable-signal": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/retimeable-signal/-/retimeable-signal-1.0.1.tgz", - "integrity": "sha512-Cy26CYfbWnYu8HMoJeDhaMpW/EYFIbne3vMf6G9RSrOyWYXbPehja/BEdzpqmM84uy2bfBD7NPZhoQ4GZEtgvg==", "license": "Apache-2.0 OR MIT" }, "node_modules/retry": { "version": "0.13.1", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", - "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", "dev": true, "license": "MIT", "engines": { @@ -6561,8 +5163,6 @@ }, "node_modules/run-applescript": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", - "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", "dev": true, "license": "MIT", "engines": { @@ -6574,8 +5174,6 @@ }, "node_modules/safe-buffer": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "funding": [ { "type": "github", @@ -6594,15 +5192,11 @@ }, "node_modules/safer-buffer": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true, "license": "MIT" }, "node_modules/semver": { "version": "7.8.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", - "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -6613,8 +5207,6 @@ }, "node_modules/serialize-javascript": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", - "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -6623,14 +5215,10 @@ }, "node_modules/setimmediate": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", "license": "MIT" }, "node_modules/shebang-command": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "license": "MIT", "dependencies": { @@ -6642,8 +5230,6 @@ }, "node_modules/shebang-regex": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, "license": "MIT", "engines": { @@ -6652,8 +5238,6 @@ }, "node_modules/signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, "license": "ISC", "engines": { @@ -6665,8 +5249,6 @@ }, "node_modules/smart-buffer": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "dev": true, "license": "MIT", "engines": { @@ -6676,8 +5258,6 @@ }, "node_modules/socks": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.9.tgz", - "integrity": "sha512-LJhUYUvItdQ0LkJTmPeaEObWXAqFyfmP85x0tch/ez9cahmhlBBLbIqDFnvBnUJGagb0JbIQrkBs1wJ+yRYpEw==", "dev": true, "license": "MIT", "dependencies": { @@ -6691,8 +5271,6 @@ }, "node_modules/socks-proxy-agent": { "version": "10.1.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-10.1.0.tgz", - "integrity": "sha512-WlMj/67cEJ6MDI1OcsnjuYKDNDoyPCCYZ249kuuXPiMDw9F8PXkVaQ7YWu3siTydfQ/4BEZcvGzu+aYvz7dDCQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6706,8 +5284,6 @@ }, "node_modules/source-map": { "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -6716,8 +5292,6 @@ }, "node_modules/stdin-discarder": { "version": "0.3.2", - "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.3.2.tgz", - "integrity": "sha512-eCPu1qRxPVkl5605OTWF8Wz40b4Mf45NY5LQmVPQ599knfs5QhASUm9GbJ5BDMDOXgrnh0wyEdvzmL//YMlw0A==", "dev": true, "license": "MIT", "engines": { @@ -6729,8 +5303,6 @@ }, "node_modules/string_decoder": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "license": "MIT", "dependencies": { "safe-buffer": "~5.2.0" @@ -6738,8 +5310,6 @@ }, "node_modules/string-width": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, "license": "MIT", "dependencies": { @@ -6757,8 +5327,6 @@ "node_modules/string-width-cjs": { "name": "string-width", "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -6772,15 +5340,11 @@ }, "node_modules/string-width-cjs/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/string-width/node_modules/ansi-regex": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", - "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", "dev": true, "license": "MIT", "engines": { @@ -6792,8 +5356,6 @@ }, "node_modules/string-width/node_modules/strip-ansi": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, "license": "MIT", "dependencies": { @@ -6808,8 +5370,6 @@ }, "node_modules/strip-ansi": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -6821,8 +5381,6 @@ "node_modules/strip-ansi-cjs": { "name": "strip-ansi", "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "license": "MIT", "dependencies": { @@ -6834,8 +5392,6 @@ }, "node_modules/strip-json-comments": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, "license": "MIT", "engines": { @@ -6847,8 +5403,6 @@ }, "node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -6859,8 +5413,6 @@ }, "node_modules/tinyglobby": { "version": "0.2.17", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", - "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", "dev": true, "license": "MIT", "dependencies": { @@ -6876,8 +5428,6 @@ }, "node_modules/tinyglobby/node_modules/fdir": { "version": "6.5.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", - "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", "dev": true, "license": "MIT", "engines": { @@ -6894,8 +5444,6 @@ }, "node_modules/tinyglobby/node_modules/picomatch": { "version": "4.0.5", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz", - "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==", "dev": true, "license": "MIT", "engines": { @@ -6907,14 +5455,10 @@ }, "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/ts-api-utils": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", - "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", "dev": true, "license": "MIT", "engines": { @@ -6926,14 +5470,10 @@ }, "node_modules/tslib": { "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "license": "0BSD" }, "node_modules/tsx": { "version": "4.23.12", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.12.tgz", - "integrity": "sha512-FDf4L4sYzKtzWYhU/Xm0AQFdTjdIxNo9ElTf2mxXM6k8YMHXzYUe4yODVaXP4V9uMFbVg8c0qyBccK2OOxb45Q==", "dev": true, "license": "MIT", "dependencies": { @@ -6951,8 +5491,6 @@ }, "node_modules/type-check": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, "license": "MIT", "dependencies": { @@ -6964,8 +5502,6 @@ }, "node_modules/type-fest": { "version": "2.19.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", - "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -6977,8 +5513,6 @@ }, "node_modules/typescript": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", - "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "devOptional": true, "license": "Apache-2.0", "bin": { @@ -6991,8 +5525,6 @@ }, "node_modules/typescript-eslint": { "version": "8.67.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.67.0.tgz", - "integrity": "sha512-S2udFs8tCKEKffuJ4TB1idGUZiXdCPGi3IPBGWXarbLQ5UPXORV8QEVzJ4gCRduURMb5EkpNCdjbk0eDIuI8Yg==", "dev": true, "license": "MIT", "dependencies": { @@ -7015,8 +5547,6 @@ }, "node_modules/uglify-js": { "version": "3.19.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", - "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", "dev": true, "license": "BSD-2-Clause", "optional": true, @@ -7029,8 +5559,6 @@ }, "node_modules/uint8-varint": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/uint8-varint/-/uint8-varint-3.0.0.tgz", - "integrity": "sha512-S4DdpXBaLwKcFo7f0bWzWfHjbZ/i3QhM842qn+ZvHjxqFCfUcEB9SQNcmI69S+zMlcmIcKxsk9Iyw77S2Kxv6Q==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arraylist": "^3.0.1", @@ -7039,8 +5567,6 @@ }, "node_modules/uint8-varint/node_modules/uint8arraylist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", - "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -7048,8 +5574,6 @@ }, "node_modules/uint8arraylist": { "version": "2.4.9", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.4.9.tgz", - "integrity": "sha512-KxWjyEFzchzik3aoQlK66oaoxIReoMo5bQRm1fcjBUZvE8xv/tyR3CTKhjh6K/faV8VaF6hd5pjr45CzbwuwkA==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^5.0.1" @@ -7057,14 +5581,10 @@ }, "node_modules/uint8arraylist/node_modules/multiformats": { "version": "13.4.2", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.4.2.tgz", - "integrity": "sha512-eh6eHCrRi1+POZ3dA+Dq1C6jhP1GNtr9CRINMb67OKzqW9I5DUuZM/3jLPlzhgpGeiNUlEGEbkCYChXMCc/8DQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/uint8arraylist/node_modules/uint8arrays": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.1.tgz", - "integrity": "sha512-9muQwa4wZG4dKi9gMAIBtnk2Pw87SRpvWTH6lOGm19V2Uqxr4uomUf2PGqPnWc+qs06sN8owUU4jfcoWOcfwVQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "multiformats": "^13.0.0" @@ -7072,8 +5592,6 @@ }, "node_modules/uint8arrays": { "version": "6.1.1", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-6.1.1.tgz", - "integrity": "sha512-iz7JN0XCSZYA111lhFG2Ui9EhFvTNekqSRHw3lvMHq+dzwWy1OQftxFQREEh4rffU0oSoXdQHsk2TiHKVm4fsA==", "license": "Apache-2.0 OR MIT", "dependencies": { "multiformats": "^14.0.0" @@ -7081,8 +5599,6 @@ }, "node_modules/undici": { "version": "6.28.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.28.0.tgz", - "integrity": "sha512-LIY910g9TI13YS95lrMFrs8Rm/u/irgHeTWoKCoteeJ04CUJ92eEfj0rVn+7VKMPBpUPiUoBKfhNyLI23EE/KA==", "license": "MIT", "engines": { "node": ">=18.17" @@ -7090,21 +5606,15 @@ }, "node_modules/undici-types": { "version": "6.21.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", - "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", "license": "MIT" }, "node_modules/universal-user-agent": { "version": "7.0.3", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz", - "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A==", "dev": true, "license": "ISC" }, "node_modules/unlimited-timeout": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/unlimited-timeout/-/unlimited-timeout-0.1.0.tgz", - "integrity": "sha512-D4g+mxFeQGQHzCfnvij+R35ukJ0658Zzudw7j16p4tBBbNasKkKM4SocYxqhwT5xA7a9JYWDzKkEFyMlRi5sng==", "license": "MIT", "engines": { "node": ">=20" @@ -7115,8 +5625,6 @@ }, "node_modules/uri-js": { "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -7125,8 +5633,6 @@ }, "node_modules/url-join": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/url-join/-/url-join-5.0.0.tgz", - "integrity": "sha512-n2huDr9h9yzd6exQVnH/jU5mr+Pfx08LRXXZhkLLetAMESRj+anQsTAh940iMrIetKAmry9coFuZQ2jY8/p3WA==", "dev": true, "license": "MIT", "engines": { @@ -7135,8 +5641,6 @@ }, "node_modules/utf-8-validate": { "version": "5.0.10", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", - "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", "hasInstallScript": true, "license": "MIT", "optional": true, @@ -7150,14 +5654,10 @@ }, "node_modules/utf8-codec": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/utf8-codec/-/utf8-codec-1.0.0.tgz", - "integrity": "sha512-S/QSLezp3qvG4ld5PUfXiH7mCFxLKjSVZRFkB3DOjgwHuJPFDkInAXc/anf7BAbHt/D38ozDzL+QMZ6/7gsI6w==", "license": "MIT" }, "node_modules/weald": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/weald/-/weald-1.1.3.tgz", - "integrity": "sha512-vMWtNbYuPb58NeG2+0sKA0Een4VMDwzf+3oHqh68buWRSOMUBlUeRb11LhV28czV+DUpJHRykifijZDuS9bInA==", "license": "Apache-2.0 OR MIT", "dependencies": { "ms": "^4.0.0-nightly.202508271359", @@ -7166,8 +5666,6 @@ }, "node_modules/weald/node_modules/ms": { "version": "4.0.0-nightly.202508271359", - "resolved": "https://registry.npmjs.org/ms/-/ms-4.0.0-nightly.202508271359.tgz", - "integrity": "sha512-WC/Eo7NzFrOV/RRrTaI0fxKVbNCzEy76j2VqNV8SxDf9D69gSE2Lh0QwYvDlhiYmheBYExAvEAxVf5NoN0cj2A==", "license": "MIT", "engines": { "node": ">=20" @@ -7175,8 +5673,6 @@ }, "node_modules/weald/node_modules/supports-color": { "version": "10.2.2", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", - "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", "license": "MIT", "engines": { "node": ">=18" @@ -7187,14 +5683,10 @@ }, "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-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", @@ -7203,8 +5695,6 @@ }, "node_modules/wherearewe": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/wherearewe/-/wherearewe-2.0.1.tgz", - "integrity": "sha512-XUguZbDxCA2wBn2LoFtcEhXL6AXo+hVjGonwhSTTTU9SzbWG8Xu3onNIpzf9j/mYUcJQ0f+m37SzG77G851uFw==", "license": "Apache-2.0 OR MIT", "dependencies": { "is-electron": "^2.2.0" @@ -7216,8 +5706,6 @@ }, "node_modules/which": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "license": "ISC", "dependencies": { @@ -7232,15 +5720,11 @@ }, "node_modules/wildcard-match": { "version": "5.1.4", - "resolved": "https://registry.npmjs.org/wildcard-match/-/wildcard-match-5.1.4.tgz", - "integrity": "sha512-wldeCaczs8XXq7hj+5d/F38JE2r7EXgb6WQDM84RVwxy81T/sxB5e9+uZLK9Q9oNz1mlvjut+QtvgaOQFPVq/g==", "dev": true, "license": "ISC" }, "node_modules/windows-release": { "version": "7.1.1", - "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-7.1.1.tgz", - "integrity": "sha512-0GBwC9WmR8Bm3WYiz3FC391054BsFHZ2gzBVdYj9uj5eIVYzbn/YPYCYW9SWdh9vwnLuzpn1UGwJKiMG4F236w==", "dev": true, "license": "MIT", "dependencies": { @@ -7255,8 +5739,6 @@ }, "node_modules/windows-release/node_modules/powershell-utils": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/powershell-utils/-/powershell-utils-0.2.0.tgz", - "integrity": "sha512-ZlsFlG7MtSFCoc5xreOvBAozCJ6Pf06opgJjh9ONEv418xpZSAzNjstD36C6+JwOnfSqOW/9uDkqKjezTdxZhw==", "dev": true, "license": "MIT", "engines": { @@ -7268,8 +5750,6 @@ }, "node_modules/word-wrap": { "version": "1.2.5", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", - "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, "license": "MIT", "engines": { @@ -7278,22 +5758,16 @@ }, "node_modules/wordwrap": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", "dev": true, "license": "MIT" }, "node_modules/workerpool": { "version": "9.3.4", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-9.3.4.tgz", - "integrity": "sha512-TmPRQYYSAnnDiEB0P/Ytip7bFGvqnSU6I2BcuSw7Hx+JSg/DsUi5ebYfc8GYaSdpuvOcEs6dXxPurOYpe9QFwg==", "dev": true, "license": "Apache-2.0" }, "node_modules/wrap-ansi": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", "dev": true, "license": "MIT", "dependencies": { @@ -7311,8 +5785,6 @@ "node_modules/wrap-ansi-cjs": { "name": "wrap-ansi", "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "license": "MIT", "dependencies": { @@ -7329,15 +5801,11 @@ }, "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -7351,8 +5819,6 @@ }, "node_modules/wrap-ansi/node_modules/ansi-regex": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", - "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", "dev": true, "license": "MIT", "engines": { @@ -7364,8 +5830,6 @@ }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", "dev": true, "license": "MIT", "engines": { @@ -7377,8 +5841,6 @@ }, "node_modules/wrap-ansi/node_modules/strip-ansi": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, "license": "MIT", "dependencies": { @@ -7393,8 +5855,6 @@ }, "node_modules/ws": { "version": "8.21.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz", - "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -7414,8 +5874,6 @@ }, "node_modules/wsl-utils": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-0.3.1.tgz", - "integrity": "sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg==", "dev": true, "license": "MIT", "dependencies": { @@ -7431,8 +5889,6 @@ }, "node_modules/y18n": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "dev": true, "license": "ISC", "engines": { @@ -7441,14 +5897,10 @@ }, "node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "license": "ISC" }, "node_modules/yargs": { "version": "17.7.3", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", - "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", "dev": true, "license": "MIT", "dependencies": { @@ -7466,8 +5918,6 @@ }, "node_modules/yargs-parser": { "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, "license": "ISC", "engines": { @@ -7476,8 +5926,6 @@ }, "node_modules/yargs-unparser": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", - "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", "dev": true, "license": "MIT", "dependencies": { @@ -7492,15 +5940,11 @@ }, "node_modules/yargs/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/yargs/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -7514,8 +5958,6 @@ }, "node_modules/yocto-queue": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, "license": "MIT", "engines": { @@ -7527,8 +5969,6 @@ }, "node_modules/yoctocolors": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.2.0.tgz", - "integrity": "sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 05684cc..2706e80 100644 --- a/package.json +++ b/package.json @@ -75,9 +75,9 @@ }, "dependencies": { "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", - "@oceanprotocol/contracts": "^2.9.0", + "@oceanprotocol/contracts": "^3.1.0", "@oceanprotocol/ddo-js": "^0.4.1", - "@oceanprotocol/lib": "^9.0.0", + "@oceanprotocol/lib": "9.3.0-next.2", "axios": "^1.19.0", "chalk": "^4.1.2", "commander": "^13.1.0", diff --git a/src/cli.ts b/src/cli.ts index 33fe40e..b9cd64c 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -11,12 +11,17 @@ import { ServiceStatusNumber, ServiceRestartParams, } from "@oceanprotocol/lib"; -import { parseComputeInput, toBoolean } from "./helpers.js"; +import { + parseComputeInput, + toBoolean, + parseSubsidyProviders, +} from "./helpers.js"; import { getCurrentNodeUrl, getCurrentEnvId, hasNode, nodeChainIds, + nodeSubsidyInfo, setCurrentNodeUrl, setCurrentEnvId, clearCurrentEnvId, @@ -151,6 +156,10 @@ const HELP_GROUPS: HelpGroup[] = [ "removeFromAccessList", ], }, + { + heading: "Subsidy providers", + commands: ["getSubsidyProviders", "getSubsidyStatus"], + }, { heading: "Persistent storage (buckets)", commands: [ @@ -227,6 +236,32 @@ export function formatGroupedHelp(program: Command): string { // (dev via tsx) and dist/ (published), since both sit one level below the root. const pkg = createRequire(import.meta.url)("../package.json"); +// Print the subsidy-provider info a node advertises in its status (shared by getNode and +// getSubsidyProviders). `indent` lets getNode nest it under the node summary. +function printSubsidyInfo( + info: { providers: Record; filter: boolean }, + indent = " ", +): void { + const chains = Object.keys(info.providers).filter( + (c) => (info.providers[c]?.length ?? 0) > 0, + ); + if (chains.length === 0) { + console.log( + chalk.yellow(`${indent}Subsidy providers: none advertised by this node.`), + ); + } else { + console.log(`${indent}Subsidy providers:`); + for (const c of chains.sort()) { + console.log(`${indent} chain ${c}: ${info.providers[c].join(", ")}`); + } + } + console.log( + `${indent}Subsidy provider filter (whitelist enforced): ${ + info.filter ? "on" : "off" + }`, + ); +} + // Parse a CLI JSON array-of-strings option (e.g. --cmd '["python","app.py"]'). // Returns the array, or throws with a clear message for the action to surface. function parseJsonStringArray(name: string, value: string): string[] { @@ -627,11 +662,85 @@ export async function createCLI() { } catch { // RPC not configured / unavailable — the node info above is still useful. } + printSubsidyInfo(nodeSubsidyInfo(status)); } else { console.log(chalk.yellow("Node is not reachable right now.")); } }); + // getSubsidyProviders command — show the subsidy-provider contracts the current node + // advertises per chain (and whether it enforces a whitelist on user-supplied ones). + // Node-dependent (deliberately NOT in NODE_FREE_COMMANDS): the preAction gate refuses it + // until a node is set. Implemented inline like getNode — no signer/Commands needed. + program + .command("getSubsidyProviders") + .alias("subsidyProviders") + .description( + "Show the subsidy-provider contracts the current Ocean Node supports (per chain)", + ) + .action(async () => { + const current = getCurrentNodeUrl(); + if (!current) { + console.log( + chalk.yellow( + "No Ocean Node set. Run `setNode ` to pick one.", + ), + ); + return; + } + const status = await validateNode(current); + if (!status) { + console.log(chalk.yellow("Node is not reachable right now.")); + return; + } + console.log(`Ocean Node: ${current}`); + printSubsidyInfo(nodeSubsidyInfo(status)); + }); + + // getSubsidyStatus command — read-only, provider-agnostic subsidy report for a token on a + // chain: kind, per-window buckets (limit/used/remaining), claimable-now amount, contract + // balance, eligibility, and (with --node/--jobType/--amount) a quote. Provider addresses are + // discovered from the node; --subsidy only narrows to a subset the node advertises. + program + .command("getSubsidyStatus") + .alias("subsidyStatus") + .description( + "Show subsidy limits / remaining credit for a token from the node's subsidy providers", + ) + .argument("", "Token address to report limits/credit for") + .option("-t, --token ", "Token address to report limits/credit for") + .option( + "--chainId ", + "Subsidy/escrow chain (default: active chain)", + ) + .option( + "--subsidy ", + "Narrow to specific node-advertised provider contract(s) (comma-separated); else all the node lists", + ) + .option( + "--node
", + "Node address, for isNodeAllowed / quoteSubsidy", + ) + .option( + "--jobType ", + "Job type for isJobTypeSubsidized / quoteSubsidy (compute | service | none)", + ) + .option( + "--amount ", + "Job amount to quote a subsidy for (needs --node and --jobType)", + ) + .action(async (token, options) => { + const { signer, chainId } = await initializeSigner(); + const commands = new Commands(signer, chainId); + if ((await routeExplicit(commands, options.chainId)) === null) return; + await commands.getSubsidyStatus(token || options.token, { + subsidy: options.subsidy, + node: options.node, + jobType: options.jobType, + amount: options.amount, + }); + }); + // --------------------------------------------------------------------------- // Chain / RPC management (node-free — see NODE_FREE_COMMANDS). Implemented directly // here, mirroring setNode/getNode: the registry is the single source of truth and no @@ -978,6 +1087,10 @@ export async function createCLI() { "-o, --output [output]", "Output backend to save job results to. Supported types include S3, FTP, URL, Arweave, etc. Defaults to node local disk if omitted.", ) + .option( + "--subsidyProviders ", + "Subsidy provider contract addresses (comma-separated) to claim against. Omit to use the node's defaults; pass 'none' (or empty) to explicitly claim with no subsidy.", + ) .action( async ( datasetDids, @@ -1132,7 +1245,22 @@ export async function createCLI() { algoSvcId, ]; - const started = await commands.computeStart(computeArgs, paymentChainId); + // Tri-state: undefined (node default) | [] (no subsidy) | [addr,...]. + let subsidyProviders: string[] | undefined; + try { + subsidyProviders = parseSubsidyProviders(options.subsidyProviders); + } catch (e) { + console.error( + chalk.red(`Invalid --subsidyProviders: ${(e as Error).message}`), + ); + return; + } + + const started = await commands.computeStart( + computeArgs, + paymentChainId, + subsidyProviders, + ); if (started) { console.log(chalk.green("Compute job started successfully.")); } @@ -1447,6 +1575,10 @@ export async function createCLI() { "--chainId ", "Payment/escrow chain (default: active chain); must be one the env prices on", ) + .option( + "--subsidyProviders ", + "Subsidy provider contract addresses (comma-separated) to claim against. Omit for node defaults; 'none' (or empty) for no subsidy.", + ) .action(async (computeEnvId, duration, paymentToken, options) => { const envId = options.env || computeEnvId; const token = paymentToken; @@ -1474,11 +1606,13 @@ export async function createCLI() { let ports: number[] | undefined; let cmd: string[] | undefined; let entrypoint: string[] | undefined; + let subsidyProviders: string[] | undefined; try { if (options.ports) ports = parsePorts(options.ports); if (options.cmd) cmd = parseJsonStringArray("--cmd", options.cmd); if (options.entrypoint) entrypoint = parseJsonStringArray("--entrypoint", options.entrypoint); + subsidyProviders = parseSubsidyProviders(options.subsidyProviders); } catch (e) { console.error(chalk.red((e as Error).message)); return; @@ -1508,6 +1642,7 @@ export async function createCLI() { accept: options.accept, wait: options.wait, timeout: options.timeout, + subsidyProviders, }); }); @@ -1637,6 +1772,10 @@ export async function createCLI() { toBoolean, ) .option("--chainId ", "Payment/escrow chain (default: active chain)") + .option( + "--subsidyProviders ", + "Subsidy provider contract addresses (comma-separated) to claim against. Omit for node defaults; 'none' (or empty) for no subsidy.", + ) .action(async (serviceId, additionalDuration, paymentToken, options) => { const id = options.service || serviceId; const addl = options.duration || additionalDuration; @@ -1657,10 +1796,25 @@ export async function createCLI() { ); return; } + let subsidyProviders: string[] | undefined; + try { + subsidyProviders = parseSubsidyProviders(options.subsidyProviders); + } catch (e) { + console.error( + chalk.red(`Invalid --subsidyProviders: ${(e as Error).message}`), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); if ((await routeExplicit(commands, options.chainId)) === null) return; - await commands.extendService(id, addl, token, options.accept); + await commands.extendService( + id, + addl, + token, + options.accept, + subsidyProviders, + ); }); // restartService command diff --git a/src/commands.ts b/src/commands.ts index 83bee58..4c867f9 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -40,6 +40,11 @@ import { getTokenDecimals, AccesslistFactory, AccessListContract, + SubsidyView, + SubsidyKind, + SubsidyPeriod, + OPFSubsidyProvider, + OneTimeSubsidyProvider, ComputeResourceRequest, ComputeSearchDimensionResult, ServiceJob, @@ -76,7 +81,13 @@ import { statusLabel, isTerminal, } from "./serviceHelpers.js"; -import { ensureP2PReady, getSearchSeedNode } from "./nodeConnection.js"; +import { + ensureP2PReady, + getSearchSeedNode, + getCurrentNodeUrl, + validateNode, + nodeSubsidyInfo, +} from "./nodeConnection.js"; import { ResourceSearchParams, ProviderEnvRow, @@ -904,7 +915,11 @@ export class Commands { return providerInitializeComputeJob; } - public async computeStart(args: string[], paymentChainId?: number) { + public async computeStart( + args: string[], + paymentChainId?: number, + subsidyProviders?: string[], + ) { const resolved = await resolveComputeInputs( args[1], args[2], @@ -1467,6 +1482,13 @@ export class Commands { // additionalDatasets, only c2d v1 output, policiesServer, + undefined, // signal + undefined, // queueMaxWaitTime + undefined, // dockerRegistryAuth + undefined, // outputBucketId + // Consumer-selected subsidy providers (ocean.js #2160): tri-state — undefined lets + // the node use its configured defaults, [] claims with none, a list uses exactly those. + subsidyProviders, ); console.log("computeJobs: ", computeJobs); @@ -2061,6 +2083,7 @@ export class Commands { accept?: boolean; wait?: boolean; timeout?: number; + subsidyProviders?: string[]; }): Promise { try { const { chainId } = await this.signer.provider.getNetwork(); @@ -2304,6 +2327,8 @@ export class Commands { duration: opts.duration, userData, // plain object; ocean.js encrypts it to the node payment: { chainId: chainIdNum, token: opts.paymentToken }, + // Tri-state consumer-selected subsidy providers (ocean.js #2160 / #2163). + subsidyProviders: opts.subsidyProviders, }; const jobs = await ProviderInstance.serviceStart( @@ -2470,6 +2495,7 @@ export class Commands { additionalDuration: number, paymentToken?: string, accept?: boolean, + subsidyProviders?: string[], ): Promise { try { if (!Number.isInteger(additionalDuration) || additionalDuration <= 0) { @@ -2606,6 +2632,8 @@ export class Commands { additionalDuration, { chainId: chainIdNum, token }, AbortSignal.timeout(120_000), + // Tri-state consumer-selected subsidy providers (ocean.js #2160). + subsidyProviders, ); const newJob = extended?.[0]; if (!newJob) { @@ -3230,6 +3258,242 @@ export class Commands { return authorizations; } + // Map the user's --jobType to the on-chain JobType enum (NONE=0, COMPUTE=1, SERVICE=2, + // fixed by the escrow claim ABI). Accepts a name or a raw number; throws on anything else. + private mapJobType(jt?: string): number | undefined { + if (jt === undefined) return undefined; + const s = jt.trim().toLowerCase(); + if (s === "compute") return 1; + if (s === "service") return 2; + if (s === "none") return 0; + if (/^\d+$/.test(s)) return Number(s); + throw new Error( + `Unknown --jobType '${jt}' (use compute | service | none, or a number).`, + ); + } + + /** + * Resolve the subsidy-provider contract addresses to query. The Ocean Node is the single + * source of truth: a node may not support subsidies at all, and the lib's bundled contract + * addresses could list a provider the node will never claim against — so addresses come only + * from the node's status `subsidyProviders[chainId]`. `--subsidy` merely narrows to a subset + * of what the node advertises. Never reads config / ADDRESS_FILE. + */ + private resolveSubsidyProviderAddresses( + chainId: number, + nodeProviders: Record, + override?: string, + ): string[] { + const fromNode = (nodeProviders?.[String(chainId)] ?? []).map((a) => + getAddress(a), + ); + if (fromNode.length === 0) { + throw new Error( + `This node does not support subsidy providers on chain ${chainId}.`, + ); + } + if (!override || !override.trim()) return [...new Set(fromNode)]; + const wanted = override.split(",").map((a) => getAddress(a.trim())); + const nodeSet = new Set(fromNode); + const kept = wanted.filter((a) => nodeSet.has(a)); + const dropped = wanted.filter((a) => !nodeSet.has(a)); + if (dropped.length) { + console.warn( + chalk.yellow( + `Ignoring --subsidy address(es) the node does not advertise: ${dropped.join( + ", ", + )}`, + ), + ); + } + if (kept.length === 0) { + throw new Error( + `None of the --subsidy addresses are advertised by the node on chain ${chainId}.`, + ); + } + return [...new Set(kept)]; + } + + /** + * Read-only, provider-agnostic subsidy report (ocean.js #2163 / contracts #1052). Discovers + * the provider contracts from the current node, then for each one uses the `SubsidyView` base + * wrapper (ERC-165) to print a unified report — kind, per-window buckets (limit/used/remaining), + * the claimable amount now, contract balance and eligibility — plus kind-specific detail for + * rolling-window (OPF) and one-time providers. Answers "do I have credit available?". + */ + public async getSubsidyStatus( + token: string, + opts: { + subsidy?: string; + node?: string; + jobType?: string; + amount?: string; + } = {}, + ): Promise { + const chainId = Number(this.config.chainId); + const payer = await this.signer.getAddress(); + const tokenAddress = getAddress(token); + + // Provider addresses come from the node, never from bundled config. + const nodeUrl = getCurrentNodeUrl(); + const status = nodeUrl ? await validateNode(nodeUrl) : null; + if (!status) { + console.error( + chalk.red( + "Could not read node status (no reachable Ocean Node). The node advertises which subsidy providers it supports.", + ), + ); + return; + } + const { providers } = nodeSubsidyInfo(status); + + let addresses: string[]; + let jobType: number | undefined; + try { + addresses = this.resolveSubsidyProviderAddresses( + chainId, + providers, + opts.subsidy, + ); + jobType = this.mapJobType(opts.jobType); + } catch (e) { + console.error(chalk.red((e as Error).message)); + return; + } + + for (const address of addresses) { + console.log( + chalk.cyan(`\n=== Subsidy provider ${address} (chain ${chainId}) ===`), + ); + try { + const view = new SubsidyView(this.signer, address, chainId); + // The node already vouches these are subsidy providers, so we don't gate on + // `isSubsidyView()` (ERC-165) — it can under-report. `subsidyKind()` is the + // liveness probe: if it reverts, the address isn't a readable subsidy view. + let kind: SubsidyKind; + try { + kind = await view.subsidyKind(); + } catch { + console.warn( + chalk.yellow( + ` ${address} is not a readable subsidy provider (subsidyKind() reverted) — skipping.`, + ), + ); + continue; + } + console.log(` Kind: ${SubsidyKind[kind] ?? kind}`); + + const report = await view.subsidyBuckets(payer, tokenAddress); + console.log(` Paused: ${report.paused}`); + console.log(` User allowed: ${report.userAllowed}`); + console.log(` Token enabled: ${report.tokenEnabled}`); + if (!report.buckets || report.buckets.length === 0) { + console.log(" Buckets: (none)"); + } else { + console.log(" Buckets:"); + for (const b of report.buckets) { + const period = SubsidyPeriod[b.period] ?? b.period; + const cap = b.unlimited ? "unlimited" : b.limit; + const reset = + b.resetsAt && b.resetsAt !== "0" ? ` resetsAt=${b.resetsAt}` : ""; + console.log( + ` - ${period}: limit=${cap} used=${b.used} remaining=${b.remaining}${reset}`, + ); + } + } + + console.log( + ` Remaining subsidy (claimable now): ${await view.remainingSubsidy( + payer, + tokenAddress, + )}`, + ); + console.log( + ` Contract available balance: ${await view.availableBalance( + tokenAddress, + )}`, + ); + console.log( + ` User allowed (isUserAllowed): ${await view.isUserAllowed(payer)}`, + ); + if (opts.node) { + console.log( + ` Node allowed (isNodeAllowed): ${await view.isNodeAllowed( + getAddress(opts.node), + )}`, + ); + } + if (jobType !== undefined) { + console.log( + ` Job type subsidized (${opts.jobType}): ${await view.isJobTypeSubsidized( + jobType, + )}`, + ); + } + + // Optional quote — needs a node address, a job type and an amount. + if (opts.amount && opts.node && jobType !== undefined) { + const quote = await view.quoteSubsidy( + getAddress(opts.node), + payer, + jobType, + tokenAddress, + opts.amount, + opts.amount, // subsidyNeeded: request the full amount; the contract caps it + ); + console.log( + ` Quote for amount ${opts.amount}: subsidy=${quote.subsidy} bonus=${quote.bonus}`, + ); + } + + // Kind-specific detail (subsidyBuckets already covers the core numbers). + if (kind === SubsidyKind.ROLLING_WINDOW) { + const opf = new OPFSubsidyProvider(this.signer, address, chainId); + console.log(" Rolling-window detail:"); + console.log( + ` remaining daily/weekly/monthly: ${await opf.remainingDaily( + payer, + tokenAddress, + )} / ${await opf.remainingWeekly( + payer, + tokenAddress, + )} / ${await opf.remainingMonthly(payer, tokenAddress)}`, + ); + console.log( + ` used daily/weekly/monthly: ${await opf.dailyUsedBy( + payer, + tokenAddress, + )} / ${await opf.weeklyUsedBy( + payer, + tokenAddress, + )} / ${await opf.monthlyUsedBy(payer, tokenAddress)}`, + ); + } else if (kind === SubsidyKind.ONE_TIME) { + const one = new OneTimeSubsidyProvider(this.signer, address, chainId); + const cfg = await one.getTokenConfig(tokenAddress); + console.log(" One-time detail:"); + console.log( + ` token config: pctBps=${cfg.pctBps} defaultCredit=${cfg.defaultCredit} enabled=${cfg.enabled}`, + ); + console.log( + ` effective/remaining/used credit: ${await one.effectiveCredit( + payer, + tokenAddress, + )} / ${await one.remainingCredit( + payer, + tokenAddress, + )} / ${await one.usedBy(payer, tokenAddress)}`, + ); + } + } catch (error) { + console.error( + chalk.red(` Error reading ${address}:`), + (error as Error).message ?? error, + ); + } + } + } + public async createAccessList(args: string[]): Promise { try { const name = args[0]; diff --git a/src/helpers.ts b/src/helpers.ts index 2054c5d..bfbde3f 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -707,3 +707,21 @@ export function summarizeComputeEnvFees(env: { return `${header}: pays on\n${lines.join("\n")}`; } + +/** + * Parse the `--subsidyProviders` CLI value into the tri-state the Ocean Node expects + * (ocean-node #1485, ocean.js #2160): + * - flag omitted -> `undefined` (the node uses its configured defaults) + * - `none` / empty string -> `[]` (explicitly claim with NO subsidy providers) + * - a CSV of addresses -> `string[]` (use exactly these, EIP-55 normalized) + * Preserving the `undefined` vs `[]` distinction is essential — the ocean.js request + * body is truthy-guarded (`if (subsidyProviders)`), and `[]` is truthy, so an empty + * array is transmitted while `undefined` is omitted. + * Throws on a malformed address. + */ +export function parseSubsidyProviders(raw?: string): string[] | undefined { + if (raw === undefined) return undefined; + const trimmed = raw.trim(); + if (trimmed === "" || trimmed.toLowerCase() === "none") return []; + return trimmed.split(",").map((a) => ethers.getAddress(a.trim())); +} diff --git a/src/nodeConnection.ts b/src/nodeConnection.ts index 2ffde3d..81d3c08 100644 --- a/src/nodeConnection.ts +++ b/src/nodeConnection.ts @@ -268,3 +268,28 @@ export function nodeChainIds(status: NodeStatus): string[] { ]; return [...new Set(ids)]; } + +/** + * Subsidy-provider info the node advertises in its status (ocean-node #1479/#1485): + * `subsidyProviders` is a per-chain map (chainId -> checksummed contract addresses) and + * `subsidyProviderFilter` tells whether the node restricts user-supplied providers to that + * configured set. The node is the single source of truth for which providers are usable — + * a node may not support subsidies at all, in which case `providers` is `{}`. + * + * ocean.js's `NodeStatus` type may not (yet) declare these fields, but the node returns + * them at runtime, so we read them through a local narrowing cast rather than depend on + * the lib type. Older nodes that omit them yield `{}` / `false`. + */ +export function nodeSubsidyInfo(status: NodeStatus): { + providers: Record; + filter: boolean; +} { + const s = status as unknown as { + subsidyProviders?: Record; + subsidyProviderFilter?: boolean; + }; + return { + providers: s.subsidyProviders ?? {}, + filter: Boolean(s.subsidyProviderFilter), + }; +} diff --git a/test/subsidyProviders.test.ts b/test/subsidyProviders.test.ts new file mode 100644 index 0000000..eba4035 --- /dev/null +++ b/test/subsidyProviders.test.ts @@ -0,0 +1,40 @@ +import { expect } from "chai"; +import { parseSubsidyProviders } from "../src/helpers.js"; + +// Pure unit test — no infra needed. Verifies the tri-state parsing of the +// `--subsidyProviders` CLI value and EIP-55 address normalization. +describe("parseSubsidyProviders", () => { + it("returns undefined when the flag is omitted (node default)", () => { + expect(parseSubsidyProviders(undefined)).to.equal(undefined); + }); + + it("returns [] for 'none' (explicitly no subsidy)", () => { + expect(parseSubsidyProviders("none")).to.deep.equal([]); + expect(parseSubsidyProviders("NONE")).to.deep.equal([]); + }); + + it("returns [] for an empty / whitespace string", () => { + expect(parseSubsidyProviders("")).to.deep.equal([]); + expect(parseSubsidyProviders(" ")).to.deep.equal([]); + }); + + it("parses a single address", () => { + const a = "0x4344d4bc29531db736378e9a3da85bf1eff0cb22"; + expect(parseSubsidyProviders(a)).to.deep.equal([ + "0x4344D4Bc29531DB736378e9A3dA85BF1eff0CB22", + ]); + }); + + it("parses and normalizes a comma-separated list, trimming whitespace", () => { + const raw = + " 0x4344d4bc29531db736378e9a3da85bf1eff0cb22 , 0x0000000000000000000000000000000000000001 "; + expect(parseSubsidyProviders(raw)).to.deep.equal([ + "0x4344D4Bc29531DB736378e9A3dA85BF1eff0CB22", + "0x0000000000000000000000000000000000000001", + ]); + }); + + it("throws on a malformed address", () => { + expect(() => parseSubsidyProviders("0xnot-an-address")).to.throw(); + }); +}); From 56be45c690f2be1fead9e3dd194bf4a7cef8b2e8 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Thu, 1 Oct 2026 10:14:20 +0300 Subject: [PATCH 02/24] fix comments --- src/cli.ts | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/cli.ts b/src/cli.ts index b9cd64c..af9c277 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -727,7 +727,7 @@ export async function createCLI() { ) .option( "--amount ", - "Job amount to quote a subsidy for (needs --node and --jobType)", + "Job amount to quote a subsidy for, in natural token units (e.g. 1.5 — the lib converts to base units). Needs --node and --jobType.", ) .action(async (token, options) => { const { signer, chainId } = await initializeSigner(); @@ -1157,6 +1157,20 @@ export async function createCLI() { ); return; } + + // Tri-state: undefined (node default) | [] (no subsidy) | [addr,...]. + // Validate up front so a malformed address is rejected before compute + // initialization and the payment prompt. + let subsidyProviders: string[] | undefined; + try { + subsidyProviders = parseSubsidyProviders(options.subsidyProviders); + } catch (e) { + console.error( + chalk.red(`Invalid --subsidyProviders: ${(e as Error).message}`), + ); + return; + } + const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -1245,17 +1259,6 @@ export async function createCLI() { algoSvcId, ]; - // Tri-state: undefined (node default) | [] (no subsidy) | [addr,...]. - let subsidyProviders: string[] | undefined; - try { - subsidyProviders = parseSubsidyProviders(options.subsidyProviders); - } catch (e) { - console.error( - chalk.red(`Invalid --subsidyProviders: ${(e as Error).message}`), - ); - return; - } - const started = await commands.computeStart( computeArgs, paymentChainId, From 266e4490b4064da9bfba87cd14da2da6c45d1a58 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Thu, 1 Oct 2026 10:15:07 +0300 Subject: [PATCH 03/24] format --- src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index af9c277..1a77883 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -727,7 +727,7 @@ export async function createCLI() { ) .option( "--amount ", - "Job amount to quote a subsidy for, in natural token units (e.g. 1.5 — the lib converts to base units). Needs --node and --jobType.", + "Job amount to quote a subsidy for, in natural token units (e.g. 1.5). Needs --node and --jobType.", ) .action(async (token, options) => { const { signer, chainId } = await initializeSigner(); From ef96af4b0e88a55b81fe1551f6d40639654bbb48 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Thu, 8 Oct 2026 14:46:48 +0300 Subject: [PATCH 04/24] escrow v2 --- CLAUDE.md | 4 +- README.md | 56 +++++++++++++- package-lock.json | 14 ++-- package.json | 4 +- src/cli.ts | 97 ++++++++++++++++++------ src/commands.ts | 177 ++++++++++++++++++++++++++++++++++++-------- test/escrow.test.ts | 51 +++++++++++++ 7 files changed, 341 insertions(+), 62 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index cfc7613..e274564 100755 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -78,7 +78,7 @@ All registered in `src/cli.ts` via Commander (`commander` v13). Every command su - Assets: `getDDO`, `publish`, `publishAlgo`, `editAsset` (alias `edit`), `download`, `allowAlgo`. - Compute: `startCompute`, `startFreeCompute`, `getComputeEnvironments` (alias `getC2DEnvs`), `computeStreamableLogs`, `stopCompute`, `getJobStatus`, `downloadJobResults`. - Tokens/auth: `mintOcean`, `generateAuthToken`, `invalidateAuthToken`. -- Escrow: `depositEscrow`, `getUserFundsEscrow`, `withdrawFromEscrow`, `authorizeEscrow`, `getAuthorizationsEscrow`. +- Escrow: `depositEscrow`, `getUserFundsEscrow`, `withdrawFromEscrow`, `authorizeEscrow`, `getAuthorizationsEscrow`, `getEscrowInfo` (alias `escrowInfo`). - Access lists: `createAccessList`, `addToAccessList`, `checkAccessList`, `removeFromAccessList`. - Subsidy providers: `getSubsidyProviders` (alias `subsidyProviders`), `getSubsidyStatus` (alias `subsidyStatus`). Provider addresses come **only** from the node's status (`nodeSubsidyInfo` in `nodeConnection.ts`), never from bundled config — a node may not support subsidies. `getSubsidyStatus` uses the ocean.js `SubsidyView`/`OPFSubsidyProvider`/`OneTimeSubsidyProvider` wrappers. Compute/service commands (`startCompute`, `startService`, `extendService`) also take `--subsidyProviders ` (tri-state: omit → node default, `none`/empty → `[]`, CSV → those; parsed by `parseSubsidyProviders` in `helpers.ts`). `startFreeCompute` ignores it. - Persistent storage buckets: `createBucket`, `addFileToBucket`, `listBuckets`, `listFilesInBucket`, `getFileObject`, `deleteFile`. @@ -185,7 +185,7 @@ The `startCompute` **action in `cli.ts`** orchestrates a two-phase flow (not a s ### Escrow, access lists, persistent storage, auth, node logs -- **Escrow** (`EscrowContract` from ocean.js, address from `address.json`): `depositEscrow` approves then deposits; `withdrawFromEscrow` checks balance first; `authorizeEscrow` sets per-payee lock limits; `getUserFundsEscrow` / `getAuthorizationsEscrow` read state. +- **Escrow** (`EscrowContract` from ocean.js, address from `ConfigHelper` via `requireAddress(chainId, "escrow", …)`): `depositEscrow` approves then deposits; `withdrawFromEscrow` checks balance first; `authorizeEscrow` sets per-payee lock limits; `getUserFundsEscrow` / `getAuthorizationsEscrow` read state. **Escrow v2** (ocean.js escrow-v2 release / contracts `^3.2.0-rc.0`): `authorize` now **always overwrites** the on-chain record (it no longer no-ops when one exists — that is what makes renew/shorten/revoke reachable) and takes a trailing `expiryTimestamp` (unix seconds; `0` = indefinite, a past value revokes), surfaced as `authorizeEscrow --expiry`; `authorizeEscrowPayee` therefore dropped its old "already authorized → null tx" branch. `getAuthorizationsEscrow` prints the new 7th tuple field `expiryTimestamp`, and reads `Current Locked Amount` as **payer-funded only** (`P`); provider-sponsored tokens (`S`) live in a separate bucket. `getEscrowInfo [token]` is a read-only diagnostic using ERC-165 (`version`/`escrowKind`/`isEscrowLockSubsidy`/`isEscrowEnterprise`/`maxSponsorsPerLock`, plus `getSponsoredTotal`/`getReclaimable` and the enterprise `feeCollector`/`isTokenAllowed` when a token is given); it degrades gracefully against a legacy escrow. The CLI never creates locks itself (the node does at compute/service start), so `createLock`/`reLock`'s new `jobType`/`subsidyProviders` params are only relevant through the node; `--subsidyProviders` on `startCompute`/`startService`/`extendService` is what feeds pre-funded sponsorship. - **Access lists** (`AccesslistFactory` / `AccessListContract` from ocean.js): `createAccessList` deploys via the factory (address from `address.json`); membership is an ERC721 balance — `addToAccessList` mints/`batchMint`s NFTs, `checkAccessList` tests `balance > 0`, `removeFromAccessList` burns each token via `tokenOfOwnerByIndex`. - **Persistent storage** (`ProviderInstance.*PersistentStorage*`): bucket CRUD + file upload/list/get/delete. `addFileToBucket` streams the file with a progress logger and a 30-minute (`UPLOAD_TIMEOUT_MS`) abort timeout; buckets can be gated by an access-list address. - **Auth tokens**: `generateAuthToken` / `invalidateAuthToken` via `ProviderInstance`. diff --git a/README.md b/README.md index 8916122..d8c4778 100644 --- a/README.md +++ b/README.md @@ -596,6 +596,17 @@ Notes: --- +> **Escrow v2.** The escrow contracts now support **lock-time pre-funded sponsorship** (a subsidy +> provider can back part or all of a lock when it is created, so a fully-sponsored user can transact +> with no deposit) and **authorization expiry** (a payee key can be time-boxed or revoked). The CLI +> reflects this: `authorizeEscrow` takes an `--expiry` and re-running it overwrites the record +> (renew/shorten/revoke), `getAuthorizationsEscrow` prints the expiry, and `getEscrowInfo` reports +> the escrow's capabilities and the sponsored bucket. Reading escrow state, note that +> `getUserFunds().locked` and an authorization's `Current Locked Amount` now count only the payer's +> **own** locked funds — provider-sponsored tokens live in a separate sponsored bucket +> (`getEscrowInfo `). These commands require the Escrow v2 deployment; they still work (and +> degrade gracefully) against a legacy escrow. See the full change set in `PR_description.md`. + **Deposit to Escrow:** - **Positional:** @@ -640,6 +651,20 @@ Notes: - `maxLockedAmount`: Maximum amount that can be locked by payee - `maxLockSeconds`: Maximum lock duration in seconds - `maxLockCounts`: Maximum number of locks allowed +- Options: + - `-e, --expiry `: **(Escrow v2)** unix timestamp (seconds) after which the payee + can no longer create/extend locks. `0` = indefinite (default). Re-running `authorizeEscrow` + **overwrites** the existing authorization (renew/shorten); passing an `--expiry` in the past + **revokes** it. Claim and cancel are never gated by expiry, so existing locks stay claimable. + + Examples — revoke a payee, then re-grant for 1 hour: + + ```bash + # revoke now (any past timestamp works) + npm run cli authorizeEscrow 0x 0x 1000 3600 10 --expiry 1 + # re-authorize, expiring 1h from now + npm run cli authorizeEscrow 0x 0x 1000 3600 10 --expiry $(( $(date +%s) + 3600 )) + ``` --- @@ -651,6 +676,29 @@ Notes: - **Named Options:** `npm run cli getAuthorizationsEscrow --token 0x1234...tokenAddress --payee 0x5678...payeeAddress` +- Prints the current/max lock limits, current locks, and **(Escrow v2)** the authorization's + `expiryTimestamp` (`indefinite (0)`, or the ISO date, flagged `EXPIRED/revoked` when in the past). + Note that `Current Locked Amount` now reflects only the **payer-funded** portion of live locks — + any provider-sponsored amount lives in the separate sponsored bucket (see `getEscrowInfo`). + +--- + +**Get Escrow Info (Escrow v2):** + +- **Positional:** + `npm run cli getEscrowInfo` or `npm run cli getEscrowInfo 0x1234...tokenAddress` + +- **Named Options:** + `npm run cli getEscrowInfo --token 0x1234...tokenAddress --chainId 8453` + +- Reads the escrow deployment on the active (or `--chainId`) chain via ERC-165 capability + discovery and prints: the on-chain `version`, the `escrowKind` (`COMMUNITY` vs `ENTERPRISE`), + whether lock-time sponsorship (`IEscrowLockSubsidy`) and the enterprise fee gate + (`IEscrowEnterprise`) are supported, and `maxSponsorsPerLock`. When a `token` is supplied it also + prints the sponsored-bucket total and your reclaimable amount (lock-subsidy escrows), and the fee + collector + whether the token is allowed (enterprise escrows). Works against a legacy (pre-v2) + escrow too — it simply reports it as legacy. Alias: `escrowInfo`. + --- **Create Access List:** @@ -986,12 +1034,18 @@ status, never from bundled contract addresses. `-p, --payee ` `-m, --maxLockedAmount ` `-s, --maxLockSeconds ` - `-c, --maxLockCounts ` + `-c, --maxLockCounts ` + `-e, --expiry ` (Escrow v2; `0` = indefinite, a past value revokes) + `--chainId ` - **getAuthorizationsEscrow:** `-t, --token ` `-p, --payee ` +- **getEscrowInfo (escrowInfo):** + `[token]` / `-t, --token ` + `--chainId ` + - **createAccessList:** `-n, --name ` `-s, --symbol ` diff --git a/package-lock.json b/package-lock.json index bac8757..3885a70 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,9 +10,9 @@ "license": "Apache-2.0", "dependencies": { "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", - "@oceanprotocol/contracts": "^3.1.0", + "@oceanprotocol/contracts": "^3.2.0-rc.0", "@oceanprotocol/ddo-js": "^0.4.1", - "@oceanprotocol/lib": "9.3.0-next.2", + "@oceanprotocol/lib": "9.3.0-next.3", "axios": "^1.19.0", "chalk": "^4.1.2", "commander": "^13.1.0", @@ -1268,7 +1268,9 @@ } }, "node_modules/@oceanprotocol/contracts": { - "version": "3.1.0", + "version": "3.2.0-rc.0", + "resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-3.2.0-rc.0.tgz", + "integrity": "sha512-QBqSZz98AGqClr8HKKSmFFRrz8DvFhLT8swUWz+XbnTwgTXSnR2vg7UojLhAI10MbeSwfh37YcbGvdcnl3DRmA==", "license": "Apache-2.0" }, "node_modules/@oceanprotocol/ddo-js": { @@ -1283,9 +1285,9 @@ } }, "node_modules/@oceanprotocol/lib": { - "version": "9.3.0-next.2", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-9.3.0-next.2.tgz", - "integrity": "sha512-qDBYInhLU0JozO2DbIg94bFYLrts+wZLl5memDoaUFuuA8dQujqw99yg74JhhuG02Ju0KIv1EeNHiQHTb+H5HA==", + "version": "9.3.0-next.3", + "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-9.3.0-next.3.tgz", + "integrity": "sha512-5hTQjJEcDyyCIMDP+egDA/cMYhaV2SKDUIf3u6AZp3mR0Bv/MEydwspHCGo/7LLw8OlqwwHLWjr9fi6zcyFjFA==", "license": "Apache-2.0", "dependencies": { "@chainsafe/libp2p-noise": "^17.0.0", diff --git a/package.json b/package.json index 2706e80..8dc7267 100644 --- a/package.json +++ b/package.json @@ -75,9 +75,9 @@ }, "dependencies": { "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", - "@oceanprotocol/contracts": "^3.1.0", + "@oceanprotocol/contracts": "^3.2.0-rc.0", "@oceanprotocol/ddo-js": "^0.4.1", - "@oceanprotocol/lib": "9.3.0-next.2", + "@oceanprotocol/lib": "9.3.0-next.3", "axios": "^1.19.0", "chalk": "^4.1.2", "commander": "^13.1.0", diff --git a/src/cli.ts b/src/cli.ts index 1a77883..c6f9983 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -92,17 +92,18 @@ const HELP_GROUPS: HelpGroup[] = [ }, { heading: "Chains & RPC", - commands: [ - "addChain", - "removeChain", - "listChains", - "setChain", - "getChain", - ], + commands: ["addChain", "removeChain", "listChains", "setChain", "getChain"], }, { heading: "Assets — publish, edit, consume", - commands: ["publish", "publishAlgo", "editAsset", "allowAlgo", "getDDO", "download"], + commands: [ + "publish", + "publishAlgo", + "editAsset", + "allowAlgo", + "getDDO", + "download", + ], }, { heading: "Compute", @@ -145,6 +146,7 @@ const HELP_GROUPS: HelpGroup[] = [ "withdrawFromEscrow", "authorizeEscrow", "getAuthorizationsEscrow", + "getEscrowInfo", ], }, { @@ -188,14 +190,19 @@ function groupedCommandNames(): string[] { // vanish from help), one grouped twice, or a group naming a command that no longer exists. function assertHelpGroupsCoverAll(program: Command): void { const grouped = groupedCommandNames(); - const dupes = [...new Set(grouped.filter((n, i) => grouped.indexOf(n) !== i))]; + const dupes = [ + ...new Set(grouped.filter((n, i) => grouped.indexOf(n) !== i)), + ]; const registered = program.commands.map((c) => c.name()); const missing = registered.filter((n) => !grouped.includes(n)); const unknown = grouped.filter((n) => !registered.includes(n)); const problems: string[] = []; - if (dupes.length) problems.push(`listed in more than one group: ${dupes.join(", ")}`); - if (missing.length) problems.push(`not in any help group: ${missing.join(", ")}`); - if (unknown.length) problems.push(`grouped but not registered: ${unknown.join(", ")}`); + if (dupes.length) + problems.push(`listed in more than one group: ${dupes.join(", ")}`); + if (missing.length) + problems.push(`not in any help group: ${missing.join(", ")}`); + if (unknown.length) + problems.push(`grouped but not registered: ${unknown.join(", ")}`); if (problems.length) { throw new Error(`Help groups out of sync — ${problems.join("; ")}`); } @@ -213,7 +220,10 @@ export function formatGroupedHelp(program: Command): string { return ` ${label}${gap}${desc}`; }; - const out: string[] = [chalk.bold(`Ocean CLI v${pkg.version} — commands`), ""]; + const out: string[] = [ + chalk.bold(`Ocean CLI v${pkg.version} — commands`), + "", + ]; for (const group of HELP_GROUPS) { out.push(chalk.cyan.bold(group.heading)); for (const n of group.commands ?? []) out.push(line(n)); @@ -328,7 +338,9 @@ function resolveChainId(flag?: string | number): number { if (flag !== undefined && flag !== null && `${flag}`.trim() !== "") { const id = Number(flag); if (!Number.isInteger(id) || id <= 0) { - throw new Error(`Invalid --chainId "${flag}": must be a positive integer.`); + throw new Error( + `Invalid --chainId "${flag}": must be a positive integer.`, + ); } if (!hasChain(id)) { throw new Error( @@ -647,7 +659,9 @@ export async function createCLI() { const configured = nodeChains.filter((c) => hasChain(Number(c))); if (configured.length) { console.log( - chalk.green(` RPC configured for chain(s): ${configured.join(", ")}`), + chalk.green( + ` RPC configured for chain(s): ${configured.join(", ")}`, + ), ); } if (missing.length) { @@ -864,7 +878,9 @@ export async function createCLI() { program .command("setChain") .alias("useChain") - .description("Set the default (active) chain (must be registered; persists)") + .description( + "Set the default (active) chain (must be registered; persists)", + ) .argument("", "Chain id to make default") .option("-c, --chainId ", "Chain id to make default") .action(async (chainIdArg, options) => { @@ -1774,7 +1790,10 @@ export async function createCLI() { "Auto-confirm payment (true/false)", toBoolean, ) - .option("--chainId ", "Payment/escrow chain (default: active chain)") + .option( + "--chainId ", + "Payment/escrow chain (default: active chain)", + ) .option( "--subsidyProviders ", "Subsidy provider contract addresses (comma-separated) to claim against. Omit for node defaults; 'none' (or empty) for no subsidy.", @@ -2056,7 +2075,9 @@ export async function createCLI() { // Escrow authorization command program .command("authorizeEscrow") - .description("Authorize a payee to lock and claim funds from escrow") + .description( + "Authorize (or re-authorize) a payee to lock and claim funds from escrow. Re-running overwrites the existing limits (renew/shorten); pass a past --expiry to revoke", + ) .argument("", "Address of the token to authorize") .argument("", "Address of the payee to authorize") .argument("", "Maximum amount that can be locked by payee") @@ -2076,6 +2097,10 @@ export async function createCLI() { "-c, --maxLockCounts ", "Maximum number of locks allowed", ) + .option( + "-e, --expiry ", + "Escrow v2: unix timestamp (seconds) after which the payee can no longer create/extend locks. 0 = indefinite (default). A past timestamp revokes; claim/cancel are never gated by it", + ) .option("--chainId ", "Escrow chain (default: active chain)") .action( async ( @@ -2101,6 +2126,7 @@ export async function createCLI() { maxLockedAmountValue, maxLockSecondsValue, maxLockCountsValue, + options.expiry, ); if (!success) { @@ -2112,6 +2138,27 @@ export async function createCLI() { }, ); + // Escrow v2 diagnostics: escrow kind/version, ERC-165 capabilities, and (with a token) the + // sponsored bucket / enterprise fee gate. + program + .command("getEscrowInfo") + .alias("escrowInfo") + .description( + "Show escrow capabilities for the active chain (version, kind, lock-time sponsorship, enterprise fee gate). Pass a token to also read the sponsored bucket and fee gate", + ) + .argument( + "[token]", + "Optional token address to read the sponsored bucket / fee gate for", + ) + .option("-t, --token ", "Optional token address") + .option("--chainId ", "Escrow chain (default: active chain)") + .action(async (token, options) => { + const { signer, chainId } = await initializeSigner(); + const commands = new Commands(signer, chainId); + if ((await routeExplicit(commands, options.chainId)) === null) return; + await commands.getEscrowInfo(options.token || token); + }); + program .command("getAuthorizationsEscrow") .description("Get authorizations for escrow") @@ -2267,7 +2314,7 @@ export async function createCLI() { "-m, --maxLogs [maxLogs]", "Maximum number of logs to retrieve (default: 100, max: 1000)", ) - .action(async (output, last, from, to, options) => { + .action(async (output, last, from, to, maxLogs, options) => { const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); await commands.downloadNodeLogs([ @@ -2275,7 +2322,7 @@ export async function createCLI() { options.last || last, options.from || from, options.to || to, - options.maxLogs, + options.maxLogs || maxLogs, ]); }); @@ -2380,8 +2427,14 @@ export async function createCLI() { "--token ", "Restrict to payment-token address(es), comma-separated; applied to every --chain", ) - .option("--max-price ", "Drop paid results costing more than this (human units)") - .option("--duration ", "Assumed job duration for the cost estimate") + .option( + "--max-price ", + "Drop paid results costing more than this (human units)", + ) + .option( + "--duration ", + "Assumed job duration for the cost estimate", + ) .option( "--order-by ", "Order results: price | freeCapacity | resources | leastBusy", diff --git a/src/commands.ts b/src/commands.ts index 4c867f9..4903ace 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -555,7 +555,10 @@ export class Commands { ); } catch (error: unknown) { const message = error instanceof Error ? error.message : String(error); - console.error(chalk.red("Error getting Policy Server Object:"), message); + console.error( + chalk.red("Error getting Policy Server Object:"), + message, + ); return; } } @@ -3140,6 +3143,10 @@ export class Commands { maxLockedAmount: string, maxLockSeconds: string, maxLockCounts: string, + // Escrow v2: unix timestamp (seconds) after which the payee can no longer create/extend + // locks. Omitted/undefined → "0" (indefinite, the pre-v2 behaviour). A past timestamp + // revokes; claim and cancel are never gated by it, so funds are never stuck. + expiryTimestamp?: string, ) { try { // Neither the Escrow contract nor ocean.js rejects a zero/negative limit — @@ -3159,6 +3166,22 @@ export class Commands { } } + // expiryTimestamp is optional; when given it must be a non-negative integer (unix + // seconds). "0" is the indefinite default. A value in the past is allowed on purpose — + // that is how a revoke is expressed. + let expiry = "0"; + if (expiryTimestamp !== undefined && expiryTimestamp !== "") { + if (!/^\d+$/.test(expiryTimestamp.trim())) { + console.error( + chalk.red( + `expiryTimestamp must be a non-negative unix timestamp in seconds (got "${expiryTimestamp}"). Use 0 for indefinite.`, + ), + ); + return false; + } + expiry = expiryTimestamp.trim(); + } + const escrowAddress = requireAddress( Number(this.config.chainId), "escrow", @@ -3167,40 +3190,23 @@ export class Commands { const escrow = new EscrowContract(getAddress(escrowAddress), this.signer); - console.log("Authorizing payee..."); + // Escrow v2: authorize() always sends a transaction now — it creates OR overwrites the + // on-chain record (it no longer silently no-ops when one already exists). That is what + // makes renew / shorten / revoke reachable: re-authorizing updates the limits, and a past + // expiry revokes. So authorizeTx is always a TransactionResponse here (never null). + const expiryNote = + expiry === "0" + ? "indefinite" + : `expiry ${expiry} (${new Date(Number(expiry) * 1000).toISOString()})`; + console.log(`Authorizing payee... (${expiryNote})`); const authorizeTx = await escrow.authorize( getAddress(token), getAddress(payee), maxLockedAmount, maxLockSeconds, maxLockCounts, + expiry, ); - // ocean.js sends NO transaction when an authorization already exists for - // (payer, token, payee) — authorizeTx is null and the existing limits stay - // as they are. Say so explicitly: dereferencing null here used to surface - // as a TypeError under "Authorization failed", which reads like a chain - // error and hides the fact that the old, possibly lower, maxLockSeconds / - // maxLockedAmount / maxLockCounts are still in force. - if (!authorizeTx) { - const existing = await escrow.getAuthorizations( - getAddress(token), - await this.signer.getAddress(), - getAddress(payee), - ); - console.log( - chalk.yellow( - `Payee ${payee} is already authorized for token ${token} — the existing ` + - `authorization was left untouched (it cannot be raised or lowered here).`, - ), - ); - if (existing?.length) { - const a = existing[0]; - console.log( - ` maxLockedAmount (wei): ${a.maxLockedAmount} maxLockSeconds: ${a.maxLockSeconds} maxLockCounts: ${a.maxLockCounts}`, - ); - } - return true; - } await authorizeTx.wait(); console.log(`Successfully authorized payee ${payee} for token ${token}`); @@ -3248,16 +3254,129 @@ export class Commands { decimals, ); + // Escrow v2: the auth tuple gained a 7th field, expiryTimestamp (unix seconds; 0 = + // indefinite). A legacy (v1) escrow returns a 6-field tuple, so read defensively and treat + // a missing value as indefinite. + const expiryRaw = authorization.expiryTimestamp ?? authorization[6] ?? "0"; + const expirySeconds = Number(expiryRaw); + const expiryLabel = + !expirySeconds || expirySeconds === 0 + ? "indefinite (0)" + : `${expirySeconds} (${new Date(expirySeconds * 1000).toISOString()})${ + expirySeconds * 1000 < Date.now() ? " — EXPIRED/revoked" : "" + }`; + console.log("Authorizations found:"); - console.log(`- Current Locked Amount: ${Number(currentLockedAmount)}`); + // Escrow v2: currentLockedAmount reflects only the payer's OWN locked funds (P), not any + // provider-sponsored portion (S). The sponsored bucket is read via getEscrowInfo. + console.log( + `- Current Locked Amount (payer-funded): ${Number(currentLockedAmount)}`, + ); console.log(`- Current Locks: ${authorization.currentLocks}`); console.log(`- Max locked amount: ${Number(maxLockedAmount)}`); console.log(`- Max lock seconds: ${authorization.maxLockSeconds}`); console.log(`- Max lock counts: ${authorization.maxLockCounts}`); + console.log(`- Expiry: ${expiryLabel}`); return authorizations; } + /** + * Read-only Escrow v2 diagnostics for the active (or --chainId) chain. Uses ERC-165 capability + * discovery so it also prints something sensible against a legacy (pre-v2) escrow. When a token + * is supplied it additionally prints, for a lock-subsidy escrow, the sponsored bucket total and + * the signer's reclaimable amount, and for an enterprise escrow, the token's fee gate. + */ + public async getEscrowInfo(token?: string) { + const chainId = Number(this.config.chainId); + const escrowAddress = requireAddress(chainId, "escrow", "Escrow"); + const escrow = new EscrowContract( + getAddress(escrowAddress), + this.signer, + chainId, + ); + + console.log(`Escrow ${escrowAddress} (chain ${chainId}):`); + + // version() / escrowKind() only exist on a v2 escrow — a legacy escrow reverts or lacks the + // method, which surfaces as a thrown error; catch and report "legacy (pre-v2)". + let isV2 = true; + try { + const version = await escrow.version(); + console.log(`- Version: ${version}`); + } catch { + isV2 = false; + console.log("- Version: legacy (pre-v2, no on-chain version())"); + } + + if (isV2) { + try { + const kind = await escrow.escrowKind(); + console.log( + `- Kind: ${kind === 1 ? "ENTERPRISE (fee-gated)" : "COMMUNITY (permissionless)"}`, + ); + } catch { + /* escrowKind not available — ignore */ + } + } + + // supportsInterface() is safe against a legacy escrow (returns false on revert). + const lockSubsidy = await escrow.isEscrowLockSubsidy(); + const enterprise = await escrow.isEscrowEnterprise(); + console.log(`- Lock-time sponsorship (IEscrowLockSubsidy): ${lockSubsidy}`); + console.log(`- Enterprise (IEscrowEnterprise): ${enterprise}`); + + if (lockSubsidy) { + try { + const max = await escrow.maxSponsorsPerLock(); + console.log(`- Max sponsors per lock: ${max}`); + } catch { + /* ignore */ + } + } + + if (!token) { + if (lockSubsidy || enterprise) { + console.log( + chalk.gray( + "Pass a token address to also see the sponsored bucket / fee gate for that token.", + ), + ); + } + return; + } + + const tokenAddress = getAddress(token); + + if (lockSubsidy) { + try { + const sponsoredTotal = await escrow.getSponsoredTotal(tokenAddress); + const reclaimable = await escrow.getReclaimable( + await this.signer.getAddress(), + tokenAddress, + ); + console.log(`- Sponsored bucket total (${token}): ${sponsoredTotal}`); + console.log(`- Your reclaimable (${token}): ${reclaimable}`); + } catch (error) { + console.error(chalk.yellow("Could not read sponsorship state:"), error); + } + } + + if (enterprise) { + try { + const collector = await escrow.feeCollector(); + const allowed = await escrow.isTokenAllowed(tokenAddress); + console.log(`- Fee collector: ${collector}`); + console.log(`- Token allowed (${token}): ${allowed}`); + } catch (error) { + console.error( + chalk.yellow("Could not read enterprise fee gate:"), + error, + ); + } + } + } + // Map the user's --jobType to the on-chain JobType enum (NONE=0, COMPUTE=1, SERVICE=2, // fixed by the escrow claim ABI). Accepts a name or a raw number; throws on anything else. private mapJobType(jt?: string): number | undefined { diff --git a/test/escrow.test.ts b/test/escrow.test.ts index 2582225..1559030 100644 --- a/test/escrow.test.ts +++ b/test/escrow.test.ts @@ -137,5 +137,56 @@ describe("Ocean CLI Escrow", function () { expect(output).to.include("Max locked amount: 1"); expect(output).to.include("Max lock seconds: 3600"); expect(output).to.include("Max lock counts: 10"); + // Escrow v2: the authorization now carries an expiry; the one set above was indefinite. + expect(output).to.include("Expiry:"); + }); + + it("should re-authorize a payee with an expiry (Escrow v2 overwrite)", async function () { + // A future expiry. authorize() in Escrow v2 overwrites the existing record instead of + // no-op'ing, so this renews the authorization with a bounded expiry. + const expiry = Math.floor(Date.now() / 1000) + 3600; + + const output = await runCommand( + `npm run cli authorizeEscrow ${tokenAddress} ${payee.address} 1 3600 10 --expiry ${expiry}`, + ); + expect(output).to.include("Authorization successful"); + + const info = await runCommand( + `npm run cli getAuthorizationsEscrow ${tokenAddress} ${payee.address}`, + ); + // Expiry is now a concrete timestamp, not "indefinite (0)". + expect(info).to.include("Expiry:"); + expect(info).to.not.include("indefinite (0)"); + }); + + it("should revoke a payee with a past expiry (Escrow v2)", async function () { + // A timestamp in the past revokes: the payee can no longer create new locks, but existing + // locks stay claimable/cancellable. + const output = await runCommand( + `npm run cli authorizeEscrow ${tokenAddress} ${payee.address} 1 3600 10 --expiry 1`, + ); + expect(output).to.include("Authorization successful"); + + const info = await runCommand( + `npm run cli getAuthorizationsEscrow ${tokenAddress} ${payee.address}`, + ); + expect(info).to.include("EXPIRED/revoked"); + }); + + it("should reject a non-numeric expiry", async function () { + const output = await runCommand( + `npm run cli authorizeEscrow ${tokenAddress} ${payee.address} 1 3600 10 --expiry not-a-timestamp`, + ); + expect(output).to.include("Authorization failed"); + }); + + it("should report escrow capabilities via getEscrowInfo", async function () { + const output = await runCommand( + `npm run cli getEscrowInfo ${tokenAddress}`, + ); + // Against the Escrow v2 deployment this prints the version and the ERC-165 capability flags. + expect(output).to.include("Version:"); + expect(output).to.include("Lock-time sponsorship (IEscrowLockSubsidy):"); + expect(output).to.include("Enterprise (IEscrowEnterprise):"); }); }); From 36406d9260180cc5aacc69a1e4f715b829d000b1 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Thu, 8 Oct 2026 14:48:38 +0300 Subject: [PATCH 05/24] use custom contracts and node --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbe6d54..c49f004 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,6 +141,9 @@ jobs: working-directory: ${{ github.workspace }}/barge run: | bash -x start_ocean.sh --with-typesense 2>&1 > start_ocean.log & + env: + NODE_VERSION: pr-1479 + CONTRACTS_VERSION: 3.2.0-rc.0 - run: npm ci - run: npm run build - run: docker image ls From 0d1399cf664fdfd3d30f5d415f929a245ebaabf4 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Thu, 8 Oct 2026 15:41:54 +0300 Subject: [PATCH 06/24] fix test --- test/escrow.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/escrow.test.ts b/test/escrow.test.ts index 1559030..e5bffcb 100644 --- a/test/escrow.test.ts +++ b/test/escrow.test.ts @@ -147,7 +147,7 @@ describe("Ocean CLI Escrow", function () { const expiry = Math.floor(Date.now() / 1000) + 3600; const output = await runCommand( - `npm run cli authorizeEscrow ${tokenAddress} ${payee.address} 1 3600 10 --expiry ${expiry}`, + `npm run cli -- authorizeEscrow ${tokenAddress} ${payee.address} 1 3600 10 --expiry ${expiry}`, ); expect(output).to.include("Authorization successful"); @@ -163,7 +163,7 @@ describe("Ocean CLI Escrow", function () { // A timestamp in the past revokes: the payee can no longer create new locks, but existing // locks stay claimable/cancellable. const output = await runCommand( - `npm run cli authorizeEscrow ${tokenAddress} ${payee.address} 1 3600 10 --expiry 1`, + `npm run cli -- authorizeEscrow ${tokenAddress} ${payee.address} 1 3600 10 --expiry 1`, ); expect(output).to.include("Authorization successful"); @@ -175,7 +175,7 @@ describe("Ocean CLI Escrow", function () { it("should reject a non-numeric expiry", async function () { const output = await runCommand( - `npm run cli authorizeEscrow ${tokenAddress} ${payee.address} 1 3600 10 --expiry not-a-timestamp`, + `npm run cli -- authorizeEscrow ${tokenAddress} ${payee.address} 1 3600 10 --expiry not-a-timestamp`, ); expect(output).to.include("Authorization failed"); }); From d45b938536237e0146fb2690eb3b37e872e81448 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Thu, 8 Oct 2026 15:43:53 +0300 Subject: [PATCH 07/24] fix CLAUDE.md --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index e274564..d830cef 100755 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -185,7 +185,7 @@ The `startCompute` **action in `cli.ts`** orchestrates a two-phase flow (not a s ### Escrow, access lists, persistent storage, auth, node logs -- **Escrow** (`EscrowContract` from ocean.js, address from `ConfigHelper` via `requireAddress(chainId, "escrow", …)`): `depositEscrow` approves then deposits; `withdrawFromEscrow` checks balance first; `authorizeEscrow` sets per-payee lock limits; `getUserFundsEscrow` / `getAuthorizationsEscrow` read state. **Escrow v2** (ocean.js escrow-v2 release / contracts `^3.2.0-rc.0`): `authorize` now **always overwrites** the on-chain record (it no longer no-ops when one exists — that is what makes renew/shorten/revoke reachable) and takes a trailing `expiryTimestamp` (unix seconds; `0` = indefinite, a past value revokes), surfaced as `authorizeEscrow --expiry`; `authorizeEscrowPayee` therefore dropped its old "already authorized → null tx" branch. `getAuthorizationsEscrow` prints the new 7th tuple field `expiryTimestamp`, and reads `Current Locked Amount` as **payer-funded only** (`P`); provider-sponsored tokens (`S`) live in a separate bucket. `getEscrowInfo [token]` is a read-only diagnostic using ERC-165 (`version`/`escrowKind`/`isEscrowLockSubsidy`/`isEscrowEnterprise`/`maxSponsorsPerLock`, plus `getSponsoredTotal`/`getReclaimable` and the enterprise `feeCollector`/`isTokenAllowed` when a token is given); it degrades gracefully against a legacy escrow. The CLI never creates locks itself (the node does at compute/service start), so `createLock`/`reLock`'s new `jobType`/`subsidyProviders` params are only relevant through the node; `--subsidyProviders` on `startCompute`/`startService`/`extendService` is what feeds pre-funded sponsorship. +- **Escrow** (`EscrowContract` from ocean.js, address from `ConfigHelper` via `requireAddress(chainId, "escrow", …)`): `depositEscrow` approves then deposits; `withdrawFromEscrow` checks balance first; `authorizeEscrow` sets per-payee lock limits; `getUserFundsEscrow` / `getAuthorizationsEscrow` read state. **Escrow v2** (ocean.js escrow-v2 release / contracts `^3.2.0-rc.0`): `authorize` now **always overwrites** the on-chain record (it no longer no-ops when one exists — that is what makes renew/shorten/revoke reachable) and takes a trailing `expiryTimestamp` (unix seconds; `0` = indefinite, a past value revokes), surfaced as `authorizeEscrow --expiry`; `authorizeEscrowPayee` therefore dropped its old "already authorized → null tx" branch. `getAuthorizationsEscrow` prints the new 7th tuple field `expiryTimestamp`, and reads `Current Locked Amount` as **payer-funded only** (`P`); provider-sponsored tokens (`S`) live in a separate bucket. `getEscrowInfo [token]` is a read-only diagnostic: it reads `version`/`escrowKind`/`maxSponsorsPerLock` directly and feature-detects `isEscrowLockSubsidy`/`isEscrowEnterprise` via ERC-165 (`supportsInterface`), plus `getSponsoredTotal`/`getReclaimable` and the enterprise `feeCollector`/`isTokenAllowed` when a token is given; it degrades gracefully against a legacy escrow. The CLI never creates locks itself (the node does at compute/service start), so `createLock`/`reLock`'s new `jobType`/`subsidyProviders` params are only relevant through the node; `--subsidyProviders` on `startCompute`/`startService`/`extendService` is what feeds pre-funded sponsorship. - **Access lists** (`AccesslistFactory` / `AccessListContract` from ocean.js): `createAccessList` deploys via the factory (address from `address.json`); membership is an ERC721 balance — `addToAccessList` mints/`batchMint`s NFTs, `checkAccessList` tests `balance > 0`, `removeFromAccessList` burns each token via `tokenOfOwnerByIndex`. - **Persistent storage** (`ProviderInstance.*PersistentStorage*`): bucket CRUD + file upload/list/get/delete. `addFileToBucket` streams the file with a progress logger and a 30-minute (`UPLOAD_TIMEOUT_MS`) abort timeout; buckets can be gated by an access-list address. - **Auth tokens**: `generateAuthToken` / `invalidateAuthToken` via `ProviderInstance`. From 89b5ac57386df59968a4bf167bf8ec851c66546d Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Thu, 8 Oct 2026 16:04:29 +0300 Subject: [PATCH 08/24] fix lock --- package-lock.json | 1652 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 1605 insertions(+), 47 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3885a70..a18e4e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,22 +45,32 @@ }, "node_modules/@adraffy/ens-normalize": { "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz", + "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==", "license": "MIT" }, "node_modules/@chainsafe/as-chacha20poly1305": { "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@chainsafe/as-chacha20poly1305/-/as-chacha20poly1305-0.1.0.tgz", + "integrity": "sha512-BpNcL8/lji/GM3+vZ/bgRWqJ1q5kwvTFmGPk7pxm/QQZDbaMI98waOHjEymTjq2JmdD/INdNBFOVSyJofXg7ew==", "license": "Apache-2.0" }, "node_modules/@chainsafe/as-sha256": { "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@chainsafe/as-sha256/-/as-sha256-1.2.5.tgz", + "integrity": "sha512-8LzmWxBC/2O5BgbP+aRom/FaDJMrM04VZMlVIivYTc6yNQKYrONmIv27m3q/1VBgxrfrNNqmibitb2hE2tQzIw==", "license": "Apache-2.0" }, "node_modules/@chainsafe/is-ip": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@chainsafe/is-ip/-/is-ip-2.1.0.tgz", + "integrity": "sha512-KIjt+6IfysQ4GCv66xihEitBjvhU/bixbbbFxdJ1sqCp4uJ0wuZiYBPhksZoy4lfaF0k9cwNzY5upEW/VWdw3w==", "license": "MIT" }, "node_modules/@chainsafe/libp2p-noise": { "version": "17.0.0", + "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-17.0.0.tgz", + "integrity": "sha512-vwrmY2Y+L1xYhIDiEpl61KHxwrLCZoXzTpwhyk34u+3+6zCAZPL3GxH3i2cs+u5IYNoyLptORdH17RKFXy7upA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@chainsafe/as-chacha20poly1305": "^0.1.0", @@ -79,10 +89,12 @@ } }, "node_modules/@chainsafe/libp2p-noise/node_modules/@noble/curves": { - "version": "2.4.0", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-2.3.0.tgz", + "integrity": "sha512-v7cY+4oWYPQszRj6ZFGzTVL7uP2TaLo1xMhWHzYC5wj0ZhOXQ5x+sBre8rF3hi8cAoi0bh1qXoovoOkdFtvqEg==", "license": "MIT", "dependencies": { - "@noble/hashes": "2.4.0" + "@noble/hashes": "2.3.0" }, "engines": { "node": ">= 20.19.0" @@ -92,7 +104,9 @@ } }, "node_modules/@chainsafe/libp2p-noise/node_modules/@noble/hashes": { - "version": "2.4.0", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.3.0.tgz", + "integrity": "sha512-oN+QwyX7VSHotibwubG3kpzbwKrfnyR6OOO+3Nk/53ADL7FmgHHz4TgrbaYKvvOw09u6QTx0oiH1cNCIOuN0CQ==", "license": "MIT", "engines": { "node": ">= 20.19.0" @@ -103,10 +117,14 @@ }, "node_modules/@chainsafe/libp2p-noise/node_modules/multiformats": { "version": "13.4.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.4.2.tgz", + "integrity": "sha512-eh6eHCrRi1+POZ3dA+Dq1C6jhP1GNtr9CRINMb67OKzqW9I5DUuZM/3jLPlzhgpGeiNUlEGEbkCYChXMCc/8DQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/@chainsafe/libp2p-noise/node_modules/uint8arrays": { "version": "5.1.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.1.tgz", + "integrity": "sha512-9muQwa4wZG4dKi9gMAIBtnk2Pw87SRpvWTH6lOGm19V2Uqxr4uomUf2PGqPnWc+qs06sN8owUU4jfcoWOcfwVQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "multiformats": "^13.0.0" @@ -114,6 +132,8 @@ }, "node_modules/@chainsafe/libp2p-yamux": { "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-yamux/-/libp2p-yamux-8.0.1.tgz", + "integrity": "sha512-pJsqmUg1cZRJZn/luAtQaq0uLcVfExo51Rg7iRtAEceNYtsKUi/exfegnvTBzTnF1CGmTzVEV3MCLsRhqiNyoA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.0.0", @@ -124,6 +144,8 @@ }, "node_modules/@chainsafe/netmask": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@chainsafe/netmask/-/netmask-2.0.0.tgz", + "integrity": "sha512-I3Z+6SWUoaljh3TBzCnCxjlUyN8tA+NAk5L6m9IxvCf1BENQTePzPMis97CoN/iMW1St3WN+AWCCRp+TTBRiDg==", "license": "MIT", "dependencies": { "@chainsafe/is-ip": "^2.0.1" @@ -131,6 +153,8 @@ }, "node_modules/@digitalbazaar/http-client": { "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@digitalbazaar/http-client/-/http-client-4.4.0.tgz", + "integrity": "sha512-ODhCGmElUPmR3IR+KZmBNkRAFyjJ01rxvk2E+/qQ2h2EGPJH5k6bz3N24ympGc5+i4YCGk/ipIpmkwc0+iSmRg==", "license": "BSD-3-Clause", "dependencies": { "ky": "^1.14.3", @@ -142,6 +166,8 @@ }, "node_modules/@dnsquery/dns-packet": { "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@dnsquery/dns-packet/-/dns-packet-6.1.1.tgz", + "integrity": "sha512-WXTuFvL3G+74SchFAtz3FgIYVOe196ycvGsMgvSH/8Goptb1qpIQtIuM4SOK9G9lhMWYpHxnXyy544ZhluFOew==", "license": "MIT", "dependencies": { "@leichtgewicht/ip-codec": "^2.0.4", @@ -151,8 +177,282 @@ "node": ">=6" } }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz", + "integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz", + "integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz", + "integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz", + "integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz", + "integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz", + "integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz", + "integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz", + "integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz", + "integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz", + "integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz", + "integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz", + "integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz", + "integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz", + "integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz", + "integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz", + "integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, "node_modules/@esbuild/linux-x64": { "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz", + "integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==", "cpu": [ "x64" ], @@ -166,8 +466,163 @@ "node": ">=18" } }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz", + "integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz", + "integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz", + "integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz", + "integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz", + "integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz", + "integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz", + "integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz", + "integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz", + "integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.10.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz", + "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==", "dev": true, "license": "MIT", "dependencies": { @@ -185,6 +640,8 @@ }, "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, "license": "Apache-2.0", "engines": { @@ -196,6 +653,8 @@ }, "node_modules/@eslint-community/regexpp": { "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", "dev": true, "license": "MIT", "engines": { @@ -204,6 +663,8 @@ }, "node_modules/@eslint/config-array": { "version": "0.23.5", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", + "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -217,6 +678,8 @@ }, "node_modules/@eslint/config-helpers": { "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz", + "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -228,6 +691,8 @@ }, "node_modules/@eslint/core": { "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", + "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -239,6 +704,8 @@ }, "node_modules/@eslint/js": { "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", + "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==", "dev": true, "license": "MIT", "engines": { @@ -258,6 +725,8 @@ }, "node_modules/@eslint/object-schema": { "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz", + "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==", "dev": true, "license": "Apache-2.0", "engines": { @@ -266,6 +735,8 @@ }, "node_modules/@eslint/plugin-kit": { "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz", + "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -278,6 +749,8 @@ }, "node_modules/@humanfs/core": { "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -289,6 +762,8 @@ }, "node_modules/@humanfs/node": { "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -302,6 +777,8 @@ }, "node_modules/@humanfs/types": { "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", "dev": true, "license": "Apache-2.0", "engines": { @@ -310,6 +787,8 @@ }, "node_modules/@humanwhocodes/module-importer": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -322,6 +801,8 @@ }, "node_modules/@humanwhocodes/retry": { "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", "dev": true, "license": "Apache-2.0", "engines": { @@ -334,6 +815,8 @@ }, "node_modules/@inquirer/ansi": { "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.7.tgz", + "integrity": "sha512-3eTuUO1vH2cZm2ZKHeQxnOqlTi9EfZDGgIe3BL3I4u+rJHocr9Fz86M4fjYABPvFnQG/gGK551HqDiIcETwU6Q==", "dev": true, "license": "MIT", "engines": { @@ -342,6 +825,8 @@ }, "node_modules/@inquirer/checkbox": { "version": "5.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-5.2.2.tgz", + "integrity": "sha512-Y5/bAScMy5Y+9isCx0SKbyJebMCaXXX5em0kxkj115eZNscgV9srOHrgyfS0e5xAVymIfOh9piYBKDILktsMMg==", "dev": true, "license": "MIT", "dependencies": { @@ -364,6 +849,8 @@ }, "node_modules/@inquirer/confirm": { "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.2.0.tgz", + "integrity": "sha512-SKXarWrYhtpqOEctf9XGCGy29QjsvJAM0Aq9ZR9z4Ns94OmpqudOly+aSEfNqUf9SwsQaUgY9+Z8hyzG0xX8fw==", "dev": true, "license": "MIT", "dependencies": { @@ -384,6 +871,8 @@ }, "node_modules/@inquirer/core": { "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-12.0.0.tgz", + "integrity": "sha512-+nnvFEXIB08CZNVXpvW3B+zHW96QXvGUjNKJ8NJIPqAZi5Kd4WhYt2S3C234ReepG1qw2HOlEUbjYVHBowXObA==", "dev": true, "license": "MIT", "dependencies": { @@ -409,6 +898,8 @@ }, "node_modules/@inquirer/editor": { "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-5.3.0.tgz", + "integrity": "sha512-nnsP/IdJ8s83q7ZuObmgn12QM+uLCkab9E0Oordojbn62WUg1c+v9Ou/F/057pgh0ppX0W+Hj5bO/Dp5hsxQtA==", "dev": true, "license": "MIT", "dependencies": { @@ -430,6 +921,8 @@ }, "node_modules/@inquirer/expand": { "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-5.1.2.tgz", + "integrity": "sha512-OWIH1IyyWqEKIyqC9Xy+Bnga7NkGMovFdo4atYZMUOTRqf6rO2WCv9E/1MyzvOErDBCxs+9UFliRUDc50xs/jw==", "dev": true, "license": "MIT", "dependencies": { @@ -450,6 +943,8 @@ }, "node_modules/@inquirer/external-editor": { "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-3.0.4.tgz", + "integrity": "sha512-tZbbaK2ovq6vlrRBNQvjrypmrED/p5x2ncIHQ79cD55tei3dD96v5glMMA+6tiq7K104i/25DVYKWVPJuV6ptA==", "dev": true, "license": "MIT", "dependencies": { @@ -470,6 +965,8 @@ }, "node_modules/@inquirer/figures": { "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.8.tgz", + "integrity": "sha512-tApbon79GM9ry56ja/Ud3SY2CL4TQsao9fIwDQbgTeNY55025GdMzQ2+UdegV/lx51VNGUB59M0v0nMpybYY4Q==", "dev": true, "license": "MIT", "engines": { @@ -478,6 +975,8 @@ }, "node_modules/@inquirer/input": { "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-5.1.3.tgz", + "integrity": "sha512-F/BZHtyEzP+HO+IGVd4AjBRgvX/ywm42bx8S0+dENk2YclzE9tJ3X/15THwtT6ehApmKvdYDMsVTuyyDod0gOQ==", "dev": true, "license": "MIT", "dependencies": { @@ -498,6 +997,8 @@ }, "node_modules/@inquirer/number": { "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-4.2.0.tgz", + "integrity": "sha512-ew+fSDijsQ/WhD4TV3XLb+if400cDuzTzHfGR8sTNBXkK9CYDWoGE8fhaO8GbT312pNv1AJEOsDxy/z/HVettA==", "dev": true, "license": "MIT", "dependencies": { @@ -518,6 +1019,8 @@ }, "node_modules/@inquirer/password": { "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-5.1.2.tgz", + "integrity": "sha512-nSdufycW8xynEVssFkNQEYIzTySilog0UlfOVRwh3pXzPSk4frXUT2jZWjHnKae6RU9PaoF9wfy1pGwewQuqGw==", "dev": true, "license": "MIT", "dependencies": { @@ -539,6 +1042,8 @@ }, "node_modules/@inquirer/prompts": { "version": "8.5.2", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-8.5.2.tgz", + "integrity": "sha512-IYR/3C/paEVVQYQvdDlFZVjRCJVYHHON0XXMH91KO9GSxs0TdKYWlUdvfQl2EfAHDxUaN3IBffkE/BDTh5nJ6g==", "dev": true, "license": "MIT", "dependencies": { @@ -567,6 +1072,8 @@ }, "node_modules/@inquirer/rawlist": { "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-5.3.2.tgz", + "integrity": "sha512-oPSKrYK1X1bMkjXDzIKHUkJp195LFSfgbnVtXnjSKGFjrCbS6I+wyvfAZTwKE9BSt3HwWgfD7JfsXALBgCogzQ==", "dev": true, "license": "MIT", "dependencies": { @@ -587,6 +1094,8 @@ }, "node_modules/@inquirer/search": { "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-4.3.0.tgz", + "integrity": "sha512-HFxXE5w727ctSUcAwrDquftJGjMgu36OeV5SHEXMlr2j/ahzmRX9xSEeVolV8tzYnTf45cg6vGkdMMRdm3RPhQ==", "dev": true, "license": "MIT", "dependencies": { @@ -608,6 +1117,8 @@ }, "node_modules/@inquirer/select": { "version": "5.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-5.2.2.tgz", + "integrity": "sha512-RkI8dRHWt+bh04oLixvF1kFzKC7e5rqJoHKkzcqSHATebBXFC6GmrT8ddbVkgSzLV0HnHs2cPFuBINr8otij8Q==", "dev": true, "license": "MIT", "dependencies": { @@ -630,6 +1141,8 @@ }, "node_modules/@inquirer/type": { "version": "4.0.7", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.7.tgz", + "integrity": "sha512-t28inv14nMQ1PhKpsJPY+kEs/c00qzeCOS2gTNRyTjG5d6qsVA2fItxW4hkvGZ5lvanGLdtCzVIx5dwdRpN1+g==", "dev": true, "license": "MIT", "engines": { @@ -646,6 +1159,8 @@ }, "node_modules/@isaacs/cliui": { "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", "dev": true, "license": "ISC", "dependencies": { @@ -662,6 +1177,8 @@ }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", "dev": true, "license": "MIT", "engines": { @@ -673,6 +1190,8 @@ }, "node_modules/@isaacs/cliui/node_modules/strip-ansi": { "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, "license": "MIT", "dependencies": { @@ -687,10 +1206,14 @@ }, "node_modules/@leichtgewicht/ip-codec": { "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", + "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", "license": "MIT" }, "node_modules/@libp2p/bootstrap": { "version": "12.0.32", + "resolved": "https://registry.npmjs.org/@libp2p/bootstrap/-/bootstrap-12.0.32.tgz", + "integrity": "sha512-MpGPeijiYP7a//EsbcrWAuWjHNoGhIqv4ONcGXkuTgSCJbJVWpZrR2uA+I/UW7wW0UB4a3PmHJWAd4klMgZqlA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.3.0", @@ -703,6 +1226,8 @@ }, "node_modules/@libp2p/circuit-relay-v2": { "version": "4.2.13", + "resolved": "https://registry.npmjs.org/@libp2p/circuit-relay-v2/-/circuit-relay-v2-4.2.13.tgz", + "integrity": "sha512-AGEzj72W7Ae5eizaM+HeDzJBR28zK4yYp4BYvUOHQViT62W97FIITo/9Gc5rlkKti+gJJAurBm3cHV4A8Wcoxw==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/crypto": "^5.1.23", @@ -727,6 +1252,8 @@ }, "node_modules/@libp2p/circuit-relay-v2/node_modules/protons-runtime": { "version": "7.1.2", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.1.2.tgz", + "integrity": "sha512-j7Y7MfCwPCxYwopyqDt8+CoJULzdajSBrFAzzfBHEhOTfdvOJ2z1QLK9aK34bSBz6V/9JAAlrsc/rFkIbqppuw==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -736,6 +1263,8 @@ }, "node_modules/@libp2p/circuit-relay-v2/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -743,6 +1272,8 @@ }, "node_modules/@libp2p/crypto": { "version": "5.1.23", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-5.1.23.tgz", + "integrity": "sha512-u6XVMD1YpUJgjS5MAayrxlzi+hQcj3FHY0wS6/M/T93ntyCW13BmmRzFb2ESamk65PEuSCAChmQeSzRV2sh2rQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.3.0", @@ -755,10 +1286,12 @@ } }, "node_modules/@libp2p/crypto/node_modules/@noble/curves": { - "version": "2.4.0", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-2.3.0.tgz", + "integrity": "sha512-v7cY+4oWYPQszRj6ZFGzTVL7uP2TaLo1xMhWHzYC5wj0ZhOXQ5x+sBre8rF3hi8cAoi0bh1qXoovoOkdFtvqEg==", "license": "MIT", "dependencies": { - "@noble/hashes": "2.4.0" + "@noble/hashes": "2.3.0" }, "engines": { "node": ">= 20.19.0" @@ -768,7 +1301,9 @@ } }, "node_modules/@libp2p/crypto/node_modules/@noble/hashes": { - "version": "2.4.0", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.3.0.tgz", + "integrity": "sha512-oN+QwyX7VSHotibwubG3kpzbwKrfnyR6OOO+3Nk/53ADL7FmgHHz4TgrbaYKvvOw09u6QTx0oiH1cNCIOuN0CQ==", "license": "MIT", "engines": { "node": ">= 20.19.0" @@ -778,7 +1313,9 @@ } }, "node_modules/@libp2p/crypto/node_modules/protons-runtime": { - "version": "7.1.2", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.0.0.tgz", + "integrity": "sha512-r/e72006xoVND4Uvf1aIs4OQOkJaASBU3ip4DzOWAktoKAkTiOYqKoS3TYMBm8HnnYU8+h0uEzr5gIRwk/pmTg==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -788,6 +1325,8 @@ }, "node_modules/@libp2p/crypto/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -795,6 +1334,8 @@ }, "node_modules/@libp2p/identify": { "version": "4.1.14", + "resolved": "https://registry.npmjs.org/@libp2p/identify/-/identify-4.1.14.tgz", + "integrity": "sha512-c7oU0DSKzkMNsanruOQc4Zy6mSf3fq8/W+4E/I936HiHZc/LIbUuCWaxbgmQexdfKqECH1qH4q9IwaCUWmjPMQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/crypto": "^5.1.23", @@ -815,6 +1356,8 @@ }, "node_modules/@libp2p/identify/node_modules/protons-runtime": { "version": "7.1.2", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.1.2.tgz", + "integrity": "sha512-j7Y7MfCwPCxYwopyqDt8+CoJULzdajSBrFAzzfBHEhOTfdvOJ2z1QLK9aK34bSBz6V/9JAAlrsc/rFkIbqppuw==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -824,6 +1367,8 @@ }, "node_modules/@libp2p/identify/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -831,6 +1376,8 @@ }, "node_modules/@libp2p/interface": { "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-3.3.0.tgz", + "integrity": "sha512-SXahM/4IgpiFKTtocbXYSTA1wEUVjktmT1yBCzBbc2Vgsu1VBCg6SvsFmXo2Hbeyev3D8EU+y3uaCKDB43C/Vg==", "license": "Apache-2.0 OR MIT", "dependencies": { "@multiformats/dns": "^1.0.6", @@ -843,6 +1390,8 @@ }, "node_modules/@libp2p/interface-internal": { "version": "3.1.13", + "resolved": "https://registry.npmjs.org/@libp2p/interface-internal/-/interface-internal-3.1.13.tgz", + "integrity": "sha512-+vjQzpQl+0uoWCyNwV5NDnv1RAK9LDeWGeMbx/Fl2ZWrndtuFUPa9LxwqHXrTly6YOhgUatSzVqZBWnrQ1PxGg==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.3.0", @@ -853,6 +1402,8 @@ }, "node_modules/@libp2p/interface/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -860,6 +1411,8 @@ }, "node_modules/@libp2p/kad-dht": { "version": "16.4.5", + "resolved": "https://registry.npmjs.org/@libp2p/kad-dht/-/kad-dht-16.4.5.tgz", + "integrity": "sha512-Pxmk3pIfe5Ih1xr+CY1uzw8AXRY+2VI6p3iebM4ljueu+dovEPIahW8tq4F2iNHIQftuc9Svncw4JikwrU7I1w==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/crypto": "^5.1.23", @@ -897,6 +1450,8 @@ }, "node_modules/@libp2p/kad-dht/node_modules/protons-runtime": { "version": "7.1.2", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.1.2.tgz", + "integrity": "sha512-j7Y7MfCwPCxYwopyqDt8+CoJULzdajSBrFAzzfBHEhOTfdvOJ2z1QLK9aK34bSBz6V/9JAAlrsc/rFkIbqppuw==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -906,6 +1461,8 @@ }, "node_modules/@libp2p/kad-dht/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -913,6 +1470,8 @@ }, "node_modules/@libp2p/logger": { "version": "6.2.13", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-6.2.13.tgz", + "integrity": "sha512-+tkZuRPoiFdh+frG//3hQ3goV1uMzRblpZ+mwtezgLXkRNqB5YKBLl+c/rtrurwAUqjCuI/yoEPJBiCizg2z6w==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.3.0", @@ -924,6 +1483,8 @@ }, "node_modules/@libp2p/multistream-select": { "version": "7.0.28", + "resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-7.0.28.tgz", + "integrity": "sha512-X6rmxeAlFeTDHDc4IPujz+y9TdA8cSMFfWyGJfxdIbQpDc1PwZI/Ttt3YWp0LAT9sbSYVFaWA6cGTN9EnMWtGQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.3.0", @@ -935,6 +1496,8 @@ }, "node_modules/@libp2p/multistream-select/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -942,6 +1505,8 @@ }, "node_modules/@libp2p/peer-collections": { "version": "7.0.28", + "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-7.0.28.tgz", + "integrity": "sha512-+evafZ5oSnGRfB7z+ycf09ehzNhCKoOZaiHgi6TpnDitpRQM5KQeN0H9Ep2uNJtzyW944HOG41BqcSaHbEHv7Q==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.3.0", @@ -952,6 +1517,8 @@ }, "node_modules/@libp2p/peer-id": { "version": "6.0.15", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-6.0.15.tgz", + "integrity": "sha512-aIbYJcldMNOIzmm9J57aESjZInYFdrQ9AY0ij+qn0Oam2vBxDfEIJZxJu+JzVkB2rVvT+FHDQXKWT2nAqNgB8w==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/crypto": "^5.1.23", @@ -962,6 +1529,8 @@ }, "node_modules/@libp2p/peer-record": { "version": "9.0.16", + "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-9.0.16.tgz", + "integrity": "sha512-J4QoPr0F1v6xqjHjAJ9KPbg4jdDlGutDk2K3Km6+o0nWzZCgCGeSEIDOO2UvPa2bFoZTL62cD73fn8tm5K06cg==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/crypto": "^5.1.23", @@ -977,6 +1546,8 @@ }, "node_modules/@libp2p/peer-record/node_modules/protons-runtime": { "version": "7.1.2", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.1.2.tgz", + "integrity": "sha512-j7Y7MfCwPCxYwopyqDt8+CoJULzdajSBrFAzzfBHEhOTfdvOJ2z1QLK9aK34bSBz6V/9JAAlrsc/rFkIbqppuw==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -986,6 +1557,8 @@ }, "node_modules/@libp2p/peer-record/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -993,6 +1566,8 @@ }, "node_modules/@libp2p/peer-store": { "version": "12.0.28", + "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-12.0.28.tgz", + "integrity": "sha512-dj4qRhN01kml/It5/4P4DVcjfEZXJ2uZVVItCrs2YBGG2HLEYfWQZYROVbTCXDOCWwZK46aJ8eSLt4orsefq7Q==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/crypto": "^5.1.23", @@ -1013,6 +1588,8 @@ }, "node_modules/@libp2p/peer-store/node_modules/protons-runtime": { "version": "7.1.2", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.1.2.tgz", + "integrity": "sha512-j7Y7MfCwPCxYwopyqDt8+CoJULzdajSBrFAzzfBHEhOTfdvOJ2z1QLK9aK34bSBz6V/9JAAlrsc/rFkIbqppuw==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1022,6 +1599,8 @@ }, "node_modules/@libp2p/peer-store/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -1029,6 +1608,8 @@ }, "node_modules/@libp2p/ping": { "version": "3.1.13", + "resolved": "https://registry.npmjs.org/@libp2p/ping/-/ping-3.1.13.tgz", + "integrity": "sha512-zB0TYbxWD73z3kqHrC2PDk7CAX0wQ0smz6mZ9okE4MoFgJv+XtMaIB2pB/4eT7xjWwdc2w3mYRmq+lMyXl3nXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.3.0", @@ -1041,6 +1622,8 @@ }, "node_modules/@libp2p/ping/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -1048,6 +1631,8 @@ }, "node_modules/@libp2p/record": { "version": "4.0.15", + "resolved": "https://registry.npmjs.org/@libp2p/record/-/record-4.0.15.tgz", + "integrity": "sha512-EaHFtQAlZuM9vCpd+0KnZhTVgV26Uzje7DkyUseGNKTy+Wit9Q94C/+wDThpZuRHnK1FH/CvPxJ4kLj7AoQ1WA==", "license": "Apache-2.0 OR MIT", "dependencies": { "protons-runtime": "^7.0.0", @@ -1057,6 +1642,8 @@ }, "node_modules/@libp2p/record/node_modules/protons-runtime": { "version": "7.1.2", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.1.2.tgz", + "integrity": "sha512-j7Y7MfCwPCxYwopyqDt8+CoJULzdajSBrFAzzfBHEhOTfdvOJ2z1QLK9aK34bSBz6V/9JAAlrsc/rFkIbqppuw==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1066,6 +1653,8 @@ }, "node_modules/@libp2p/record/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -1073,6 +1662,8 @@ }, "node_modules/@libp2p/tcp": { "version": "11.0.28", + "resolved": "https://registry.npmjs.org/@libp2p/tcp/-/tcp-11.0.28.tgz", + "integrity": "sha512-+YD59zz1V8YT47ZiInqoHAeSx45BC2bb5FVu3Bplo5zOxMMNXcH5WATIgn+IYIbusNPpMcs5wKd0QimQwzBl6Q==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.3.0", @@ -1087,6 +1678,8 @@ }, "node_modules/@libp2p/tcp/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -1094,6 +1687,8 @@ }, "node_modules/@libp2p/utils": { "version": "7.4.1", + "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-7.4.1.tgz", + "integrity": "sha512-e9cZeop+awI0rFczG4DvAwVeHqBhuCZfTyskvgONfKQrsT7L0BSlTlTTzZoFF8Dnb+QrzHsoIpnl0PrCr0h+Hg==", "license": "Apache-2.0 OR MIT", "dependencies": { "@chainsafe/is-ip": "^2.1.0", @@ -1124,14 +1719,18 @@ } }, "node_modules/@libp2p/utils/node_modules/cborg": { - "version": "6.1.2", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/cborg/-/cborg-6.1.1.tgz", + "integrity": "sha512-Ci8+V1OMFtqea8EXicsATqV+3kEqCGXCicM+5MEzpKTxqy58WMzhJUjtUqAjfWpKPZ0wpG8F+u5mC8Xy/0Zevg==", "license": "Apache-2.0", "bin": { "cborg": "lib/bin.js" } }, "node_modules/@libp2p/utils/node_modules/protons-runtime": { - "version": "7.1.2", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.0.0.tgz", + "integrity": "sha512-r/e72006xoVND4Uvf1aIs4OQOkJaASBU3ip4DzOWAktoKAkTiOYqKoS3TYMBm8HnnYU8+h0uEzr5gIRwk/pmTg==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^3.0.0", @@ -1141,6 +1740,8 @@ }, "node_modules/@libp2p/utils/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -1148,6 +1749,8 @@ }, "node_modules/@libp2p/websockets": { "version": "10.1.21", + "resolved": "https://registry.npmjs.org/@libp2p/websockets/-/websockets-10.1.21.tgz", + "integrity": "sha512-2iItZGEfTlGFUEcFCghtlsIiQ+fBowopysBB/8ya0MvZkRic/6o9oSklWT5pWDmXtmqmbp1Dko/iLcBOhDOgFw==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^3.3.0", @@ -1165,6 +1768,8 @@ }, "node_modules/@libp2p/websockets/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -1172,6 +1777,8 @@ }, "node_modules/@multiformats/dns": { "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@multiformats/dns/-/dns-1.0.15.tgz", + "integrity": "sha512-W0zAMABtAn+3chgFcPGvllKND7M6GblMAAFcJQTy+iMmGiyFErZYPzAh2b50Y3SFf340iFV7+ckVgZkGfUyxzA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@dnsquery/dns-packet": "^6.1.1", @@ -1182,8 +1789,44 @@ "uint8arrays": "^6.1.1" } }, + "node_modules/@multiformats/dns/node_modules/eventemitter3": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz", + "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==", + "license": "MIT" + }, + "node_modules/@multiformats/dns/node_modules/p-queue": { + "version": "9.3.3", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-9.3.3.tgz", + "integrity": "sha512-NXAOdnEe5FsZJfT4oK84lE1Y5cFFdWlRuOo5tww8DyNMxyRXwn39fIkUtNLKppcPC+UYU/bXujNCUGDv01y7CA==", + "license": "MIT", + "dependencies": { + "eventemitter3": "^5.0.4", + "p-timeout": "^7.0.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@multiformats/dns/node_modules/p-timeout": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-7.0.1.tgz", + "integrity": "sha512-AxTM2wDGORHGEkPCt8yqxOTMgpfbEHqF51f/5fJCmwFC3C/zNcGT63SymH2ttOAaiIws2zVg4+izQCjrakcwHg==", + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@multiformats/multiaddr": { "version": "13.0.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-13.0.3.tgz", + "integrity": "sha512-mEqqJ4r3a/uuFMTpRkU316wGNIDQNhuVWpm+ebKTQeYsfv9jXbPONWM6VVnj3KGUrwfsX7GZOyp4TFqEA2SPCw==", "license": "Apache-2.0 OR MIT", "dependencies": { "@chainsafe/is-ip": "^2.0.1", @@ -1194,6 +1837,8 @@ }, "node_modules/@multiformats/multiaddr-matcher": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-matcher/-/multiaddr-matcher-3.0.2.tgz", + "integrity": "sha512-iphGQJliZxe2yKu57bdRDgeS+3znc5uXtMybDO1Wau3rIjas4zjrjlyxmFz3wqyUL9f3VDQwas/ZqA7N4QeSfw==", "license": "Apache-2.0 OR MIT", "dependencies": { "@multiformats/multiaddr": "^13.0.0" @@ -1201,13 +1846,17 @@ }, "node_modules/@multiformats/multiaddr-to-uri": { "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-to-uri/-/multiaddr-to-uri-12.0.0.tgz", + "integrity": "sha512-3uIEBCiy8tfzxYYBl81x1tISiNBQ7mHU4pGjippbJRoQYHzy/ZdZM/7JvTldr8pc/dzpkaNJxnsuxxlhsPOJsA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@multiformats/multiaddr": "^13.0.0" } }, "node_modules/@noble/ciphers": { - "version": "2.4.0", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.3.0.tgz", + "integrity": "sha512-Clu/xdfgVTf9o7ngLOURaxePwR0j8sjclKEtVij10/jGulwFsPWCvvRgG/XjUVf8Nei+jLG6uwyXzUTGY1DQrw==", "license": "MIT", "engines": { "node": ">= 20.19.0" @@ -1218,6 +1867,8 @@ }, "node_modules/@noble/curves": { "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", + "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" @@ -1228,6 +1879,8 @@ }, "node_modules/@noble/hashes": { "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", + "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", "license": "MIT", "engines": { "node": ">= 16" @@ -1238,6 +1891,8 @@ }, "node_modules/@oasisprotocol/sapphire-ethers-v6": { "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@oasisprotocol/sapphire-ethers-v6/-/sapphire-ethers-v6-6.0.1.tgz", + "integrity": "sha512-JY1pKPByoboDNSQurP9Z0+QEvShK8Y9heqOjFQjhH6ZwYmiyJdhT+iJJvBtvsVzZ3SkFay0TXwQ+G5m+VBjJRA==", "license": "Apache-2.0", "dependencies": { "@oasisprotocol/sapphire-paratime": "^2.0.1", @@ -1256,10 +1911,14 @@ }, "node_modules/@oasisprotocol/sapphire-ethers-v6/node_modules/@oasisprotocol/deoxysii": { "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@oasisprotocol/deoxysii/-/deoxysii-0.0.6.tgz", + "integrity": "sha512-TI51bIpChfsla9aRbjip6zvTbz6rpsqKgM7MqJvSfeFF6G5xLXQcbSC9u/1hOnOOazd7HaqA9NvaXQdeKCb3yw==", "license": "MIT" }, "node_modules/@oasisprotocol/sapphire-ethers-v6/node_modules/@oasisprotocol/sapphire-paratime": { "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@oasisprotocol/sapphire-paratime/-/sapphire-paratime-2.3.0.tgz", + "integrity": "sha512-TooQ+eGxz8kQJ4PavqkXxvjbRJw8V4TB/Nu5ptaMyclFFr+tCWXEpx01gpoRsUEEc9IRcEm4IfnBUqFnBcbt7w==", "license": "Apache-2.0", "dependencies": { "@noble/hashes": "1.3.2", @@ -1275,6 +1934,8 @@ }, "node_modules/@oceanprotocol/ddo-js": { "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@oceanprotocol/ddo-js/-/ddo-js-0.4.1.tgz", + "integrity": "sha512-QCEhBtBq6qMt545cQQne0C5leGRLgA+jOsbuRWQeY9VVj5HKdjc+1/oqm5BdNYBGa8HuZ+4GccJw0rREQf0CMA==", "license": "Apache-2.0", "dependencies": { "ethers": "^6.17.0", @@ -1320,8 +1981,19 @@ "node": ">=22" } }, + "node_modules/@oceanprotocol/lib/node_modules/cross-fetch": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.1.0.tgz", + "integrity": "sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw==", + "license": "MIT", + "dependencies": { + "node-fetch": "^2.7.0" + } + }, "node_modules/@octokit/auth-token": { "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz", + "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==", "dev": true, "license": "MIT", "engines": { @@ -1330,6 +2002,8 @@ }, "node_modules/@octokit/core": { "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.6.tgz", + "integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==", "dev": true, "license": "MIT", "dependencies": { @@ -1347,6 +2021,8 @@ }, "node_modules/@octokit/endpoint": { "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.3.tgz", + "integrity": "sha512-FWFlNxghg4HrXkD3ifYbS/IdL/mDHjh9QcsNyhQjN8dplUoZbejsdpmuqdA76nxj2xoWPs7p8uX2SNr9rYu0Ag==", "dev": true, "license": "MIT", "dependencies": { @@ -1359,6 +2035,8 @@ }, "node_modules/@octokit/graphql": { "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.3.tgz", + "integrity": "sha512-grAEuupr/C1rALFnXTv6ZQhFuL1D8G5y8CN04RgrO4FIPMrtm+mcZzFG7dcBm+nq+1ppNixu+Jd78aeJOYxlGA==", "dev": true, "license": "MIT", "dependencies": { @@ -1372,11 +2050,15 @@ }, "node_modules/@octokit/openapi-types": { "version": "27.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-27.0.0.tgz", + "integrity": "sha512-whrdktVs1h6gtR+09+QsNk2+FO+49j6ga1c55YZudfEG+oKJVvJLQi3zkOm5JjiUXAagWK2tI2kTGKJ2Ys7MGA==", "dev": true, "license": "MIT" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-14.0.0.tgz", + "integrity": "sha512-fNVRE7ufJiAA3XUrha2omTA39M6IXIc6GIZLvlbsm8QOQCYvpq/LkMNGyFlB1d8hTDzsAXa3OKtybdMAYsV/fw==", "dev": true, "license": "MIT", "dependencies": { @@ -1391,6 +2073,8 @@ }, "node_modules/@octokit/plugin-request-log": { "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-6.0.0.tgz", + "integrity": "sha512-UkOzeEN3W91/eBq9sPZNQ7sUBvYCqYbrrD8gTbBuGtHEuycE4/awMXcYvx6sVYo7LypPhmQwwpUe4Yyu4QZN5Q==", "dev": true, "license": "MIT", "engines": { @@ -1402,6 +2086,8 @@ }, "node_modules/@octokit/plugin-rest-endpoint-methods": { "version": "17.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-17.0.0.tgz", + "integrity": "sha512-B5yCyIlOJFPqUUeiD0cnBJwWJO8lkJs5d8+ze9QDP6SvfiXSz1BF+91+0MeI1d2yxgOhU/O+CvtiZ9jSkHhFAw==", "dev": true, "license": "MIT", "dependencies": { @@ -1416,6 +2102,8 @@ }, "node_modules/@octokit/request": { "version": "10.0.11", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.11.tgz", + "integrity": "sha512-+s7HUxjfFqOMS9VlIwDffq0MikjSAK0gSpG73W+meAvVAvX4MBrHYTK5Bj3Uot55qFT4gzUtfzE4mGWY4Br8/Q==", "dev": true, "license": "MIT", "dependencies": { @@ -1432,6 +2120,8 @@ }, "node_modules/@octokit/request-error": { "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.1.0.tgz", + "integrity": "sha512-KMQIfq5sOPpkQYajXHwnhjCC0slzCNScLHs9JafXc4RAJI+9f+jNDlBNaIMTvazOPLgb4BnlhGJOTbnN0wIjPw==", "dev": true, "license": "MIT", "dependencies": { @@ -1443,6 +2133,8 @@ }, "node_modules/@octokit/request/node_modules/content-type": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz", + "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==", "dev": true, "license": "MIT", "engines": { @@ -1455,6 +2147,8 @@ }, "node_modules/@octokit/rest": { "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-22.0.1.tgz", + "integrity": "sha512-Jzbhzl3CEexhnivb1iQ0KJ7s5vvjMWcmRtq5aUsKmKDrRW6z3r84ngmiFKFvpZjpiU/9/S6ITPFRpn5s/3uQJw==", "dev": true, "license": "MIT", "dependencies": { @@ -1469,6 +2163,8 @@ }, "node_modules/@octokit/types": { "version": "16.0.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-16.0.0.tgz", + "integrity": "sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg==", "dev": true, "license": "MIT", "dependencies": { @@ -1477,6 +2173,8 @@ }, "node_modules/@phun-ky/typeof": { "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@phun-ky/typeof/-/typeof-2.0.3.tgz", + "integrity": "sha512-oeQJs1aa8Ghke8JIK9yuq/+KjMiaYeDZ38jx7MhkXncXlUKjqQ3wEm2X3qCKyjo+ZZofZj+WsEEiqkTtRuE2xQ==", "dev": true, "license": "MIT", "engines": { @@ -1489,6 +2187,8 @@ }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", "dev": true, "license": "MIT", "optional": true, @@ -1498,6 +2198,8 @@ }, "node_modules/@rdfjs/data-model": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@rdfjs/data-model/-/data-model-2.1.2.tgz", + "integrity": "sha512-yoSVlyCltqbaCTse3uSdf5Vo3q4UskcTm+3klaUQTwOq7Z5aCZLtLPZatXTPzr+S0WEcjTZvD++A+r3QmgamsA==", "license": "MIT", "bin": { "rdfjs-data-model-test": "bin/test.js" @@ -1505,6 +2207,8 @@ }, "node_modules/@rdfjs/dataset": { "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@rdfjs/dataset/-/dataset-2.0.3.tgz", + "integrity": "sha512-Ur6M0nDFXMJWNYe1IBDBaQV/nIwRbe3+I58syOHnzZNbe7ZHumUOS/0XQ1+9WYF31tmQU7w741MRn6W3J+OTeg==", "license": "MIT", "bin": { "rdfjs-dataset-test": "bin/test.js" @@ -1512,10 +2216,14 @@ }, "node_modules/@rdfjs/environment": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rdfjs/environment/-/environment-1.0.0.tgz", + "integrity": "sha512-+S5YjSvfoQR5r7YQCRCCVHvIEyrWia7FJv2gqM3s5EDfotoAQmFeBagApa9c/eQFi5EiNhmBECE5nB8LIxTaHg==", "license": "MIT" }, "node_modules/@rdfjs/namespace": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@rdfjs/namespace/-/namespace-2.0.1.tgz", + "integrity": "sha512-U85NWVGnL3gWvOZ4eXwUcv3/bom7PAcutSBQqmVWvOaslPy+kDzAJCH1WYBLpdQd4yMmJ+bpJcDl9rcHtXeixg==", "license": "MIT", "dependencies": { "@rdfjs/data-model": "^2.0.1" @@ -1523,6 +2231,8 @@ }, "node_modules/@rdfjs/term-map": { "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@rdfjs/term-map/-/term-map-2.0.2.tgz", + "integrity": "sha512-EJ2FmmdEUsSR/tU1nrizRLWzH24YzhuvesrbUWxC3Fs0ilYNdtTbg0RaFJDUnJF3HkbNBQe8Zrt/uvU/hcKnHg==", "license": "MIT", "dependencies": { "@rdfjs/to-ntriples": "^3.0.1" @@ -1530,6 +2240,8 @@ }, "node_modules/@rdfjs/term-set": { "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@rdfjs/term-set/-/term-set-2.0.3.tgz", + "integrity": "sha512-DyXrKWEx+mtAFUZVU7bc3Va6/KZ8PsIp0RVdyWT9jfDgI/HCvNisZaBtAcm+SYTC45o+7WLkbudkk1bfaKVB0A==", "license": "MIT", "dependencies": { "@rdfjs/to-ntriples": "^3.0.1" @@ -1537,10 +2249,14 @@ }, "node_modules/@rdfjs/to-ntriples": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@rdfjs/to-ntriples/-/to-ntriples-3.0.1.tgz", + "integrity": "sha512-gjoPAvh4j7AbGMjcDn/8R4cW+d/FPtbfbMM0uQXkyfBFtNUW2iVgrqsgJ65roLc54Y9A2TTFaeeTGSvY9a0HCQ==", "license": "MIT" }, "node_modules/@rdfjs/types": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@rdfjs/types/-/types-2.0.1.tgz", + "integrity": "sha512-uyAzpugX7KekAXAHq26m3JlUIZJOC0uSBhpnefGV5i15bevDyyejoB7I+9MKeUrzXD8OOUI3+4FeV1wwQr5ihA==", "license": "MIT", "dependencies": { "@types/node": "*" @@ -1548,6 +2264,8 @@ }, "node_modules/@sindresorhus/fnv1a": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/fnv1a/-/fnv1a-3.1.0.tgz", + "integrity": "sha512-KV321z5m/0nuAg83W1dPLy85HpHDk7Sdi4fJbwvacWsEhAh+rZUW4ZfGcXmUIvjZg4ss2bcwNlRhJ7GBEUG08w==", "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" @@ -1558,6 +2276,8 @@ }, "node_modules/@tpluscode/rdf-ns-builders": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@tpluscode/rdf-ns-builders/-/rdf-ns-builders-5.0.0.tgz", + "integrity": "sha512-rtMFbArdief+s0z2A3TOb/gNe5O5xn9LDiEpilCf6lGYCUIfyqoOvZY80fS/eILwcF2Mj6cUQN1WBQ+1neJmaw==", "license": "MIT", "dependencies": { "@rdfjs/data-model": "^2.1.0", @@ -1569,6 +2289,8 @@ }, "node_modules/@types/chai": { "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", + "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==", "dev": true, "license": "MIT", "dependencies": { @@ -1578,31 +2300,43 @@ }, "node_modules/@types/deep-eql": { "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", + "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", "dev": true, "license": "MIT" }, "node_modules/@types/esrecurse": { "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", + "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", "dev": true, "license": "MIT" }, "node_modules/@types/estree": { "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", "dev": true, "license": "MIT" }, "node_modules/@types/json-schema": { "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true, "license": "MIT" }, "node_modules/@types/mocha": { "version": "10.0.10", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.10.tgz", + "integrity": "sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==", "dev": true, "license": "MIT" }, "node_modules/@types/node": { "version": "22.20.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.1.tgz", + "integrity": "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==", "license": "MIT", "dependencies": { "undici-types": "~6.21.0" @@ -1610,11 +2344,15 @@ }, "node_modules/@types/parse-path": { "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@types/parse-path/-/parse-path-7.0.3.tgz", + "integrity": "sha512-LriObC2+KYZD3FzCrgWGv/qufdUy4eXrxcLgQMfYXgPbLIecKIsVBaQgUPmxSSLcjmYbDTQbMgr6qr6l/eb7Bg==", "dev": true, "license": "MIT" }, "node_modules/@types/rdfjs__namespace": { "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@types/rdfjs__namespace/-/rdfjs__namespace-2.0.10.tgz", + "integrity": "sha512-xoVzEIOxcpyteEmzaj94MSBbrBFs+vqv05joMhzLEiPRwsBBDnhkdBCaaDxR1Tf7wOW0kB2R1IYe4C3vEBFPgA==", "license": "MIT", "dependencies": { "@rdfjs/types": "*" @@ -1622,6 +2360,8 @@ }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.67.0.tgz", + "integrity": "sha512-Un7Heoyj65NREbKAyIrFxeM143NZpExWmy1Nep4DLeQOeLlTeumPjoNKnBrU5D5moWXbPJgRa5Uwcdu0faVNGQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1649,6 +2389,8 @@ }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { "version": "7.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.6.tgz", + "integrity": "sha512-BAg6QkE8W+TuQLrrw0Ugr7HegXduRuuj8/ti2kSOc+jz1dmx8/WNcjr6XGnq5YpDWxFwwaavqD0+jIUOKelTsw==", "dev": true, "license": "MIT", "engines": { @@ -1657,6 +2399,8 @@ }, "node_modules/@typescript-eslint/parser": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.67.0.tgz", + "integrity": "sha512-fUBfTuuEulWqX6V8+O3PtScV01tzYYRUDTAirHFKoRAt7nOzoGiPt0M/bB47wWNy0coOOcgEwAMUtBpykMxl6w==", "dev": true, "license": "MIT", "dependencies": { @@ -1680,6 +2424,8 @@ }, "node_modules/@typescript-eslint/project-service": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.67.0.tgz", + "integrity": "sha512-cvE8c7ulYeXN9fYuszhCeCsbzyVEXuhrRCybnBre7TUmqb5nRmBfQAwCj0O3WJFDeyAZt4VYv51vMCC9LHSdYw==", "dev": true, "license": "MIT", "dependencies": { @@ -1700,6 +2446,8 @@ }, "node_modules/@typescript-eslint/scope-manager": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.67.0.tgz", + "integrity": "sha512-EgvsleTwS4E+WzzSvem8fAUubLwatMNF1B5hHSLQxcvs7q2dtRhGyujHwLJSYlG41niJ7GP24Aha2+0mb1b2kg==", "dev": true, "license": "MIT", "dependencies": { @@ -1716,6 +2464,8 @@ }, "node_modules/@typescript-eslint/tsconfig-utils": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.67.0.tgz", + "integrity": "sha512-vV+LUSv5njUWsknE71fqKTlXUva+R76SaeORd6Zojcunk/6DvKFXONU3BrAs2H49mbygUXt6gbYunzwqNwlhdg==", "dev": true, "license": "MIT", "engines": { @@ -1731,6 +2481,8 @@ }, "node_modules/@typescript-eslint/type-utils": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.67.0.tgz", + "integrity": "sha512-aVWDXbRmdXO9siTfX4ditQI1T9+zVcNazT48EJCD0v40/9RIFoUgZ05CmGEq9H2gixRpjUn/iplwvlcvutJW/Q==", "dev": true, "license": "MIT", "dependencies": { @@ -1754,6 +2506,8 @@ }, "node_modules/@typescript-eslint/types": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.67.0.tgz", + "integrity": "sha512-sBtgslww8nsMYUjhdPBiSyUqSzT8uR6g93A2QXnQC8+cGdjz0CyaOdqHDRJb1AtORbZCNUJBBeFA/tNR2uQmww==", "dev": true, "license": "MIT", "engines": { @@ -1766,6 +2520,8 @@ }, "node_modules/@typescript-eslint/typescript-estree": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.67.0.tgz", + "integrity": "sha512-EKQBCE9yNlRJYm7jdTW5AhDacDUmSwQb0FAJAmK2EKYrNXIsa2vxcSZx6PvJ/dEdI6lS+Y9W+EXckLj0iPFGcw==", "dev": true, "license": "MIT", "dependencies": { @@ -1792,6 +2548,8 @@ }, "node_modules/@typescript-eslint/utils": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.67.0.tgz", + "integrity": "sha512-U9D1FdwEWBwok3hxxSdhclMb0twvt9QnjIQ0VfQ1AiX2epnpSgv2ubVDsayOFyY8K6FX+AQ7E0FKWVG3iKsj1A==", "dev": true, "license": "MIT", "dependencies": { @@ -1814,6 +2572,8 @@ }, "node_modules/@typescript-eslint/visitor-keys": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.67.0.tgz", + "integrity": "sha512-fkv8dHRDqfGtTHuJeebdrQ7cX6Ad4WAS00rgHh9UGvMycF1mjBfsxry1XsLIFhWZ6Judlh6UdzK+TYlbpCXgnA==", "dev": true, "license": "MIT", "dependencies": { @@ -1830,6 +2590,8 @@ }, "node_modules/@vocabulary/sh": { "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@vocabulary/sh/-/sh-1.1.6.tgz", + "integrity": "sha512-8IfAQoKh57THz8LA2+n1jaY/VC2XaqMNSsJgzBKSSrj20y5PSMAawb6dMsxoLxqDIPBDs1TFRl/9CijUnwbBUA==", "license": "MIT", "peerDependencies": { "@rdfjs/types": "^2.0.0" @@ -1837,10 +2599,14 @@ }, "node_modules/@zazuko/prefixes": { "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@zazuko/prefixes/-/prefixes-2.6.1.tgz", + "integrity": "sha512-fbOadP7twxt0ZYT9mgIC+xQMk6f3pYYLI5a/2UJ/mc/ygqb/NoVv2ryK3lTtoi74xwkdpUeDwIuFQSosowzUgg==", "license": "MIT" }, "node_modules/abort-controller": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", "license": "MIT", "dependencies": { "event-target-shim": "^5.0.0" @@ -1851,10 +2617,14 @@ }, "node_modules/abort-error": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/abort-error/-/abort-error-1.0.2.tgz", + "integrity": "sha512-lVgvB2NyPLqbXXhVmXcYFTC1x5K7CiVdPgdY7LGgFQWC8506oN01sPN3i9cl9ynuwF4iJ0TS9exnR7cZ9FuX4w==", "license": "Apache-2.0 OR MIT" }, "node_modules/acorn": { "version": "8.18.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", + "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", "dev": true, "license": "MIT", "bin": { @@ -1866,6 +2636,8 @@ }, "node_modules/acorn-jsx": { "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -1874,10 +2646,14 @@ }, "node_modules/aes-js": { "version": "4.0.0-beta.5", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", "license": "MIT" }, "node_modules/agent-base": { "version": "9.0.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-9.0.0.tgz", + "integrity": "sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==", "dev": true, "license": "MIT", "engines": { @@ -1886,6 +2662,8 @@ }, "node_modules/ajv": { "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", "dev": true, "license": "MIT", "dependencies": { @@ -1901,6 +2679,8 @@ }, "node_modules/ansi-colors": { "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", "license": "MIT", "engines": { "node": ">=6" @@ -1908,6 +2688,8 @@ }, "node_modules/ansi-regex": { "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "license": "MIT", "engines": { "node": ">=8" @@ -1915,6 +2697,8 @@ }, "node_modules/ansi-styles": { "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -1928,6 +2712,8 @@ }, "node_modules/any-signal": { "version": "4.2.0", + "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.2.0.tgz", + "integrity": "sha512-LndMvYuAPf4rC195lk7oSFuHOYFpOszIYrNYv0gHAvz+aEhE9qPZLhmrIz5pXP2BSsPOXvsuHDXEGaiQhIh9wA==", "license": "Apache-2.0 OR MIT", "engines": { "node": ">=16.0.0", @@ -1936,11 +2722,15 @@ }, "node_modules/argparse": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true, "license": "Python-2.0" }, "node_modules/assertion-error": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", "dev": true, "license": "MIT", "engines": { @@ -1949,6 +2739,8 @@ }, "node_modules/ast-types": { "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", "dev": true, "license": "MIT", "dependencies": { @@ -1960,6 +2752,8 @@ }, "node_modules/async-retry": { "version": "1.3.3", + "resolved": "https://registry.npmjs.org/async-retry/-/async-retry-1.3.3.tgz", + "integrity": "sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==", "dev": true, "license": "MIT", "dependencies": { @@ -1968,10 +2762,14 @@ }, "node_modules/asynckit": { "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "license": "MIT" }, "node_modules/auto-changelog": { "version": "2.6.0", + "resolved": "https://registry.npmjs.org/auto-changelog/-/auto-changelog-2.6.0.tgz", + "integrity": "sha512-jJgUkuWXQ7fPLPXOMQk/XSSmy7KvzpzhjJa6w660dq1KTEez/GW2CPckBra3jMMMMpcwxp84bOslo29qRCewzA==", "dev": true, "license": "MIT", "dependencies": { @@ -1990,6 +2788,8 @@ }, "node_modules/auto-changelog/node_modules/commander": { "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", "dev": true, "license": "MIT", "engines": { @@ -1998,6 +2798,8 @@ }, "node_modules/axios": { "version": "1.19.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.19.0.tgz", + "integrity": "sha512-ht/iuYZXEjFxLH/Hkezgd7m6JKlHHXEUSneaDz8uZe1Gj5QZtCnpyDsckvAiEnT89OEbCLmnte4R4sn7P0EKFw==", "license": "MIT", "dependencies": { "follow-redirects": "^1.16.0", @@ -2008,6 +2810,8 @@ }, "node_modules/axios/node_modules/agent-base": { "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "license": "MIT", "dependencies": { "debug": "4" @@ -2018,6 +2822,8 @@ }, "node_modules/axios/node_modules/https-proxy-agent": { "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "license": "MIT", "dependencies": { "agent-base": "6", @@ -2029,11 +2835,15 @@ }, "node_modules/balanced-match": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true, "license": "MIT" }, "node_modules/base64-js": { "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", "funding": [ { "type": "github", @@ -2052,6 +2862,8 @@ }, "node_modules/basic-ftp": { "version": "5.3.1", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.3.1.tgz", + "integrity": "sha512-bopVNp6ugyA150DDuZfPFdt1KZ5a94ZDiwX4hMgZDzF+GttD80lEy8kj98kbyhLXnPvhtIo93mdnLIjpCAeeOw==", "dev": true, "license": "MIT", "engines": { @@ -2060,15 +2872,21 @@ }, "node_modules/before-after-hook": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz", + "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==", "dev": true, "license": "Apache-2.0" }, "node_modules/bignumber.js": { "version": "11.1.5", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-11.1.5.tgz", + "integrity": "sha512-6WmzCNtUnfKpbozq+hOgWaZMMzORmYBwF1xZScyoIX3QRYWeKTtxxwDOW5tIz7C9BdjkIYHGTcelCLkXg0mndw==", "license": "MIT" }, "node_modules/brace-expansion": { "version": "5.0.9", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz", + "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==", "dev": true, "license": "MIT", "dependencies": { @@ -2080,6 +2898,8 @@ }, "node_modules/brace-expansion/node_modules/balanced-match": { "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", "dev": true, "license": "MIT", "engines": { @@ -2088,11 +2908,15 @@ }, "node_modules/browser-stdout": { "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", "dev": true, "license": "ISC" }, "node_modules/buffer": { "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", "funding": [ { "type": "github", @@ -2115,10 +2939,14 @@ }, "node_modules/buffer-equal-constant-time": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", "license": "BSD-3-Clause" }, "node_modules/bufferutil": { "version": "4.0.9", + "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.9.tgz", + "integrity": "sha512-WDtdLmJvAuNNPzByAYpRo2rF1Mmradw6gvWsQKf63476DDXmomT9zUiGypLcG4ibIM67vhAj8jJRdbmEws2Aqw==", "hasInstallScript": true, "license": "MIT", "optional": true, @@ -2132,6 +2960,8 @@ }, "node_modules/bundle-name": { "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", + "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", "dev": true, "license": "MIT", "dependencies": { @@ -2146,6 +2976,8 @@ }, "node_modules/c12": { "version": "3.3.4", + "resolved": "https://registry.npmjs.org/c12/-/c12-3.3.4.tgz", + "integrity": "sha512-cM0ApFQSBXuourJejzwv/AuPRvAxordTyParRVcHjjtXirtkzM0uK2L9TTn9s0cXZbG7E55jCivRQzoxYmRAlA==", "dev": true, "license": "MIT", "dependencies": { @@ -2173,6 +3005,8 @@ }, "node_modules/c12/node_modules/chokidar": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", "dev": true, "license": "MIT", "dependencies": { @@ -2187,6 +3021,8 @@ }, "node_modules/c12/node_modules/readdirp": { "version": "5.1.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.1.1.tgz", + "integrity": "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==", "dev": true, "license": "MIT", "engines": { @@ -2199,6 +3035,8 @@ }, "node_modules/call-bind-apply-helpers": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -2210,6 +3048,8 @@ }, "node_modules/camelcase": { "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, "license": "MIT", "engines": { @@ -2221,6 +3061,8 @@ }, "node_modules/canonicalize": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/canonicalize/-/canonicalize-2.1.0.tgz", + "integrity": "sha512-F705O3xrsUtgt98j7leetNhTWPe+5S72rlL5O4jA1pKqBVQ/dT1O1D6PFxmSXvc0SUOinWS57DKx0I3CHrXJHQ==", "license": "Apache-2.0", "bin": { "canonicalize": "bin/canonicalize.js" @@ -2228,6 +3070,8 @@ }, "node_modules/cborg": { "version": "1.10.2", + "resolved": "https://registry.npmjs.org/cborg/-/cborg-1.10.2.tgz", + "integrity": "sha512-b3tFPA9pUr2zCUiCfRd2+wok2/LBSNUMKOuRRok+WlvvAgEt/PlbgPTsZUcwCOs53IJvLgTp0eotwtosE6njug==", "license": "Apache-2.0", "bin": { "cborg": "cli.js" @@ -2235,6 +3079,8 @@ }, "node_modules/chai": { "version": "6.2.2", + "resolved": "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz", + "integrity": "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==", "dev": true, "license": "MIT", "engines": { @@ -2243,6 +3089,8 @@ }, "node_modules/chalk": { "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -2257,11 +3105,15 @@ }, "node_modules/chardet": { "version": "2.2.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.2.0.tgz", + "integrity": "sha512-rddelWYNPRrXq6PtNEN2S3f6t9ILzvqaN5pVgi4kqt9jHQaXIial9PznB5iSPVlQSLNaaH22ItWz3EJtQ10+OA==", "dev": true, "license": "MIT" }, "node_modules/chokidar": { "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", "dev": true, "license": "MIT", "dependencies": { @@ -2276,6 +3128,8 @@ }, "node_modules/ci-info": { "version": "4.4.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.4.0.tgz", + "integrity": "sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==", "dev": true, "funding": [ { @@ -2290,6 +3144,8 @@ }, "node_modules/cli-cursor": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", + "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", "dev": true, "license": "MIT", "dependencies": { @@ -2304,6 +3160,8 @@ }, "node_modules/cli-spinners": { "version": "3.4.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-3.4.0.tgz", + "integrity": "sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==", "dev": true, "license": "MIT", "engines": { @@ -2315,6 +3173,8 @@ }, "node_modules/cli-width": { "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", "dev": true, "license": "ISC", "engines": { @@ -2323,6 +3183,8 @@ }, "node_modules/cliui": { "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, "license": "ISC", "dependencies": { @@ -2336,11 +3198,15 @@ }, "node_modules/cliui/node_modules/emoji-regex": { "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/cliui/node_modules/string-width": { "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -2354,6 +3220,8 @@ }, "node_modules/cliui/node_modules/wrap-ansi": { "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "license": "MIT", "dependencies": { @@ -2370,6 +3238,8 @@ }, "node_modules/clownface": { "version": "2.0.3", + "resolved": "https://registry.npmjs.org/clownface/-/clownface-2.0.3.tgz", + "integrity": "sha512-E76TBJ7CgU9+/5paSAvuNdMO+fzFThnvRVtidosktYppYkXM8V7tid8Ezzo8S1OmoWxKUam3yfkZlfCid4OiJQ==", "license": "MIT", "dependencies": { "@rdfjs/data-model": "^2.0.1", @@ -2379,6 +3249,8 @@ }, "node_modules/color-convert": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -2389,10 +3261,14 @@ }, "node_modules/color-name": { "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "license": "MIT" }, "node_modules/combined-stream": { "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" @@ -2403,6 +3279,8 @@ }, "node_modules/commander": { "version": "13.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz", + "integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==", "license": "MIT", "engines": { "node": ">=18" @@ -2410,18 +3288,15 @@ }, "node_modules/confbox": { "version": "0.2.4", + "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.2.4.tgz", + "integrity": "sha512-ysOGlgTFbN2/Y6Cg3Iye8YKulHw+R2fNXHrgSmXISQdMnomY6eNDprVdW9R5xBguEqI954+S6709UyiO7B+6OQ==", "dev": true, "license": "MIT" }, - "node_modules/cross-fetch": { - "version": "4.1.0", - "license": "MIT", - "dependencies": { - "node-fetch": "^2.7.0" - } - }, "node_modules/cross-spawn": { "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "license": "MIT", "dependencies": { @@ -2435,10 +3310,14 @@ }, "node_modules/crypto-js": { "version": "4.2.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==", "license": "MIT" }, "node_modules/datastore-core": { "version": "12.0.1", + "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-12.0.1.tgz", + "integrity": "sha512-pfgIE5LG0Z5oyc6TxiLaF/0j4Gh1Yrs2+Ck/qssf9Oxw4s4YKC3zpqifuzThnKakAFWONr/vRv+66Koc0yJvyA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/logger": "^6.2.4", @@ -2456,6 +3335,8 @@ }, "node_modules/debug": { "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -2471,6 +3352,8 @@ }, "node_modules/decamelize": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", "dev": true, "license": "MIT", "engines": { @@ -2482,15 +3365,21 @@ }, "node_modules/decimal.js": { "version": "10.6.0", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz", + "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==", "license": "MIT" }, "node_modules/deep-is": { "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true, "license": "MIT" }, "node_modules/default-browser": { "version": "5.5.1", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.1.tgz", + "integrity": "sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==", "dev": true, "license": "MIT", "dependencies": { @@ -2506,6 +3395,8 @@ }, "node_modules/default-browser-id": { "version": "5.0.1", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", + "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", "dev": true, "license": "MIT", "engines": { @@ -2517,6 +3408,8 @@ }, "node_modules/define-lazy-prop": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", "dev": true, "license": "MIT", "engines": { @@ -2528,11 +3421,15 @@ }, "node_modules/defu": { "version": "6.1.7", + "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.7.tgz", + "integrity": "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==", "dev": true, "license": "MIT" }, "node_modules/degenerator": { "version": "7.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-7.0.1.tgz", + "integrity": "sha512-ABErK0IefDSyHjlPH7WUEenIAX2rPPnrDcDM+TS3z3+zu9TfyKKi07BQM+8rmxpdE2y1v5fjjdoAS/x4D2U60w==", "dev": true, "license": "MIT", "dependencies": { @@ -2549,6 +3446,8 @@ }, "node_modules/delay": { "version": "7.0.0", + "resolved": "https://registry.npmjs.org/delay/-/delay-7.0.0.tgz", + "integrity": "sha512-C3vaGs818qzZjCvVJ98GQUMVyWeg7dr5w2Nwwb2t5K8G98jOyyVO2ti2bKYk5yoYElqH3F2yA53ykuEnwD6MCg==", "license": "MIT", "dependencies": { "random-int": "^3.1.0", @@ -2563,6 +3462,8 @@ }, "node_modules/delayed-stream": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "license": "MIT", "engines": { "node": ">=0.4.0" @@ -2570,11 +3471,15 @@ }, "node_modules/destr": { "version": "2.0.5", + "resolved": "https://registry.npmjs.org/destr/-/destr-2.0.5.tgz", + "integrity": "sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==", "dev": true, "license": "MIT" }, "node_modules/diff": { "version": "7.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", + "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -2583,6 +3488,8 @@ }, "node_modules/dotenv": { "version": "17.4.2", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.2.tgz", + "integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -2594,6 +3501,8 @@ }, "node_modules/dunder-proto": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.1", @@ -2606,11 +3515,15 @@ }, "node_modules/eastasianwidth": { "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "dev": true, "license": "MIT" }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", "license": "Apache-2.0", "dependencies": { "safe-buffer": "^5.0.1" @@ -2618,6 +3531,8 @@ }, "node_modules/eciesjs": { "version": "0.5.0", + "resolved": "https://registry.npmjs.org/eciesjs/-/eciesjs-0.5.0.tgz", + "integrity": "sha512-s0J9SEVYAEPg7J63GFMApLYzPH9VNIQIyC6s15JpnqVc0TqcKWdbgFlnAweEBRyMmko2dcs2sfC83Hj4J43tuA==", "license": "MIT", "dependencies": { "@ecies/ciphers": "^0.2.6", @@ -2633,6 +3548,8 @@ }, "node_modules/eciesjs/node_modules/@ecies/ciphers": { "version": "0.2.6", + "resolved": "https://registry.npmjs.org/@ecies/ciphers/-/ciphers-0.2.6.tgz", + "integrity": "sha512-patgsRPKGkhhoBjETV4XxD0En4ui5fbX0hzayqI3M8tvNMGUoUvmyYAIWwlxBc1KX5cturfqByYdj5bYGRpN9g==", "license": "MIT", "engines": { "bun": ">=1", @@ -2645,6 +3562,8 @@ }, "node_modules/eciesjs/node_modules/@noble/ciphers": { "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz", + "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==", "license": "MIT", "engines": { "node": "^14.21.3 || >=16" @@ -2655,6 +3574,8 @@ }, "node_modules/eciesjs/node_modules/@noble/curves": { "version": "1.9.7", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.7.tgz", + "integrity": "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==", "license": "MIT", "dependencies": { "@noble/hashes": "1.8.0" @@ -2668,6 +3589,8 @@ }, "node_modules/eciesjs/node_modules/@noble/hashes": { "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz", + "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==", "license": "MIT", "engines": { "node": "^14.21.3 || >=16" @@ -2678,11 +3601,15 @@ }, "node_modules/emoji-regex": { "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true, "license": "MIT" }, "node_modules/enquirer": { "version": "2.4.1", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", + "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", "license": "MIT", "dependencies": { "ansi-colors": "^4.1.1", @@ -2694,6 +3621,8 @@ }, "node_modules/es-define-property": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -2701,6 +3630,8 @@ }, "node_modules/es-errors": { "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -2708,6 +3639,8 @@ }, "node_modules/es-object-atoms": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", "license": "MIT", "dependencies": { "es-errors": "^1.3.0" @@ -2718,6 +3651,8 @@ }, "node_modules/es-set-tostringtag": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -2731,6 +3666,8 @@ }, "node_modules/esbuild": { "version": "0.28.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", + "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -2771,6 +3708,8 @@ }, "node_modules/escalade": { "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, "license": "MIT", "engines": { @@ -2779,6 +3718,8 @@ }, "node_modules/escape-string-regexp": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, "license": "MIT", "engines": { @@ -2790,6 +3731,8 @@ }, "node_modules/escodegen": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -2810,6 +3753,8 @@ }, "node_modules/eslint": { "version": "10.8.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.8.1.tgz", + "integrity": "sha512-wqA7W2jbsC/BnV9Iv1UZpKVFkO1AdNoSmYW8NWG4HNOBbkAMvIqDZ27pI2f07dqn583NcIC44ckjAcOXDL1QbQ==", "dev": true, "license": "MIT", "workspaces": [ @@ -2867,6 +3812,8 @@ }, "node_modules/eslint-scope": { "version": "9.1.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", + "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -2884,6 +3831,8 @@ }, "node_modules/eslint-visitor-keys": { "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -2895,6 +3844,8 @@ }, "node_modules/espree": { "version": "11.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", + "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -2911,6 +3862,8 @@ }, "node_modules/esprima": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true, "license": "BSD-2-Clause", "bin": { @@ -2923,6 +3876,8 @@ }, "node_modules/esquery": { "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -2934,6 +3889,8 @@ }, "node_modules/esrecurse": { "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -2945,6 +3902,8 @@ }, "node_modules/estraverse": { "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -2953,6 +3912,8 @@ }, "node_modules/esutils": { "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -2961,6 +3922,8 @@ }, "node_modules/eta": { "version": "4.6.0", + "resolved": "https://registry.npmjs.org/eta/-/eta-4.6.0.tgz", + "integrity": "sha512-lW6is4T1NFOYnmqGZIfvixqj7A7sSvScF+DN8EK6K58xI5MZ5UvYe0GjopxOXQtZvUn4eDdVuZ8XSoYWTMEKwA==", "dev": true, "license": "MIT", "engines": { @@ -2972,6 +3935,8 @@ }, "node_modules/ethers": { "version": "6.17.0", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.17.0.tgz", + "integrity": "sha512-BpyrpIPJ3ydEVow8zGaz1DuPS7YU8DcWxuBnY9a0UA/lvAPwrMr+EPXsfrul628SRaekPNeIM4UFh/91GWZang==", "funding": [ { "type": "individual", @@ -2998,6 +3963,8 @@ }, "node_modules/ethers/node_modules/@types/node": { "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "license": "MIT", "dependencies": { "undici-types": "~6.19.2" @@ -3005,21 +3972,23 @@ }, "node_modules/ethers/node_modules/undici-types": { "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", "license": "MIT" }, "node_modules/event-target-shim": { "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", "license": "MIT", "engines": { "node": ">=6" } }, - "node_modules/eventemitter3": { - "version": "5.0.4", - "license": "MIT" - }, "node_modules/events": { "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "license": "MIT", "engines": { "node": ">=0.8.x" @@ -3027,31 +3996,43 @@ }, "node_modules/exsolve": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.1.1.tgz", + "integrity": "sha512-9U/jZUgjnSGyntRr6y5Muu1MJcwFl6kPu7k8qLF0IMNfLqvw0NZ4nnVDq0RVoZ0RvCyumib4Ez3KYrVfilrw+g==", "dev": true, "license": "MIT" }, "node_modules/fast-deep-equal": { "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true, "license": "MIT" }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", "dev": true, "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true, "license": "MIT" }, "node_modules/fast-string-truncated-width": { "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", + "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==", "dev": true, "license": "MIT" }, "node_modules/fast-string-width": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz", + "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==", "dev": true, "license": "MIT", "dependencies": { @@ -3060,6 +4041,8 @@ }, "node_modules/fast-wrap-ansi": { "version": "0.2.2", + "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.2.tgz", + "integrity": "sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==", "dev": true, "license": "MIT", "dependencies": { @@ -3068,6 +4051,8 @@ }, "node_modules/figlet": { "version": "1.11.4", + "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.11.4.tgz", + "integrity": "sha512-ZU41480OncL+NVLQrT0GVnbO0COL24sLSrzksioDgunmdJNYEUxhJJZ4Y3x1csN8XXqN5OcCZTLG8lKdquNyfQ==", "license": "MIT", "dependencies": { "commander": "^14.0.0" @@ -3081,6 +4066,8 @@ }, "node_modules/figlet/node_modules/commander": { "version": "14.0.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", + "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", "license": "MIT", "engines": { "node": ">=20" @@ -3088,6 +4075,8 @@ }, "node_modules/file-entry-cache": { "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3099,6 +4088,8 @@ }, "node_modules/find-up": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, "license": "MIT", "dependencies": { @@ -3114,6 +4105,8 @@ }, "node_modules/flat": { "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", "dev": true, "license": "BSD-3-Clause", "bin": { @@ -3122,6 +4115,8 @@ }, "node_modules/flat-cache": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, "license": "MIT", "dependencies": { @@ -3134,11 +4129,15 @@ }, "node_modules/flatted": { "version": "3.4.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", + "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", "dev": true, "license": "ISC" }, "node_modules/follow-redirects": { "version": "1.16.0", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", + "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==", "funding": [ { "type": "individual", @@ -3157,6 +4156,8 @@ }, "node_modules/foreground-child": { "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", "dev": true, "license": "ISC", "dependencies": { @@ -3172,6 +4173,8 @@ }, "node_modules/form-data": { "version": "4.0.6", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", + "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", @@ -3184,8 +4187,25 @@ "node": ">= 6" } }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3193,6 +4213,8 @@ }, "node_modules/get-caller-file": { "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, "license": "ISC", "engines": { @@ -3201,6 +4223,8 @@ }, "node_modules/get-east-asian-width": { "version": "1.6.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz", + "integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==", "dev": true, "license": "MIT", "engines": { @@ -3212,6 +4236,8 @@ }, "node_modules/get-intrinsic": { "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.2", @@ -3234,6 +4260,8 @@ }, "node_modules/get-proto": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", "license": "MIT", "dependencies": { "dunder-proto": "^1.0.1", @@ -3245,6 +4273,8 @@ }, "node_modules/get-uri": { "version": "8.0.1", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-8.0.1.tgz", + "integrity": "sha512-/5N/P4Lrh0p/mDwlDRi7Y1+P2o/OyzZI3l6Iz1Ov6XXwwm1y3RlZLuo3gVgML99djrEDtV980bBxSuOeHLk8ww==", "dev": true, "license": "MIT", "dependencies": { @@ -3258,6 +4288,8 @@ }, "node_modules/get-uri/node_modules/data-uri-to-buffer": { "version": "8.0.0", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-8.0.0.tgz", + "integrity": "sha512-6UHfyCux51b8PTGDgveqtz1tvphBku5DrMKKJbFAZAJOI2zsjDpDoYE1+QGj7FOMS4BdTFNJsJiR3zEB0xH0yQ==", "dev": true, "license": "MIT", "engines": { @@ -3266,6 +4298,8 @@ }, "node_modules/giget": { "version": "3.3.1", + "resolved": "https://registry.npmjs.org/giget/-/giget-3.3.1.tgz", + "integrity": "sha512-r+mvuDjrjMpsdw46Kmeydb8bdHm7wOKw8wNBtTndkjbPjgAp5oUJUxRE76wZFknxIPokfWvep2qSXK37aXE6zg==", "dev": true, "license": "MIT", "bin": { @@ -3274,6 +4308,8 @@ }, "node_modules/git-up": { "version": "8.1.1", + "resolved": "https://registry.npmjs.org/git-up/-/git-up-8.1.1.tgz", + "integrity": "sha512-FDenSF3fVqBYSaJoYy1KSc2wosx0gCvKP+c+PRBht7cAaiCeQlBtfBDX9vgnNOHmdePlSFITVcn4pFfcgNvx3g==", "dev": true, "license": "MIT", "dependencies": { @@ -3283,6 +4319,8 @@ }, "node_modules/git-url-parse": { "version": "16.1.0", + "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-16.1.0.tgz", + "integrity": "sha512-cPLz4HuK86wClEW7iDdeAKcCVlWXmrLpb2L+G9goW0Z1dtpNS6BXXSOckUTlJT/LDQViE1QZKstNORzHsLnobw==", "dev": true, "license": "MIT", "dependencies": { @@ -3291,6 +4329,9 @@ }, "node_modules/glob": { "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", "dev": true, "license": "ISC", "dependencies": { @@ -3310,6 +4351,8 @@ }, "node_modules/glob-parent": { "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, "license": "ISC", "dependencies": { @@ -3321,6 +4364,8 @@ }, "node_modules/glob/node_modules/brace-expansion": { "version": "2.1.4", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", + "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", "dev": true, "license": "MIT", "dependencies": { @@ -3329,6 +4374,8 @@ }, "node_modules/glob/node_modules/minimatch": { "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "dev": true, "license": "ISC", "dependencies": { @@ -3343,6 +4390,8 @@ }, "node_modules/globals": { "version": "17.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.11.0.tgz", + "integrity": "sha512-Z2I8hM+PbJDXQDq3Icgpzv+mPdwr68iZUU9d5WW4FuXfDUQfkZaZuvjMv42/5crNyw154+9+VWXbYrUgDXbxNw==", "dev": true, "license": "MIT", "engines": { @@ -3354,6 +4403,8 @@ }, "node_modules/gopd": { "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -3364,6 +4415,8 @@ }, "node_modules/handlebars": { "version": "4.7.9", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz", + "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3384,6 +4437,8 @@ }, "node_modules/has-flag": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "license": "MIT", "engines": { "node": ">=8" @@ -3391,6 +4446,8 @@ }, "node_modules/has-symbols": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -3401,6 +4458,8 @@ }, "node_modules/has-tostringtag": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" @@ -3414,10 +4473,14 @@ }, "node_modules/hashlru": { "version": "2.3.0", + "resolved": "https://registry.npmjs.org/hashlru/-/hashlru-2.3.0.tgz", + "integrity": "sha512-0cMsjjIC8I+D3M44pOQdsy0OHXGLVz6Z0beRuufhKa0KfaD2wGwAev6jILzXsd3/vpnNQJmWyZtIILqM1N+n5A==", "license": "MIT" }, "node_modules/hasown": { "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -3428,6 +4491,8 @@ }, "node_modules/he": { "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true, "license": "MIT", "bin": { @@ -3436,6 +4501,8 @@ }, "node_modules/http-proxy-agent": { "version": "9.1.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-9.1.0.tgz", + "integrity": "sha512-2NxoveTT58mjYT4n3RPTEfCZGLMbidoO8XEieXfpSYxu+PQJ1qpx4ypwH6N+uF9twBPIvRRgvkvW5HUTYWENig==", "dev": true, "license": "MIT", "dependencies": { @@ -3449,6 +4516,8 @@ }, "node_modules/https-proxy-agent": { "version": "9.1.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-9.1.0.tgz", + "integrity": "sha512-ag87y7cJJ9/3+GxFr8Oy4O5faDsGRGnBGsJj/YjOSsSx/5eadKLYTMPlzuR6obgoCDDm0abAAZitXXQkMOPSpA==", "dev": true, "license": "MIT", "dependencies": { @@ -3462,6 +4531,8 @@ }, "node_modules/iconv-lite": { "version": "0.7.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3477,6 +4548,8 @@ }, "node_modules/ieee754": { "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "funding": [ { "type": "github", @@ -3495,6 +4568,8 @@ }, "node_modules/ignore": { "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "license": "MIT", "engines": { @@ -3503,6 +4578,8 @@ }, "node_modules/import-cwd": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-3.0.0.tgz", + "integrity": "sha512-4pnzH16plW+hgvRECbDWpQl3cqtvSofHWh44met7ESfZ8UZOWWddm8hEyDTqREJ9RbYHY8gi8DqmaelApoOGMg==", "dev": true, "license": "MIT", "dependencies": { @@ -3514,6 +4591,8 @@ }, "node_modules/import-from": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/import-from/-/import-from-3.0.0.tgz", + "integrity": "sha512-CiuXOFFSzkU5x/CR0+z7T91Iht4CXgfCxVOFRhh2Zyhg5wOpWvvDLQUsWl+gcN+QscYBjez8hDCt85O7RLDttQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3525,6 +4604,8 @@ }, "node_modules/import-from/node_modules/resolve-from": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, "license": "MIT", "engines": { @@ -3533,6 +4614,8 @@ }, "node_modules/imurmurhash": { "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, "license": "MIT", "engines": { @@ -3541,6 +4624,8 @@ }, "node_modules/interface-datastore": { "version": "10.0.1", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-10.0.1.tgz", + "integrity": "sha512-DYMj/Og5Cz1Qwkx6/x5KRvR8SYEX7rVAv3KKCm2NzTwWSfpNAC4PahjcYbHyoZBP6zPWrhQv5n5wE+vaDdgSAg==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.2", @@ -3550,6 +4635,8 @@ }, "node_modules/interface-store": { "version": "8.0.0", + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-8.0.0.tgz", + "integrity": "sha512-e2+s3EEROzM+Wlas4hU3zveTUscvVMf1BOvdsJfpzFm19SoEXLVadpACjWOnM491HqGpvtfFnevyiaN8W+I6Eg==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.2" @@ -3557,6 +4644,8 @@ }, "node_modules/ip-address": { "version": "10.5.0", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.5.0.tgz", + "integrity": "sha512-R5SnVLJmgYYvf2F2ZgwSBnelz5G4q5AxIC277GDfUaNbrZKNANcBC7RHqYYePlszf4kBolVkJauG0ZjHHFh55g==", "dev": true, "license": "MIT", "engines": { @@ -3565,6 +4654,8 @@ }, "node_modules/is-docker": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", "dev": true, "license": "MIT", "bin": { @@ -3579,10 +4670,14 @@ }, "node_modules/is-electron": { "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-electron/-/is-electron-2.2.2.tgz", + "integrity": "sha512-FO/Rhvz5tuw4MCWkpMzHFKWD2LsfHzIb7i6MdPYZ/KW7AlxawyLkqdy+jPZP1WubqEADE3O4FUENlJHDfQASRg==", "license": "MIT" }, "node_modules/is-extglob": { "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, "license": "MIT", "engines": { @@ -3591,6 +4686,8 @@ }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, "license": "MIT", "engines": { @@ -3599,6 +4696,8 @@ }, "node_modules/is-glob": { "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "license": "MIT", "dependencies": { @@ -3610,6 +4709,8 @@ }, "node_modules/is-in-ssh": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-in-ssh/-/is-in-ssh-1.0.0.tgz", + "integrity": "sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==", "dev": true, "license": "MIT", "engines": { @@ -3621,6 +4722,8 @@ }, "node_modules/is-inside-container": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", "dev": true, "license": "MIT", "dependencies": { @@ -3638,6 +4741,8 @@ }, "node_modules/is-interactive": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", + "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", "dev": true, "license": "MIT", "engines": { @@ -3649,10 +4754,14 @@ }, "node_modules/is-loopback-addr": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-loopback-addr/-/is-loopback-addr-2.1.0.tgz", + "integrity": "sha512-77bB59Coq+vGTibZlnuYVU1bUuiboGZ62ZJ7TqmgYKb+hko9dSlqS5OfqvmPZhwJys48At4y4D1UJP3GuvoXtQ==", "license": "MIT" }, "node_modules/is-network-error": { "version": "1.3.2", + "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.3.2.tgz", + "integrity": "sha512-PhBY86zaxNZUuWP6h13Vu5oFe0XY6/UlKzQnYFELzGVHygP3MxmvTfYSG7GN3aIab/iWudSMgjSnG9Dq+nHrgA==", "license": "MIT", "engines": { "node": ">=16" @@ -3663,6 +4772,8 @@ }, "node_modules/is-path-inside": { "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true, "license": "MIT", "engines": { @@ -3671,6 +4782,8 @@ }, "node_modules/is-plain-obj": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true, "license": "MIT", "engines": { @@ -3679,6 +4792,8 @@ }, "node_modules/is-ssh": { "version": "1.4.1", + "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.1.tgz", + "integrity": "sha512-JNeu1wQsHjyHgn9NcWTaXq6zWSR6hqE0++zhfZlkFBbScNkyvxCdeV8sRkSBaeLKxmbpR21brail63ACNxJ0Tg==", "dev": true, "license": "MIT", "dependencies": { @@ -3687,6 +4802,8 @@ }, "node_modules/is-unicode-supported": { "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", "dev": true, "license": "MIT", "engines": { @@ -3698,6 +4815,8 @@ }, "node_modules/is-wsl": { "version": "3.1.1", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz", + "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==", "dev": true, "license": "MIT", "dependencies": { @@ -3712,11 +4831,15 @@ }, "node_modules/isexe": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true, "license": "ISC" }, "node_modules/issue-parser": { "version": "7.0.2", + "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.2.tgz", + "integrity": "sha512-7atWPjhGEIX3JEtMrOYd8TKzboYlq+5sNbdl9POiLYOI14G5HZiQbZP0Xj5EZdrufQVXfJlpTV0hys0CuxwxZw==", "dev": true, "license": "MIT", "dependencies": { @@ -3732,14 +4855,20 @@ }, "node_modules/it-all": { "version": "3.0.11", + "resolved": "https://registry.npmjs.org/it-all/-/it-all-3.0.11.tgz", + "integrity": "sha512-Gvqj6MO4GMLnFdtE68HZRpGBskNC+9+GQ+JevTGNYLyhjUuPhjDLU3jN1LpBemXJDW1bRSkczqA/qGyKlPKrcQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/it-drain": { "version": "3.0.12", + "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.12.tgz", + "integrity": "sha512-RaFA9X1PF2Pf1Jlqhgf5PlXLgf6CaZt7tSzhia+EkEVcAJRKa0Uhr8UnjVv0GmOA3Air9jDJfIX2KIvz5hZ1Ag==", "license": "Apache-2.0 OR MIT" }, "node_modules/it-filter": { "version": "3.1.6", + "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.1.6.tgz", + "integrity": "sha512-yXiGPAvJn/exXjVFSCMQc3+J/7RLpOMwKoY2DH1yMhF4lYkdRoAdOwU0vnDACAlRAexf7AZvESZIc9mzhEoi/A==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-peekable": "^3.0.0" @@ -3747,10 +4876,14 @@ }, "node_modules/it-length": { "version": "3.0.11", + "resolved": "https://registry.npmjs.org/it-length/-/it-length-3.0.11.tgz", + "integrity": "sha512-j0uukHdr3zoLm4dcozDoyv5khQrOI8dfXMSSEqaxorfOtleh1KwRVbdnTmzj6HVkHgTM1jcx+bhAcnTkbpHl+g==", "license": "Apache-2.0 OR MIT" }, "node_modules/it-length-prefixed": { "version": "11.0.1", + "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-11.0.1.tgz", + "integrity": "sha512-0Cy4RHFiL2CH060Lkigq0N37VaPg7oSylG6YjXErq+ccJFYcNEWNzxNjbqceio/sY1C+q84vZXOCE6/C0flYfQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-reader": "^7.0.0", @@ -3762,6 +4895,8 @@ }, "node_modules/it-length-prefixed/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -3769,6 +4904,8 @@ }, "node_modules/it-map": { "version": "3.1.6", + "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.1.6.tgz", + "integrity": "sha512-wCix0FXImtIPIxhCnbz35RqWs00e/CReSZX9nZq1j46JcAzBBp57ob9/2l1WnDYEaUURIR8xCyg2NsWbOwBJFQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-peekable": "^3.0.0" @@ -3776,6 +4913,8 @@ }, "node_modules/it-merge": { "version": "3.0.15", + "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.15.tgz", + "integrity": "sha512-rUskoyECUdJsUwpfBtiLXddm56J+vukMztq+PpfTss1mRl/aHv1YJs+6Q2XnpvDThFC2y4Xm636X0xh6IecPGg==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-queueless-pushable": "^2.0.0" @@ -3783,6 +4922,8 @@ }, "node_modules/it-parallel": { "version": "3.0.16", + "resolved": "https://registry.npmjs.org/it-parallel/-/it-parallel-3.0.16.tgz", + "integrity": "sha512-qr3nTgj4fraSfr6Ix9JkHsy/Yb/4vmS3QIAu3fsX52r2SOTLbohXoixKp6AIhTJcorpKwjP0VFcpHr5V54jivA==", "license": "Apache-2.0 OR MIT", "dependencies": { "p-defer": "^4.0.1" @@ -3790,10 +4931,14 @@ }, "node_modules/it-peekable": { "version": "3.0.10", + "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-3.0.10.tgz", + "integrity": "sha512-2E6+p1pelZOhzp69aaiiBuEybWzAl10uYbIdCR3Pxy8bFNnS/kgpbLtGbNbIZ6RVdU7yHHkmATYwjy52GfFEKA==", "license": "Apache-2.0 OR MIT" }, "node_modules/it-pipe": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", + "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-merge": "^3.0.0", @@ -3807,6 +4952,8 @@ }, "node_modules/it-pushable": { "version": "3.2.4", + "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.2.4.tgz", + "integrity": "sha512-WSD7Ss4oCRfDZJT4ldLWr0Bom/muY90xxoJ5PQnU3uSKf0kxCOeehqZtiJX1ARqn+ymXGh1bxpDW9bDNHp2ivQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "p-defer": "^4.0.0" @@ -3814,6 +4961,8 @@ }, "node_modules/it-queue": { "version": "1.1.4", + "resolved": "https://registry.npmjs.org/it-queue/-/it-queue-1.1.4.tgz", + "integrity": "sha512-cGH0+YfMPmwQ+lV+MhJcOXqOgE04h0zQCXvDUmvGGTyW0VqxJZbi7V+PQFEuPVN/5dHQg5RY9aVjMCgmxXaE5Q==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.2", @@ -3825,6 +4974,8 @@ }, "node_modules/it-queueless-pushable": { "version": "2.0.5", + "resolved": "https://registry.npmjs.org/it-queueless-pushable/-/it-queueless-pushable-2.0.5.tgz", + "integrity": "sha512-BaKqGLL1AQMR1AEaxiM09vzJQVXHHhfhh9UV0qPqORw/8Rm8igDQqT1qHregfHIb1NIW9jxQ/aXBibHJyuivuQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.2", @@ -3834,6 +4985,8 @@ }, "node_modules/it-reader": { "version": "7.0.0", + "resolved": "https://registry.npmjs.org/it-reader/-/it-reader-7.0.0.tgz", + "integrity": "sha512-bTWQPHH1if8N1K9XeidDjhTDm51ALbOksMa9uCZVVsQkoIPXP0XVKM88/Ynqr7HS18La/P1Kvu7C73j4rRoKWQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-stream-types": "^2.0.1", @@ -3842,6 +4995,8 @@ }, "node_modules/it-reader/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -3849,6 +5004,8 @@ }, "node_modules/it-sort": { "version": "3.0.11", + "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.11.tgz", + "integrity": "sha512-eZ22LAoNLx4i4gVV44tJPoUYf/o+mHKa6+OigdVH/hmsdA2qoJN6MNPvKZyZKBf6+S/8PBE44zyvkzdYGkRhbA==", "license": "Apache-2.0 OR MIT", "dependencies": { "it-all": "^3.0.0" @@ -3856,14 +5013,20 @@ }, "node_modules/it-stream-types": { "version": "2.0.4", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.4.tgz", + "integrity": "sha512-tsX+klvMQ53J4Jm2B52vCIs7WD609ck+VS9X2TKMEv7VPY9VwaYKmSWyHek5QS0wHBtP0bWj9KMqCtAHgVKiXw==", "license": "Apache-2.0 OR MIT" }, "node_modules/it-take": { "version": "3.0.11", + "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.11.tgz", + "integrity": "sha512-zvoeEjLViGFyhYT5KNCgmcIH90Si8lCve4aTMvgej/ZQRfB9YzrcJW3UHIJjbQ9TiAnsT4vsWDImEFQNk5xmnA==", "license": "Apache-2.0 OR MIT" }, "node_modules/jackspeak": { "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -3878,6 +5041,8 @@ }, "node_modules/jiti": { "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", "dev": true, "license": "MIT", "bin": { @@ -3886,6 +5051,8 @@ }, "node_modules/js-yaml": { "version": "4.3.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.1.tgz", + "integrity": "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==", "dev": true, "funding": [ { @@ -3907,26 +5074,36 @@ }, "node_modules/json-buffer": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", "dev": true, "license": "MIT" }, "node_modules/json-schema-traverse": { "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true, "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "dev": true, "license": "MIT" }, "node_modules/json-with-bigint": { "version": "3.5.10", + "resolved": "https://registry.npmjs.org/json-with-bigint/-/json-with-bigint-3.5.10.tgz", + "integrity": "sha512-Vcx+JVNEBts/xfcoCS69sKrOhOk/3TVlvlT+XzUOefVKnnrbYSCKpDCm10pohsJFtsJVYnwa/cXRZ4eElzaM6w==", "dev": true, "license": "MIT" }, "node_modules/jsonld": { "version": "9.0.0", + "resolved": "https://registry.npmjs.org/jsonld/-/jsonld-9.0.0.tgz", + "integrity": "sha512-pjMIdkXfC1T2wrX9B9i2uXhGdyCmgec3qgMht+TDj+S0qX3bjWMQUfL7NeqEhuRTi8G5ESzmL9uGlST7nzSEWg==", "license": "BSD-3-Clause", "dependencies": { "@digitalbazaar/http-client": "^4.2.0", @@ -3940,6 +5117,8 @@ }, "node_modules/jsonwebtoken": { "version": "9.0.3", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.3.tgz", + "integrity": "sha512-MT/xP0CrubFRNLNKvxJ2BYfy53Zkm++5bX9dtuPbqAeQpTVe0MQTFhao8+Cp//EmJp244xt6Drw/GVEGCUj40g==", "license": "MIT", "dependencies": { "jws": "^4.0.1", @@ -3960,6 +5139,8 @@ }, "node_modules/jwa": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", + "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", "license": "MIT", "dependencies": { "buffer-equal-constant-time": "^1.0.1", @@ -3969,6 +5150,8 @@ }, "node_modules/jws": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz", + "integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==", "license": "MIT", "dependencies": { "jwa": "^2.0.1", @@ -3977,6 +5160,8 @@ }, "node_modules/keyv": { "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", "dev": true, "license": "MIT", "dependencies": { @@ -3985,6 +5170,8 @@ }, "node_modules/ky": { "version": "1.14.3", + "resolved": "https://registry.npmjs.org/ky/-/ky-1.14.3.tgz", + "integrity": "sha512-9zy9lkjac+TR1c2tG+mkNSVlyOpInnWdSMiue4F+kq8TwJSgv6o8jhLRg8Ho6SnZ9wOYUq/yozts9qQCfk7bIw==", "license": "MIT", "engines": { "node": ">=18" @@ -3995,6 +5182,8 @@ }, "node_modules/levn": { "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4007,6 +5196,8 @@ }, "node_modules/libp2p": { "version": "3.3.11", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-3.3.11.tgz", + "integrity": "sha512-+J3Dw1RnGdcpQaPN1HD+Z6xVS3qY0vnsqE2Tu//pfoiJxabaZVkc2FBNnNQ1Sj+Th2qoloeJ11jvxuNXSa1gtA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@chainsafe/is-ip": "^2.1.0", @@ -4040,6 +5231,8 @@ }, "node_modules/locate-path": { "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "license": "MIT", "dependencies": { @@ -4054,54 +5247,78 @@ }, "node_modules/lodash.capitalize": { "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", + "integrity": "sha512-kZzYOKspf8XVX5AvmQF94gQW0lejFVgb80G85bU4ZWzoJ6C03PQg3coYAUpSTpQWelrZELd3XWgHzw4Ck5kaIw==", "dev": true, "license": "MIT" }, "node_modules/lodash.escaperegexp": { "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", + "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==", "dev": true, "license": "MIT" }, "node_modules/lodash.includes": { "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", "license": "MIT" }, "node_modules/lodash.isboolean": { "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", "license": "MIT" }, "node_modules/lodash.isinteger": { "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", "license": "MIT" }, "node_modules/lodash.isnumber": { "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", "license": "MIT" }, "node_modules/lodash.isplainobject": { "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", "license": "MIT" }, "node_modules/lodash.isstring": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", "license": "MIT" }, "node_modules/lodash.merge": { "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true, "license": "MIT" }, "node_modules/lodash.once": { "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", "license": "MIT" }, "node_modules/lodash.uniqby": { "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz", + "integrity": "sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==", "dev": true, "license": "MIT" }, "node_modules/log-symbols": { "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "dev": true, "license": "MIT", "dependencies": { @@ -4117,6 +5334,8 @@ }, "node_modules/lru-cache": { "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "license": "ISC", "dependencies": { "yallist": "^4.0.0" @@ -4127,6 +5346,8 @@ }, "node_modules/macos-release": { "version": "3.5.1", + "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-3.5.1.tgz", + "integrity": "sha512-Lci/1in+elqZ589PXnfP/iwZXpwQifTM94WJRQwG2tZSdfY7NfB/aUaTARHrohWCgHlXoabeaeXRDOnF5X9JQw==", "dev": true, "license": "MIT", "engines": { @@ -4138,10 +5359,14 @@ }, "node_modules/main-event": { "version": "1.0.5", + "resolved": "https://registry.npmjs.org/main-event/-/main-event-1.0.5.tgz", + "integrity": "sha512-4l9z8r7Q446mhhVTwdHmfPksOYBwN2xa7ewEW2yxPVNQapIaAf57ORFLMB91SpMEMa4wXowect7fq3uMLjDnGA==", "license": "Apache-2.0 OR MIT" }, "node_modules/math-intrinsics": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -4149,6 +5374,8 @@ }, "node_modules/mime-db": { "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "license": "MIT", "engines": { "node": ">= 0.6" @@ -4156,6 +5383,8 @@ }, "node_modules/mime-types": { "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "license": "MIT", "dependencies": { "mime-db": "1.52.0" @@ -4166,6 +5395,8 @@ }, "node_modules/mimic-function": { "version": "5.0.1", + "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", + "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", "dev": true, "license": "MIT", "engines": { @@ -4177,6 +5408,8 @@ }, "node_modules/minimatch": { "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -4191,6 +5424,8 @@ }, "node_modules/minimist": { "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true, "license": "MIT", "funding": { @@ -4199,6 +5434,8 @@ }, "node_modules/minipass": { "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -4207,6 +5444,8 @@ }, "node_modules/mocha": { "version": "11.8.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.8.0.tgz", + "integrity": "sha512-VyCeUdGN3A9lmCTTgG4yuvY9ixxaDk+xt2R/7/+1AP6EqNG+G9OKkzBwhVtVYoNX8YsxNSgAl8mOv3IAeOpFbw==", "dev": true, "license": "MIT", "dependencies": { @@ -4242,6 +5481,8 @@ }, "node_modules/mocha/node_modules/brace-expansion": { "version": "2.1.4", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", + "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", "dev": true, "license": "MIT", "dependencies": { @@ -4250,6 +5491,8 @@ }, "node_modules/mocha/node_modules/minimatch": { "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "dev": true, "license": "ISC", "dependencies": { @@ -4264,6 +5507,8 @@ }, "node_modules/mocha/node_modules/supports-color": { "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "license": "MIT", "dependencies": { @@ -4278,6 +5523,8 @@ }, "node_modules/mortice": { "version": "3.3.1", + "resolved": "https://registry.npmjs.org/mortice/-/mortice-3.3.1.tgz", + "integrity": "sha512-t3oESfijIPGsmsdLEKjF+grHfrbnKSXflJtgb1wY14cjxZpS6GnhHRXTxxzCAoCCnq1YYfpEPwY3gjiCPhOufQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.0", @@ -4287,14 +5534,20 @@ }, "node_modules/ms": { "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, "node_modules/multiformats": { "version": "14.0.5", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-14.0.5.tgz", + "integrity": "sha512-vbIm83F2yZ1pWJGS0yl0ysracIvv56LtbrIyiIQHoLdYDJOMoLfVFsXhh9DUH4SFdkdkFhucyWniihsNzVEjkQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/mute-stream": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", "dev": true, "license": "ISC", "engines": { @@ -4303,6 +5556,8 @@ }, "node_modules/n3": { "version": "2.2.5", + "resolved": "https://registry.npmjs.org/n3/-/n3-2.2.5.tgz", + "integrity": "sha512-lR/0N7zVayC6N0uWqrMkPpJn8Up4+qBsjWiBnoOWWEi/ldTcygs2Dw1iAgozzDXLW/fcxXFfbMzpGHlc/1MBLQ==", "license": "MIT", "dependencies": { "buffer": "^6.0.3", @@ -4313,7 +5568,9 @@ } }, "node_modules/nanoid": { - "version": "6.0.1", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-6.0.2.tgz", + "integrity": "sha512-hIvVOb9Qr1p/9CNNLOe0OlWvgx/ziTsVwKN/GDSsuArN2K0wDiafP3s0SWmsm7o2BdnyS8Z9Z64NFBUbn6ziBg==", "funding": [ { "type": "github", @@ -4330,16 +5587,22 @@ }, "node_modules/natural-compare": { "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true, "license": "MIT" }, "node_modules/neo-async": { "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", "dev": true, "license": "MIT" }, "node_modules/netmask": { "version": "2.1.1", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.1.1.tgz", + "integrity": "sha512-eonl3sLUha+S1GzTPxychyhnUzKyeQkZ7jLjKrBagJgPla13F+uQ71HgpFefyHgqrjEbCPkDArxYsjY8/+gLKA==", "license": "MIT", "engines": { "node": ">= 0.4.0" @@ -4347,6 +5610,8 @@ }, "node_modules/new-github-release-url": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/new-github-release-url/-/new-github-release-url-2.0.0.tgz", + "integrity": "sha512-NHDDGYudnvRutt/VhKFlX26IotXe1w0cmkDm6JGquh5bz/bDTw0LufSmH/GxTjEdpHEO+bVKFTwdrcGa/9XlKQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4361,6 +5626,8 @@ }, "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" @@ -4379,6 +5646,8 @@ }, "node_modules/node-gyp-build": { "version": "4.8.4", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", + "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", "license": "MIT", "optional": true, "peer": true, @@ -4390,11 +5659,15 @@ }, "node_modules/ohash": { "version": "2.0.12", + "resolved": "https://registry.npmjs.org/ohash/-/ohash-2.0.12.tgz", + "integrity": "sha512-65S/5gk9YSsaRjcyf7Nfa6h/d3E8/1gslpXfI4W7Dxn/oap8IKRuNT5VXkLQ1YFKIEg4apRY4Pj6aiwFzrDdmw==", "dev": true, "license": "MIT" }, "node_modules/onetime": { "version": "7.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", + "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4409,6 +5682,8 @@ }, "node_modules/open": { "version": "11.0.0", + "resolved": "https://registry.npmjs.org/open/-/open-11.0.0.tgz", + "integrity": "sha512-smsWv2LzFjP03xmvFoJ331ss6h+jixfA4UUV/Bsiyuu4YJPfN+FIQGOIiv4w9/+MoHkfkJ22UIaQWRVFRfH6Vw==", "dev": true, "license": "MIT", "dependencies": { @@ -4428,6 +5703,8 @@ }, "node_modules/optionator": { "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, "license": "MIT", "dependencies": { @@ -4444,6 +5721,8 @@ }, "node_modules/ora": { "version": "9.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-9.4.1.tgz", + "integrity": "sha512-6VlU9MLXbjVQD04AZCMX28hVtA5bUoadvUqO76MUCVA0ilwJbMiHsITRPfyVm6p/BC0Av/BXMujx39WCe1LEqw==", "dev": true, "license": "MIT", "dependencies": { @@ -4465,6 +5744,8 @@ }, "node_modules/ora/node_modules/ansi-regex": { "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", "dev": true, "license": "MIT", "engines": { @@ -4476,6 +5757,8 @@ }, "node_modules/ora/node_modules/chalk": { "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", "dev": true, "license": "MIT", "engines": { @@ -4487,6 +5770,8 @@ }, "node_modules/ora/node_modules/is-unicode-supported": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", "dev": true, "license": "MIT", "engines": { @@ -4498,6 +5783,8 @@ }, "node_modules/ora/node_modules/log-symbols": { "version": "7.0.1", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.1.tgz", + "integrity": "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==", "dev": true, "license": "MIT", "dependencies": { @@ -4513,6 +5800,8 @@ }, "node_modules/ora/node_modules/string-width": { "version": "8.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.2.tgz", + "integrity": "sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg==", "dev": true, "license": "MIT", "dependencies": { @@ -4528,6 +5817,8 @@ }, "node_modules/ora/node_modules/strip-ansi": { "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, "license": "MIT", "dependencies": { @@ -4542,6 +5833,8 @@ }, "node_modules/os-name": { "version": "7.0.0", + "resolved": "https://registry.npmjs.org/os-name/-/os-name-7.0.0.tgz", + "integrity": "sha512-/HfRU/lPPr4T2VigM+cvM3cU77es+XF4OEAa4aE5zpdvrxHGD2NmH0AFIWpMNAb+CsZL45rlcIO49Re0ZcRseg==", "dev": true, "license": "MIT", "dependencies": { @@ -4557,6 +5850,8 @@ }, "node_modules/p-defer": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-4.0.1.tgz", + "integrity": "sha512-Mr5KC5efvAK5VUptYEIopP1bakB85k2IWXaRC0rsh1uwn1L6M0LVml8OIQ4Gudg4oyZakf7FmeRLkMMtZW1i5A==", "license": "MIT", "engines": { "node": ">=12" @@ -4566,7 +5861,9 @@ } }, "node_modules/p-event": { - "version": "7.1.1", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/p-event/-/p-event-7.1.0.tgz", + "integrity": "sha512-/lkPs5W1aC3cp6vqZefpdosOn65J571sWodyfOQiF0+tmDCpU+H8Atwpu0vQROCVUlZuToDN5eyTLsMLLc54mg==", "license": "MIT", "dependencies": { "p-timeout": "^7.0.1" @@ -4578,8 +5875,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/p-event/node_modules/p-timeout": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-7.0.1.tgz", + "integrity": "sha512-AxTM2wDGORHGEkPCt8yqxOTMgpfbEHqF51f/5fJCmwFC3C/zNcGT63SymH2ttOAaiIws2zVg4+izQCjrakcwHg==", + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/p-limit": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4594,6 +5905,8 @@ }, "node_modules/p-locate": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, "license": "MIT", "dependencies": { @@ -4606,22 +5919,10 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-queue": { - "version": "9.3.3", - "license": "MIT", - "dependencies": { - "eventemitter3": "^5.0.4", - "p-timeout": "^7.0.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/p-retry": { "version": "8.0.1", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-8.0.1.tgz", + "integrity": "sha512-NAigyu8hfvJe7MsS18mnc4is0MZtau3QMdBklaJKK23oBQb6occO3UPM3vHmTckW8KhfyjMZaUOqdTFEYliHgg==", "license": "MIT", "dependencies": { "is-network-error": "^1.3.0" @@ -4633,18 +5934,10 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-timeout": { - "version": "7.0.2", - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/pac-proxy-agent": { "version": "9.1.0", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-9.1.0.tgz", + "integrity": "sha512-1aU+1mpj3DrQPfo3gh+3Gap3G5x+axnMx1P/y0ZF2ch7kb2meyOCAH8K2k9d27ROsTE7TnAerzxqF9aon2jqnA==", "dev": true, "license": "MIT", "dependencies": { @@ -4663,6 +5956,8 @@ }, "node_modules/pac-resolver": { "version": "9.0.1", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-9.0.1.tgz", + "integrity": "sha512-lJbS008tmkj08VhoM8Hzuv/VE5tK9MS0OIQ/7+s0lIF+BYhiQWFYzkSpML7lXs9iBu2jfmzBTLzhe9n6BX+dYw==", "dev": true, "license": "MIT", "dependencies": { @@ -4678,11 +5973,15 @@ }, "node_modules/package-json-from-dist": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", "dev": true, "license": "BlueOak-1.0.0" }, "node_modules/parse-github-url": { "version": "1.0.4", + "resolved": "https://registry.npmjs.org/parse-github-url/-/parse-github-url-1.0.4.tgz", + "integrity": "sha512-CEtCOt55fHmd6DpBc/N7H5NC4vJpcquhzzs9Iw2mRj8bVxo1O5TQI5MXKOMO7+yBOqD+5dKCCRK4Kj1KskZc6Q==", "dev": true, "license": "MIT", "bin": { @@ -4694,6 +5993,8 @@ }, "node_modules/parse-path": { "version": "7.1.0", + "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.1.0.tgz", + "integrity": "sha512-EuCycjZtfPcjWk7KTksnJ5xPMvWGA/6i4zrLYhRG0hGvC3GPU/jGUj3Cy+ZR0v30duV3e23R95T1lE2+lsndSw==", "dev": true, "license": "MIT", "dependencies": { @@ -4702,6 +6003,8 @@ }, "node_modules/parse-url": { "version": "9.2.0", + "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-9.2.0.tgz", + "integrity": "sha512-bCgsFI+GeGWPAvAiUv63ZorMeif3/U0zaXABGJbOWt5OH2KCaPHF6S+0ok4aqM9RuIPGyZdx9tR9l13PsW4AYQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4714,6 +6017,8 @@ }, "node_modules/path-exists": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, "license": "MIT", "engines": { @@ -4722,6 +6027,8 @@ }, "node_modules/path-key": { "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, "license": "MIT", "engines": { @@ -4730,6 +6037,8 @@ }, "node_modules/path-scurry": { "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -4745,26 +6054,36 @@ }, "node_modules/path-scurry/node_modules/lru-cache": { "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "dev": true, "license": "ISC" }, "node_modules/pathe": { "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", "dev": true, "license": "MIT" }, "node_modules/perfect-debounce": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-2.1.0.tgz", + "integrity": "sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g==", "dev": true, "license": "MIT" }, "node_modules/picocolors": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, "license": "ISC" }, "node_modules/pkg-types": { "version": "2.3.1", + "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-2.3.1.tgz", + "integrity": "sha512-y+ichcgc2LrADuhLNAx8DFjVfgz91pRxfZdI3UDhxHvcVEZsenLO+7XaU5vOp0u/7V/wZ+plyuQxtrDlZJ+yeg==", "dev": true, "license": "MIT", "dependencies": { @@ -4775,6 +6094,8 @@ }, "node_modules/powershell-utils": { "version": "0.1.0", + "resolved": "https://registry.npmjs.org/powershell-utils/-/powershell-utils-0.1.0.tgz", + "integrity": "sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A==", "dev": true, "license": "MIT", "engines": { @@ -4786,6 +6107,8 @@ }, "node_modules/prelude-ls": { "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, "license": "MIT", "engines": { @@ -4794,6 +6117,8 @@ }, "node_modules/prettier": { "version": "3.9.6", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.6.tgz", + "integrity": "sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==", "dev": true, "license": "MIT", "bin": { @@ -4808,6 +6133,8 @@ }, "node_modules/process": { "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", "license": "MIT", "engines": { "node": ">= 0.6.0" @@ -4815,15 +6142,21 @@ }, "node_modules/progress-events": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/progress-events/-/progress-events-1.1.0.tgz", + "integrity": "sha512-82DVc5tI36neVB3IjdXR11ztwGuoBc98em9ijzubeZKxI47OlV2Znq6mlPqE5xPDzO2Uw98GHiQSjj2favBCRQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/protocols": { "version": "2.0.2", + "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.2.tgz", + "integrity": "sha512-hHVTzba3wboROl0/aWRRG9dMytgH6ow//STBZh43l/wQgmMhYhOFi0EHWAPtoCz9IAUymsyP0TSBHkhgMEGNnQ==", "dev": true, "license": "MIT" }, "node_modules/protons-runtime": { "version": "5.6.0", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.6.0.tgz", + "integrity": "sha512-/Kde+sB9DsMFrddJT/UZWe6XqvL7SL5dbag/DBCElFKhkwDj7XKt53S+mzLyaDP5OqS0wXjV5SA572uWDaT0Hg==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8-varint": "^2.0.2", @@ -4833,10 +6166,14 @@ }, "node_modules/protons-runtime/node_modules/multiformats": { "version": "13.4.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.4.2.tgz", + "integrity": "sha512-eh6eHCrRi1+POZ3dA+Dq1C6jhP1GNtr9CRINMb67OKzqW9I5DUuZM/3jLPlzhgpGeiNUlEGEbkCYChXMCc/8DQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/protons-runtime/node_modules/uint8-varint": { "version": "2.0.5", + "resolved": "https://registry.npmjs.org/uint8-varint/-/uint8-varint-2.0.5.tgz", + "integrity": "sha512-jeFLbL/x30wBRnWjKE1qVBXeumG46r7XmYkpis955lTQ+blccGKFrOsSMHlxePwYB1pI7L8YPHz1t4jLxEs3nA==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arraylist": "^2.0.0", @@ -4845,6 +6182,8 @@ }, "node_modules/protons-runtime/node_modules/uint8arrays": { "version": "5.1.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.1.tgz", + "integrity": "sha512-9muQwa4wZG4dKi9gMAIBtnk2Pw87SRpvWTH6lOGm19V2Uqxr4uomUf2PGqPnWc+qs06sN8owUU4jfcoWOcfwVQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "multiformats": "^13.0.0" @@ -4852,6 +6191,8 @@ }, "node_modules/proxy-agent": { "version": "8.0.2", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-8.0.2.tgz", + "integrity": "sha512-idLLRewuemWd7GH/BDJzGiB0dWGfT2SQs3jy6NtZtGWU9uPTTSdeC1/cdbqLwgzhfv027daGFuXX426e2Eg20A==", "dev": true, "license": "MIT", "dependencies": { @@ -4870,6 +6211,8 @@ }, "node_modules/proxy-agent-negotiate": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-agent-negotiate/-/proxy-agent-negotiate-1.1.0.tgz", + "integrity": "sha512-N8IBcM3UgCVzz2L2Lqv8DVntDnnC8/hiV4nEDUPkqq72TPUgYWjQc+bdZlBPZK9LzPAvOY//gAt0S0DApoOXWQ==", "dev": true, "license": "MIT", "engines": { @@ -4886,6 +6229,8 @@ }, "node_modules/proxy-agent/node_modules/lru-cache": { "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "license": "ISC", "engines": { @@ -4894,6 +6239,8 @@ }, "node_modules/proxy-from-env": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", + "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", "license": "MIT", "engines": { "node": ">=10" @@ -4901,6 +6248,8 @@ }, "node_modules/punycode": { "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, "license": "MIT", "engines": { @@ -4909,11 +6258,15 @@ }, "node_modules/quickjs-wasi": { "version": "2.2.0", + "resolved": "https://registry.npmjs.org/quickjs-wasi/-/quickjs-wasi-2.2.0.tgz", + "integrity": "sha512-zQxXmQMrEoD3S+jQdYsloq4qAuaxKFHZj6hHqOYGwB2iQZH+q9e/lf5zQPXCKOk0WJuAjzRFbO4KwHIp2D05Iw==", "dev": true, "license": "MIT" }, "node_modules/race-event": { "version": "1.6.1", + "resolved": "https://registry.npmjs.org/race-event/-/race-event-1.6.1.tgz", + "integrity": "sha512-vi7WH5g5KoTFpu2mme/HqZiWH14XSOtg5rfp6raBskBHl7wnmy3F/biAIyY5MsK+BHWhoPhxtZ1Y2R7OHHaWyQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "abort-error": "^1.0.1" @@ -4921,10 +6274,14 @@ }, "node_modules/race-signal": { "version": "2.0.2", + "resolved": "https://registry.npmjs.org/race-signal/-/race-signal-2.0.2.tgz", + "integrity": "sha512-IuNNNY5NLriMFEGl3BVei2xq9NIcpkuAklhPWamhu5tRJrJz0w9sloUMz73YXpmUluE2EZocmJm9rpQqXmCPiA==", "license": "Apache-2.0 OR MIT" }, "node_modules/random-int": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/random-int/-/random-int-3.1.0.tgz", + "integrity": "sha512-h8CRz8cpvzj0hC/iH/1Gapgcl2TQ6xtnCpyOI5WvWfXf/yrDx2DOU+tD9rX23j36IF11xg1KqB9W11Z18JPMdw==", "license": "MIT", "engines": { "node": ">=12" @@ -4935,6 +6292,8 @@ }, "node_modules/randombytes": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4943,6 +6302,8 @@ }, "node_modules/rc9": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/rc9/-/rc9-3.0.1.tgz", + "integrity": "sha512-gMDyleLWVE+i6Sgtc0QbbY6pEKqYs97NGi6isHQPqYlLemPoO8dxQ3uGi0f4NiP98c+jMW6cG1Kx9dDwfvqARQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4952,6 +6313,8 @@ }, "node_modules/rdf-canonize": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/rdf-canonize/-/rdf-canonize-5.0.0.tgz", + "integrity": "sha512-g8OUrgMXAR9ys/ZuJVfBr05sPPoMA7nHIVs8VEvg9QwM5W4GR2qSFEEHjsyHF1eWlBaf8Ev40WNjQFQ+nJTO3w==", "license": "BSD-3-Clause", "dependencies": { "setimmediate": "^1.0.5" @@ -4962,6 +6325,8 @@ }, "node_modules/rdf-data-factory": { "version": "2.0.2", + "resolved": "https://registry.npmjs.org/rdf-data-factory/-/rdf-data-factory-2.0.2.tgz", + "integrity": "sha512-WzPoYHwQYWvIP9k+7IBLY1b4nIDitzAK4mA37WumAF/Cjvu/KOtYJH9IPZnUTWNSd5K2+pq4vrcE9WZC4sRHhg==", "license": "MIT", "dependencies": { "@rdfjs/types": "^2.0.0" @@ -4973,6 +6338,9 @@ }, "node_modules/rdf-dataset-ext": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/rdf-dataset-ext/-/rdf-dataset-ext-1.1.0.tgz", + "integrity": "sha512-CH85RfRKN9aSlbju8T7aM8hgCSWMBsh2eh/tGxUUtWMN+waxi6iFDt8/r4PAEmKaEA82guimZJ4ISbmJ2rvWQg==", + "deprecated": "rdf-dataset-ext is deprecated. Switching to rdf-ext is recommended.", "license": "MIT", "dependencies": { "rdf-canonize": "^3.0.0", @@ -4981,6 +6349,8 @@ }, "node_modules/rdf-dataset-ext/node_modules/rdf-canonize": { "version": "3.4.0", + "resolved": "https://registry.npmjs.org/rdf-canonize/-/rdf-canonize-3.4.0.tgz", + "integrity": "sha512-fUeWjrkOO0t1rg7B2fdyDTvngj+9RlUyL92vOdiB7c0FPguWVsniIMjEtHH+meLBO9rzkUlUzBVXgWrjI8P9LA==", "license": "BSD-3-Clause", "dependencies": { "setimmediate": "^1.0.5" @@ -4991,6 +6361,8 @@ }, "node_modules/rdf-literal": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/rdf-literal/-/rdf-literal-2.0.0.tgz", + "integrity": "sha512-jlQ+h7EvnXmncmk8OzOYR8T3gNfd4g0LQXbflHkEkancic8dh0Tdt5RiRq8vUFndjIeNHt1RWeA5TAj6rgrtng==", "license": "MIT", "dependencies": { "rdf-data-factory": "^2.0.0" @@ -5002,6 +6374,8 @@ }, "node_modules/rdf-validate-datatype": { "version": "0.2.2", + "resolved": "https://registry.npmjs.org/rdf-validate-datatype/-/rdf-validate-datatype-0.2.2.tgz", + "integrity": "sha512-mH9qL8i0WBbZ6HJCA26BB6V+WV2MraKvitez3SV0QegBWVQ4wYO49CgfFBzoAYg6tlnhFXl9MkrOAQ07X2N1FA==", "license": "MIT", "dependencies": { "@rdfjs/term-map": "^2.0.0", @@ -5010,6 +6384,8 @@ }, "node_modules/rdf-validate-shacl": { "version": "0.6.5", + "resolved": "https://registry.npmjs.org/rdf-validate-shacl/-/rdf-validate-shacl-0.6.5.tgz", + "integrity": "sha512-rwIibopSixDE8ecA9x0c7oTVxdMWxGiJh7h3uJ+WS2h4lq2nx3DZVO7rJvwa5kZpDq9QEFPoyZINAUyfaaoN4Q==", "license": "MIT", "dependencies": { "@rdfjs/data-model": "^2.1.0", @@ -5028,6 +6404,8 @@ }, "node_modules/readable-stream": { "version": "4.7.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz", + "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==", "license": "MIT", "dependencies": { "abort-controller": "^3.0.0", @@ -5042,6 +6420,8 @@ }, "node_modules/readdirp": { "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", "dev": true, "license": "MIT", "engines": { @@ -5054,6 +6434,8 @@ }, "node_modules/release-it": { "version": "21.0.2", + "resolved": "https://registry.npmjs.org/release-it/-/release-it-21.0.2.tgz", + "integrity": "sha512-QwyDnWiQNB4d8Hc2b5FLMHcsKz9S2O1dMNnPB7w+0knsL5r8+qbnznDA1X7Bw5D863+Ud7eRHc71Cfth5Tlrgg==", "dev": true, "funding": [ { @@ -5099,6 +6481,8 @@ }, "node_modules/release-it/node_modules/mime-db": { "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", "dev": true, "license": "MIT", "engines": { @@ -5107,6 +6491,8 @@ }, "node_modules/release-it/node_modules/mime-types": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", "dev": true, "license": "MIT", "dependencies": { @@ -5122,6 +6508,8 @@ }, "node_modules/release-it/node_modules/undici": { "version": "7.29.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz", + "integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==", "dev": true, "license": "MIT", "engines": { @@ -5130,6 +6518,8 @@ }, "node_modules/require-directory": { "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, "license": "MIT", "engines": { @@ -5138,6 +6528,8 @@ }, "node_modules/restore-cursor": { "version": "5.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", + "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", "dev": true, "license": "MIT", "dependencies": { @@ -5153,10 +6545,14 @@ }, "node_modules/retimeable-signal": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/retimeable-signal/-/retimeable-signal-1.0.1.tgz", + "integrity": "sha512-Cy26CYfbWnYu8HMoJeDhaMpW/EYFIbne3vMf6G9RSrOyWYXbPehja/BEdzpqmM84uy2bfBD7NPZhoQ4GZEtgvg==", "license": "Apache-2.0 OR MIT" }, "node_modules/retry": { "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", "dev": true, "license": "MIT", "engines": { @@ -5165,6 +6561,8 @@ }, "node_modules/run-applescript": { "version": "7.1.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", + "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", "dev": true, "license": "MIT", "engines": { @@ -5176,6 +6574,8 @@ }, "node_modules/safe-buffer": { "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "funding": [ { "type": "github", @@ -5194,11 +6594,15 @@ }, "node_modules/safer-buffer": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true, "license": "MIT" }, "node_modules/semver": { "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -5209,6 +6613,8 @@ }, "node_modules/serialize-javascript": { "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -5217,10 +6623,14 @@ }, "node_modules/setimmediate": { "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", "license": "MIT" }, "node_modules/shebang-command": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "license": "MIT", "dependencies": { @@ -5232,6 +6642,8 @@ }, "node_modules/shebang-regex": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, "license": "MIT", "engines": { @@ -5240,6 +6652,8 @@ }, "node_modules/signal-exit": { "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, "license": "ISC", "engines": { @@ -5251,6 +6665,8 @@ }, "node_modules/smart-buffer": { "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "dev": true, "license": "MIT", "engines": { @@ -5260,6 +6676,8 @@ }, "node_modules/socks": { "version": "2.8.9", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.9.tgz", + "integrity": "sha512-LJhUYUvItdQ0LkJTmPeaEObWXAqFyfmP85x0tch/ez9cahmhlBBLbIqDFnvBnUJGagb0JbIQrkBs1wJ+yRYpEw==", "dev": true, "license": "MIT", "dependencies": { @@ -5273,6 +6691,8 @@ }, "node_modules/socks-proxy-agent": { "version": "10.1.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-10.1.0.tgz", + "integrity": "sha512-WlMj/67cEJ6MDI1OcsnjuYKDNDoyPCCYZ249kuuXPiMDw9F8PXkVaQ7YWu3siTydfQ/4BEZcvGzu+aYvz7dDCQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5286,6 +6706,8 @@ }, "node_modules/source-map": { "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -5294,6 +6716,8 @@ }, "node_modules/stdin-discarder": { "version": "0.3.2", + "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.3.2.tgz", + "integrity": "sha512-eCPu1qRxPVkl5605OTWF8Wz40b4Mf45NY5LQmVPQ599knfs5QhASUm9GbJ5BDMDOXgrnh0wyEdvzmL//YMlw0A==", "dev": true, "license": "MIT", "engines": { @@ -5305,6 +6729,8 @@ }, "node_modules/string_decoder": { "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "license": "MIT", "dependencies": { "safe-buffer": "~5.2.0" @@ -5312,6 +6738,8 @@ }, "node_modules/string-width": { "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, "license": "MIT", "dependencies": { @@ -5329,6 +6757,8 @@ "node_modules/string-width-cjs": { "name": "string-width", "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -5342,11 +6772,15 @@ }, "node_modules/string-width-cjs/node_modules/emoji-regex": { "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/string-width/node_modules/ansi-regex": { "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", "dev": true, "license": "MIT", "engines": { @@ -5358,6 +6792,8 @@ }, "node_modules/string-width/node_modules/strip-ansi": { "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, "license": "MIT", "dependencies": { @@ -5372,6 +6808,8 @@ }, "node_modules/strip-ansi": { "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -5383,6 +6821,8 @@ "node_modules/strip-ansi-cjs": { "name": "strip-ansi", "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "license": "MIT", "dependencies": { @@ -5394,6 +6834,8 @@ }, "node_modules/strip-json-comments": { "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, "license": "MIT", "engines": { @@ -5405,6 +6847,8 @@ }, "node_modules/supports-color": { "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -5415,6 +6859,8 @@ }, "node_modules/tinyglobby": { "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", "dev": true, "license": "MIT", "dependencies": { @@ -5430,6 +6876,8 @@ }, "node_modules/tinyglobby/node_modules/fdir": { "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", "dev": true, "license": "MIT", "engines": { @@ -5446,6 +6894,8 @@ }, "node_modules/tinyglobby/node_modules/picomatch": { "version": "4.0.5", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz", + "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==", "dev": true, "license": "MIT", "engines": { @@ -5457,10 +6907,14 @@ }, "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/ts-api-utils": { "version": "2.5.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", + "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", "dev": true, "license": "MIT", "engines": { @@ -5472,10 +6926,14 @@ }, "node_modules/tslib": { "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "license": "0BSD" }, "node_modules/tsx": { "version": "4.23.12", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.12.tgz", + "integrity": "sha512-FDf4L4sYzKtzWYhU/Xm0AQFdTjdIxNo9ElTf2mxXM6k8YMHXzYUe4yODVaXP4V9uMFbVg8c0qyBccK2OOxb45Q==", "dev": true, "license": "MIT", "dependencies": { @@ -5493,6 +6951,8 @@ }, "node_modules/type-check": { "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, "license": "MIT", "dependencies": { @@ -5504,6 +6964,8 @@ }, "node_modules/type-fest": { "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -5515,6 +6977,8 @@ }, "node_modules/typescript": { "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "devOptional": true, "license": "Apache-2.0", "bin": { @@ -5527,6 +6991,8 @@ }, "node_modules/typescript-eslint": { "version": "8.67.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.67.0.tgz", + "integrity": "sha512-S2udFs8tCKEKffuJ4TB1idGUZiXdCPGi3IPBGWXarbLQ5UPXORV8QEVzJ4gCRduURMb5EkpNCdjbk0eDIuI8Yg==", "dev": true, "license": "MIT", "dependencies": { @@ -5549,6 +7015,8 @@ }, "node_modules/uglify-js": { "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", "dev": true, "license": "BSD-2-Clause", "optional": true, @@ -5561,6 +7029,8 @@ }, "node_modules/uint8-varint": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/uint8-varint/-/uint8-varint-3.0.0.tgz", + "integrity": "sha512-S4DdpXBaLwKcFo7f0bWzWfHjbZ/i3QhM842qn+ZvHjxqFCfUcEB9SQNcmI69S+zMlcmIcKxsk9Iyw77S2Kxv6Q==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arraylist": "^3.0.1", @@ -5569,6 +7039,8 @@ }, "node_modules/uint8-varint/node_modules/uint8arraylist": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-3.0.2.tgz", + "integrity": "sha512-LDVoq9BQaGJzGDUovEnoX6rpKCvnY/Jbtws4ikwnBzjRbq5qBAFpBZevUEbSmMM87aO0Sp+wOZy2ZXf5yODmXQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^6.0.0" @@ -5576,6 +7048,8 @@ }, "node_modules/uint8arraylist": { "version": "2.4.9", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.4.9.tgz", + "integrity": "sha512-KxWjyEFzchzik3aoQlK66oaoxIReoMo5bQRm1fcjBUZvE8xv/tyR3CTKhjh6K/faV8VaF6hd5pjr45CzbwuwkA==", "license": "Apache-2.0 OR MIT", "dependencies": { "uint8arrays": "^5.0.1" @@ -5583,10 +7057,14 @@ }, "node_modules/uint8arraylist/node_modules/multiformats": { "version": "13.4.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.4.2.tgz", + "integrity": "sha512-eh6eHCrRi1+POZ3dA+Dq1C6jhP1GNtr9CRINMb67OKzqW9I5DUuZM/3jLPlzhgpGeiNUlEGEbkCYChXMCc/8DQ==", "license": "Apache-2.0 OR MIT" }, "node_modules/uint8arraylist/node_modules/uint8arrays": { "version": "5.1.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.1.tgz", + "integrity": "sha512-9muQwa4wZG4dKi9gMAIBtnk2Pw87SRpvWTH6lOGm19V2Uqxr4uomUf2PGqPnWc+qs06sN8owUU4jfcoWOcfwVQ==", "license": "Apache-2.0 OR MIT", "dependencies": { "multiformats": "^13.0.0" @@ -5594,6 +7072,8 @@ }, "node_modules/uint8arrays": { "version": "6.1.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-6.1.1.tgz", + "integrity": "sha512-iz7JN0XCSZYA111lhFG2Ui9EhFvTNekqSRHw3lvMHq+dzwWy1OQftxFQREEh4rffU0oSoXdQHsk2TiHKVm4fsA==", "license": "Apache-2.0 OR MIT", "dependencies": { "multiformats": "^14.0.0" @@ -5601,6 +7081,8 @@ }, "node_modules/undici": { "version": "6.28.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.28.0.tgz", + "integrity": "sha512-LIY910g9TI13YS95lrMFrs8Rm/u/irgHeTWoKCoteeJ04CUJ92eEfj0rVn+7VKMPBpUPiUoBKfhNyLI23EE/KA==", "license": "MIT", "engines": { "node": ">=18.17" @@ -5608,15 +7090,21 @@ }, "node_modules/undici-types": { "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", "license": "MIT" }, "node_modules/universal-user-agent": { "version": "7.0.3", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz", + "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A==", "dev": true, "license": "ISC" }, "node_modules/unlimited-timeout": { "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unlimited-timeout/-/unlimited-timeout-0.1.0.tgz", + "integrity": "sha512-D4g+mxFeQGQHzCfnvij+R35ukJ0658Zzudw7j16p4tBBbNasKkKM4SocYxqhwT5xA7a9JYWDzKkEFyMlRi5sng==", "license": "MIT", "engines": { "node": ">=20" @@ -5627,6 +7115,8 @@ }, "node_modules/uri-js": { "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -5635,6 +7125,8 @@ }, "node_modules/url-join": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-5.0.0.tgz", + "integrity": "sha512-n2huDr9h9yzd6exQVnH/jU5mr+Pfx08LRXXZhkLLetAMESRj+anQsTAh940iMrIetKAmry9coFuZQ2jY8/p3WA==", "dev": true, "license": "MIT", "engines": { @@ -5643,6 +7135,8 @@ }, "node_modules/utf-8-validate": { "version": "5.0.10", + "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", + "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", "hasInstallScript": true, "license": "MIT", "optional": true, @@ -5656,10 +7150,14 @@ }, "node_modules/utf8-codec": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/utf8-codec/-/utf8-codec-1.0.0.tgz", + "integrity": "sha512-S/QSLezp3qvG4ld5PUfXiH7mCFxLKjSVZRFkB3DOjgwHuJPFDkInAXc/anf7BAbHt/D38ozDzL+QMZ6/7gsI6w==", "license": "MIT" }, "node_modules/weald": { "version": "1.1.3", + "resolved": "https://registry.npmjs.org/weald/-/weald-1.1.3.tgz", + "integrity": "sha512-vMWtNbYuPb58NeG2+0sKA0Een4VMDwzf+3oHqh68buWRSOMUBlUeRb11LhV28czV+DUpJHRykifijZDuS9bInA==", "license": "Apache-2.0 OR MIT", "dependencies": { "ms": "^4.0.0-nightly.202508271359", @@ -5668,6 +7166,8 @@ }, "node_modules/weald/node_modules/ms": { "version": "4.0.0-nightly.202508271359", + "resolved": "https://registry.npmjs.org/ms/-/ms-4.0.0-nightly.202508271359.tgz", + "integrity": "sha512-WC/Eo7NzFrOV/RRrTaI0fxKVbNCzEy76j2VqNV8SxDf9D69gSE2Lh0QwYvDlhiYmheBYExAvEAxVf5NoN0cj2A==", "license": "MIT", "engines": { "node": ">=20" @@ -5675,6 +7175,8 @@ }, "node_modules/weald/node_modules/supports-color": { "version": "10.2.2", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", + "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", "license": "MIT", "engines": { "node": ">=18" @@ -5685,10 +7187,14 @@ }, "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-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", @@ -5697,6 +7203,8 @@ }, "node_modules/wherearewe": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/wherearewe/-/wherearewe-2.0.1.tgz", + "integrity": "sha512-XUguZbDxCA2wBn2LoFtcEhXL6AXo+hVjGonwhSTTTU9SzbWG8Xu3onNIpzf9j/mYUcJQ0f+m37SzG77G851uFw==", "license": "Apache-2.0 OR MIT", "dependencies": { "is-electron": "^2.2.0" @@ -5708,6 +7216,8 @@ }, "node_modules/which": { "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "license": "ISC", "dependencies": { @@ -5722,11 +7232,15 @@ }, "node_modules/wildcard-match": { "version": "5.1.4", + "resolved": "https://registry.npmjs.org/wildcard-match/-/wildcard-match-5.1.4.tgz", + "integrity": "sha512-wldeCaczs8XXq7hj+5d/F38JE2r7EXgb6WQDM84RVwxy81T/sxB5e9+uZLK9Q9oNz1mlvjut+QtvgaOQFPVq/g==", "dev": true, "license": "ISC" }, "node_modules/windows-release": { "version": "7.1.1", + "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-7.1.1.tgz", + "integrity": "sha512-0GBwC9WmR8Bm3WYiz3FC391054BsFHZ2gzBVdYj9uj5eIVYzbn/YPYCYW9SWdh9vwnLuzpn1UGwJKiMG4F236w==", "dev": true, "license": "MIT", "dependencies": { @@ -5741,6 +7255,8 @@ }, "node_modules/windows-release/node_modules/powershell-utils": { "version": "0.2.0", + "resolved": "https://registry.npmjs.org/powershell-utils/-/powershell-utils-0.2.0.tgz", + "integrity": "sha512-ZlsFlG7MtSFCoc5xreOvBAozCJ6Pf06opgJjh9ONEv418xpZSAzNjstD36C6+JwOnfSqOW/9uDkqKjezTdxZhw==", "dev": true, "license": "MIT", "engines": { @@ -5752,6 +7268,8 @@ }, "node_modules/word-wrap": { "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, "license": "MIT", "engines": { @@ -5760,16 +7278,22 @@ }, "node_modules/wordwrap": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", "dev": true, "license": "MIT" }, "node_modules/workerpool": { "version": "9.3.4", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-9.3.4.tgz", + "integrity": "sha512-TmPRQYYSAnnDiEB0P/Ytip7bFGvqnSU6I2BcuSw7Hx+JSg/DsUi5ebYfc8GYaSdpuvOcEs6dXxPurOYpe9QFwg==", "dev": true, "license": "Apache-2.0" }, "node_modules/wrap-ansi": { "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5787,6 +7311,8 @@ "node_modules/wrap-ansi-cjs": { "name": "wrap-ansi", "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "license": "MIT", "dependencies": { @@ -5803,11 +7329,15 @@ }, "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/string-width": { "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -5821,6 +7351,8 @@ }, "node_modules/wrap-ansi/node_modules/ansi-regex": { "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", "dev": true, "license": "MIT", "engines": { @@ -5832,6 +7364,8 @@ }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", "dev": true, "license": "MIT", "engines": { @@ -5843,6 +7377,8 @@ }, "node_modules/wrap-ansi/node_modules/strip-ansi": { "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, "license": "MIT", "dependencies": { @@ -5857,6 +7393,8 @@ }, "node_modules/ws": { "version": "8.21.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz", + "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -5876,6 +7414,8 @@ }, "node_modules/wsl-utils": { "version": "0.3.1", + "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-0.3.1.tgz", + "integrity": "sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg==", "dev": true, "license": "MIT", "dependencies": { @@ -5891,6 +7431,8 @@ }, "node_modules/y18n": { "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "dev": true, "license": "ISC", "engines": { @@ -5899,10 +7441,14 @@ }, "node_modules/yallist": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "license": "ISC" }, "node_modules/yargs": { "version": "17.7.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", + "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", "dev": true, "license": "MIT", "dependencies": { @@ -5920,6 +7466,8 @@ }, "node_modules/yargs-parser": { "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, "license": "ISC", "engines": { @@ -5928,6 +7476,8 @@ }, "node_modules/yargs-unparser": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", "dev": true, "license": "MIT", "dependencies": { @@ -5942,11 +7492,15 @@ }, "node_modules/yargs/node_modules/emoji-regex": { "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/yargs/node_modules/string-width": { "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -5960,6 +7514,8 @@ }, "node_modules/yocto-queue": { "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, "license": "MIT", "engines": { @@ -5971,6 +7527,8 @@ }, "node_modules/yoctocolors": { "version": "2.2.0", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.2.0.tgz", + "integrity": "sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==", "dev": true, "license": "MIT", "engines": { From 2df41becc0cc84d3e66256391ab47026e5ba234d Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Tue, 13 Oct 2026 10:24:53 +0300 Subject: [PATCH 09/24] bump to lib@9.3.0-next.4 --- package-lock.json | 23 ++++++++++++++++++----- package.json | 2 +- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index a18e4e7..2b8dd26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", "@oceanprotocol/contracts": "^3.2.0-rc.0", "@oceanprotocol/ddo-js": "^0.4.1", - "@oceanprotocol/lib": "9.3.0-next.3", + "@oceanprotocol/lib": "^9.3.0-next.4", "axios": "^1.19.0", "chalk": "^4.1.2", "commander": "^13.1.0", @@ -1946,9 +1946,9 @@ } }, "node_modules/@oceanprotocol/lib": { - "version": "9.3.0-next.3", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-9.3.0-next.3.tgz", - "integrity": "sha512-5hTQjJEcDyyCIMDP+egDA/cMYhaV2SKDUIf3u6AZp3mR0Bv/MEydwspHCGo/7LLw8OlqwwHLWjr9fi6zcyFjFA==", + "version": "9.3.0-next.4", + "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-9.3.0-next.4.tgz", + "integrity": "sha512-pnp3qi5IlPgUCydgFW9G/DNqJvIWJ9VsF2l7vls8CzYyX3rNj3qguw6lsNq7cl2pG3U+qInd3GCLLn3cSyKOGw==", "license": "Apache-2.0", "dependencies": { "@chainsafe/libp2p-noise": "^17.0.0", @@ -1965,7 +1965,7 @@ "@libp2p/websockets": "^10.1.21", "@multiformats/multiaddr": "^13.0.3", "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", - "@oceanprotocol/ddo-js": "^0.4.1", + "@oceanprotocol/ddo-js": "^1.0.0", "bignumber.js": "^11.1.5", "cross-fetch": "^4.1.0", "crypto-js": "^4.2.0", @@ -1981,6 +1981,19 @@ "node": ">=22" } }, + "node_modules/@oceanprotocol/lib/node_modules/@oceanprotocol/ddo-js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@oceanprotocol/ddo-js/-/ddo-js-1.0.0.tgz", + "integrity": "sha512-FSw3rDimhf/aHARzQVN7Ve4xGkgK4cRRr8AJtc3XRH0Knc7WK8ga+TJkx9LvS1KjH7hVePSD9Q7400oJQe0Iqg==", + "license": "Apache-2.0", + "dependencies": { + "ethers": "^6.17.0", + "jsonld": "^9.0.0", + "n3": "^2.2.0", + "rdf-literal": "^2.0.0", + "rdf-validate-shacl": "^0.6.5" + } + }, "node_modules/@oceanprotocol/lib/node_modules/cross-fetch": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.1.0.tgz", diff --git a/package.json b/package.json index 8dc7267..2d90156 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", "@oceanprotocol/contracts": "^3.2.0-rc.0", "@oceanprotocol/ddo-js": "^0.4.1", - "@oceanprotocol/lib": "9.3.0-next.3", + "@oceanprotocol/lib": "^9.3.0-next.4", "axios": "^1.19.0", "chalk": "^4.1.2", "commander": "^13.1.0", From e02a5c8c2833346784d2c51d0be90b6ac7dfbb9b Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Mon, 19 Oct 2026 08:20:01 +0300 Subject: [PATCH 10/24] use latest contracts in ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9b8cf1..0caf8d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,7 +150,7 @@ jobs: bash -x start_ocean.sh --with-typesense 2>&1 > start_ocean.log & env: NODE_VERSION: pr-1479 - CONTRACTS_VERSION: 3.2.0-rc.0 + CONTRACTS_VERSION: 3.2.0-rc.1 - run: npm ci - run: npm run build - run: docker image ls From 0356539ce0d3fbce735a9e4c0f8316b67bdc0208 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Mon, 19 Oct 2026 08:22:55 +0300 Subject: [PATCH 11/24] fix ISO date guard --- src/commands.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/commands.ts b/src/commands.ts index 4903ace..cdb7a49 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -3194,10 +3194,19 @@ export class Commands { // on-chain record (it no longer silently no-ops when one already exists). That is what // makes renew / shorten / revoke reachable: re-authorizing updates the limits, and a past // expiry revokes. So authorizeTx is always a TransactionResponse here (never null). - const expiryNote = - expiry === "0" - ? "indefinite" - : `expiry ${expiry} (${new Date(Number(expiry) * 1000).toISOString()})`; + // Format the ISO date defensively: a valid unix-seconds string can still be large + // enough that expiry * 1000 falls outside JavaScript Date's ±8.64e15 ms range, where + // toISOString() throws. The on-chain expiry is unaffected, so keep it and drop only the + // human-readable ISO suffix when conversion is invalid. + let expiryNote: string; + if (expiry === "0") { + expiryNote = "indefinite"; + } else { + const expiryDate = new Date(Number(expiry) * 1000); + expiryNote = Number.isNaN(expiryDate.getTime()) + ? `expiry ${expiry}` + : `expiry ${expiry} (${expiryDate.toISOString()})`; + } console.log(`Authorizing payee... (${expiryNote})`); const authorizeTx = await escrow.authorize( getAddress(token), From f8d7e00a2682766b2fe9e97d71349958e1878586 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 11 Nov 2026 08:29:03 +0200 Subject: [PATCH 12/24] updates to lib v10 --- package-lock.json | 21 ++-------- package.json | 2 +- src/commands.ts | 5 --- src/serviceHelpers.ts | 97 ++++++++++++++++++++++++++++++++----------- 4 files changed, 77 insertions(+), 48 deletions(-) diff --git a/package-lock.json b/package-lock.json index c2f27d6..1bd9fbf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", "@oceanprotocol/contracts": "^3.2.0-rc.1", "@oceanprotocol/ddo-js": "^1.0.0", - "@oceanprotocol/lib": "^9.3.0-next.4", + "@oceanprotocol/lib": "^10.0.0", "axios": "^1.19.0", "chalk": "^4.1.2", "commander": "^13.1.0", @@ -1994,9 +1994,9 @@ } }, "node_modules/@oceanprotocol/lib": { - "version": "9.3.0-next.4", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-9.3.0-next.4.tgz", - "integrity": "sha512-pnp3qi5IlPgUCydgFW9G/DNqJvIWJ9VsF2l7vls8CzYyX3rNj3qguw6lsNq7cl2pG3U+qInd3GCLLn3cSyKOGw==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-10.0.0.tgz", + "integrity": "sha512-L7mohDBbvqIJiNr3lEWbv4tNPO1cHK1K4wSFrSlPcoGDqHbVlFBV+CrhyMiODy7hVjQmiYjgOvEc6lakbUWTFg==", "license": "Apache-2.0", "dependencies": { "@chainsafe/libp2p-noise": "^17.0.0", @@ -2029,19 +2029,6 @@ "node": ">=22" } }, - "node_modules/@oceanprotocol/lib/node_modules/@oceanprotocol/ddo-js": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@oceanprotocol/ddo-js/-/ddo-js-1.0.0.tgz", - "integrity": "sha512-FSw3rDimhf/aHARzQVN7Ve4xGkgK4cRRr8AJtc3XRH0Knc7WK8ga+TJkx9LvS1KjH7hVePSD9Q7400oJQe0Iqg==", - "license": "Apache-2.0", - "dependencies": { - "ethers": "^6.17.0", - "jsonld": "^9.0.0", - "n3": "^2.2.0", - "rdf-literal": "^2.0.0", - "rdf-validate-shacl": "^0.6.5" - } - }, "node_modules/@oceanprotocol/lib/node_modules/cross-fetch": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.1.0.tgz", diff --git a/package.json b/package.json index f1f1b23..c519e95 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", "@oceanprotocol/contracts": "^3.2.0-rc.1", "@oceanprotocol/ddo-js": "^1.0.0", - "@oceanprotocol/lib": "^9.3.0-next.4", + "@oceanprotocol/lib": "^10.0.0", "axios": "^1.19.0", "chalk": "^4.1.2", "commander": "^13.1.0", diff --git a/src/commands.ts b/src/commands.ts index cdb7a49..9fa6daf 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -2038,11 +2038,6 @@ export class Commands { ); } } - if (t.requiredResources?.length) { - console.log( - ` requiredResources: ${JSON.stringify(t.requiredResources)}`, - ); - } if (t.recommendedResources?.length) { console.log( ` recommendedResources: ${JSON.stringify(t.recommendedResources)}`, diff --git a/src/serviceHelpers.ts b/src/serviceHelpers.ts index 9e1f06a..c0e8206 100644 --- a/src/serviceHelpers.ts +++ b/src/serviceHelpers.ts @@ -14,6 +14,9 @@ import { ServiceStatusNumber, ServiceTemplatePublic, TemplateResourceRequirement, + sizeSharedResources, + planGpuLayouts, + grantableAmount, } from "@oceanprotocol/lib"; import { getConfigFor } from "./rpcRegistry.js"; @@ -61,28 +64,44 @@ function colorForStatus(status: number, text: string): string { // --------------------------------------------------------------------------- // 4.2 Environment <-> template resource matching -// (ported from ocean.js test/integration/Services.test.ts) +// (delegates to ocean.js's unit-aware ServiceResources helpers) // --------------------------------------------------------------------------- +// +// ocean.js v10 replaced ServiceTemplatePublic.requiredResources with +// `recommendedResources`, and turned TemplateResourceRequirement into a +// discriminated union: cpu/ram/disk members carry `id` + `recommended` (cpu in +// `cores`, ram/disk in `GB`), while the GPU member carries `type: 'gpu'` + +// `layouts` and no `id`. Because ram/disk are now declared in GB while a +// compute environment reports those resources in bytes, matching must be +// unit-aware — so we lean on the library's `sizeSharedResources` / +// `planGpuLayouts` instead of comparing raw numbers. + +// Narrows a requirement to its shared (cpu/ram/disk) member — the GPU member is +// the only one without an `id`. +type SharedRequirement = Extract; +type GpuRequirement = Extract; + +function isSharedRequirement( + req: TemplateResourceRequirement, +): req is SharedRequirement { + return "id" in req; +} +// Whole units of a single shared requirement a new booking could still get. +// Only meaningful for cpu (cores) — ram/disk use byte-vs-GB sizing handled by +// the library — so this stays a best-effort display helper. export function availableFor( env: ComputeEnvironment, req: TemplateResourceRequirement, ): number { const resources: ComputeResource[] = env.resources ?? []; - if (req.id) { + if (isSharedRequirement(req)) { const r = resources.find((x) => x.id === req.id); - return r ? (r.total ?? 0) - (r.inUse ?? 0) : 0; + return r ? grantableAmount(r) : 0; } return resources - .filter((x) => x.kind === req.kind && (!req.type || x.type === req.type)) - .reduce((sum, x) => sum + ((x.total ?? 0) - (x.inUse ?? 0)), 0); -} - -export function envSatisfiesTemplate( - env: ComputeEnvironment, - reqs?: TemplateResourceRequirement[], -): boolean { - return (reqs ?? []).every((req) => availableFor(env, req) >= req.min); + .filter((x) => x.type === "gpu") + .reduce((sum, x) => sum + grantableAmount(x), 0); } // Human-readable reason a template does not fit an env (or null when it fits). @@ -91,25 +110,47 @@ export function templateMismatchReason( template?: ServiceTemplatePublic, ): string | null { if (!template) return null; - for (const req of template.requiredResources ?? []) { - const have = availableFor(env, req); - if (have < req.min) { - const what = - req.id ?? `${req.kind ?? "resource"}${req.type ? `/${req.type}` : ""}`; - return `${what}: need ${req.min}, have ${have}`; + const reqs = template.recommendedResources ?? []; + const resources = env.resources ?? []; + + // Shared cpu/ram/disk: unit-aware sizing (GB -> bytes) from the library. + const shared = reqs.filter(isSharedRequirement); + if (shared.length && sizeSharedResources(resources, shared) === null) { + // cpu is the only id we can compare in like units for a precise message. + const cpu = shared.find((r) => r.id === "cpu"); + if (cpu && availableFor(env, cpu) < cpu.recommended) { + return `cpu: recommended ${cpu.recommended} ${cpu.unit}, available ${availableFor( + env, + cpu, + )}`; + } + return "insufficient cpu/ram/disk for the template's recommended resources"; + } + + // GPU: layout planning from the library. + const gpu = reqs.find((r): r is GpuRequirement => !isSharedRequirement(r)); + if (gpu) { + const gpuResources = resources.filter((r) => r.type === "gpu"); + if (planGpuLayouts({ gpuResources, requirement: gpu }).length === 0) { + return `gpu: no layout on this environment satisfies the template's recommended ${gpu.recommended} ${gpu.unit} per GPU`; } } return null; } +export function envSatisfiesTemplate( + env: ComputeEnvironment, + template?: ServiceTemplatePublic, +): boolean { + return templateMismatchReason(env, template) === null; +} + export function findServiceEnvironments( envs: ComputeEnvironment[], template?: ServiceTemplatePublic, ): ComputeEnvironment[] { return (envs ?? []).filter( - (e) => - e.features?.services !== false && - (!template || envSatisfiesTemplate(e, template.requiredResources)), + (e) => e.features?.services !== false && envSatisfiesTemplate(e, template), ); } @@ -121,12 +162,18 @@ export function resolveServiceResources( template: ServiceTemplatePublic | undefined, env: ComputeEnvironment, ): ComputeResourceRequest[] { - const requiredById = (template?.requiredResources ?? []).filter( - (r) => typeof r.id === "string", + // Unit-aware sizing of the template's recommended cpu/ram/disk against the + // environment (converts the template's GB figures to the bytes the node + // expects, and drops zero amounts). GPU layout selection, when needed, is + // left to an explicit --resources selection. + const sizing = sizeSharedResources( + env.resources ?? [], + template?.recommendedResources, ); - if (requiredById.length) { - return requiredById.map((r) => ({ id: r.id as string, amount: r.min })); + if (sizing && sizing.requests.length) { + return sizing.requests; } + // Fallback: a minimal cpu + ram request. return (env.resources ?? []) .filter((r) => r.id === "cpu" || r.id === "ram") .map((r) => ({ id: r.id, amount: 1 })); From daec4b983149269103cc34494d6c4046edb21b13 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 11 Nov 2026 09:04:44 +0200 Subject: [PATCH 13/24] fixes --- README.md | 4 ++-- src/cli.ts | 8 ++++---- src/commands.ts | 42 ++++++++++++++++++++++++++++++++---------- 3 files changed, 38 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 0810d09..ee824db 100644 --- a/README.md +++ b/README.md @@ -260,7 +260,7 @@ ocean-cli getSubsidyProviders # alias subsidyProvid ocean-cli getSubsidyStatus 0xToken # alias subsidyStatus; your limits / remaining credit ``` -- `getSubsidyStatus` discovers the provider contract(s) from the node, then prints each one's kind, per-window buckets (limit / used / remaining / reset), claimable amount, contract balance and your eligibility. Flags: `--token --chainId --node --jobType --amount --subsidy 0xA[,0xB]`; `--node`/`--jobType`/`--amount` together also print a subsidy quote (`{subsidy, bonus}`). +- `getSubsidyStatus` discovers the provider contract(s) from the node, then prints each one's kind, per-window buckets (limit / used / remaining / reset), claimable amount, contract balance and your eligibility. Flags: `--token --chainId --node --jobType --amount --subsidy 0xA[,0xB]`. `--node ` queries a specific Ocean Node (default: the active node) and uses that node's on-chain address for the `isNodeAllowed` check; adding `--jobType` and `--amount` also prints a subsidy quote (`{subsidy, bonus}`). - `startCompute`, `startService` and `extendService` take `--subsidyProviders `: omit for the node's defaults, `none` (or empty) to claim with **no** subsidy, or `0xA,0xB` to claim against exactly those contracts. `startFreeCompute` ignores it (a free job does no escrow claim). ### Access lists @@ -353,7 +353,7 @@ ocean-cli mintOcean [--token 0xOcean] [--chainId 8996] # mint test Ocean tok | `getAuthorizationsEscrow` | | ` ` | `-t, --token`, `-p, --payee`, `--chainId` | | `getEscrowInfo` | `escrowInfo` | `[token]` | `-t, --token`, `--chainId` | | `getSubsidyProviders` | `subsidyProviders` | | `--chainId` | -| `getSubsidyStatus` | `subsidyStatus` | `[token]` | `-t, --token`, `--chainId`, `-n, --node`, `--jobType`, `-a, --amount`, `--subsidy` | +| `getSubsidyStatus` | `subsidyStatus` | `[token]` | `-t, --token`, `--chainId`, `--node`, `--jobType`, `--amount`, `--subsidy` | | `createAccessList` | | ` [initialUsers] [transferable]` | `-n, --name`, `-s, --symbol`, `-u, --initial-users`, `-t, --transferable`, `--chainId` | | `addToAccessList` | | `
` | `-a, --address`, `-u, --users`, `--chainId` | | `checkAccessList` | | `
` | `-a, --address`, `-u, --users`, `--chainId` | diff --git a/src/cli.ts b/src/cli.ts index c6f9983..f3ca8d2 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -721,7 +721,7 @@ export async function createCLI() { .description( "Show subsidy limits / remaining credit for a token from the node's subsidy providers", ) - .argument("", "Token address to report limits/credit for") + .argument("[token]", "Token address to report limits/credit for (or use --token)") .option("-t, --token ", "Token address to report limits/credit for") .option( "--chainId ", @@ -732,8 +732,8 @@ export async function createCLI() { "Narrow to specific node-advertised provider contract(s) (comma-separated); else all the node lists", ) .option( - "--node
", - "Node address, for isNodeAllowed / quoteSubsidy", + "--node ", + "Ocean Node to query for providers (URL / peer id / multiaddr); default: active node. Its on-chain address is used for isNodeAllowed / quoteSubsidy", ) .option( "--jobType ", @@ -741,7 +741,7 @@ export async function createCLI() { ) .option( "--amount ", - "Job amount to quote a subsidy for, in natural token units (e.g. 1.5). Needs --node and --jobType.", + "Job amount to quote a subsidy for, in natural token units (e.g. 1.5). Needs --jobType (uses the queried node's address).", ) .action(async (token, options) => { const { signer, chainId } = await initializeSigner(); diff --git a/src/commands.ts b/src/commands.ts index 9fa6daf..3a1f93f 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -1303,6 +1303,7 @@ export class Commands { const escrow = new EscrowContract( getAddress(parsedProviderInitializeComputeJob.payment.escrowAddress), paymentSigner, + payChain, ); console.log("Verifying payment..."); await new Promise((resolve) => setTimeout(resolve, 3000)); @@ -3453,22 +3454,43 @@ export class Commands { amount?: string; } = {}, ): Promise { + if (!token) { + console.error( + chalk.red( + "A token address is required. Pass it positionally (getSubsidyStatus 0x...) or with --token 0x...", + ), + ); + return; + } const chainId = Number(this.config.chainId); const payer = await this.signer.getAddress(); const tokenAddress = getAddress(token); - // Provider addresses come from the node, never from bundled config. - const nodeUrl = getCurrentNodeUrl(); - const status = nodeUrl ? await validateNode(nodeUrl) : null; + // Provider addresses come from the node, never from bundled config. `--node` + // (opts.node) targets a specific Ocean Node to query (URL / peer id / multiaddr, + // like setNode); without it we use the active node. The on-chain node operator + // address for isNodeAllowed / quoteSubsidy is taken from that node's own status + // (status.address), so the caller never has to supply it separately. + const nodeUrl = opts.node || getCurrentNodeUrl(); + if (!nodeUrl) { + console.error( + chalk.red( + "No Ocean Node to query. Set one with setNode, or pass --node .", + ), + ); + return; + } + const status = await validateNode(nodeUrl); if (!status) { console.error( chalk.red( - "Could not read node status (no reachable Ocean Node). The node advertises which subsidy providers it supports.", + `Could not read status of ${nodeUrl}. The node advertises which subsidy providers it supports.`, ), ); return; } const { providers } = nodeSubsidyInfo(status); + const nodeAddress = status.address ? getAddress(status.address) : undefined; let addresses: string[]; let jobType: number | undefined; @@ -3539,10 +3561,10 @@ export class Commands { console.log( ` User allowed (isUserAllowed): ${await view.isUserAllowed(payer)}`, ); - if (opts.node) { + if (nodeAddress) { console.log( - ` Node allowed (isNodeAllowed): ${await view.isNodeAllowed( - getAddress(opts.node), + ` Node allowed (isNodeAllowed, ${nodeAddress}): ${await view.isNodeAllowed( + nodeAddress, )}`, ); } @@ -3554,10 +3576,10 @@ export class Commands { ); } - // Optional quote — needs a node address, a job type and an amount. - if (opts.amount && opts.node && jobType !== undefined) { + // Optional quote — needs the queried node's address, a job type and an amount. + if (opts.amount && nodeAddress && jobType !== undefined) { const quote = await view.quoteSubsidy( - getAddress(opts.node), + nodeAddress, payer, jobType, tokenAddress, From 2c107650e64ff0134dd767316ad5cafc6c412f55 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 11 Nov 2026 09:16:43 +0200 Subject: [PATCH 14/24] relax positional params + enforce guards --- README.md | 56 ++++++------ src/cli.ts | 250 ++++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 209 insertions(+), 97 deletions(-) diff --git a/README.md b/README.md index ee824db..2bec09b 100644 --- a/README.md +++ b/README.md @@ -308,63 +308,63 @@ ocean-cli mintOcean [--token 0xOcean] [--chainId 8996] # mint test Ocean tok ## Command reference -53 commands, as registered in `src/cli.ts`. `` is required, `[x]` optional. A named option **overrides** its positional when both are passed, but a required `` must still be given positionally (passing only its option fails with *missing required argument* — this affects e.g. `publish`, `startCompute`, `startFreeCompute`); optional `[x]` positionals may instead be supplied as named options. Commands with no Options entry (e.g. `downloadJobResults`) are positional-only. ` --help` is authoritative. +53 commands, as registered in `src/cli.ts`. `` is required, `[x]` optional. A named option **overrides** its positional when both are passed. Every positional that has a matching named option is declared `[x]`, so it can be supplied **either** positionally **or** by its option alone (the command itself errors if a needed value is missing from both). The remaining `` positionals have no named-option equivalent and must be given positionally — these are `setNodeEnv`, `startService`, `downloadJobResults`, `restartService`, and the bucket commands (`addFileToBucket`, `listFilesInBucket`, `getFileObject`, `deleteFile`). Commands with no Options entry are positional-only. ` --help` is authoritative. | Command | Aliases | Arguments | Options | | --- | --- | --- | --- | | `help` | `h` | | | -| `setNode` | `useNode` | `` | `-n, --node` | +| `setNode` | `useNode` | `[nodeUrl]` | `-n, --node` | | `setNodeEnv` | `useNodeEnv` | `` | | | `getNode` | `currentNode` | | | -| `addChain` | `addRpc` | ` [rpcUrl...]` | `-c, --chainId`, `-u, --url` | -| `removeChain` | `removeRpc` | `` | `-c, --chainId` | +| `addChain` | `addRpc` | `[chainId] [rpcUrl...]` | `-c, --chainId`, `-u, --url` | +| `removeChain` | `removeRpc` | `[chainId]` | `-c, --chainId` | | `listChains` | `getRpcs`, `chains` | | | -| `setChain` | `useChain` | `` | `-c, --chainId` | +| `setChain` | `useChain` | `[chainId]` | `-c, --chainId` | | `getChain` | `currentChain` | | | -| `getDDO` | | `` | `-d, --did` | -| `publish` | | `` | `-f, --file`, `-e, --encrypt [bool]` (default true) | -| `publishAlgo` | | `` | `-f, --file`, `-e, --encrypt [bool]` | -| `editAsset` | `edit` | ` ` | `-d, --did`, `-f, --file`, `-e, --encrypt [bool]` | -| `download` | | ` [folder] [serviceId]` | `-d, --did`, `-f, --folder` (default `.`), `-s, --service` | -| `allowAlgo` | | ` ` | `-d, --dataset`, `-a, --algo`, `-e, --encrypt [bool]` | +| `getDDO` | | `[did]` | `-d, --did` | +| `publish` | | `[file]` | `-f, --file`, `-e, --encrypt [bool]` (default true) | +| `publishAlgo` | | `[file]` | `-f, --file`, `-e, --encrypt [bool]` | +| `editAsset` | `edit` | `[did] [file]` | `-d, --did`, `-f, --file`, `-e, --encrypt [bool]` | +| `download` | | `[did] [folder] [serviceId]` | `-d, --did`, `-f, --folder` (default `.`), `-s, --service` | +| `allowAlgo` | | `[datasetDid] [algoDid]` | `-d, --dataset`, `-a, --algo`, `-e, --encrypt [bool]` | | `startCompute` | | `[datasets] [algo] [env] [maxJobDuration] [paymentToken] [resources] [output] [serviceIds] [algoServiceId]` | `-d, --datasets`, `-a, --algo`, `-e, --env`, `--maxJobDuration`, `-t, --token`, `--resources`, `--chainId`, `--accept`, `-o, --output`, `-s, --services`, `-x, --algo-service`, `--subsidyProviders` | | `startFreeCompute` | | `[datasets] [algo] [env] [output] [serviceIds] [algoServiceId]` | `-d, --datasets`, `-a, --algo`, `-e, --env`, `-o, --output`, `-s, --services`, `-x, --algo-service`, `--chainId` | | `getComputeEnvironments` | `getC2DEnvs` | `[node]` | `-n, --node` | | `searchComputeResources` | `findComputeNodes` | | `--cpu --ram --disk --gpu --gpu-model --resource --free --paid --both --chain --token --max-price --duration --order-by` | -| `computeStreamableLogs` | | `` | `-j, --job` | -| `stopCompute` | | ` ` | `-d, --dataset`, `-j, --job`, `-a, --agreement` | -| `getJobStatus` | | ` [agreementId]` | `-d, --dataset`, `-j, --job`, `-a, --agreement` | +| `computeStreamableLogs` | | `[jobId]` | `-j, --job` | +| `stopCompute` | | `[datasetDid] [jobId] [agreementId]` | `-d, --dataset`, `-j, --job`, `-a, --agreement` | +| `getJobStatus` | | `[datasetDid] [jobId] [agreementId]` | `-d, --dataset`, `-j, --job`, `-a, --agreement` | | `downloadJobResults` | | ` [folder]` | | | `getServiceTemplates` | `serviceTemplates` | `[node]` | `-n, --node` | | `startService` | | ` ` | `--template`, `-i, --image`, `--tag`, `--checksum`, `--dockerfile`, `--additional-docker-files`, `--cmd`, `--entrypoint`, `-p, --ports`, `-r, --resources`, `-u, --user-data`, `--user-data-file`, `--accept`, `--wait`, `--timeout`, `--chainId`, `--subsidyProviders` | | `getServiceStatus` | `myServices` | `[serviceId]` | `-s, --service`, `-v, --verbose` | | `getServices` | `listServices` | `[node]` | `-n, --node`, `--status`, `--include-all`, `--from`, `-v, --verbose` | -| `serviceLogs` | `computeServiceLogs` | `` | `-s, --service`, `--since` | -| `extendService` | | ` [paymentToken]` | `-s, --service`, `--duration`, `-t, --token`, `--accept`, `--chainId`, `--subsidyProviders` | +| `serviceLogs` | `computeServiceLogs` | `[serviceId]` | `-s, --service`, `--since` | +| `extendService` | | `[serviceId] [additionalDuration] [paymentToken]` | `-s, --service`, `--duration`, `-t, --token`, `--accept`, `--chainId`, `--subsidyProviders` | | `restartService` | | `` | `-u, --user-data`, `--user-data-file`, `--cmd`, `--entrypoint`, `--image`, `--tag`, `--checksum`, `--dockerfile`, `--additional-docker-files`, `--wait`, `--timeout` | -| `stopService` | | `` | `-s, --service` | +| `stopService` | | `[serviceId]` | `-s, --service` | | `mintOcean` | | | `-t, --token`, `--chainId` | | `generateAuthToken` | | | | -| `invalidateAuthToken` | | `` | `-t, --token` | -| `depositEscrow` | | ` ` | `-t, --token`, `-a, --amount`, `--chainId` | -| `getUserFundsEscrow` | | `` | `-t, --token`, `--chainId` | -| `withdrawFromEscrow` | | ` ` | `-t, --token`, `-a, --amount`, `--chainId` | -| `authorizeEscrow` | | ` ` | `-t, --token`, `-p, --payee`, `-m, --maxLockedAmount`, `-s, --maxLockSeconds`, `-c, --maxLockCounts`, `-e, --expiry`, `--chainId` | -| `getAuthorizationsEscrow` | | ` ` | `-t, --token`, `-p, --payee`, `--chainId` | +| `invalidateAuthToken` | | `[token]` | `-t, --token` | +| `depositEscrow` | | `[token] [amount]` | `-t, --token`, `-a, --amount`, `--chainId` | +| `getUserFundsEscrow` | | `[token]` | `-t, --token`, `--chainId` | +| `withdrawFromEscrow` | | `[token] [amount]` | `-t, --token`, `-a, --amount`, `--chainId` | +| `authorizeEscrow` | | `[token] [payee] [maxLockedAmount] [maxLockSeconds] [maxLockCounts]` | `-t, --token`, `-p, --payee`, `-m, --maxLockedAmount`, `-s, --maxLockSeconds`, `-c, --maxLockCounts`, `-e, --expiry`, `--chainId` | +| `getAuthorizationsEscrow` | | `[token] [payee]` | `-t, --token`, `-p, --payee`, `--chainId` | | `getEscrowInfo` | `escrowInfo` | `[token]` | `-t, --token`, `--chainId` | | `getSubsidyProviders` | `subsidyProviders` | | `--chainId` | | `getSubsidyStatus` | `subsidyStatus` | `[token]` | `-t, --token`, `--chainId`, `--node`, `--jobType`, `--amount`, `--subsidy` | -| `createAccessList` | | ` [initialUsers] [transferable]` | `-n, --name`, `-s, --symbol`, `-u, --initial-users`, `-t, --transferable`, `--chainId` | -| `addToAccessList` | | `
` | `-a, --address`, `-u, --users`, `--chainId` | -| `checkAccessList` | | `
` | `-a, --address`, `-u, --users`, `--chainId` | -| `removeFromAccessList` | | `
` | `-a, --address`, `-u, --users`, `--chainId` | +| `createAccessList` | | `[name] [symbol] [initialUsers] [transferable]` | `-n, --name`, `-s, --symbol`, `-u, --initial-users`, `-t, --transferable`, `--chainId` | +| `addToAccessList` | | `[address] [users]` | `-a, --address`, `-u, --users`, `--chainId` | +| `checkAccessList` | | `[address] [users]` | `-a, --address`, `-u, --users`, `--chainId` | +| `removeFromAccessList` | | `[address] [users]` | `-a, --address`, `-u, --users`, `--chainId` | | `createBucket` | | `[accessListAddress]` | | | `addFileToBucket` | | ` [fileName]` | | | `listBuckets` | | | `-o, --owner` | | `listFilesInBucket` | | `` | | | `getFileObject` | | ` ` | | | `deleteFile` | | ` ` | | -| `downloadNodeLogs` | | ` [last] [from] [to]` | `-o, --output`, `-l, --last`, `-f, --from`, `-t, --to`, `-m, --maxLogs` | +| `downloadNodeLogs` | | `[output] [last] [from] [to]` | `-o, --output`, `-l, --last`, `-f, --from`, `-t, --to`, `-m, --maxLogs` | ## Sample metadata files diff --git a/src/cli.ts b/src/cli.ts index f3ca8d2..f933877 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -510,10 +510,18 @@ export async function createCLI() { .description( "Sets / switches the Ocean Node used by subsequent commands, without restarting", ) - .argument("", "HTTP(S) URL, peer id or full multiaddr of the node") + .argument("[nodeUrl]", "HTTP(S) URL, peer id or full multiaddr of the node") .option("-n, --node ", "Ocean Node to use") .action(async (nodeUrl, options) => { const target = options.node || nodeUrl; + if (!target) { + console.error( + chalk.red( + "A node is required. Pass it positionally or with --node (URL / peer id / multiaddr).", + ), + ); + return; + } const previous = getCurrentNodeUrl(); if (target === previous) { console.log(chalk.green(`Node ${target} is already the active one.`)); @@ -772,7 +780,7 @@ export async function createCLI() { .description( "Register an RPC chain at runtime (verifies each URL serves the chain; persists)", ) - .argument("", "Chain id the URL(s) serve") + .argument("[chainId]", "Chain id the URL(s) serve") .argument("[rpcUrl...]", "One or more RPC URLs for that chain") .option("-c, --chainId ", "Chain id the URL(s) serve") .option("-u, --url ", "One or more RPC URLs for that chain") @@ -805,7 +813,7 @@ export async function createCLI() { .command("removeChain") .alias("removeRpc") .description("Unregister an RPC chain (persists)") - .argument("", "Chain id to remove") + .argument("[chainId]", "Chain id to remove") .option("-c, --chainId ", "Chain id to remove") .action(async (chainIdArg, options) => { loadRegistry(); @@ -881,7 +889,7 @@ export async function createCLI() { .description( "Set the default (active) chain (must be registered; persists)", ) - .argument("", "Chain id to make default") + .argument("[chainId]", "Chain id to make default") .option("-c, --chainId ", "Chain id to make default") .action(async (chainIdArg, options) => { loadRegistry(); @@ -921,7 +929,7 @@ export async function createCLI() { program .command("getDDO") .description("Gets DDO for an asset using the asset did") - .argument("", "The asset DID") + .argument("[did]", "The asset DID") .option("-d, --did ", "The asset DID") .action(async (did, options) => { const assetDid = options.did || did; @@ -939,7 +947,7 @@ export async function createCLI() { program .command("publish") .description("Publishes a new asset with access service or compute service") - .argument("", "Path to metadata file") + .argument("[metadataFile]", "Path to metadata file") .option("-f, --file ", "Path to metadata file") .option("-e, --encrypt [boolean]", "Encrypt DDO", true) .action(async (metadataFile, options) => { @@ -958,7 +966,7 @@ export async function createCLI() { program .command("publishAlgo") .description("Publishes a new algorithm") - .argument("", "Path to metadata file") + .argument("[metadataFile]", "Path to metadata file") .option("-f, --file ", "Path to metadata file") .option("-e, --encrypt [boolean]", "Encrypt DDO", true) .action(async (metadataFile, options) => { @@ -978,8 +986,8 @@ export async function createCLI() { .command("editAsset") .alias("edit") .description("Updates DDO using the metadata items in the file") - .argument("", "Dataset DID") - .argument("", "Updated metadata file") + .argument("[datasetDid]", "Dataset DID") + .argument("[metadataFile]", "Updated metadata file") .option("-d, --did ", "Dataset DID") .option("-f, --file ", "Updated metadata file") .option("-e, --encrypt [boolean]", "Encrypt DDO", true) @@ -1000,7 +1008,7 @@ export async function createCLI() { program .command("download") .description("Downloads an asset into specified folder") - .argument("", "The asset DID") + .argument("[did]", "The asset DID") .argument("[folder]", "Destination folder", ".") .argument("[serviceId]", "Service ID (optional)") .option("-d, --did ", "The asset DID") @@ -1024,8 +1032,8 @@ export async function createCLI() { program .command("allowAlgo") .description("Approves an algorithm to run on a dataset") - .argument("", "Dataset DID") - .argument("", "Algorithm DID") + .argument("[datasetDid]", "Dataset DID") + .argument("[algoDid]", "Algorithm DID") .option("-d, --dataset ", "Dataset DID") .option("-a, --algo ", "Algorithm DID") .option("-e, --encrypt [boolean]", "Encrypt DDO", true) @@ -1419,12 +1427,18 @@ export async function createCLI() { program .command("computeStreamableLogs") .description("Gets the existing compute streamable logs") - .argument("", "Job ID") + .argument("[jobId]", "Job ID") .option("-j, --job ", "Job ID") .action(async (jobId, options) => { + const args = jobId || options.job; + if (!args) { + console.error( + chalk.red("A job ID is required. Pass it positionally or with --job."), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); - const args = jobId || options.job; await commands.computeStreamableLogs([args]); }); @@ -1432,9 +1446,9 @@ export async function createCLI() { program .command("stopCompute") .description("Stops a compute job") - .argument("", "Dataset DID") - .argument("", "Job ID") - .argument("", "Agreement ID") + .argument("[datasetDid]", "Dataset DID") + .argument("[jobId]", "Job ID") + .argument("[agreementId]", "Agreement ID") .option("-d, --dataset ", "Dataset DID") .option("-j, --job ", "Job ID") .option("-a, --agreement [agreementId]", "Agreement ID") @@ -1458,8 +1472,8 @@ export async function createCLI() { program .command("getJobStatus") .description("Displays the compute job status") - .argument("", "Dataset DID") - .argument("", "Job ID") + .argument("[datasetDid]", "Dataset DID") + .argument("[jobId]", "Job ID") .argument("[agreementId]", "Agreement ID") .option("-d, --dataset ", "Dataset DID") .option("-j, --job ", "Job ID") @@ -1745,7 +1759,7 @@ export async function createCLI() { .command("serviceLogs") .alias("computeServiceLogs") .description("Streams live logs from an on-demand service's container") - .argument("", "Service ID") + .argument("[serviceId]", "Service ID") .option("-s, --service ", "Service ID") .option( "--since ", @@ -1768,9 +1782,9 @@ export async function createCLI() { .description( "Extends a running on-demand service's expiry (paid via escrow)", ) - .argument("", "Service ID") + .argument("[serviceId]", "Service ID") .argument( - "", + "[additionalDuration]", "Additional duration in seconds", parseInt, ) @@ -1961,7 +1975,7 @@ export async function createCLI() { program .command("stopService") .description("Stops an on-demand service and releases its resources") - .argument("", "Service ID") + .argument("[serviceId]", "Service ID") .option("-s, --service ", "Service ID") .action(async (serviceId, options) => { const id = options.service || serviceId; @@ -2004,30 +2018,47 @@ export async function createCLI() { program .command("invalidateAuthToken") .description("Invalidate auth token") - .argument("", "Auth token") + .argument("[token]", "Auth token") .option("-t, --token ", "Auth token") .action(async (token, options) => { + const authToken = token || options.token; + if (!authToken) { + console.error( + chalk.red( + "An auth token is required. Pass it positionally or with --token.", + ), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); - await commands.invalidateAuthToken([token || options.token]); + await commands.invalidateAuthToken([authToken]); }); // Escrow deposit command program .command("depositEscrow") .description("Deposit tokens into the escrow contract") - .argument("", "Address of the token to deposit") - .argument("", "Amount of tokens to deposit") + .argument("[token]", "Address of the token to deposit") + .argument("[amount]", "Amount of tokens to deposit") .option("-t, --token ", "Address of the token to deposit") .option("-a, --amount ", "Amount of tokens to deposit") .option("--chainId ", "Escrow chain (default: active chain)") .action(async (token, amount, options) => { + const tokenAddress = options.token || token; + const amountToDeposit = options.amount || amount; + if (!tokenAddress || !amountToDeposit) { + console.error( + chalk.red( + "A token address and amount are required. Pass them positionally or with --token / --amount.", + ), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); const target = await routeExplicit(commands, options.chainId); if (target === null) return; - const tokenAddress = options.token || token; - const amountToDeposit = options.amount || amount; const success = await commands.depositToEscrow( commands.signer, tokenAddress, @@ -2046,30 +2077,49 @@ export async function createCLI() { program .command("getUserFundsEscrow") .description("Get deposited token amount in escrow for user") - .argument("", "Address of the token to check") + .argument("[token]", "Address of the token to check") .option("-t, --token ", "Address of the token to check") .option("--chainId ", "Escrow chain (default: active chain)") .action(async (token, options) => { + const tokenAddress = token || options.token; + if (!tokenAddress) { + console.error( + chalk.red( + "A token address is required. Pass it positionally or with --token.", + ), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); if ((await routeExplicit(commands, options.chainId)) === null) return; - await commands.getEscrowBalance(token || options.token); + await commands.getEscrowBalance(tokenAddress); }); // Withdraw from escrow program .command("withdrawFromEscrow") .description("Withdraw tokens from escrow") - .argument("", "Address of the token to check") - .argument("", "Amount of tokens to withdraw") + .argument("[token]", "Address of the token to check") + .argument("[amount]", "Amount of tokens to withdraw") .option("-t, --token ", "Address of the token to check") .option("-a, --amount ", "Amount of tokens to withdraw") .option("--chainId ", "Escrow chain (default: active chain)") .action(async (token, amount, options) => { + const tokenAddress = token || options.token; + const amountToWithdraw = amount || options.amount; + if (!tokenAddress || !amountToWithdraw) { + console.error( + chalk.red( + "A token address and amount are required. Pass them positionally or with --token / --amount.", + ), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); if ((await routeExplicit(commands, options.chainId)) === null) return; - await commands.withdrawFromEscrow(token || options.token, amount); + await commands.withdrawFromEscrow(tokenAddress, amountToWithdraw); }); // Escrow authorization command @@ -2078,11 +2128,11 @@ export async function createCLI() { .description( "Authorize (or re-authorize) a payee to lock and claim funds from escrow. Re-running overwrites the existing limits (renew/shorten); pass a past --expiry to revoke", ) - .argument("", "Address of the token to authorize") - .argument("", "Address of the payee to authorize") - .argument("", "Maximum amount that can be locked by payee") - .argument("", "Maximum lock duration in seconds") - .argument("", "Maximum number of locks allowed") + .argument("[token]", "Address of the token to authorize") + .argument("[payee]", "Address of the payee to authorize") + .argument("[maxLockedAmount]", "Maximum amount that can be locked by payee") + .argument("[maxLockSeconds]", "Maximum lock duration in seconds") + .argument("[maxLockCounts]", "Maximum number of locks allowed") .option("-t, --token ", "Address of the token to authorize") .option("-p, --payee ", "Address of the payee to authorize") .option( @@ -2120,6 +2170,21 @@ export async function createCLI() { const maxLockSecondsValue = options.maxLockSeconds || maxLockSeconds; const maxLockCountsValue = options.maxLockCounts || maxLockCounts; + if ( + !tokenAddress || + !payeeAddress || + !maxLockedAmountValue || + !maxLockSecondsValue || + !maxLockCountsValue + ) { + console.error( + chalk.red( + "token, payee, maxLockedAmount, maxLockSeconds and maxLockCounts are all required. Pass them positionally or with --token / --payee / --maxLockedAmount / --maxLockSeconds / --maxLockCounts.", + ), + ); + return; + } + const success = await commands.authorizeEscrowPayee( tokenAddress, payeeAddress, @@ -2162,26 +2227,33 @@ export async function createCLI() { program .command("getAuthorizationsEscrow") .description("Get authorizations for escrow") - .argument("", "Address of the token to check") - .argument("", "Address of the payee to check") + .argument("[token]", "Address of the token to check") + .argument("[payee]", "Address of the payee to check") .option("-t, --token ", "Address of the token to check") .option("-p, --payee ", "Address of the payee to check") .option("--chainId ", "Escrow chain (default: active chain)") .action(async (token, payee, options) => { + const tokenAddress = token || options.token; + const payeeAddress = payee || options.payee; + if (!tokenAddress || !payeeAddress) { + console.error( + chalk.red( + "A token address and payee are required. Pass them positionally or with --token / --payee.", + ), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); if ((await routeExplicit(commands, options.chainId)) === null) return; - await commands.getAuthorizationsEscrow( - token || options.token, - payee || options.payee, - ); + await commands.getAuthorizationsEscrow(tokenAddress, payeeAddress); }); program .command("createAccessList") .description("Create a new access list contract") - .argument("", "Name for the access list") - .argument("", "Symbol for the access list") + .argument("[name]", "Name for the access list") + .argument("[symbol]", "Symbol for the access list") .argument( "[initialUsers]", "Comma-separated list of initial user addresses", @@ -2206,12 +2278,22 @@ export async function createCLI() { ) .option("--chainId ", "Chain to deploy on (default: active chain)") .action(async (name, symbol, initialUsers, transferable, options) => { + const listName = options.name || name; + const listSymbol = options.symbol || symbol; + if (!listName || !listSymbol) { + console.error( + chalk.red( + "A name and symbol are required. Pass them positionally or with --name / --symbol.", + ), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); if ((await routeExplicit(commands, options.chainId)) === null) return; await commands.createAccessList([ - options.name || name, - options.symbol || symbol, + listName, + listSymbol, options.transferable || transferable, options.initialUsers || initialUsers, ]); @@ -2220,8 +2302,8 @@ export async function createCLI() { program .command("addToAccessList") .description("Add user(s) to an access list") - .argument("", "Address of the access list contract") - .argument("", "Comma-separated list of user addresses to add") + .argument("[accessListAddress]", "Address of the access list contract") + .argument("[users]", "Comma-separated list of user addresses to add") .option( "-a, --address ", "Address of the access list contract", @@ -2232,20 +2314,27 @@ export async function createCLI() { ) .option("--chainId ", "Access-list chain (default: active chain)") .action(async (accessListAddress, users, options) => { + const listAddress = options.address || accessListAddress; + const listUsers = options.users || users; + if (!listAddress || !listUsers) { + console.error( + chalk.red( + "An access-list address and user(s) are required. Pass them positionally or with --address / --users.", + ), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); if ((await routeExplicit(commands, options.chainId)) === null) return; - await commands.addToAccessList([ - options.address || accessListAddress, - options.users || users, - ]); + await commands.addToAccessList([listAddress, listUsers]); }); program .command("checkAccessList") .description("Check if user(s) are on an access list") - .argument("", "Address of the access list contract") - .argument("", "Comma-separated list of user addresses to check") + .argument("[accessListAddress]", "Address of the access list contract") + .argument("[users]", "Comma-separated list of user addresses to check") .option( "-a, --address ", "Address of the access list contract", @@ -2256,20 +2345,27 @@ export async function createCLI() { ) .option("--chainId ", "Access-list chain (default: active chain)") .action(async (accessListAddress, users, options) => { + const listAddress = options.address || accessListAddress; + const listUsers = options.users || users; + if (!listAddress || !listUsers) { + console.error( + chalk.red( + "An access-list address and user(s) are required. Pass them positionally or with --address / --users.", + ), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); if ((await routeExplicit(commands, options.chainId)) === null) return; - await commands.checkAccessList([ - options.address || accessListAddress, - options.users || users, - ]); + await commands.checkAccessList([listAddress, listUsers]); }); program .command("removeFromAccessList") .description("Remove user(s) from an access list") - .argument("", "Address of the access list contract") - .argument("", "Comma-separated list of user addresses to remove") + .argument("[accessListAddress]", "Address of the access list contract") + .argument("[users]", "Comma-separated list of user addresses to remove") .option( "-a, --address ", "Address of the access list contract", @@ -2280,19 +2376,26 @@ export async function createCLI() { ) .option("--chainId ", "Access-list chain (default: active chain)") .action(async (accessListAddress, users, options) => { + const listAddress = options.address || accessListAddress; + const listUsers = options.users || users; + if (!listAddress || !listUsers) { + console.error( + chalk.red( + "An access-list address and user(s) are required. Pass them positionally or with --address / --users.", + ), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); if ((await routeExplicit(commands, options.chainId)) === null) return; - await commands.removeFromAccessList([ - options.address || accessListAddress, - options.users || users, - ]); + await commands.removeFromAccessList([listAddress, listUsers]); }); program .command("downloadNodeLogs") .description("Download logs from a node as an admin") - .argument("", "Output directory to save the logs") + .argument("[output]", "Output directory to save the logs") .argument( "[last]", "Period of time to get logs from now (in hours). Use either last or from-to", @@ -2315,10 +2418,19 @@ export async function createCLI() { "Maximum number of logs to retrieve (default: 100, max: 1000)", ) .action(async (output, last, from, to, maxLogs, options) => { + const outputDir = options.output || output; + if (!outputDir) { + console.error( + chalk.red( + "An output directory is required. Pass it positionally or with --output.", + ), + ); + return; + } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); await commands.downloadNodeLogs([ - options.output || output, + outputDir, options.last || last, options.from || from, options.to || to, From bc4d883deffadde86d1fed70cec1fbc019c6fe09 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 11 Nov 2026 09:17:55 +0200 Subject: [PATCH 15/24] remove custom node and contracts from ci --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbe6aa5..2d19198 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -183,9 +183,6 @@ jobs: working-directory: ${{ github.workspace }}/barge run: | bash -x start_ocean.sh --with-typesense 2>&1 > start_ocean.log & - env: - NODE_VERSION: pr-1479 - CONTRACTS_VERSION: 3.2.0-rc.1 - name: Install dependencies run: npm ci - run: npm run build From 51907e0e6947430ef63b6264442a6869f88ac7c2 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 11 Nov 2026 10:11:10 +0200 Subject: [PATCH 16/24] update CLAUDE.md to use node24 --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index d830cef..c3b5579 100755 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,7 +7,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co `ocean-cli` (npm package `@oceanprotocol/cli`, version 2.0.0; installs a `bin` named `ocean-cli`) is a TypeScript CLI that wraps the Ocean Protocol JavaScript library (`@oceanprotocol/lib`, a.k.a. ocean.js) to publish, edit, consume/download, and run compute-to-data (C2D) on assets, plus manage escrow payments, access lists, persistent-storage buckets, auth tokens, and admin node logs. It talks to an **Ocean Node** (the single service that replaced the old standalone Provider and Aquarius apps — it does metadata caching, indexing, encryption, ordering, and compute) and to an EVM chain via an RPC endpoint. -The package is pure ESM (`"type": "module"` in `package.json`). All relative imports MUST carry an explicit `.js` extension even though the source is `.ts` (e.g. `import { Commands } from "./commands.js"`). Node 22 is expected (`.nvmrc` = `22.23.1`; CI pins the same). The dev toolchain sets the floor: `eslint@10` needs `>=22.13.0` and `release-it@21` needs `>=22.21.0`, so an older 22.x will fail `npm run lint` / `npm run release` even though `engines.node` is only `>=22` (that bound is for consumers of the published package, who get `dependencies` only). +The package is pure ESM (`"type": "module"` in `package.json`). All relative imports MUST carry an explicit `.js` extension even though the source is `.ts` (e.g. `import { Commands } from "./commands.js"`). Node 24 is expected for local dev (`.nvmrc` = `24`). CI runs the build, lint, and system-test jobs on a matrix of Node `22`, `24`, and `26` (with several steps pinned to `24`), while `publish.yml` pins `22.23.1`. The dev toolchain sets the floor: `eslint@10` needs `>=22.13.0` and `release-it@21` needs `>=22.21.0`, so a Node older than those will fail `npm run lint` / `npm run release` even though `engines.node` is only `>=22` (that bound is for consumers of the published package, who get `dependencies` only). ## Commands From 458e402c1c8913eba9d7ead25c7f8998b6b204fc Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 11 Nov 2026 10:12:02 +0200 Subject: [PATCH 17/24] update and fix tests --- src/cli.ts | 177 +++++++++++++++------------------------- src/commands.ts | 17 ++-- test/accessList.test.ts | 4 +- test/replMenu.test.ts | 5 +- 4 files changed, 84 insertions(+), 119 deletions(-) diff --git a/src/cli.ts b/src/cli.ts index f933877..bcb46d3 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -515,12 +515,9 @@ export async function createCLI() { .action(async (nodeUrl, options) => { const target = options.node || nodeUrl; if (!target) { - console.error( - chalk.red( - "A node is required. Pass it positionally or with --node (URL / peer id / multiaddr).", - ), + throw new Error( + "A node is required. Pass it positionally or with --node (URL / peer id / multiaddr).", ); - return; } const previous = getCurrentNodeUrl(); if (target === previous) { @@ -790,12 +787,14 @@ export async function createCLI() { const urls: string[] = options.url && options.url.length ? options.url : rpcUrlArgs; if (!Number.isInteger(id) || id <= 0) { - console.error(chalk.red(`Invalid chainId "${chainIdArg}".`)); - return; + throw new Error( + `A valid chain id is required. Pass it positionally or with --chainId (got "${chainIdArg ?? ""}").`, + ); } if (!urls || urls.length === 0) { - console.error(chalk.red("At least one RPC URL is required.")); - return; + throw new Error( + "At least one RPC URL is required. Pass it positionally or with --url.", + ); } try { await addChain(id, urls); @@ -819,8 +818,9 @@ export async function createCLI() { loadRegistry(); const id = Number(options.chainId || chainIdArg); if (!Number.isInteger(id) || id <= 0) { - console.error(chalk.red(`Invalid chainId "${chainIdArg}".`)); - return; + throw new Error( + `A valid chain id is required. Pass it positionally or with --chainId (got "${chainIdArg ?? ""}").`, + ); } try { removeChain(id); @@ -895,8 +895,9 @@ export async function createCLI() { loadRegistry(); const id = Number(options.chainId || chainIdArg); if (!Number.isInteger(id) || id <= 0) { - console.error(chalk.red(`Invalid chainId "${chainIdArg}".`)); - return; + throw new Error( + `A valid chain id is required. Pass it positionally or with --chainId (got "${chainIdArg ?? ""}").`, + ); } try { setDefaultChainId(id); @@ -934,9 +935,7 @@ export async function createCLI() { .action(async (did, options) => { const assetDid = options.did || did; if (!assetDid) { - console.error(chalk.red("DID is required")); - // process.exit(1); - return; + throw new Error("A DID is required. Pass it positionally or with --did."); } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -953,9 +952,9 @@ export async function createCLI() { .action(async (metadataFile, options) => { const file = options.file || metadataFile; if (!file) { - console.error(chalk.red("Metadata file is required")); - // process.exit(1); - return; + throw new Error( + "A metadata file is required. Pass it positionally or with --file.", + ); } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -972,9 +971,9 @@ export async function createCLI() { .action(async (metadataFile, options) => { const file = options.file || metadataFile; if (!file) { - console.error(chalk.red("Metadata file is required")); - // process.exit(1); - return; + throw new Error( + "A metadata file is required. Pass it positionally or with --file.", + ); } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -995,9 +994,9 @@ export async function createCLI() { const dsDid = options.did || datasetDid; const file = options.file || metadataFile; if (!dsDid || !file) { - console.error(chalk.red("Dataset DID and metadata file are required")); - // process.exit(1); - return; + throw new Error( + "A dataset DID and metadata file are required. Pass them positionally or with --did / --file.", + ); } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -1019,9 +1018,7 @@ export async function createCLI() { const destFolder = options.folder || folder || "."; const svcId = options.service || serviceId; if (!assetDid) { - console.error(chalk.red("DID is required")); - // process.exit(1); - return; + throw new Error("A DID is required. Pass it positionally or with --did."); } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -1041,9 +1038,9 @@ export async function createCLI() { const dsDid = options.dataset || datasetDid; const aDid = options.algo || algoDid; if (!dsDid || !aDid) { - console.error(chalk.red("Dataset DID and Algorithm DID are required")); - // process.exit(1); - return; + throw new Error( + "A dataset DID and algorithm DID are required. Pass them positionally or with --dataset / --algo.", + ); } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -1432,10 +1429,9 @@ export async function createCLI() { .action(async (jobId, options) => { const args = jobId || options.job; if (!args) { - console.error( - chalk.red("A job ID is required. Pass it positionally or with --job."), + throw new Error( + "A job ID is required. Pass it positionally or with --job.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -1457,9 +1453,9 @@ export async function createCLI() { const jId = options.job || jobId; const agrId = options.agreement || agreementId; if (!dsDid || !jId) { - console.error(chalk.red("Dataset DID and Job ID are required")); - // process.exit(1); - return; + throw new Error( + "A dataset DID and job ID are required. Pass them positionally or with --dataset / --job.", + ); } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -1483,9 +1479,9 @@ export async function createCLI() { const jId = options.job || jobId; const agrId = options.agreement || agreementId; if (!dsDid || !jId) { - console.error(chalk.red("Dataset DID and Job ID are required")); - // process.exit(1); - return; + throw new Error( + "A dataset DID and job ID are required. Pass them positionally or with --dataset / --job.", + ); } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -1768,8 +1764,9 @@ export async function createCLI() { .action(async (serviceId, options) => { const id = options.service || serviceId; if (!id) { - console.error(chalk.red("Missing required argument: ")); - return; + throw new Error( + "A service ID is required. Pass it positionally or with --service.", + ); } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -1817,20 +1814,14 @@ export async function createCLI() { const addl = options.duration || additionalDuration; const token = options.token || paymentToken; if (!id || !addl) { - console.error( - chalk.red( - "Missing required arguments: ", - ), + throw new Error( + "A service ID and additional duration are required. Pass them positionally or with --service / --duration.", ); - return; } if (!Number.isInteger(addl) || addl <= 0) { - console.error( - chalk.red( - "additionalDuration must be a positive integer number of seconds.", - ), + throw new Error( + "additionalDuration must be a positive integer number of seconds.", ); - return; } let subsidyProviders: string[] | undefined; try { @@ -1980,8 +1971,9 @@ export async function createCLI() { .action(async (serviceId, options) => { const id = options.service || serviceId; if (!id) { - console.error(chalk.red("Missing required argument: ")); - return; + throw new Error( + "A service ID is required. Pass it positionally or with --service.", + ); } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -2023,12 +2015,9 @@ export async function createCLI() { .action(async (token, options) => { const authToken = token || options.token; if (!authToken) { - console.error( - chalk.red( - "An auth token is required. Pass it positionally or with --token.", - ), + throw new Error( + "An auth token is required. Pass it positionally or with --token.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -2048,12 +2037,9 @@ export async function createCLI() { const tokenAddress = options.token || token; const amountToDeposit = options.amount || amount; if (!tokenAddress || !amountToDeposit) { - console.error( - chalk.red( - "A token address and amount are required. Pass them positionally or with --token / --amount.", - ), + throw new Error( + "A token address and amount are required. Pass them positionally or with --token / --amount.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -2083,12 +2069,9 @@ export async function createCLI() { .action(async (token, options) => { const tokenAddress = token || options.token; if (!tokenAddress) { - console.error( - chalk.red( - "A token address is required. Pass it positionally or with --token.", - ), + throw new Error( + "A token address is required. Pass it positionally or with --token.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -2109,12 +2092,9 @@ export async function createCLI() { const tokenAddress = token || options.token; const amountToWithdraw = amount || options.amount; if (!tokenAddress || !amountToWithdraw) { - console.error( - chalk.red( - "A token address and amount are required. Pass them positionally or with --token / --amount.", - ), + throw new Error( + "A token address and amount are required. Pass them positionally or with --token / --amount.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -2177,12 +2157,9 @@ export async function createCLI() { !maxLockSecondsValue || !maxLockCountsValue ) { - console.error( - chalk.red( - "token, payee, maxLockedAmount, maxLockSeconds and maxLockCounts are all required. Pass them positionally or with --token / --payee / --maxLockedAmount / --maxLockSeconds / --maxLockCounts.", - ), + throw new Error( + "token, payee, maxLockedAmount, maxLockSeconds and maxLockCounts are all required. Pass them positionally or with --token / --payee / --maxLockedAmount / --maxLockSeconds / --maxLockCounts.", ); - return; } const success = await commands.authorizeEscrowPayee( @@ -2236,12 +2213,9 @@ export async function createCLI() { const tokenAddress = token || options.token; const payeeAddress = payee || options.payee; if (!tokenAddress || !payeeAddress) { - console.error( - chalk.red( - "A token address and payee are required. Pass them positionally or with --token / --payee.", - ), + throw new Error( + "A token address and payee are required. Pass them positionally or with --token / --payee.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -2281,12 +2255,9 @@ export async function createCLI() { const listName = options.name || name; const listSymbol = options.symbol || symbol; if (!listName || !listSymbol) { - console.error( - chalk.red( - "A name and symbol are required. Pass them positionally or with --name / --symbol.", - ), + throw new Error( + "A name and symbol are required. Pass them positionally or with --name / --symbol.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -2317,12 +2288,9 @@ export async function createCLI() { const listAddress = options.address || accessListAddress; const listUsers = options.users || users; if (!listAddress || !listUsers) { - console.error( - chalk.red( - "An access-list address and user(s) are required. Pass them positionally or with --address / --users.", - ), + throw new Error( + "An access-list address and user(s) are required. Pass them positionally or with --address / --users.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -2348,12 +2316,9 @@ export async function createCLI() { const listAddress = options.address || accessListAddress; const listUsers = options.users || users; if (!listAddress || !listUsers) { - console.error( - chalk.red( - "An access-list address and user(s) are required. Pass them positionally or with --address / --users.", - ), + throw new Error( + "An access-list address and user(s) are required. Pass them positionally or with --address / --users.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -2379,12 +2344,9 @@ export async function createCLI() { const listAddress = options.address || accessListAddress; const listUsers = options.users || users; if (!listAddress || !listUsers) { - console.error( - chalk.red( - "An access-list address and user(s) are required. Pass them positionally or with --address / --users.", - ), + throw new Error( + "An access-list address and user(s) are required. Pass them positionally or with --address / --users.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); @@ -2420,12 +2382,9 @@ export async function createCLI() { .action(async (output, last, from, to, maxLogs, options) => { const outputDir = options.output || output; if (!outputDir) { - console.error( - chalk.red( - "An output directory is required. Pass it positionally or with --output.", - ), + throw new Error( + "An output directory is required. Pass it positionally or with --output.", ); - return; } const { signer, chainId } = await initializeSigner(); const commands = new Commands(signer, chainId); diff --git a/src/commands.ts b/src/commands.ts index 3a1f93f..f0f09f9 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -1308,15 +1308,20 @@ export class Commands { console.log("Verifying payment..."); await new Promise((resolve) => setTimeout(resolve, 3000)); + // amountToDeposit and maxLockedAmount must be in the SAME unit: the lib compares + // them directly and treats the larger as a human-readable amount. Pass the human + // amount for both (passing base units for maxLockedAmount makes the lib demand + // amount * 10^decimals tokens and the funds check always fails). + const paymentAmountHuman = await unitsToAmount( + paymentSigner, + paymentToken, + parsedProviderInitializeComputeJob.payment.amount, + ); const validationEscrow = await escrow.verifyFundsForEscrowPayment( paymentToken, computeEnv.consumerAddress, - await unitsToAmount( - paymentSigner, - paymentToken, - parsedProviderInitializeComputeJob.payment.amount, - ), - parsedProviderInitializeComputeJob.payment.amount.toString(), + paymentAmountHuman, + paymentAmountHuman, parsedProviderInitializeComputeJob.payment.minLockSeconds.toString(), "10", ); diff --git a/test/accessList.test.ts b/test/accessList.test.ts index 382b6b1..6f0a232 100644 --- a/test/accessList.test.ts +++ b/test/accessList.test.ts @@ -84,7 +84,7 @@ describe("Ocean CLI Access List", function () { expect(error.stderr || error.message).to.satisfy( (msg: string) => msg.includes("error: missing required argument") || - msg.includes("Name and symbol are required"), + msg.includes("A name and symbol are required"), ); } }); @@ -118,7 +118,7 @@ describe("Ocean CLI Access List", function () { expect(error.stderr || error.message).to.satisfy( (msg: string) => msg.includes("error: missing required argument") || - msg.includes("at least one user are required"), + msg.includes("An access-list address and user(s) are required"), ); } }); diff --git a/test/replMenu.test.ts b/test/replMenu.test.ts index 90788d7..28408fe 100644 --- a/test/replMenu.test.ts +++ b/test/replMenu.test.ts @@ -54,10 +54,11 @@ describe("Ocean CLI interactive menu (REPL)", function () { }); it("survives a command with a missing required argument", async function () { - // getDDO requires ; the parse error must not terminate the REPL, and a + // downloadJobResults requires (positional-only, no + // option alternative); the parse error must not terminate the REPL, and a // subsequent command must still run. const { output, code } = await runRepl([ - "getDDO", + "downloadJobResults", "definitelyNotACommand", "exit", ]); From 292e80f8e25a3fa18c992aea4fc865c1278f3811 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 11 Nov 2026 10:18:56 +0200 Subject: [PATCH 18/24] always show subsidy percent --- src/commands.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/commands.ts b/src/commands.ts index f0f09f9..2bc51a9 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -3599,7 +3599,13 @@ export class Commands { // Kind-specific detail (subsidyBuckets already covers the core numbers). if (kind === SubsidyKind.ROLLING_WINDOW) { const opf = new OPFSubsidyProvider(this.signer, address, chainId); + const limits = await opf.getTokenLimits(tokenAddress); console.log(" Rolling-window detail:"); + console.log( + ` token config: subsidy=${Number(limits.pctBps) / 100}% enabled=${ + limits.enabled + }`, + ); console.log( ` remaining daily/weekly/monthly: ${await opf.remainingDaily( payer, @@ -3623,7 +3629,9 @@ export class Commands { const cfg = await one.getTokenConfig(tokenAddress); console.log(" One-time detail:"); console.log( - ` token config: pctBps=${cfg.pctBps} defaultCredit=${cfg.defaultCredit} enabled=${cfg.enabled}`, + ` token config: subsidy=${Number(cfg.pctBps) / 100}% defaultCredit=${ + cfg.defaultCredit + } enabled=${cfg.enabled}`, ); console.log( ` effective/remaining/used credit: ${await one.effectiveCredit( From 2555ae9b7c11d134a02a0d2657a599eb687832af Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 11 Nov 2026 10:27:04 +0200 Subject: [PATCH 19/24] fix message about subsidy support --- src/commands.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/commands.ts b/src/commands.ts index 2bc51a9..ee70428 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -3411,14 +3411,25 @@ export class Commands { private resolveSubsidyProviderAddresses( chainId: number, nodeProviders: Record, + filter: boolean, override?: string, ): string[] { const fromNode = (nodeProviders?.[String(chainId)] ?? []).map((a) => getAddress(a), ); if (fromNode.length === 0) { + // Two distinct states, don't conflate them: + // - filter ON + empty list -> the node restricts usage to its configured set and that + // set is empty, so no provider can ever be used: genuinely unsupported. + // - filter OFF + empty list -> the node still accepts subsidies (callers may supply their + // own provider); it just advertises none to report on here. + if (filter) { + throw new Error( + `This node does not support subsidy providers on chain ${chainId}: the provider filter is on and its configured list is empty, so no provider can be used.`, + ); + } throw new Error( - `This node does not support subsidy providers on chain ${chainId}.`, + `This node supports subsidies but has no subsidy providers configured on chain ${chainId}.`, ); } if (!override || !override.trim()) return [...new Set(fromNode)]; @@ -3494,7 +3505,7 @@ export class Commands { ); return; } - const { providers } = nodeSubsidyInfo(status); + const { providers, filter } = nodeSubsidyInfo(status); const nodeAddress = status.address ? getAddress(status.address) : undefined; let addresses: string[]; @@ -3503,6 +3514,7 @@ export class Commands { addresses = this.resolveSubsidyProviderAddresses( chainId, providers, + filter, opts.subsidy, ); jobType = this.mapJobType(opts.jobType); From 692127fa39401c23cf5de306ee4ff4d52e40ff57 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 11 Nov 2026 10:40:17 +0200 Subject: [PATCH 20/24] Use colors for better subsidy visibility --- src/commands.ts | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/src/commands.ts b/src/commands.ts index ee70428..5dd9a58 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -3546,9 +3546,27 @@ export class Commands { console.log(` Kind: ${SubsidyKind[kind] ?? kind}`); const report = await view.subsidyBuckets(payer, tokenAddress); - console.log(` Paused: ${report.paused}`); - console.log(` User allowed: ${report.userAllowed}`); - console.log(` Token enabled: ${report.tokenEnabled}`); + console.log( + report.paused + ? chalk.red( + " Paused: true (this subsidy provider is paused — no claims are possible)", + ) + : chalk.green(" Paused: false"), + ); + console.log( + report.userAllowed + ? chalk.green(" User allowed: true") + : chalk.red( + " User allowed: false (you are not on this provider's user access list — you cannot use this subsidy provider)", + ), + ); + console.log( + report.tokenEnabled + ? chalk.green(" Token enabled: true") + : chalk.red( + " Token enabled: false (this token is not subsidised by this provider)", + ), + ); if (!report.buckets || report.buckets.length === 0) { console.log(" Buckets: (none)"); } else { @@ -3575,14 +3593,16 @@ export class Commands { tokenAddress, )}`, ); - console.log( - ` User allowed (isUserAllowed): ${await view.isUserAllowed(payer)}`, - ); if (nodeAddress) { + const nodeAllowed = await view.isNodeAllowed(nodeAddress); console.log( - ` Node allowed (isNodeAllowed, ${nodeAddress}): ${await view.isNodeAllowed( - nodeAddress, - )}`, + nodeAllowed + ? chalk.green( + ` Node allowed (isNodeAllowed, ${nodeAddress}): true`, + ) + : chalk.red( + ` Node allowed (isNodeAllowed, ${nodeAddress}): false (this node is not on the provider's node access list — it cannot use this subsidy provider)`, + ), ); } if (jobType !== undefined) { From 6fa631c56fa5d3cfbb4ed0fd1cd1855df2e3e2af Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 11 Nov 2026 10:42:57 +0200 Subject: [PATCH 21/24] remove duplicate token enable --- src/commands.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/commands.ts b/src/commands.ts index 5dd9a58..e9d0407 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -3634,9 +3634,7 @@ export class Commands { const limits = await opf.getTokenLimits(tokenAddress); console.log(" Rolling-window detail:"); console.log( - ` token config: subsidy=${Number(limits.pctBps) / 100}% enabled=${ - limits.enabled - }`, + ` token config: subsidy=${Number(limits.pctBps) / 100}%`, ); console.log( ` remaining daily/weekly/monthly: ${await opf.remainingDaily( @@ -3663,7 +3661,7 @@ export class Commands { console.log( ` token config: subsidy=${Number(cfg.pctBps) / 100}% defaultCredit=${ cfg.defaultCredit - } enabled=${cfg.enabled}`, + }`, ); console.log( ` effective/remaining/used credit: ${await one.effectiveCredit( From 0cda5e8f801559b3ba2968d36fd2bd374b76c238 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Mon, 16 Nov 2026 14:46:22 +0200 Subject: [PATCH 22/24] Fund only the payer's share when a prepaid subsidy covers the job Paid compute and on-demand services always deposited and authorized for the full job cost, so a wallet with no payment token could not start a job even when a subsidy provider would pre-fund the whole lock. The CLI now asks ocean.js estimateJobSubsidy how much of the lock the providers would pre-fund and funds only the remainder. A fully sponsored job deposits nothing; at most it sends one authorize transaction. - startCompute, startService, extendService: quote the prepaid subsidy and use the payer's share for the escrow funding check, the top-up deposit and the authorization ceiling. If the quote fails, warn and fall back to funding the full cost. - --subsidyProviders: with an explicit list only the named providers are counted, since the node replaces its own set with that list. Omitted uses the node's set; none counts nothing. - Payment prompts for all three commands show the total cost and what the payer actually pays. For startCompute the quote now happens before the prompt and the confirmed figure is passed to computeStart. - Services: split verifyServiceEscrow into a read-only quoteServicePayerShare and a fundServiceEscrow that runs only after the user confirms. Deposits and authorizations were previously sent before the prompt. - Services: pass human units for both amounts to verifyFundsForEscrowPayment. The cost was passed in base units as maxLockedAmount, which lib 10 reads as human units. - Raw algorithms may carry inline meta.rawcode instead of a fileObject. - Bump @oceanprotocol/lib to ^10.1.0 (estimateJobSubsidy, and the payer gas check fix in verifyFundsForEscrowPayment). - Add unit tests for prefundedLockUnits and the rawcode algorithm case. - Update README, CLAUDE.md and the PR description. --- CLAUDE.md | 6 +- README.md | 1 + package-lock.json | 8 +- package.json | 2 +- src/cli.ts | 24 ++- src/commands.ts | 285 ++++++++++++++++++++++++++---- src/helpers.ts | 59 ++++++- src/serviceHelpers.ts | 63 +++++-- test/resolveComputeInputs.test.ts | 18 +- test/subsidyProviders.test.ts | 111 +++++++++++- 10 files changed, 515 insertions(+), 62 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index c3b5579..1229045 100755 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -159,7 +159,7 @@ uses directly. `destroyProviders()` tears providers down on exit (next to `stopP - `createAssetUtil(...)` wraps ocean.js `createAsset` (used by publish/publishAlgo and the interactive publisher). It resolves the active ERC20 template (`calculateActiveTemplateIndex` reads and `JSON.parse`s the `@oceanprotocol/contracts` `ERC20Template.json` ABI, resolved via `createRequire`/`require.resolve` so it works from any cwd — e.g. a global install — not a cwd-relative `node_modules` path), and for **Oasis Sapphire** (`config.sdk === 'oasis'`) wraps the signer with `wrapEthersSigner` from `@oasisprotocol/sapphire-ethers-v6` (`getSignerAccordingSdk`; sapphire-paratime v2 moved its ethers integration into that package, and it throws `SignerHasNoProviderError` for a provider-less signer) and deploys an allow access list before creating the asset. - `updateAssetMetadata(...)` — used by `editAsset`, `allowAlgo`, `disallowAlgo` and the interactive publisher. It validates the DDO via `aquarius.validate`, then either `ProviderInstance.encrypt`s the DDO (flags = 2) or hexlifies raw JSON (flags = 0) depending on the `encryptDDO` flag, then calls `nft.setMetadata`. - `handleComputeOrder(...)` — the ordering state machine used in compute: validOrder + no fees → reuse as-is; validOrder + fees → `datatoken.reuseOrder` paying only provider fees; no order → `orderAsset` (pay 1 datatoken + fees). Approves provider-fee tokens first when the fee amount > 0. -- `resolveComputeInputs(...)` + `parseComputeInput(...)` — parse the datasets/algo CLI strings (DID | JSON object | array | mixed | legacy `[did:a,did:b]`), resolve DID entries through `aquarius.waitForIndexer`, pass raw `fileObject` entries through (aligned with a `null` DDO slot), and pick `providerURI` from the first DID-based DDO's `serviceEndpoint` (else fall back to `NODE_URL`). +- `resolveComputeInputs(...)` + `parseComputeInput(...)` — parse the datasets/algo CLI strings (DID | JSON object | array | mixed | legacy `[did:a,did:b]`), resolve DID entries through `aquarius.waitForIndexer`, pass raw entries through (a `fileObject`, or for an algorithm inline `meta.rawcode`; aligned with a `null` DDO slot), and pick `providerURI` from the first DID-based DDO's `serviceEndpoint` (else fall back to `NODE_URL`). - `fixAndParseProviderFees(...)` — regex-based repair of the stringified provider-initialize response that is round-tripped from `initializeCompute` into `computeStart` (adds quotes to keys, DIDs, hex addresses). Fragile by design; touch carefully. - `getIndexingWaitSettings()` — reads the `INDEXING_*` env vars. - Signing/encryption is always done via the `Signer` and `ProviderInstance` from ocean.js; the CLI never handles raw keys beyond constructing the `ethers.Wallet`. @@ -176,8 +176,8 @@ uses directly. `destroyProviders()` tears providers down on exit (next to `stopP The `startCompute` **action in `cli.ts`** orchestrates a two-phase flow (not a single `Commands` method). It first resolves the **payment/escrow chain** with `resolveChainId(options.chainId)` (`--chainId` flag → default chain → error) and passes it as an explicit trailing param to both compute methods: 1. `commands.initializeCompute([...], paymentChainId)` — resolves inputs, fetches compute envs (`ProviderInstance.getComputeEnvironments`), matches the env by id, validates that the **payment chain** is in both `computeEnv.fees` and the RPC registry, plus paymentToken/resources/maxJobDuration (capping to `env.maxJobDuration`), and returns the provider `initializeCompute` response (payment + provider fees). Signs against the payment chain (`signerFor(paymentChainId)`). -2. Prints payment details, converts amount with `unitsToAmount`, and asks for confirmation unless `--accept true` (hard error on non-TTY). -3. `commands.computeStart([...], paymentChainId)` — **per-asset ordering**: each DID-based dataset/algorithm DDO is ordered on **its own** chain via a per-chain `{ signer, config, Datatoken }` context (`orderCtxFor(ddo.chainId)`, memoized within the call), replacing the old single `Datatoken` on the signer's one chain. Escrow funds (`EscrowContract.verifyFundsForEscrowPayment`), deposit/authorize, and `ProviderInstance.computeStart` all run on the **payment chain** (`paymentSigner` = `signerFor(paymentChainId)`), independent of where the assets live (C2D V2: all datasets passed together in `assets`; the old `additionalDatasets` param is unused). Prints `JobID` and the agreement id (`payment.lockTx`). +2. Prints payment details, converts amount with `unitsToAmount`, quotes the prepaid subsidy with `commands.computePrefundedUnits(subsidyProviders, lockUnits)` (it reuses the env/node/resources that `initializeCompute` stored in `computeQuoteCtx`), prints `total job cost` / `prepaid subsidy covers` / `you pay`, and asks for confirmation unless `--accept true` (hard error on non-TTY). The quoted figure is passed to `computeStart` as its 4th param so the confirmed share is the funded share. +3. `commands.computeStart([...], paymentChainId)` — **per-asset ordering**: each DID-based dataset/algorithm DDO is ordered on **its own** chain via a per-chain `{ signer, config, Datatoken }` context (`orderCtxFor(ddo.chainId)`, memoized within the call), replacing the old single `Datatoken` on the signer's one chain. Escrow funds (`EscrowContract.verifyFundsForEscrowPayment`), deposit/authorize, and `ProviderInstance.computeStart` all run on the **payment chain** (`paymentSigner` = `signerFor(paymentChainId)`), independent of where the assets live (C2D V2: all datasets passed together in `assets`; the old `additionalDatasets` param is unused). Prints `JobID` and the agreement id (`payment.lockTx`). **Prepaid subsidy:** before funding, `prefundedUnitsForJob` calls ocean.js `estimateJobSubsidy` (lib ≥ 10.1.0; node status + image gate + per-provider quotes) and the pure `prefundedLockUnits()` helper (`helpers.ts`) turns the result into the pre-funded base units for the `--subsidyProviders` tri-state (omitted → the node-set projection; a list → only the named providers, since the node *replaces* its set; `[]` → 0). Only the **payer share** (`lock − prefunded`) is passed to `verifyFundsForEscrowPayment` and to the balance/authorize follow-up, so a fully sponsored job deposits nothing; the lib call is still made with `"0"` because it also creates/repairs the authorization the node needs. Any estimate failure falls back to full payer funding. `startService`/`extendService` use the same method with `jobType` 2 (image gate predicate: a non-empty entrypoint or cmd), passed as a `quotePrefunded` callback into `quoteServicePayerShare` (`serviceHelpers.ts`, read-only). The order is quote → `confirmServicePayment` → `fundServiceEscrow`, so no deposit/authorize is sent before the user confirms; `fundServiceEscrow` passes **human** units for both lib amounts. **Multi-chain compute (category d).** A single job may mix datasets/algorithm on different chains and pay/escrow on yet another. `--chainId` is **only** the payment chain; asset chains are always taken from each DDO, never passed by the user. `Commands.ensureComputeChainsRegistered(paymentChainId, ddos, algoDdo)` validates up front — via the pure `computeJobChainIds()` helper (`helpers.ts`) — that every chain the job touches (payment + each DID asset/algo chain) has a registered RPC, and errors listing the missing chain(s) before any paid order. In the common **single-chain** case every asset shares the payment chain, so ordering/escrow/`computeStart` are equivalent to before. diff --git a/README.md b/README.md index 2bec09b..b0d8b3d 100644 --- a/README.md +++ b/README.md @@ -262,6 +262,7 @@ ocean-cli getSubsidyStatus 0xToken # alias subsidyStatus - `getSubsidyStatus` discovers the provider contract(s) from the node, then prints each one's kind, per-window buckets (limit / used / remaining / reset), claimable amount, contract balance and your eligibility. Flags: `--token --chainId --node --jobType --amount --subsidy 0xA[,0xB]`. `--node ` queries a specific Ocean Node (default: the active node) and uses that node's on-chain address for the `isNodeAllowed` check; adding `--jobType` and `--amount` also prints a subsidy quote (`{subsidy, bonus}`). - `startCompute`, `startService` and `extendService` take `--subsidyProviders `: omit for the node's defaults, `none` (or empty) to claim with **no** subsidy, or `0xA,0xB` to claim against exactly those contracts. `startFreeCompute` ignores it (a free job does no escrow claim). +- **Zero-deposit paid compute.** Before a paid `startCompute` the CLI asks the subsidy providers how much of the job they would **pre-fund** at lock time and deposits only your share; the payment prompt shows the total cost and what you pay. A fully sponsored job needs no payment tokens at all — only gas for a single `authorize` transaction, which lets the node create the lock (with a ceiling of `0`, i.e. it can never lock your own funds). Refund-only providers pre-fund nothing, so you still front the full cost and are reimbursed at claim. The quote is advisory: if a provider's budget runs out before the node creates the lock, the node rejects the job and nothing is spent. `startService` and `extendService` apply the same rule to the service lock. ### Access lists diff --git a/package-lock.json b/package-lock.json index d4dfe4a..31e629d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", "@oceanprotocol/contracts": "^3.2.0-rc.1", "@oceanprotocol/ddo-js": "^1.0.0", - "@oceanprotocol/lib": "^10.0.0", + "@oceanprotocol/lib": "^10.1.0", "chalk": "^6.0.1", "commander": "^15.0.0", "enquirer": "^2.4.1", @@ -1946,9 +1946,9 @@ } }, "node_modules/@oceanprotocol/lib": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-10.0.0.tgz", - "integrity": "sha512-L7mohDBbvqIJiNr3lEWbv4tNPO1cHK1K4wSFrSlPcoGDqHbVlFBV+CrhyMiODy7hVjQmiYjgOvEc6lakbUWTFg==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-10.1.0.tgz", + "integrity": "sha512-cZue8rqPFgPeC1yuht1A1j5nL9M9C/GQVtHYMk4GhoYpkOzAfPMBqHw2gscmf9r8sdtBZEpSXq2TviZdXwamag==", "license": "Apache-2.0", "dependencies": { "@chainsafe/libp2p-noise": "^17.0.0", diff --git a/package.json b/package.json index a77a985..13f2b8a 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "@oasisprotocol/sapphire-ethers-v6": "^6.0.1", "@oceanprotocol/contracts": "^3.2.0-rc.1", "@oceanprotocol/ddo-js": "^1.0.0", - "@oceanprotocol/lib": "^10.0.0", + "@oceanprotocol/lib": "^10.1.0", "chalk": "^6.0.1", "commander": "^15.0.0", "enquirer": "^2.4.1", diff --git a/src/cli.ts b/src/cli.ts index bcb46d3..2626b46 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -1240,6 +1240,27 @@ export async function createCLI() { initResp.payment.amount.toString(), ); + // Subsidy providers may pre-fund part or all of the lock, so show the whole + // price and what the payer actually funds. The same figure is handed to + // computeStart below, so what is confirmed here is what gets deposited. + const lockUnits = BigInt(initResp.payment.amount.toString()); + const prefundedUnits = await commands.computePrefundedUnits( + subsidyProviders, + lockUnits, + ); + const toAmount = (units: bigint) => + unitsToAmount(paymentSigner, initResp.payment.token, units.toString()); + const youPay = await toAmount(lockUnits - prefundedUnits); + console.log(chalk.yellow(` total job cost: ${amount}`)); + if (prefundedUnits > 0n) { + console.log( + chalk.green( + ` prepaid subsidy covers: ${await toAmount(prefundedUnits)}`, + ), + ); + } + console.log(chalk.yellow(` you pay: ${youPay}`)); + const proceed = options.accept; if (!proceed) { if (!process.stdin.isTTY) { @@ -1252,7 +1273,7 @@ export async function createCLI() { } const rl = createInterface({ input, output: stdout }); const confirmation = await rl.question( - `\nProceed with payment for starting compute job at price ${amount} in tokens from address ${initResp.payment.token}? (y/n): `, + `\nProceed with starting the compute job? Total cost ${amount}, you pay ${youPay}, in tokens from address ${initResp.payment.token} (y/n): `, ); rl.close(); if ( @@ -1284,6 +1305,7 @@ export async function createCLI() { computeArgs, paymentChainId, subsidyProviders, + prefundedUnits, ); if (started) { console.log(chalk.green("Compute job started successfully.")); diff --git a/src/commands.ts b/src/commands.ts index e9d0407..9b9f864 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -13,6 +13,7 @@ import { isOrderable, computeJobChainIds, summarizeComputeEnvFees, + prefundedLockUnits, getDdoChainId, } from "./helpers.js"; import { @@ -38,6 +39,8 @@ import { unitsToAmount, EscrowContract, getTokenDecimals, + estimateJobSubsidy, + isNonEmpty, AccesslistFactory, AccessListContract, SubsidyView, @@ -74,7 +77,8 @@ import { estimateServiceCost, parseUserData, describeUserDataKeys, - verifyServiceEscrow, + quoteServicePayerShare, + fundServiceEscrow, pollServiceStatus, printServiceJob, formatExpiry, @@ -131,6 +135,11 @@ async function drainLogStream(stream: any): Promise { return Buffer.concat(chunks).toString("utf-8"); } +// `total - share` for display, without float noise (0.41 - 0.1 = 0.31, not 0.3099…). +function formatAmountDiff(total: number, share: string): string { + return Number((total - Number(share)).toFixed(18)).toString(); +} + export class Commands { public signer: Signer; public config: Config; @@ -915,13 +924,125 @@ export class Commands { } console.log(chalk.yellow("\n--- Payment Details ---")); console.log(JSON.stringify(providerInitializeComputeJob, null, 2)); + // Kept for computePrefundedUnits(), which the startCompute action calls before the + // payment prompt (one fresh Commands instance per invocation, methods run in turn). + this.computeQuoteCtx = { + signer: paymentSigner, + chainId: payChain, + node: providerURI, + token: paymentToken, + environmentId: computeEnv.id, + resources: parsedResources, + durationSeconds: supportedMaxJobDuration, + }; return providerInitializeComputeJob; } + private computeQuoteCtx?: { + signer: Signer; + chainId: number; + node: string; + token: string; + environmentId: string; + resources: ComputeResourceRequest[]; + durationSeconds: number; + }; + + // How much of a paid compute job's lock (base units) subsidy providers would + // pre-fund, for the job last passed to initializeCompute(). Lets the caller show the + // payer's real share before asking for confirmation, then hand the same figure to + // computeStart() so what was confirmed is what gets funded. + public async computePrefundedUnits( + subsidyProviders: string[] | undefined, + lockUnits: bigint, + ): Promise { + if (!this.computeQuoteCtx) return 0n; + return this.prefundedUnitsForJob({ + ...this.computeQuoteCtx, + jobType: 1, + // The node treats every algorithm a consumer supplies (raw code, a file or a + // DID) as untrusted for a provider's image allowlist, so a provider that + // restricts images never sponsors a compute job (the container is then + // irrelevant). Mirror that, or the estimate would count a subsidy the node + // will not apply. + hasCustomEntrypoint: true, + subsidyProviders, + lockUnits, + }); + } + + // Base units of the lock that subsidy providers would pre-fund for a paid compute + // job or on-demand service (0 when none do). Advisory and read-only: any failure to quote — an older + // node, an unreachable provider contract, an escrow the node advertises that is not + // the configured one — falls back to 0, i.e. the payer funds the whole job as before. + private async prefundedUnitsForJob(p: { + jobType: 1 | 2; // ocean-node numbering: compute | service + // The node's own predicate for "not the trusted operator image" (see call sites). + hasCustomEntrypoint: boolean; + signer: Signer; + chainId: number; + node: string; + token: string; + environmentId: string; + resources: ComputeResourceRequest[]; + durationSeconds: number; + container?: { + image?: string; + tag?: string; + checksum?: string; + dockerfile?: string; + }; + subsidyProviders?: string[]; + lockUnits: bigint; + }): Promise { + // `[]` is an explicit "no subsidy". + if (p.subsidyProviders && p.subsidyProviders.length === 0) return 0n; + try { + const decimals = Number(await getTokenDecimals(p.signer, p.token)); + const estimate = await estimateJobSubsidy({ + signer: p.signer, + chainId: p.chainId, + payer: await p.signer.getAddress(), + node: p.node, + token: p.token, + environmentId: p.environmentId, + resources: p.resources, + durationSeconds: p.durationSeconds, + jobType: p.jobType, + container: p.container ?? {}, + hasCustomEntrypoint: p.hasCustomEntrypoint, + // Quote against the amount actually being locked: the helper derives its own + // cost (with the env's minimum duration), which can exceed it. + subsidyNeeded: ethers.formatUnits(p.lockUnits, decimals), + customSubsidyProviders: p.subsidyProviders, + tokenDecimals: decimals, + config: this.configFor(p.chainId), + }); + return prefundedLockUnits( + estimate, + p.subsidyProviders, + decimals, + p.lockUnits, + ); + } catch (error) { + console.log( + chalk.yellow( + `Could not estimate the prepaid subsidy (${ + (error as Error)?.message ?? error + }); assuming you fund the whole job.`, + ), + ); + return 0n; + } + } + public async computeStart( args: string[], paymentChainId?: number, subsidyProviders?: string[], + // Pre-funded base units the caller already quoted (and showed the user) with + // computePrefundedUnits(); quoted here when omitted. + quotedPrefundedUnits?: bigint, ) { const resolved = await resolveComputeInputs( args[1], @@ -1312,11 +1433,50 @@ export class Commands { // them directly and treats the larger as a human-readable amount. Pass the human // amount for both (passing base units for maxLockedAmount makes the lib demand // amount * 10^decimals tokens and the funds check always fails). + // The node's lock amount is authoritative. Subsidy providers may pre-fund part or + // all of it at lock time (Escrow v2), so only the remainder is the payer's to hold + // in escrow: a fully sponsored job needs no deposit at all. + const lockUnits = BigInt( + parsedProviderInitializeComputeJob.payment.amount.toString(), + ); + let prefundedUnits = quotedPrefundedUnits; + if (prefundedUnits === undefined) { + this.computeQuoteCtx = { + signer: paymentSigner, + chainId: payChain, + node: providerURI, + token: paymentToken, + environmentId: computeEnv.id, + resources: JSON.parse(resources), + durationSeconds: supportedMaxJobDuration, + }; + prefundedUnits = await this.computePrefundedUnits( + subsidyProviders, + lockUnits, + ); + } + if (prefundedUnits > lockUnits) prefundedUnits = lockUnits; + const payerUnits = lockUnits - prefundedUnits; const paymentAmountHuman = await unitsToAmount( paymentSigner, paymentToken, - parsedProviderInitializeComputeJob.payment.amount, + payerUnits.toString(), ); + if (prefundedUnits > 0n && quotedPrefundedUnits === undefined) { + const [covered, total] = await Promise.all( + [prefundedUnits, lockUnits].map((units) => + unitsToAmount(paymentSigner, paymentToken, units.toString()), + ), + ); + console.log( + chalk.green( + `Prepaid subsidy covers ${covered} of ${total}; you fund ${paymentAmountHuman}.`, + ), + ); + } + // Called with the payer share even when it is 0: it deposits nothing then, but + // still creates or repairs the authorization the node needs to create the lock + // (a fresh wallet gets a zero-ceiling, sponsored-only one). const validationEscrow = await escrow.verifyFundsForEscrowPayment( paymentToken, computeEnv.consumerAddress, @@ -1350,9 +1510,8 @@ export class Commands { const minLockSeconds = parsedProviderInitializeComputeJob.payment.minLockSeconds.toString(); - const requiredUnits = BigInt( - parsedProviderInitializeComputeJob.payment.amount.toString(), - ); + // Only the payer's own share has to be available in escrow. + const requiredUnits = payerUnits; const availableUnits = async (): Promise => { // ethers returns the userFunds struct; `available` excludes what is locked. const funds = await escrow.getUserFunds(payerAddress, tokenAddress); @@ -1368,7 +1527,7 @@ export class Commands { ); console.log( chalk.yellow( - `Escrow balance is short of this job's cost — depositing ${shortfall}...`, + `Escrow balance is short of your share of this job's cost — depositing ${shortfall}...`, ), ); const tokenContract = new ethers.Contract( @@ -1393,7 +1552,7 @@ export class Commands { ); console.error( chalk.red( - `Escrow balance for token ${paymentToken} is below this job's cost (${needed}) and the deposit did not go through. ` + + `Escrow balance for token ${paymentToken} is below your share of this job's cost (${needed}) and the deposit did not go through. ` + `Deposit manually and retry:\n` + ` npm run cli depositEscrow ${paymentToken} ${needed}`, ), @@ -1411,18 +1570,14 @@ export class Commands { "Escrow authorization for the compute node is missing after the funds check — authorizing explicitly...", ), ); - // Ten times the job cost as the ceiling: locks accumulate against + // Ten times the payer's share as the ceiling: locks accumulate against // maxLockedAmount until they are claimed, so a ceiling of exactly one job's - // cost would reject the next job started before this one settles. - const jobCost = await unitsToAmount( - paymentSigner, - paymentToken, - parsedProviderInitializeComputeJob.payment.amount, - ); + // share would reject the next job started before this one settles. A fully + // sponsored job gives 0: the node may then lock only sponsored funds. const authorizeTx = await escrow.authorize( tokenAddress, payeeAddress, - (Number(jobCost) * 10).toString(), + (Number(paymentAmountHuman) * 10).toString(), minLockSeconds, "10", ); @@ -1970,11 +2125,20 @@ export class Commands { token: string, durationSeconds: number, accept?: boolean, + // The payer's own share from quoteServicePayerShare; below the cost when subsidy + // providers pre-fund part of the lock. + payerShareHuman?: string, ): Promise { + const youPay = payerShareHuman ?? String(costHuman); + const sponsored = Number(youPay) < costHuman; console.log( chalk.yellow( `\n--- Payment Details ---\n` + - ` estimated cost: ${costHuman} (token ${token})\n` + + ` estimated total cost: ${costHuman} (token ${token})\n` + + (sponsored + ? ` prepaid subsidy covers: ${formatAmountDiff(costHuman, youPay)}\n` + : "") + + ` you pay: ${youPay}\n` + ` duration: ${durationSeconds}s\n` + ` Note: the final cost is computed by the node and shown after start.`, ), @@ -1993,7 +2157,7 @@ export class Commands { } const rl = createInterface({ input, output }); const confirmation = await rl.question( - `\nProceed with payment of estimated ${costHuman} ${token} for ${durationSeconds}s? (y/n): `, + `\nProceed? Estimated total cost ${costHuman}, you pay ${youPay} (token ${token}) for ${durationSeconds}s (y/n): `, ); rl.close(); const answer = confirmation.trim().toLowerCase(); @@ -2281,7 +2445,7 @@ export class Commands { const userDataKeys = describeUserDataKeys(userData); if (userDataKeys) console.log(`userData keys: ${userDataKeys}`); - // 6. Cost + escrow gate + // 6. Cost + the payer's share of it (read-only; funding happens after the prompt) const cost = estimateServiceCost( env, chainIdNum, @@ -2297,15 +2461,29 @@ export class Commands { ); return; } - const escrowOk = await verifyServiceEscrow( + const payerShare = await quoteServicePayerShare( this.signer, - chainIdNum, opts.paymentToken, - env.consumerAddress, cost, - opts.duration, - ); - if (!escrowOk) return; + (lockUnits) => + this.prefundedUnitsForJob({ + jobType: 2, + // Same predicate the node applies to a service for the image allowlist. + hasCustomEntrypoint: + isNonEmpty(dockerEntrypoint) || isNonEmpty(dockerCmd), + signer: this.signer, + chainId: chainIdNum, + node: this.oceanNodeUrl, + token: opts.paymentToken, + environmentId: env.id, + resources, + durationSeconds: opts.duration, + container: { image, tag, checksum, dockerfile }, + subsidyProviders: opts.subsidyProviders, + lockUnits, + }), + ); + if (payerShare === null) return; // 7. Confirmation prompt const proceed = await this.confirmServicePayment( @@ -2313,9 +2491,22 @@ export class Commands { opts.paymentToken, opts.duration, opts.accept, + payerShare, ); if (!proceed) return; + // Only now, after the user agreed, deposit the payer's share (if any is + // missing) and authorize the node. + const funded = await fundServiceEscrow( + this.signer, + chainIdNum, + opts.paymentToken, + env.consumerAddress, + payerShare, + opts.duration, + ); + if (!funded) return; + // 8. Start (async on the node — returns immediately in status Starting) const params: ServiceStartParams = { environment: env.id, @@ -2608,15 +2799,36 @@ export class Commands { return; } - const escrowOk = await verifyServiceEscrow( + const payerShare = await quoteServicePayerShare( this.signer, - chainIdNum, token, - env.consumerAddress, cost, - additionalDuration, - ); - if (!escrowOk) return; + (lockUnits) => + this.prefundedUnitsForJob({ + jobType: 2, + hasCustomEntrypoint: + isNonEmpty(job.dockerEntrypoint) || isNonEmpty(job.dockerCmd), + signer: this.signer, + chainId: chainIdNum, + node: this.oceanNodeUrl, + token, + environmentId: env.id, + resources: (job.resources ?? []).map((r: any) => ({ + id: r.id, + amount: r.amount, + })), + durationSeconds: additionalDuration, + container: { + image: job.image, + tag: job.tag, + checksum: job.checksum, + dockerfile: job.dockerfile, + }, + subsidyProviders, + lockUnits, + }), + ); + if (payerShare === null) return; // 4. Confirmation prompt const proceed = await this.confirmServicePayment( @@ -2624,9 +2836,22 @@ export class Commands { token, additionalDuration, accept, + payerShare, ); if (!proceed) return; + // Only now, after the user agreed, deposit the payer's share (if any is + // missing) and authorize the node. + const funded = await fundServiceEscrow( + this.signer, + chainIdNum, + token, + env.consumerAddress, + payerShare, + additionalDuration, + ); + if (!funded) return; + // 5. Extend const oldExpiry = job.expiresAt; const extended = await ProviderInstance.serviceExtend( diff --git a/src/helpers.ts b/src/helpers.ts index 92c0001..7966e55 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -23,6 +23,7 @@ import { ComputeAsset, createAsset, LoggerInstance, + JobSubsidyEstimate, } from "@oceanprotocol/lib"; import { createRequire } from "module"; @@ -525,9 +526,10 @@ export async function resolveComputeInputs( }; } else if (algoToken && typeof algoToken === "object") { const rawAlgo = algoToken as unknown as ComputeAlgorithm; - if (!rawAlgo.fileObject) { + // The node accepts the code either as a file to fetch or inline in meta.rawcode. + if (!rawAlgo.fileObject && !rawAlgo.meta?.rawcode) { console.error( - "Error: raw algorithm must contain a 'fileObject'. Got: " + + "Error: raw algorithm must contain a 'fileObject' or 'meta.rawcode'. Got: " + JSON.stringify(algoToken), ); return null; @@ -767,3 +769,56 @@ export function parseSubsidyProviders(raw?: string): string[] | undefined { if (trimmed === "" || trimmed.toLowerCase() === "none") return []; return trimmed.split(",").map((a) => ethers.getAddress(a.trim())); } + +/** + * How much of a job's lock the subsidy providers would PRE-FUND, in token base units, + * read off an ocean.js `estimateJobSubsidy` result. What is left is the payer's own + * share — the only amount that has to sit in (and be authorized on) the payer's escrow. + * + * `requested` is the `--subsidyProviders` tri-state, and it decides which providers the + * node will actually put in the lock: + * - `undefined` -> the node's own set, which is what the estimate's prefunded scenario + * was built from, so its projected total is used as-is; + * - a list -> the node uses exactly those (a REPLACEMENT of its set), while the + * estimate quotes `advertised ∪ list`. Only the named providers are counted, so an + * advertised provider the user did not name never shrinks the payer's deposit; + * - `[]` -> no subsidy, nothing is pre-funded. + * + * An empty prefunded selection means no provider pre-funds (or the escrow has no + * lock-subsidy support) and yields 0. The result is capped at `lockUnits`, the node's + * authoritative lock amount, so a client-side cost estimate above it cannot push the + * payer share below zero. + */ +export function prefundedLockUnits( + estimate: Pick< + JobSubsidyEstimate, + "providers" | "scenarios" | "maxSponsorsPerLock" + >, + requested: string[] | undefined, + decimals: number, + lockUnits: bigint, +): bigint { + const scenario = estimate.scenarios.prefunded; + if (scenario.selected.length === 0) return 0n; + if (requested !== undefined && requested.length === 0) return 0n; + + let total: bigint; + if (requested === undefined) { + total = ethers.parseUnits(scenario.projectedTotalSubsidy, decimals); + } else { + // The node keeps the first `maxSponsorsPerLock` entries of the caller's list. + const named = new Set( + requested + .slice(0, estimate.maxSponsorsPerLock) + .map((a) => a.toLowerCase()), + ); + total = estimate.providers + .filter((p) => p.eligible && !p.dropped) + .filter((p) => named.has(p.address.toLowerCase())) + .reduce( + (sum, p) => sum + ethers.parseUnits(p.quotes.prefunded.subsidy, decimals), + 0n, + ); + } + return total > lockUnits ? lockUnits : total; +} diff --git a/src/serviceHelpers.ts b/src/serviceHelpers.ts index c0e8206..5f86e42 100644 --- a/src/serviceHelpers.ts +++ b/src/serviceHelpers.ts @@ -294,16 +294,51 @@ export function describeUserDataKeys( } // --------------------------------------------------------------------------- -// 4.6 Escrow pre-verification +// 4.6 Escrow: quote the payer's share, then fund it // --------------------------------------------------------------------------- +// +// Two steps so the caller can ask for confirmation in between: the quote is read-only, +// and nothing is deposited or authorized until the user has seen what they pay. -// Prints actionable errors and returns false when escrow is not ready. -export async function verifyServiceEscrow( +// Read-only. Returns the payer's own share of the cost (human units): the full cost, or +// less when subsidy providers pre-fund part of the lock (zero when fully sponsored). +// Prints the error and returns null when it cannot be worked out. +export async function quoteServicePayerShare( + signer: Signer, + token: string, + costHuman: number, // from estimateServiceCost + // Given the lock amount (base units), returns how much of it subsidy providers would + // pre-fund at lock time. Omitted = nothing is pre-funded, the payer funds it all. + quotePrefunded?: (lockUnits: bigint) => Promise, +): Promise { + try { + const decimals = await getTokenDecimals(signer, token); + const lockUnits = BigInt( + (await amountToUnits(signer, token, String(costHuman), decimals)).toString(), + ); + let prefundedUnits = quotePrefunded ? await quotePrefunded(lockUnits) : 0n; + if (prefundedUnits > lockUnits) prefundedUnits = lockUnits; + return await unitsToAmount( + signer, + token, + (lockUnits - prefundedUnits).toString(), + decimals, + ); + } catch (error) { + console.error(chalk.red("Error estimating the escrow amount:"), error); + return null; + } +} + +// Sends transactions: deposits whatever part of the payer's share is missing from +// escrow and creates or repairs the node's authorization. Call it only after the user +// confirmed. Prints actionable errors and returns false when escrow is not ready. +export async function fundServiceEscrow( signer: Signer, chainId: number, token: string, payee: string, // env.consumerAddress - costHuman: number, // from estimateServiceCost + payerShareHuman: string, // from quoteServicePayerShare durationSeconds: number, ): Promise { try { @@ -321,26 +356,16 @@ export async function verifyServiceEscrow( signer, chainId, ); - const decimals = await getTokenDecimals(signer, token); - const amountUnits = await amountToUnits( - signer, - token, - String(costHuman), - decimals, - ); - const availableHuman = await unitsToAmount( - signer, - token, - amountUnits.toString(), - decimals, - ); const minLockSeconds = durationSeconds + 3600; // node getMinLockTime margin + // Both amounts are HUMAN units (the lib compares them directly). Called even for a + // payer share of 0: it deposits nothing then, but still creates or repairs the + // authorization the node needs to create the lock. const validation = await escrow.verifyFundsForEscrowPayment( token, payee, - availableHuman, - amountUnits.toString(), + payerShareHuman, + payerShareHuman, String(minLockSeconds), "10", ); diff --git a/test/resolveComputeInputs.test.ts b/test/resolveComputeInputs.test.ts index ce8fe50..3b4b28c 100644 --- a/test/resolveComputeInputs.test.ts +++ b/test/resolveComputeInputs.test.ts @@ -176,7 +176,23 @@ describe("resolveComputeInputs", function () { expect(res).to.equal(null); }); - it("fails (returns null) when a raw algorithm object lacks a fileObject", async function () { + it("accepts a raw algorithm that carries inline meta.rawcode instead of a fileObject", async function () { + const res = await resolveComputeInputs( + "[]", + JSON.stringify({ + meta: { rawcode: "print(1)", container: { image: "python" } }, + }), + makeAquarius(), + indexingParams, + FALLBACK, + ); + expect(res.algoDdo).to.equal(null); + expect(res.algo.fileObject).to.equal(undefined); + expect(res.algo.meta.rawcode).to.equal("print(1)"); + expect(res.assets).to.have.length(0); + }); + + it("fails (returns null) when a raw algorithm object has neither a fileObject nor meta.rawcode", async function () { const res = await resolveComputeInputs( "did:op:dataset1", JSON.stringify({ meta: { container: {} } }), diff --git a/test/subsidyProviders.test.ts b/test/subsidyProviders.test.ts index eba4035..7ea0d25 100644 --- a/test/subsidyProviders.test.ts +++ b/test/subsidyProviders.test.ts @@ -1,5 +1,5 @@ import { expect } from "chai"; -import { parseSubsidyProviders } from "../src/helpers.js"; +import { parseSubsidyProviders, prefundedLockUnits } from "../src/helpers.js"; // Pure unit test — no infra needed. Verifies the tri-state parsing of the // `--subsidyProviders` CLI value and EIP-55 address normalization. @@ -38,3 +38,112 @@ describe("parseSubsidyProviders", () => { expect(() => parseSubsidyProviders("0xnot-an-address")).to.throw(); }); }); + +// Pure unit test — no infra needed. `prefundedLockUnits` reads an ocean.js +// `estimateJobSubsidy` result and returns how much of the lock is pre-funded. +describe("prefundedLockUnits", () => { + const A = "0x4344D4Bc29531DB736378e9A3dA85BF1eff0CB22"; + const B = "0x0000000000000000000000000000000000000001"; + const C = "0x0000000000000000000000000000000000000002"; + const DECIMALS = 6; + const LOCK = 400000n; // 0.4 + + const quote = (address: string, prefunded: string, eligible = true) => ({ + address, + subsidyKind: null, + version: 2, + isV2: true, + gates: { + imageAllowed: eligible, + isNodeAllowed: true, + isUserAllowed: true, + isJobTypeSubsidized: true, + }, + eligible, + ...(eligible ? {} : { dropped: "image_not_allowed" as const }), + quotes: { + reimbursement: { subsidy: "0", bonus: "0" }, + prefunded: { subsidy: prefunded, bonus: "0" }, + }, + }); + + const estimate = ( + providers: ReturnType[], + selected: string[], + projected: string, + maxSponsorsPerLock = 10, + ) => ({ + providers, + maxSponsorsPerLock, + scenarios: { + reimbursement: { + mode: 0, + selected: [], + projectedTotalSubsidy: "0", + meetsSubsidyNeeded: false, + escrowNeeded: "0.4", + escrowAvailable: "0", + escrowShortfall: "0.4", + }, + prefunded: { + mode: 1, + selected, + projectedTotalSubsidy: projected, + meetsSubsidyNeeded: true, + escrowNeeded: "0", + escrowAvailable: "0", + escrowShortfall: "0", + }, + }, + }); + + it("uses the node-set projection when the flag is omitted (full cover)", () => { + const e = estimate([quote(A, "0.4")], [A], "0.4"); + expect(prefundedLockUnits(e, undefined, DECIMALS, LOCK)).to.equal(LOCK); + }); + + it("returns the partial cover, leaving the rest to the payer", () => { + const e = estimate([quote(A, "0.1")], [A], "0.1"); + expect(prefundedLockUnits(e, undefined, DECIMALS, LOCK)).to.equal(100000n); + }); + + it("returns 0 for an explicit empty list (no subsidy)", () => { + const e = estimate([quote(A, "0.4")], [A], "0.4"); + expect(prefundedLockUnits(e, [], DECIMALS, LOCK)).to.equal(0n); + }); + + it("returns 0 when nothing is pre-funded (refund-only or no lock-subsidy escrow)", () => { + const e = estimate([quote(A, "0")], [], "0"); + expect(prefundedLockUnits(e, undefined, DECIMALS, LOCK)).to.equal(0n); + expect(prefundedLockUnits(e, [A], DECIMALS, LOCK)).to.equal(0n); + }); + + it("counts only the providers the user named, not the rest of the node's set", () => { + const e = estimate([quote(A, "0.3"), quote(B, "0.1")], [A, B], "0.4"); + expect(prefundedLockUnits(e, [B], DECIMALS, LOCK)).to.equal(100000n); + expect( + prefundedLockUnits(e, [B.toLowerCase(), A], DECIMALS, LOCK), + ).to.equal(LOCK); + }); + + it("ignores a named provider the estimate dropped", () => { + const e = estimate([quote(A, "0.3", false), quote(B, "0.1")], [B], "0.1"); + expect(prefundedLockUnits(e, [A, B], DECIMALS, LOCK)).to.equal(100000n); + }); + + it("counts only the first maxSponsorsPerLock named providers", () => { + const e = estimate( + [quote(A, "0.1"), quote(B, "0.1"), quote(C, "0.1")], + [A, B], + "0.2", + 2, + ); + expect(prefundedLockUnits(e, [A, B, C], DECIMALS, LOCK)).to.equal(200000n); + }); + + it("caps the result at the node's lock amount", () => { + const e = estimate([quote(A, "0.9")], [A], "0.9"); + expect(prefundedLockUnits(e, undefined, DECIMALS, LOCK)).to.equal(LOCK); + expect(prefundedLockUnits(e, [A], DECIMALS, LOCK)).to.equal(LOCK); + }); +}); From fb66252cda5cbf099a358d7cfe9c2261a00db22e Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Mon, 16 Nov 2026 14:59:26 +0200 Subject: [PATCH 23/24] Let getSubsidyStatus --subsidy query providers the node does not advertise With SUBSIDY_PROVIDER_FILTER off a node accepts any provider a consumer names per request, but getSubsidyStatus refused to run when the node advertised no providers, and dropped --subsidy addresses outside its list. - Filter off + --subsidy: query the named addresses as-is, and print a note for the ones that are not node defaults. - Filter off, no --subsidy, empty node list: same error, plus a hint to pass --subsidy. - Filter on: unchanged (narrowed to the node's list). - A malformed --subsidy address now gives a readable error. The resolver moved from a private Commands method to a pure helper in helpers.ts so it can be unit tested. README updated. What changed: - src/helpers.ts: new exported resolveSubsidyProviderAddresses, which returns the addresses to query plus the lists of not-advertised and ignored ones. - src/commands.ts: the private method is gone; getSubsidyStatus calls the helper and prints the notes. I also corrected the two comments that claimed addresses only ever come from the node. - test/subsidyProviders.test.ts: covers both filter states, the empty list, de-duplication, chain selection and a bad address. - README.md: the getSubsidyStatus bullet now explains how --subsidy depends on the filter. --- README.md | 2 +- src/commands.ts | 84 ++++++++++-------------------- src/helpers.ts | 98 +++++++++++++++++++++++++++++++++-- test/subsidyProviders.test.ts | 88 ++++++++++++++++++++++++++++++- 4 files changed, 208 insertions(+), 64 deletions(-) diff --git a/README.md b/README.md index b0d8b3d..869b423 100644 --- a/README.md +++ b/README.md @@ -260,7 +260,7 @@ ocean-cli getSubsidyProviders # alias subsidyProvid ocean-cli getSubsidyStatus 0xToken # alias subsidyStatus; your limits / remaining credit ``` -- `getSubsidyStatus` discovers the provider contract(s) from the node, then prints each one's kind, per-window buckets (limit / used / remaining / reset), claimable amount, contract balance and your eligibility. Flags: `--token --chainId --node --jobType --amount --subsidy 0xA[,0xB]`. `--node ` queries a specific Ocean Node (default: the active node) and uses that node's on-chain address for the `isNodeAllowed` check; adding `--jobType` and `--amount` also prints a subsidy quote (`{subsidy, bonus}`). +- `getSubsidyStatus` discovers the provider contract(s) from the node, then prints each one's kind, per-window buckets (limit / used / remaining / reset), claimable amount, contract balance and your eligibility. Flags: `--token --chainId --node --jobType --amount --subsidy 0xA[,0xB]`. `--node ` queries a specific Ocean Node (default: the active node) and uses that node's on-chain address for the `isNodeAllowed` check; adding `--jobType` and `--amount` also prints a subsidy quote (`{subsidy, bonus}`). `--subsidy` depends on the node's provider filter: with the filter **off** the node accepts any provider named per request, so the listed addresses are queried as-is (even when the node advertises none; the ones it does not advertise are flagged as not node defaults); with the filter **on** the list is narrowed to what the node advertises. - `startCompute`, `startService` and `extendService` take `--subsidyProviders `: omit for the node's defaults, `none` (or empty) to claim with **no** subsidy, or `0xA,0xB` to claim against exactly those contracts. `startFreeCompute` ignores it (a free job does no escrow claim). - **Zero-deposit paid compute.** Before a paid `startCompute` the CLI asks the subsidy providers how much of the job they would **pre-fund** at lock time and deposits only your share; the payment prompt shows the total cost and what you pay. A fully sponsored job needs no payment tokens at all — only gas for a single `authorize` transaction, which lets the node create the lock (with a ceiling of `0`, i.e. it can never lock your own funds). Refund-only providers pre-fund nothing, so you still front the full cost and are reimbursed at claim. The quote is advisory: if a provider's budget runs out before the node creates the lock, the node rejects the job and nothing is spent. `startService` and `extendService` apply the same rule to the service lock. diff --git a/src/commands.ts b/src/commands.ts index 9b9f864..e614df4 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -15,6 +15,7 @@ import { summarizeComputeEnvFees, prefundedLockUnits, getDdoChainId, + resolveSubsidyProviderAddresses, } from "./helpers.js"; import { getConfigFor, @@ -3626,59 +3627,6 @@ export class Commands { ); } - /** - * Resolve the subsidy-provider contract addresses to query. The Ocean Node is the single - * source of truth: a node may not support subsidies at all, and the lib's bundled contract - * addresses could list a provider the node will never claim against — so addresses come only - * from the node's status `subsidyProviders[chainId]`. `--subsidy` merely narrows to a subset - * of what the node advertises. Never reads config / ADDRESS_FILE. - */ - private resolveSubsidyProviderAddresses( - chainId: number, - nodeProviders: Record, - filter: boolean, - override?: string, - ): string[] { - const fromNode = (nodeProviders?.[String(chainId)] ?? []).map((a) => - getAddress(a), - ); - if (fromNode.length === 0) { - // Two distinct states, don't conflate them: - // - filter ON + empty list -> the node restricts usage to its configured set and that - // set is empty, so no provider can ever be used: genuinely unsupported. - // - filter OFF + empty list -> the node still accepts subsidies (callers may supply their - // own provider); it just advertises none to report on here. - if (filter) { - throw new Error( - `This node does not support subsidy providers on chain ${chainId}: the provider filter is on and its configured list is empty, so no provider can be used.`, - ); - } - throw new Error( - `This node supports subsidies but has no subsidy providers configured on chain ${chainId}.`, - ); - } - if (!override || !override.trim()) return [...new Set(fromNode)]; - const wanted = override.split(",").map((a) => getAddress(a.trim())); - const nodeSet = new Set(fromNode); - const kept = wanted.filter((a) => nodeSet.has(a)); - const dropped = wanted.filter((a) => !nodeSet.has(a)); - if (dropped.length) { - console.warn( - chalk.yellow( - `Ignoring --subsidy address(es) the node does not advertise: ${dropped.join( - ", ", - )}`, - ), - ); - } - if (kept.length === 0) { - throw new Error( - `None of the --subsidy addresses are advertised by the node on chain ${chainId}.`, - ); - } - return [...new Set(kept)]; - } - /** * Read-only, provider-agnostic subsidy report (ocean.js #2163 / contracts #1052). Discovers * the provider contracts from the current node, then for each one uses the `SubsidyView` base @@ -3707,7 +3655,8 @@ export class Commands { const payer = await this.signer.getAddress(); const tokenAddress = getAddress(token); - // Provider addresses come from the node, never from bundled config. `--node` + // Provider addresses come from the node (or, when its provider filter is off, from the + // caller's own --subsidy list), never from bundled config. `--node` // (opts.node) targets a specific Ocean Node to query (URL / peer id / multiaddr, // like setNode); without it we use the active node. The on-chain node operator // address for isNodeAllowed / quoteSubsidy is taken from that node's own status @@ -3736,12 +3685,31 @@ export class Commands { let addresses: string[]; let jobType: number | undefined; try { - addresses = this.resolveSubsidyProviderAddresses( + const resolved = resolveSubsidyProviderAddresses( chainId, providers, filter, opts.subsidy, ); + addresses = resolved.addresses; + if (resolved.ignored.length) { + console.warn( + chalk.yellow( + `Ignoring --subsidy address(es) the node does not advertise (its provider filter is on): ${resolved.ignored.join( + ", ", + )}`, + ), + ); + } + if (resolved.notAdvertised.length) { + console.log( + chalk.yellow( + `Not a node default — the node accepts these only when named with --subsidyProviders: ${resolved.notAdvertised.join( + ", ", + )}`, + ), + ); + } jobType = this.mapJobType(opts.jobType); } catch (e) { console.error(chalk.red((e as Error).message)); @@ -3754,9 +3722,9 @@ export class Commands { ); try { const view = new SubsidyView(this.signer, address, chainId); - // The node already vouches these are subsidy providers, so we don't gate on - // `isSubsidyView()` (ERC-165) — it can under-report. `subsidyKind()` is the - // liveness probe: if it reverts, the address isn't a readable subsidy view. + // We don't gate on `isSubsidyView()` (ERC-165) — it can under-report. `subsidyKind()` + // is the liveness probe: if it reverts, the address isn't a readable subsidy view + // (which also covers a user-named `--subsidy` address the node does not vouch for). let kind: SubsidyKind; try { kind = await view.subsidyKind(); diff --git a/src/helpers.ts b/src/helpers.ts index 7966e55..c1f2c80 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -263,7 +263,9 @@ export async function handleComputeOrder( const { services } = ddoInstance.getDDOFields(); const service = services?.[serviceIndex]; if (!Number.isInteger(serviceIndex) || serviceIndex < 0 || !service) { - throw new Error(`Service index ${serviceIndex} not found in asset ${asset.id}`); + throw new Error( + `Service index ${serviceIndex} not found in asset ${asset.id}`, + ); } // Validate new orders before approving fees. Reuse does not need indexed datatokens. let datatokenIndex: number; @@ -745,13 +747,13 @@ export function summarizeComputeEnvFees(env: { const tokens = (fees[chainId] || []) .map((f) => f?.feeToken) .filter((t): t is string => typeof t === "string" && t.length > 0); - const tokenList = tokens.length > 0 ? tokens.join(", ") : "(no tokens listed)"; + const tokenList = + tokens.length > 0 ? tokens.join(", ") : "(no tokens listed)"; return ` chain ${chainId}: ${tokenList}`; }); return `${header}: pays on\n${lines.join("\n")}`; } - /** * Parse the `--subsidyProviders` CLI value into the tri-state the Ocean Node expects * (ocean-node #1485, ocean.js #2160): @@ -770,6 +772,93 @@ export function parseSubsidyProviders(raw?: string): string[] | undefined { return trimmed.split(",").map((a) => ethers.getAddress(a.trim())); } +export interface ResolvedSubsidyProviders { + /** Provider contracts to query (EIP-55, de-duplicated). */ + addresses: string[]; + /** Filter OFF: `--subsidy` addresses queried although the node does not advertise them. */ + notAdvertised: string[]; + /** Filter ON: `--subsidy` addresses dropped because the node would reject them. */ + ignored: string[]; +} + +/** + * Resolve the subsidy-provider contract addresses `getSubsidyStatus` reports on. The Ocean + * Node is the source of truth for what is usable, so nothing is read from bundled config / + * ADDRESS_FILE — the candidates are the node's status `subsidyProviders[chainId]` and the + * caller's own `--subsidy` list, and the node's `subsidyProviderFilter` decides how they mix: + * - no `--subsidy` -> the node's advertised list (error when it is empty); + * - `--subsidy` + filter OFF -> exactly the named addresses. The node accepts any provider + * a consumer names per request, so they are reported whether or not it advertises them + * (the ones it does not are returned in `notAdvertised`); + * - `--subsidy` + filter ON -> the named addresses narrowed to the node's list, since it + * rejects anything else (the rest are returned in `ignored`). + * Pure: the caller prints the notes. Throws on a malformed address or when nothing is usable. + */ +export function resolveSubsidyProviderAddresses( + chainId: number, + nodeProviders: Record | undefined, + filter: boolean, + override?: string, +): ResolvedSubsidyProviders { + const fromNode = [ + ...new Set( + (nodeProviders?.[String(chainId)] ?? []).map((a) => ethers.getAddress(a)), + ), + ]; + const wanted = [ + ...new Set( + (override ?? "") + .split(",") + .map((a) => a.trim()) + .filter(Boolean) + .map((a) => { + try { + return ethers.getAddress(a); + } catch { + throw new Error(`Invalid --subsidy address '${a}'.`); + } + }), + ), + ]; + const nodeSet = new Set(fromNode); + + if (!filter) { + if (wanted.length) { + return { + addresses: wanted, + notAdvertised: wanted.filter((a) => !nodeSet.has(a)), + ignored: [], + }; + } + if (fromNode.length === 0) { + throw new Error( + `This node supports subsidies but has no subsidy providers configured on chain ${chainId}. Pass --subsidy 0x... to check a specific provider (the node's provider filter is off, so it accepts providers named per request).`, + ); + } + return { addresses: fromNode, notAdvertised: [], ignored: [] }; + } + + if (fromNode.length === 0) { + throw new Error( + `This node does not support subsidy providers on chain ${chainId}: the provider filter is on and its configured list is empty, so no provider can be used.`, + ); + } + if (wanted.length === 0) { + return { addresses: fromNode, notAdvertised: [], ignored: [] }; + } + const kept = wanted.filter((a) => nodeSet.has(a)); + if (kept.length === 0) { + throw new Error( + `None of the --subsidy addresses are advertised by the node on chain ${chainId}, and its provider filter is on, so it would reject them.`, + ); + } + return { + addresses: kept, + notAdvertised: [], + ignored: wanted.filter((a) => !nodeSet.has(a)), + }; +} + /** * How much of a job's lock the subsidy providers would PRE-FUND, in token base units, * read off an ocean.js `estimateJobSubsidy` result. What is left is the payer's own @@ -816,7 +905,8 @@ export function prefundedLockUnits( .filter((p) => p.eligible && !p.dropped) .filter((p) => named.has(p.address.toLowerCase())) .reduce( - (sum, p) => sum + ethers.parseUnits(p.quotes.prefunded.subsidy, decimals), + (sum, p) => + sum + ethers.parseUnits(p.quotes.prefunded.subsidy, decimals), 0n, ); } diff --git a/test/subsidyProviders.test.ts b/test/subsidyProviders.test.ts index 7ea0d25..ae91854 100644 --- a/test/subsidyProviders.test.ts +++ b/test/subsidyProviders.test.ts @@ -1,5 +1,9 @@ import { expect } from "chai"; -import { parseSubsidyProviders, prefundedLockUnits } from "../src/helpers.js"; +import { + parseSubsidyProviders, + prefundedLockUnits, + resolveSubsidyProviderAddresses, +} from "../src/helpers.js"; // Pure unit test — no infra needed. Verifies the tri-state parsing of the // `--subsidyProviders` CLI value and EIP-55 address normalization. @@ -147,3 +151,85 @@ describe("prefundedLockUnits", () => { expect(prefundedLockUnits(e, [A], DECIMALS, LOCK)).to.equal(LOCK); }); }); + +// Which provider contracts `getSubsidyStatus` reports on: the node's advertised list and the +// caller's `--subsidy` list, mixed according to the node's provider filter. +describe("resolveSubsidyProviderAddresses", () => { + const CHAIN = 8453; + const A = "0x4Fd5ECf4Af8490418462A7d80e90A0530eFb9ac5"; + const B = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"; + const node = (list: string[]) => ({ [String(CHAIN)]: list }); + + it("filter off: queries a named provider even when the node advertises none", () => { + for (const providers of [node([]), {}, undefined]) { + expect( + resolveSubsidyProviderAddresses( + CHAIN, + providers, + false, + A.toLowerCase(), + ), + ).to.deep.equal({ addresses: [A], notAdvertised: [A], ignored: [] }); + } + }); + + it("filter off: allows named providers outside the node list and flags them", () => { + expect( + resolveSubsidyProviderAddresses( + CHAIN, + node([A]), + false, + `${A}, ${B},${A}`, + ), + ).to.deep.equal({ addresses: [A, B], notAdvertised: [B], ignored: [] }); + }); + + it("filter off: no --subsidy and an empty node list errors with a --subsidy hint", () => { + expect(() => resolveSubsidyProviderAddresses(CHAIN, node([]), false)) + .to.throw("has no subsidy providers configured on chain 8453") + .and.to.match(/--subsidy/); + }); + + it("no --subsidy: returns the node's de-duplicated list, whatever the filter", () => { + for (const filter of [false, true]) { + expect( + resolveSubsidyProviderAddresses( + CHAIN, + node([A.toLowerCase(), A, B]), + filter, + " ", + ), + ).to.deep.equal({ addresses: [A, B], notAdvertised: [], ignored: [] }); + } + }); + + it("filter on: narrows --subsidy to the node list and reports the rest", () => { + expect( + resolveSubsidyProviderAddresses(CHAIN, node([A]), true, `${A},${B}`), + ).to.deep.equal({ addresses: [A], notAdvertised: [], ignored: [B] }); + }); + + it("filter on: errors when no named provider is advertised", () => { + expect(() => + resolveSubsidyProviderAddresses(CHAIN, node([A]), true, B), + ).to.throw("None of the --subsidy addresses are advertised"); + }); + + it("filter on: an empty node list is unsupported, even with --subsidy", () => { + expect(() => + resolveSubsidyProviderAddresses(CHAIN, node([]), true, A), + ).to.throw("does not support subsidy providers on chain 8453"); + }); + + it("only reads the requested chain", () => { + expect(() => resolveSubsidyProviderAddresses(1, node([A]), false)).to.throw( + "no subsidy providers configured on chain 1", + ); + }); + + it("throws a readable error on a malformed --subsidy address", () => { + expect(() => + resolveSubsidyProviderAddresses(CHAIN, node([A]), false, "0xnope"), + ).to.throw("Invalid --subsidy address '0xnope'"); + }); +}); From 732ef2e2302a1dacb84724ff274eb82ac7674c17 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Mon, 16 Nov 2026 15:43:47 +0200 Subject: [PATCH 24/24] fix review comments --- README.md | 2 +- src/cli.ts | 8 +-- src/commands.ts | 17 +++-- src/escrowHelpers.ts | 122 ++++++++++++++++++++++++++++++++ src/serviceHelpers.ts | 33 ++++++--- test/escrow.test.ts | 19 +++++ test/escrowHelpers.unit.test.ts | 103 +++++++++++++++++++++++++++ 7 files changed, 285 insertions(+), 19 deletions(-) create mode 100644 src/escrowHelpers.ts create mode 100644 test/escrowHelpers.unit.test.ts diff --git a/README.md b/README.md index 869b423..d7f5a75 100644 --- a/README.md +++ b/README.md @@ -262,7 +262,7 @@ ocean-cli getSubsidyStatus 0xToken # alias subsidyStatus - `getSubsidyStatus` discovers the provider contract(s) from the node, then prints each one's kind, per-window buckets (limit / used / remaining / reset), claimable amount, contract balance and your eligibility. Flags: `--token --chainId --node --jobType --amount --subsidy 0xA[,0xB]`. `--node ` queries a specific Ocean Node (default: the active node) and uses that node's on-chain address for the `isNodeAllowed` check; adding `--jobType` and `--amount` also prints a subsidy quote (`{subsidy, bonus}`). `--subsidy` depends on the node's provider filter: with the filter **off** the node accepts any provider named per request, so the listed addresses are queried as-is (even when the node advertises none; the ones it does not advertise are flagged as not node defaults); with the filter **on** the list is narrowed to what the node advertises. - `startCompute`, `startService` and `extendService` take `--subsidyProviders `: omit for the node's defaults, `none` (or empty) to claim with **no** subsidy, or `0xA,0xB` to claim against exactly those contracts. `startFreeCompute` ignores it (a free job does no escrow claim). -- **Zero-deposit paid compute.** Before a paid `startCompute` the CLI asks the subsidy providers how much of the job they would **pre-fund** at lock time and deposits only your share; the payment prompt shows the total cost and what you pay. A fully sponsored job needs no payment tokens at all — only gas for a single `authorize` transaction, which lets the node create the lock (with a ceiling of `0`, i.e. it can never lock your own funds). Refund-only providers pre-fund nothing, so you still front the full cost and are reimbursed at claim. The quote is advisory: if a provider's budget runs out before the node creates the lock, the node rejects the job and nothing is spent. `startService` and `extendService` apply the same rule to the service lock. +- **Zero-deposit paid compute.** Before a paid `startCompute` the CLI asks the subsidy providers how much of the job they would **pre-fund** at lock time and deposits only your share; the payment prompt shows the total cost and what you pay. A fully sponsored job needs no payment tokens **for the compute lock** — only gas for a single `authorize` transaction, which lets the node create the lock (with a ceiling of `0`, i.e. the lock can never take your own funds). Refund-only providers pre-fund nothing, so you still front the full cost and are reimbursed at claim. Sponsorship and that ceiling cover the compute lock only: each DID-based dataset or algorithm is still ordered on its own chain before the job starts, which can cost a datatoken and/or provider fees (plus gas) that no subsidy covers. The quote is advisory: if a provider's budget runs out before the node creates the lock, the node rejects the job and nothing is locked or deposited for it, but orders already placed for its assets are not reversed. `startService` and `extendService` apply the same rule to the service lock. ### Access lists diff --git a/src/cli.ts b/src/cli.ts index 2626b46..65184b6 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -1052,11 +1052,11 @@ export async function createCLI() { .command("startCompute") .description("Starts a compute job") .argument( - "", + "[datasetDids]", 'Dataset DIDs (comma-separated), an empty array for none, OR a JSON ComputeAsset object/array with a fileObject (raw datasets, no DID). Mixed input must be valid JSON, e.g. \'["did:op:abc",{"fileObject":{...}}]\'', ) .argument( - "", + "[algoDid]", "Algorithm DID, OR a JSON ComputeAlgorithm object with a fileObject and meta (raw algorithm, no DID)", ) .argument( @@ -1318,11 +1318,11 @@ export async function createCLI() { .command("startFreeCompute") .description("Starts a FREE compute job") .argument( - "", + "[datasetDids]", 'Dataset DIDs (comma-separated), an empty array for none, OR a JSON ComputeAsset object/array with a fileObject (raw datasets, no DID). Mixed input must be valid JSON, e.g. \'["did:op:abc",{"fileObject":{...}}]\'', ) .argument( - "", + "[algoDid]", "Algorithm DID, OR a JSON ComputeAlgorithm object with a fileObject and meta (raw algorithm, no DID)", ) .argument( diff --git a/src/commands.ts b/src/commands.ts index e614df4..c042385 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -93,6 +93,7 @@ import { validateNode, nodeSubsidyInfo, } from "./nodeConnection.js"; +import { escrowContractFor } from "./escrowHelpers.js"; import { ResourceSearchParams, ProviderEnvRow, @@ -1422,8 +1423,10 @@ export class Commands { return; } - const escrow = new EscrowContract( - getAddress(parsedProviderInitializeComputeJob.payment.escrowAddress), + // Version-matched ABI: a legacy escrow returns six-field authorizations, which the + // funds check below and the authorization reads after it must be able to decode. + const escrow = await escrowContractFor( + parsedProviderInitializeComputeJob.payment.escrowAddress, paymentSigner, payChain, ); @@ -3460,8 +3463,10 @@ export class Commands { const payerAddress = getAddress(payer); const payeeAddress = getAddress(payee); const decimals = await getTokenDecimals(this.signer, token); - const escrow = new EscrowContract( - getAddress(requireAddress(chainId, "escrow", "Escrow")), + // Version-matched ABI: a legacy (v1) escrow returns six-field authorizations, which the + // lib's default seven-field ABI cannot decode. + const escrow = await escrowContractFor( + requireAddress(chainId, "escrow", "Escrow"), this.signer, chainId, ); @@ -3491,8 +3496,8 @@ export class Commands { ); // Escrow v2: the auth tuple gained a 7th field, expiryTimestamp (unix seconds; 0 = - // indefinite). A legacy (v1) escrow returns a 6-field tuple, so read defensively and treat - // a missing value as indefinite. + // indefinite). A legacy (v1) escrow returns a 6-field tuple (decoded with the six-field + // ABI above), so read defensively and treat a missing value as indefinite. const expiryRaw = authorization.expiryTimestamp ?? authorization[6] ?? "0"; const expirySeconds = Number(expiryRaw); const expiryLabel = diff --git a/src/escrowHelpers.ts b/src/escrowHelpers.ts new file mode 100644 index 0000000..aeb2f06 --- /dev/null +++ b/src/escrowHelpers.ts @@ -0,0 +1,122 @@ +import { Contract, Signer, getAddress, isCallException, isError } from "ethers"; +import { EscrowContract } from "@oceanprotocol/lib"; + +type AbiEntry = { + type?: string; + name?: string; + outputs?: { components?: { name?: string }[] }[]; + [key: string]: unknown; +}; + +/** + * The escrow ABI as a legacy (pre-v2) deployment answers it: `getAuthorizations` returns the + * six-field `auth` tuple, without the trailing `expiryTimestamp` Escrow v2 added. Decoding a + * legacy reply with the seven-field ABI overruns the returned data and throws, so reads must + * use this shape. Everything else is left as-is. Pure. + */ +export function legacyEscrowAbi(abi: T[]): T[] { + return abi.map((entry) => { + const item = entry as AbiEntry; + if (item?.type !== "function" || item.name !== "getAuthorizations") { + return entry; + } + return { + ...item, + outputs: (item.outputs ?? []).map((out) => ({ + ...out, + components: (out.components ?? []).filter( + (c) => c.name !== "expiryTimestamp", + ), + })), + } as T; + }); +} + +/** + * A legacy escrow is one with no on-chain `version()` (the call reverts or returns no data) or + * one that reports version 1; Escrow v2 returns 2. Any other failure (RPC down, timeout) is NOT + * taken as "legacy": decoding a v2 reply with the six-field ABI would silently misread it, so + * when in doubt the current ABI is kept. + */ +export async function isLegacyEscrow( + address: string, + signer: Signer, +): Promise { + const probe = new Contract( + address, + ["function version() view returns (uint16)"], + signer, + ); + try { + return Number(await probe.version()) < 2; + } catch (error) { + return isCallException(error) || isError(error, "BAD_DATA"); + } +} + +const AUTH_FIELDS = [ + "payee", + "maxLockedAmount", + "currentLockedAmount", + "maxLockSeconds", + "maxLockCounts", + "currentLocks", +] as const; + +/** + * A six-field legacy authorization in the v2 shape: the same values by index and by name, + * plus `expiryTimestamp` = 0 (indefinite) as the seventh. Needed because an ethers `Result` + * THROWS on an out-of-range index, so the usual `auth.expiryTimestamp ?? auth[6] ?? 0` + * fallback (here and inside the lib's funds check) cannot be applied to the raw tuple. Pure. + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +export function withIndefiniteExpiry(auth: any): any { + const values: unknown[] = AUTH_FIELDS.map((_, i) => auth[i]); + values.push(0n); + const named: Record = { expiryTimestamp: 0n }; + AUTH_FIELDS.forEach((name, i) => (named[name] = values[i])); + return Object.assign(values, named); +} + +class LegacyEscrowContract extends EscrowContract { + async getAuthorizations( + token: string, + payer: string, + payee: string, + ): Promise { + const raw = await super.getAuthorizations(token, payer, payee); + return Array.from(raw ?? []).map(withIndefiniteExpiry); + } +} + +const legacyByEscrow = new Map>(); + +/** + * An `EscrowContract` whose authorization reads decode with the ABI matching the deployed + * escrow version: the six-field tuple for a legacy escrow, the lib's default ABI otherwise. + * Legacy authorizations come back in the v2 shape with `expiryTimestamp` = 0, so every reader + * (the CLI and the lib's own funds check) sees them as indefinite. The version probe is + * cached per chain and address. + */ +export async function escrowContractFor( + address: string, + signer: Signer, + chainId: number, +): Promise { + const escrowAddress = getAddress(address); + const escrow = new EscrowContract(escrowAddress, signer, chainId); + const key = `${chainId}:${escrowAddress}`; + let legacy = legacyByEscrow.get(key); + if (!legacy) { + legacy = isLegacyEscrow(escrowAddress, signer); + legacyByEscrow.set(key, legacy); + } + if (!(await legacy)) return escrow; + return new LegacyEscrowContract( + escrowAddress, + signer, + chainId, + undefined, + legacyEscrowAbi(escrow.getDefaultAbi()), + ); +} diff --git a/src/serviceHelpers.ts b/src/serviceHelpers.ts index 5f86e42..c4e0adb 100644 --- a/src/serviceHelpers.ts +++ b/src/serviceHelpers.ts @@ -1,9 +1,8 @@ import util from "util"; import chalk from "chalk"; -import { Signer, getAddress } from "ethers"; +import { Signer } from "ethers"; import { ProviderInstance, - EscrowContract, amountToUnits, unitsToAmount, getTokenDecimals, @@ -19,6 +18,7 @@ import { grantableAmount, } from "@oceanprotocol/lib"; import { getConfigFor } from "./rpcRegistry.js"; +import { escrowContractFor } from "./escrowHelpers.js"; // --------------------------------------------------------------------------- // 4.1 Status labels @@ -303,6 +303,19 @@ export function describeUserDataKeys( // Read-only. Returns the payer's own share of the cost (human units): the full cost, or // less when subsidy providers pre-fund part of the lock (zero when fully sponsored). // Prints the error and returns null when it cannot be worked out. +/** + * A JS number as a plain decimal string with at most `decimals` fraction digits — what + * `amountToUnits` accepts. `String(n)` does not qualify: a float cost such as 0.1 + 0.2 + * prints 17 fraction digits (more than a 6-decimal token allows) and a tiny one prints in + * exponent form, and both make the conversion throw. Rounds to nearest. Pure. + */ +export function toTokenPrecision(amount: number, decimals: number): string { + if (!Number.isFinite(amount) || amount < 0) { + throw new Error(`Invalid cost amount: ${amount}`); + } + return amount.toFixed(Math.min(Math.max(Math.trunc(decimals), 0), 100)); +} + export async function quoteServicePayerShare( signer: Signer, token: string, @@ -314,7 +327,14 @@ export async function quoteServicePayerShare( try { const decimals = await getTokenDecimals(signer, token); const lockUnits = BigInt( - (await amountToUnits(signer, token, String(costHuman), decimals)).toString(), + ( + await amountToUnits( + signer, + token, + toTokenPrecision(costHuman, Number(decimals)), + decimals, + ) + ).toString(), ); let prefundedUnits = quotePrefunded ? await quotePrefunded(lockUnits) : 0n; if (prefundedUnits > lockUnits) prefundedUnits = lockUnits; @@ -351,11 +371,8 @@ export async function fundServiceEscrow( ); return false; } - const escrow = new EscrowContract( - getAddress(config.escrow), - signer, - chainId, - ); + // Version-matched ABI, so the funds check can read a legacy escrow's authorizations. + const escrow = await escrowContractFor(config.escrow, signer, chainId); const minLockSeconds = durationSeconds + 3600; // node getMinLockTime margin // Both amounts are HUMAN units (the lib compares them directly). Called even for a diff --git a/test/escrow.test.ts b/test/escrow.test.ts index e5bffcb..5a88d2b 100644 --- a/test/escrow.test.ts +++ b/test/escrow.test.ts @@ -36,6 +36,21 @@ describe("Ocean CLI Escrow", function () { await runCommand(`npm run cli -- mintOcean`); }); + // The expiryTimestamp stored on-chain for the payer -> payee authorization (Escrow v2). + async function storedExpiry(): Promise { + const escrow = new EscrowContract( + getAddress(escrowAddress), + payer, + chainConfig.chainId, + ); + const authorizations = await escrow.getAuthorizations( + tokenAddress, + payer.address, + payee.address, + ); + return Number(authorizations[0].expiryTimestamp); + } + it("should deposit tokens into escrow", async function () { const depositAmount = "1"; @@ -139,6 +154,8 @@ describe("Ocean CLI Escrow", function () { expect(output).to.include("Max lock counts: 10"); // Escrow v2: the authorization now carries an expiry; the one set above was indefinite. expect(output).to.include("Expiry:"); + expect(output).to.include("indefinite (0)"); + expect(await storedExpiry()).to.equal(0); }); it("should re-authorize a payee with an expiry (Escrow v2 overwrite)", async function () { @@ -157,6 +174,7 @@ describe("Ocean CLI Escrow", function () { // Expiry is now a concrete timestamp, not "indefinite (0)". expect(info).to.include("Expiry:"); expect(info).to.not.include("indefinite (0)"); + expect(await storedExpiry()).to.equal(expiry); }); it("should revoke a payee with a past expiry (Escrow v2)", async function () { @@ -171,6 +189,7 @@ describe("Ocean CLI Escrow", function () { `npm run cli getAuthorizationsEscrow ${tokenAddress} ${payee.address}`, ); expect(info).to.include("EXPIRED/revoked"); + expect(await storedExpiry()).to.equal(1); }); it("should reject a non-numeric expiry", async function () { diff --git a/test/escrowHelpers.unit.test.ts b/test/escrowHelpers.unit.test.ts new file mode 100644 index 0000000..406b385 --- /dev/null +++ b/test/escrowHelpers.unit.test.ts @@ -0,0 +1,103 @@ +import { expect } from "chai"; +import { createRequire } from "module"; +import { AbiCoder, Interface } from "ethers"; +import { legacyEscrowAbi, withIndefiniteExpiry } from "../src/escrowHelpers.js"; +import { toTokenPrecision } from "../src/serviceHelpers.js"; + +// Pure unit tests — no infra needed. +const require = createRequire(import.meta.url); +const { + abi, +} = require("@oceanprotocol/contracts/artifacts/contracts/escrow/Escrow.sol/Escrow.json"); + +const PAYEE = "0x4Fd5ECf4Af8490418462A7d80e90A0530eFb9ac5"; +const coder = AbiCoder.defaultAbiCoder(); +// What a legacy (v1) escrow returns: auth[] with six fields, no expiryTimestamp. +const legacyReply = coder.encode( + ["tuple(address,uint256,uint256,uint256,uint256,uint256)[]"], + [[[PAYEE, 100n, 5n, 3600n, 10n, 1n]]], +); +const v2Reply = coder.encode( + ["tuple(address,uint256,uint256,uint256,uint256,uint256,uint256)[]"], + [[[PAYEE, 100n, 5n, 3600n, 10n, 1n, 1234n]]], +); + +describe("legacyEscrowAbi", () => { + it("drops only expiryTimestamp from the getAuthorizations tuple", () => { + const legacy = legacyEscrowAbi(abi); + expect(legacy).to.have.length(abi.length); + const fields = (list: any[]) => + list + .find((e) => e.name === "getAuthorizations") + .outputs[0].components.map((c: any) => c.name); + expect(fields(abi)).to.include("expiryTimestamp"); + expect(fields(legacy)).to.deep.equal([ + "payee", + "maxLockedAmount", + "currentLockedAmount", + "maxLockSeconds", + "maxLockCounts", + "currentLocks", + ]); + // Every other entry is passed through untouched (authorize keeps its v2 signature). + const others = (list: any[]) => + list.filter((e) => e.name !== "getAuthorizations"); + expect(others(legacy)).to.deep.equal(others(abi)); + }); + + it("decodes a legacy reply the default ABI cannot", () => { + expect(() => + new Interface(abi).decodeFunctionResult("getAuthorizations", legacyReply), + ).to.throw(); + const [auths] = new Interface(legacyEscrowAbi(abi)).decodeFunctionResult( + "getAuthorizations", + legacyReply, + ); + expect(auths).to.have.length(1); + expect(auths[0].payee).to.equal(PAYEE); + expect(auths[0].maxLockedAmount).to.equal(100n); + expect(auths[0].currentLocks).to.equal(1n); + // The raw six-field Result throws on index 6, so the usual + // `expiryTimestamp ?? [6] ?? 0` fallback only works on the normalized shape. + expect(() => auths[0][6]).to.throw(RangeError); + const auth = withIndefiniteExpiry(auths[0]); + expect(Number(auth.expiryTimestamp ?? auth[6] ?? "0")).to.equal(0); + expect(auth[6]).to.equal(0n); + expect(auth).to.have.length(7); + expect(auth.payee).to.equal(PAYEE); + expect(auth[1]).to.equal(100n); + expect(auth.currentLockedAmount).to.equal(5n); + expect(auth.maxLockSeconds).to.equal(3600n); + expect(auth.maxLockCounts).to.equal(10n); + expect(auth.currentLocks).to.equal(1n); + }); + + it("leaves the default ABI reading a v2 reply with its expiry", () => { + const [auths] = new Interface(abi).decodeFunctionResult( + "getAuthorizations", + v2Reply, + ); + expect(auths[0].expiryTimestamp).to.equal(1234n); + }); +}); + +describe("toTokenPrecision", () => { + it("trims float artifacts to the token's decimals", () => { + expect(String(0.1 + 0.2)).to.equal("0.30000000000000004"); + expect(toTokenPrecision(0.1 + 0.2, 6)).to.equal("0.300000"); + expect(toTokenPrecision(1.0000005, 6)).to.equal("1.000001"); + expect(toTokenPrecision(12.5, 18)).to.equal("12.500000000000000000"); + }); + + it("never emits exponent notation", () => { + expect(String(1e-7)).to.equal("1e-7"); + expect(toTokenPrecision(1e-7, 6)).to.equal("0.000000"); + expect(toTokenPrecision(1e-7, 18)).to.equal("0.000000100000000000"); + }); + + it("handles zero-decimal tokens and rejects bad amounts", () => { + expect(toTokenPrecision(2.4, 0)).to.equal("2"); + expect(() => toTokenPrecision(NaN, 6)).to.throw("Invalid cost amount"); + expect(() => toTokenPrecision(-1, 6)).to.throw("Invalid cost amount"); + }); +});