This commit is contained in:
Raven Scott
2026-05-21 13:39:31 -04:00
parent 3949d11395
commit 2713dcf8cc
190 changed files with 2742 additions and 706 deletions
+3
View File
@@ -1,3 +1,6 @@
# Per-package bare-bundle output (npm run bundle)
**/dist/*.bundle
# Dependencies (all submodules) # Dependencies (all submodules)
node_modules/ node_modules/
*-storage/ *-storage/
+14
View File
@@ -54,10 +54,24 @@ Workflow per pass: **implement → docs → test last**.
Do **not** re-implement `hyperswarm`, `hypercore`, `hyperbee`, `hyperdrive`, or `autobase` cores. Modules add Protomux protocols, CRDTs, policy, and app semantics on top. See [`HOLEPUNCH_ALIGNMENT.md`](HOLEPUNCH_ALIGNMENT.md). Do **not** re-implement `hyperswarm`, `hypercore`, `hyperbee`, `hyperdrive`, or `autobase` cores. Modules add Protomux protocols, CRDTs, policy, and app semantics on top. See [`HOLEPUNCH_ALIGNMENT.md`](HOLEPUNCH_ALIGNMENT.md).
## Bare / Pear packaging
Hyper-p2p packages are **JavaScript Bare modules**, not native `.bare` addons. Distributable graphs use **`bare-bundle`** (`.bundle` files) or Pear **script-linker** at app stage time.
| Consumption | How |
|-------------|-----|
| **Pear showcase app** | `file:../../modules/...` in app `package.json` + top-level `require('hyper-p2p-…')` in sidecar; `pear stage` bundles `node_modules` |
| **Local `.bundle`** | `npm run bundle` in each package → `dist/<name>.bundle` |
| **P2P publish** | `bundlebee store . index.js``bundle+pear://…` (see Holepunch bundlebee-cli) |
Full research and checklist: [`docs/BARE_MODULE_PACKAGING.md`](../docs/BARE_MODULE_PACKAGING.md). Shared runtime package: **`hyper-p2p-bare-shared`** (`_shared/`).
## Tooling ## Tooling
| Script | Purpose | | Script | Purpose |
|--------|---------| |--------|---------|
| [`bundle-module.mjs`](../scripts/bundle-module.mjs) | Emit `dist/*.bundle` for one package |
| [`bundle-all-modules.mjs`](../scripts/bundle-all-modules.mjs) | Bundle all entries in `module-paths.json` |
| [`generate-module-registry.py`](../../scripts/generate-module-registry.py) | Rebuild `MODULE_REGISTRY.yaml` | | [`generate-module-registry.py`](../../scripts/generate-module-registry.py) | Rebuild `MODULE_REGISTRY.yaml` |
| [`scaffold-module-from-registry.py`](../../scripts/scaffold-module-from-registry.py) | Scaffold trees from registry | | [`scaffold-module-from-registry.py`](../../scripts/scaffold-module-from-registry.py) | Scaffold trees from registry |
| [`promote-scaffold-batches.py`](../../scripts/promote-scaffold-batches.py) | Promote scaffolds by batch (`--batch 8b`) | | [`promote-scaffold-batches.py`](../../scripts/promote-scaffold-batches.py) | Promote scaffolds by batch (`--batch 8b`) |
+43
View File
@@ -0,0 +1,43 @@
{
"name": "hyper-p2p-bare-shared",
"version": "1.0.0",
"description": "Shared Bare helpers for hyper-p2p modules (Hyperswarm, gossip, storage bases).",
"private": true,
"main": "p2p-bare.js",
"type": "commonjs",
"exports": {
".": "./p2p-bare.js",
"./p2p-bare": "./p2p-bare.js",
"./p2p-bare.js": "./p2p-bare.js",
"./lib/errors": "./lib/errors.js",
"./lib/errors.js": "./lib/errors.js",
"./autobase-base": "./autobase-base.js",
"./autobase-base.js": "./autobase-base.js",
"./crdt-base": "./crdt-base.js",
"./crdt-base.js": "./crdt-base.js",
"./experimental-base": "./experimental-base.js",
"./experimental-base.js": "./experimental-base.js",
"./hypercore-base": "./hypercore-base.js",
"./hypercore-base.js": "./hypercore-base.js",
"./hyperdrive-base": "./hyperdrive-base.js",
"./hyperdrive-base.js": "./hyperdrive-base.js",
"./media-streaming-base": "./media-streaming-base.js",
"./media-streaming-base.js": "./media-streaming-base.js",
"./storage-gossip-base": "./storage-gossip-base.js",
"./storage-gossip-base.js": "./storage-gossip-base.js",
"./supercomputer-base": "./supercomputer-base.js",
"./supercomputer-base.js": "./supercomputer-base.js"
},
"dependencies": {
"b4a": "^1.6.7",
"compact-encoding": "^2.0.0",
"hypercore-crypto": "^3.0.0",
"protomux": "^3.0.0",
"bare-events": "^2.8.0",
"bare-process": "^4.4.0"
},
"peerDependencies": {
"hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
}
}
@@ -93,6 +93,7 @@
} }
}, },
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-agent-memory"
} }
} }
@@ -1,7 +1,7 @@
{ {
"name": "hyper-p2p-task-orchestrator", "name": "hyper-p2p-task-orchestrator",
"version": "0.3.1", "version": "0.3.1",
"description": "A novel, production-grade distributed task orchestration primitive for Bare/Pear P2P applications. Provides DAG-based task dependencies, priority scheduling, deadline enforcement, Ed25519 cryptographic signing for task authenticity and result verification, vector clock causality for task lifecycle events, capability-based authorization, Hyperbee-backed persistent task queue/state/results/history, Hyperswarm topic derivation for P2P task gossip and discovery, Protomux streaming for task assignment/result streaming, automatic retry/backoff, execution hooks, result aggregation, advanced queries (by status, owner, time, tags, dependencies), metrics, TTL pruning of completed tasks, and graceful lifecycle management. Enables decentralized workflow engines, AI agent task delegation, distributed compute coordination, and reliable micro-task orchestration in P2P networks. First reusable dedicated task orchestrator module in the Holepunch/Bare ecosystem never-before-seen primitive combining dependency graphs, crypto verification, causal ordering, and decentralized execution.", "description": "A novel, production-grade distributed task orchestration primitive for Bare/Pear P2P applications. Provides DAG-based task dependencies, priority scheduling, deadline enforcement, Ed25519 cryptographic signing for task authenticity and result verification, vector clock causality for task lifecycle events, capability-based authorization, Hyperbee-backed persistent task queue/state/results/history, Hyperswarm topic derivation for P2P task gossip and discovery, Protomux streaming for task assignment/result streaming, automatic retry/backoff, execution hooks, result aggregation, advanced queries (by status, owner, time, tags, dependencies), metrics, TTL pruning of completed tasks, and graceful lifecycle management. Enables decentralized workflow engines, AI agent task delegation, distributed compute coordination, and reliable micro-task orchestration in P2P networks. First reusable dedicated task orchestrator module in the Holepunch/Bare ecosystem \u2014 never-before-seen primitive combining dependency graphs, crypto verification, causal ordering, and decentralized execution.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"exports": { "exports": {
@@ -92,6 +92,7 @@
} }
}, },
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-task-orchestrator"
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-workflow-graph"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -14,10 +17,21 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-collab-room"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-cursor-presence"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-document-line-lock"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-whiteboard-op"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-auction-gossip"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-credit-ledger"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-marketplace-listing"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -91,6 +91,7 @@
} }
}, },
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-causal-consensus"
} }
} }
@@ -93,6 +93,7 @@
} }
}, },
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-distributed-lock"
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-leader-lease"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,17 +5,30 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-quorum-pool"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
"b4a": "^1.6.7", "b4a": "^1.6.7",
"hypercore-crypto": "^3.0.0" "hypercore-crypto": "^3.0.0"
}, },
"peerDependencies": { "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-raft-lite"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -55,6 +55,7 @@
} }
}, },
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-capabilities"
} }
} }
@@ -85,6 +85,7 @@
} }
}, },
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-presence"
} }
} }
@@ -55,6 +55,7 @@
} }
}, },
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-rpc"
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-session-bridge"
},
"dependencies": { "dependencies": {
"@hyperswarm/secret-stream": "^6.9.0", "@hyperswarm/secret-stream": "^6.9.0",
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -15,10 +18,21 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -91,6 +91,7 @@
} }
}, },
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-vector-clock"
} }
} }
+153
View File
@@ -0,0 +1,153 @@
# Bare / Pear packaging for hyper-p2p modules
Research from [`holepunchto_repos`](../../../holepunch-repos/holepunchto_repos): how Holepunch ships JavaScript for **Bare** and **Pear**, and what our **206** `hyper-p2p-*` packages need.
## Terminology (avoid confusion)
| Term | What it is | Our modules |
|------|------------|-------------|
| **`.bare` addon** | Prebuilt **native** binary (e.g. `bare-runtime-darwin-arm64`, `bare-crypto`) loaded via `require.addon()` | Hyper-p2p modules are **JavaScript**, not native addons |
| **`bare-bundle` (`.bundle`)** | Serialized **JS module graph** (sources + resolution map) | **This is the target format** for distributable modules |
| **`pear://` drive** | Hyperdrive checkout for a Pear app | App `index.js` is bundled by **script-linker** at stage time |
| **`bundle+pear://…` link** | P2P module published with **bundlebee** into Hyperbee2 | Optional distribution path per module |
Errors like `pear://dev/.../index.js.bare` mean Bare tried to load a **script as a native addon** because `require()` was given a `pear://` or absolute path from a Pear parent — not because the module should be a `.bare` file.
## How Holepunch does it
```mermaid
flowchart TB
subgraph dev [Authoring]
SRC[package.json + index.js]
TRAVERSE[bare-module-traverse]
BUNDLE[bare-bundle]
SRC --> TRAVERSE --> BUNDLE
end
subgraph pear_app [Pear desktop app]
ENTRY[index.js sidecar]
LINKER[script-linker / pear stage]
DRIVE[pear:// app drive]
ENTRY --> LINKER --> DRIVE
RUN[pear run pear://key]
DRIVE --> RUN
end
subgraph p2p_mod [P2P module publish]
BBCLI[bundlebee store . index.js]
BEE[Hyperbee2]
SEED[bundlebee seed]
BBCLI --> BEE --> SEED
IMPORT[bundlebee-import / bundlebee.load]
SEED --> IMPORT
end
BUNDLE -.->|optional| BBCLI
BUNDLE -.->|npm file: dep| LINKER
```
### Key repos
| Repo | Role |
|------|------|
| [bare-module](https://github.com/holepunchto/bare-module) | Bares module loader (URLs, `imports` field, cache) |
| [bare-module-traverse](https://github.com/holepunchto/bare-module-traverse) | Walk dependency graph from an entrypoint |
| [bare-bundle](https://github.com/holepunchto/bare-bundle) | `.bundle` file format (header + embedded sources) |
| [bundlebee](https://github.com/holepunchto/bundlebee) | Store/load bundles in **Hyperbee2** for replication |
| [bundlebee-cli](https://github.com/holepunchto/bundlebee-cli) | `bundlebee store`, `seed`, `bundle+pear://…` links |
| [bundlebee-import](https://github.com/holepunchto/bundlebee-import) | `require()` a module from a `bundle+pear://…` URL |
| [script-linker](https://github.com/holepunchto/script-linker) | Pear uses this to bundle sidecar `index.js` into the app drive |
| [drive-bundler](https://github.com/holepunchto/drive-bundler) | Extract bundle from a drive (Pear `boot.bundle`) |
| [pear/examples/desktop](https://github.com/holepunchto/pear) | Minimal pear-electron + pear-bridge (no dynamic monorepo requires) |
Pear **does not** `require()` arbitrary filesystem paths at runtime on a `pear://` checkout. Dependencies must be:
1. **Traced at link time** — top-level `require('hyper-p2p-anycast-selector')` in the sidecar so script-linker includes `node_modules` in the staged graph, or
2. **Loaded from a bundle**`bundlebee.load()` / `bundlebee-import` with a `bundle+pear://…` link.
## What each hyper-p2p package needs
### 1. Bare-compatible `package.json` (already mostly done)
- `"type": "commonjs"` and `"main": "index.js"`
- **`imports`** map Node built-ins to Bare shims (`bare-process`, `bare-events`, `bare-timers`)
- **`dependencies`**: `b4a`, `compact-encoding`, `protomux`, `hypercore-crypto`, etc.
- **`hyper-p2p-bare-shared`**: `file:../../_shared` (workspace package)
- **`peerDependencies`**: `hyperswarm`, `bare` — provided by the **app**, not bundled into every module graph
### 2. Produce a `.bundle` per module (new)
From the module directory:
```bash
cd modules/network-stack/hyper-p2p-anycast-selector
npm run bundle
# writes dist/hyper-p2p-anycast-selector.bundle
```
Uses `bare-module-traverse` + `bare-bundle` (same algorithm as bundlebees `add()`).
`node_modules` dependencies are **skipped** (like bundlebees `skipModules: true`); peer deps are resolved when the **consumer** loads the bundle.
### 3. Pear apps consume npm packages (showcase apps)
In `apps/<slug>/package.json`:
```json
"dependencies": {
"hyper-p2p-anycast-selector": "file:../../modules/network-stack/hyper-p2p-anycast-selector",
"hyper-p2p-bare-shared": "file:../../modules/_shared"
}
```
Sidecar **top-level** require (required for script-linker):
```js
const { HyperP2PAnycastSelector } = require('hyper-p2p-anycast-selector')
```
Then `pear run -d .` / `pear stage` bundles the graph into the app drive.
Do **not** use runtime `require(absolutePath)` or `require('./modules/…')` from a `pear://dev` parent.
### 4. Optional: P2P publish with bundlebee
Same module tree, published to the swarm:
```bash
cd modules/network-stack/hyper-p2p-anycast-selector
bundlebee store . index.js --abi 1
bundlebee seed
# → bundle+pear://0.<len>.<key>/index.js
```
Consumers use [bundlebee-import](https://github.com/holepunchto/bundlebee-import) with Hyperswarm + Corestore.
## Workspace commands
```bash
cd modules
npm install # hoisted modules/node_modules
./scripts/bundle-module.mjs hyper-p2p-anycast-selector
./scripts/bundle-all-modules.mjs # all 206 packages (slow)
```
## Checklist per new module
- [ ] `hyper-p2p-bare-shared` in `dependencies` (not `../../_shared` require in source)
- [ ] `imports` for `process` / `events` / `timers`
- [ ] `peerDependencies`: `hyperswarm`, `bare`
- [ ] `npm run bundle``dist/<name>.bundle`
- [ ] Tests: `npm test` from package dir after workspace `npm install`
- [ ] Pear app: `file:` dep + top-level `require('<package name>')`
## Related internal modules
| Package | Purpose |
|---------|---------|
| `hyper-bare-bundle-bridge` | Gossip **manifests** of bundle ids over Hyperswarm (not a bundler) |
| `hyper-bare-import-map` | Import map metadata for Bare (pear-platform) |
## References
- [bundlebee README](https://github.com/holepunchto/bundlebee) — P2P `bundle+pear://` workflow
- [bare-bundle format](https://github.com/holepunchto/bare-bundle) — `.bundle` layout
- [HOLEPUNCH_ALIGNMENT.md](../_shared/HOLEPUNCH_ALIGNMENT.md) — do not reimplement core Holepunch stacks
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-compact-codec-bridge"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-message-envelope"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-schema-validator"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-wire-registry"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-contradiction-graph"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-entropy-beacon"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -29,7 +30,10 @@
"bare": "bare-process", "bare": "bare-process",
"default": "process" "default": "process"
}, },
"crypto": { "bare": "bare-crypto", "default": "crypto" }, "crypto": {
"bare": "bare-crypto",
"default": "crypto"
},
"events": { "events": {
"bare": "bare-events", "bare": "bare-events",
"default": "events" "default": "events"
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-entropy-spiral"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-gravity-well"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -14,10 +17,21 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-memetic-spread"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-mirror-realm"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -14,10 +17,21 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-mycelium-pool"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -14,10 +17,21 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-paradox-clock"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -14,10 +17,21 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-paradox-merge"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-phase-shift-clock"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-pheromone-trail"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -14,10 +17,21 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-silence-protocol"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -14,10 +17,21 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-tension-field"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-time-capsule"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -14,10 +17,21 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-void-channel"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-whisper-mesh"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -29,7 +30,10 @@
"bare": "bare-process", "bare": "bare-process",
"default": "process" "default": "process"
}, },
"crypto": { "bare": "bare-crypto", "default": "crypto" }, "crypto": {
"bare": "bare-crypto",
"default": "crypto"
},
"events": { "events": {
"bare": "bare-events", "bare": "bare-events",
"default": "events" "default": "events"
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-bloom-gossip"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-fulltext-lite"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-graph-index"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-inverted-index"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -1,7 +1,7 @@
{ {
"name": "hyper-p2p-semantic-vector-index", "name": "hyper-p2p-semantic-vector-index",
"version": "0.3.1", "version": "0.3.1",
"description": "A novel, production-grade semantic vector indexing and similarity search primitive for Bare/Pear P2P applications. Provides high-dimensional vector storage with cosine similarity nearest-neighbor and top-k search, Ed25519 cryptographic signing for vector authenticity and tamper-proofing, metadata tagging and filtering, Hyperbee-backed persistence, Hyperswarm topic derivation for P2P vector gossip and discovery, Protomux streaming hooks for distributed index replication, vector quantization for efficiency, advanced queries (by tags, time, similarity threshold), automatic TTL pruning, production metrics, and graceful lifecycle management. Enables decentralized semantic search, collaborative AI knowledge graphs, content-based recommendation engines, and embedding stores in P2P networks. First reusable dedicated semantic vector index module in the Holepunch/Bare ecosystem never-before-seen primitive combining vector similarity search, cryptographic verification, causal ordering, and decentralized semantic retrieval.", "description": "A novel, production-grade semantic vector indexing and similarity search primitive for Bare/Pear P2P applications. Provides high-dimensional vector storage with cosine similarity nearest-neighbor and top-k search, Ed25519 cryptographic signing for vector authenticity and tamper-proofing, metadata tagging and filtering, Hyperbee-backed persistence, Hyperswarm topic derivation for P2P vector gossip and discovery, Protomux streaming hooks for distributed index replication, vector quantization for efficiency, advanced queries (by tags, time, similarity threshold), automatic TTL pruning, production metrics, and graceful lifecycle management. Enables decentralized semantic search, collaborative AI knowledge graphs, content-based recommendation engines, and embedding stores in P2P networks. First reusable dedicated semantic vector index module in the Holepunch/Bare ecosystem \u2014 never-before-seen primitive combining vector similarity search, cryptographic verification, causal ordering, and decentralized semantic retrieval.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"exports": { "exports": {
@@ -92,6 +92,7 @@
} }
}, },
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-semantic-vector-index"
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-similarity-lsh"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-trie-prefix"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-bucket-rate-limit"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-histogram-gossip"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-percentile-sketch"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-sla-budget"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-adaptive-streaming-engine", "name": "hyper-p2p-adaptive-streaming-engine",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming adaptive streaming engine.", "description": "P2P media streaming \u2014 adaptive streaming engine.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-adaptive-streaming-engine"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-bandwidth-aggregator", "name": "hyper-p2p-bandwidth-aggregator",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming bandwidth aggregator.", "description": "P2P media streaming \u2014 bandwidth aggregator.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-bandwidth-aggregator"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-buffer-health-predictor", "name": "hyper-p2p-buffer-health-predictor",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming buffer health predictor.", "description": "P2P media streaming \u2014 buffer health predictor.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-buffer-health-predictor"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-chunk-scheduler-media", "name": "hyper-p2p-chunk-scheduler-media",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming chunk scheduler media.", "description": "P2P media streaming \u2014 chunk scheduler media.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-chunk-scheduler-media"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-content-protection", "name": "hyper-p2p-content-protection",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming content protection.", "description": "P2P media streaming \u2014 content protection.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-content-protection"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-contribution-ledger"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-enterprise-orchestrator", "name": "hyper-p2p-enterprise-orchestrator",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming enterprise orchestrator.", "description": "P2P media streaming \u2014 enterprise orchestrator.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-enterprise-orchestrator"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-fec-video"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-helper-swarm-coordinator", "name": "hyper-p2p-helper-swarm-coordinator",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming helper swarm coordinator.", "description": "P2P media streaming \u2014 helper swarm coordinator.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-helper-swarm-coordinator"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-latency-optimizer", "name": "hyper-p2p-latency-optimizer",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming latency optimizer.", "description": "P2P media streaming \u2014 latency optimizer.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-latency-optimizer"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-live-edge-manager", "name": "hyper-p2p-live-edge-manager",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming live edge manager.", "description": "P2P media streaming \u2014 live edge manager.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-live-edge-manager"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-media-chunker", "name": "hyper-p2p-media-chunker",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming media chunker.", "description": "P2P media streaming \u2014 media chunker.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-media-chunker"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-media-tree-orchestrator"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-origin-hybrid-bridge", "name": "hyper-p2p-origin-hybrid-bridge",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming origin hybrid bridge.", "description": "P2P media streaming \u2014 origin hybrid bridge.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-origin-hybrid-bridge"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-peer-selector-streaming"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-quality-ladder", "name": "hyper-p2p-quality-ladder",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming quality ladder.", "description": "P2P media streaming \u2014 quality ladder.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-quality-ladder"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-retransmission-media", "name": "hyper-p2p-retransmission-media",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming retransmission media.", "description": "P2P media streaming \u2014 retransmission media.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-retransmission-media"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-stream-access-control", "name": "hyper-p2p-stream-access-control",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming stream access control.", "description": "P2P media streaming \u2014 stream access control.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-stream-access-control"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-stream-manifest", "name": "hyper-p2p-stream-manifest",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming stream manifest.", "description": "P2P media streaming \u2014 stream manifest.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-stream-manifest"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -1,11 +1,14 @@
{ {
"name": "hyper-p2p-stream-telemetry", "name": "hyper-p2p-stream-telemetry",
"version": "0.3.1", "version": "0.3.1",
"description": "P2P media streaming stream telemetry.", "description": "P2P media streaming \u2014 stream telemetry.",
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-stream-telemetry"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-dedup-filter"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -92,6 +92,7 @@
} }
}, },
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-distributed-event-bus"
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-gossip-mesh"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -14,10 +17,21 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-qos-topic"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-retained-messages"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-subscription-lease"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-topic-channel"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-stream-backpressure"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-stream-chunker"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-stream-multiplex"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-stream-resume-token"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-stream-tee"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-stream-transform"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-capability-discovery"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-discovery-health"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-peer-bootstrap-store"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-seeder-registry"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-topic-announcer"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -18,9 +21,17 @@
"hyperswarm": "^4.0.0", "hyperswarm": "^4.0.0",
"bare": ">=1.0.0" "bare": ">=1.0.0"
}, },
"devDependencies": { "brittle": "^3.0.0" }, "devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" } "bare": "bare-process",
"default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-anycast-selector"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-bandwidth-broker"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-circuit-loom"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-congestion-signal"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -5,7 +5,10 @@
"main": "index.js", "main": "index.js",
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "test": "brittle-bare test/test.js" }, "scripts": {
"test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-connection-pool"
},
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
"bare-process": "^4.4.0", "bare-process": "^4.4.0",
@@ -15,11 +18,25 @@
"protomux": "^3.0.0", "protomux": "^3.0.0",
"compact-encoding": "^2.0.0" "compact-encoding": "^2.0.0"
}, },
"peerDependencies": { "hyperswarm": "^4.0.0", "bare": ">=1.0.0" }, "peerDependencies": {
"devDependencies": { "brittle": "^3.0.0" }, "hyperswarm": "^4.0.0",
"bare": ">=1.0.0"
},
"devDependencies": {
"brittle": "^3.0.0"
},
"imports": { "imports": {
"process": { "bare": "bare-process", "default": "process" }, "process": {
"events": { "bare": "bare-events", "default": "events" }, "bare": "bare-process",
"timers": { "bare": "bare-timers", "default": "timers" } "default": "process"
},
"events": {
"bare": "bare-events",
"default": "events"
},
"timers": {
"bare": "bare-timers",
"default": "timers"
}
} }
} }
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-flow-shaper"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",
@@ -6,7 +6,8 @@
"type": "commonjs", "type": "commonjs",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "brittle-bare test/test.js" "test": "brittle-bare test/test.js",
"bundle": "node ../../scripts/bundle-module.mjs hyper-p2p-link-probe"
}, },
"dependencies": { "dependencies": {
"bare-events": "^2.8.0", "bare-events": "^2.8.0",

Some files were not shown because too many files have changed in this diff Show More