Updates
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## [0.0.0-scaffold] — Wave 8
|
||||
## [0.0.0-scaffold]
|
||||
|
||||
- Registry scaffold: file tree, load smoke tests, docs stubs
|
||||
## [0.3.2] - 2026-05-21
|
||||
|
||||
@@ -50,7 +50,7 @@ Queue depth for one level or total.
|
||||
|
||||
## Composition
|
||||
|
||||
`hyper-p2p-topic-channel` for retain; Wave 9 `qos-topic-two-node.js`.
|
||||
`hyper-p2p-topic-channel` for retain; Messaging stack `qos-topic-two-node.js`.
|
||||
|
||||
## Testing
|
||||
|
||||
@@ -70,7 +70,7 @@ Three queues `_queues[0..2]`; drain processes highest index first.
|
||||
|
||||
## Versioning
|
||||
|
||||
`qos-topic/v1` publish type unchanged since Wave 9.
|
||||
`qos-topic/v1` publish type unchanged since flagship release.
|
||||
|
||||
## Security
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## [0.0.0-scaffold] — Wave 8
|
||||
## [0.0.0-scaffold]
|
||||
|
||||
- Registry scaffold: file tree, load smoke tests, docs stubs
|
||||
## [0.3.2] - 2026-05-21
|
||||
|
||||
@@ -76,7 +76,7 @@ Retained payloads persist in memory until `clear`; scrub secrets on channel dele
|
||||
|
||||
## Changelog
|
||||
|
||||
Wave 9: standalone retain store extracted for composition and tests.
|
||||
standalone retain store extracted for composition and tests.
|
||||
|
||||
## See also
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## [0.0.0-scaffold] — Wave 8
|
||||
## [0.0.0-scaffold]
|
||||
|
||||
- Registry scaffold: file tree, load smoke tests, docs stubs
|
||||
## [0.3.2] - 2026-05-21
|
||||
|
||||
@@ -72,7 +72,7 @@ Leases are cooperative, not Byzantine-safe; use consensus modules for hard exclu
|
||||
|
||||
## Changelog
|
||||
|
||||
- Wave 9: lease acquire/renew/release with optional background expiry timer.
|
||||
- lease acquire/renew/release with optional background expiry timer.
|
||||
- Default `leaseMs` is 60000 unless overridden in constructor.
|
||||
|
||||
## See also
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## [0.0.0-scaffold] — Wave 8
|
||||
## [0.0.0-scaffold]
|
||||
|
||||
- Registry scaffold: file tree, load smoke tests, docs stubs
|
||||
## [0.3.2] - 2026-05-21
|
||||
|
||||
@@ -64,11 +64,11 @@ Protomux `topic-channel/v1`; `close` emits `closed`.
|
||||
|
||||
## Composition
|
||||
|
||||
`hyper-p2p-qos-topic`, `hyper-p2p-subscription-lease`, `hyper-p2p-retained-messages`, Wave 9 stack.
|
||||
`hyper-p2p-qos-topic`, `hyper-p2p-subscription-lease`, `hyper-p2p-retained-messages`, messaging stack.
|
||||
|
||||
## Testing
|
||||
|
||||
`npm test`, `topic-channel-two-node.js`, `wave9-stack-two-node.js`.
|
||||
`npm test`, `topic-channel-two-node.js`, `messaging-stack-two-node.js`.
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ const { HyperP2PTopicChannel } = require('../index.js')
|
||||
async function main () {
|
||||
const ch = new HyperP2PTopicChannel({ retainMessages: true })
|
||||
ch.subscribe('demo', (m) => console.log('[topic-channel]', m))
|
||||
ch.publish('demo', { hello: 'wave9' }, { retain: true })
|
||||
ch.publish('demo', { hello: 'demo' }, { retain: true })
|
||||
console.log(ch.getStats())
|
||||
await ch.close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user