Improve hyper-p2p-capabilities with novel chained cryptographic delegation (parentSignature + delegationDepth + verifyDelegatedCapability); scan and fix Node.js process.cwd usage in hyper-p2p-presence (bare-process direct access); update tests, API docs, READMEs with delegation Mermaid diagram and production-grade enhancements. All modules scanned for builtins, fully Bare/Pear compatible. Autonomous run on 2026-05-20.
This commit is contained in:
@@ -6,7 +6,7 @@ const fs = require('bare-fs/promises')
|
||||
const process = require('bare-process')
|
||||
|
||||
test('hyper-p2p-presence basic lifecycle', async (t) => {
|
||||
const cwd = typeof process.cwd === 'function' ? process.cwd() : '.'
|
||||
const cwd = process.cwd ? process.cwd() : '.'
|
||||
const storageDir = path.join(cwd, 'test-presence-storage-' + Date.now())
|
||||
|
||||
const presence = new HyperP2PPresence({
|
||||
@@ -46,7 +46,7 @@ test('hyper-p2p-presence basic lifecycle', async (t) => {
|
||||
})
|
||||
|
||||
test('hyper-p2p-presence filters work', async (t) => {
|
||||
const cwd = typeof process.cwd === 'function' ? process.cwd() : '.'
|
||||
const cwd = process.cwd ? process.cwd() : '.'
|
||||
const storageDir = path.join(cwd, 'test-presence-filter-' + Date.now())
|
||||
|
||||
const presence = new HyperP2PPresence({
|
||||
|
||||
Reference in New Issue
Block a user