Commit Graph

42 Commits

Author SHA1 Message Date
Derrick Hammer ce12140ac0
*add prettier 2023-04-05 03:35:15 -04:00
Nina Breznik 6dfa4f32ca
update readme with mux.pair and mux.opened (#9)
* update readme with mux.pair and mux.opened

* add opts to .pair, .unpair and .opened
2023-02-06 18:43:05 +01:00
Mathias Buus 131fce63d7 3.4.1 2023-01-13 14:08:42 +01:00
Mathias Buus 78e83bbfa9 failing test 2023-01-13 14:08:34 +01:00
Lucas b9ff6b50b7
Add test: open + send + close on same tick (#8) 2022-11-08 22:13:32 +01:00
Lucas 69ae35ca8b
Update README.md (#6) 2022-11-03 10:39:15 +01:00
Mathias Buus d47fd52836 3.4.0 2022-08-31 12:49:40 +02:00
Ar Nazeh 43d5192f31
Deduplicate muxer for a given same stream. (#5)
* docs: add documentation for iterating over channels

* fix: deduplicate protomux instances for the same stream

creating multiple channels on multiple muxers for the same stream closes
channels accidently see
[here](https://gist.github.com/Nazeh/a3f1d24b597913303afcb6c568f4b042)

* fix: deduplicate muxers on the same stream

opening multiple channels on multiple muxers causes channels to either
close or reset, see
[here](https://gist.github.com/Nazeh/a3f1d24b597913303afcb6c568f4b042)

* use userData
2022-08-31 12:49:19 +02:00
Mathias Buus fcdc0db1e1 move to brittle 3 2022-08-15 23:51:56 +02:00
Mathias Buus e00098b294 3.3.0 2022-08-13 00:54:18 +02:00
Kasper Isager Dalsgarð 88df528516
Add `aliases` option (#4)
* Add `aliases` option

* Clear aliases on GC
2022-08-13 00:52:34 +02:00
Mathias Buus 699dbed87d 3.2.2 2022-07-06 14:39:16 +02:00
Mathias Buus 5606c5ef85 auto split corks if they get too big 2022-07-06 14:39:04 +02:00
Ar Nazeh 3a2c88c5cb
docs: add documentation for iterating over channels (#3) 2022-04-06 11:48:35 +02:00
Mathias Buus 734be1f070 3.2.1 2022-03-24 15:19:57 +01:00
Mathias Buus c98b9489fa end on end 2022-03-24 15:19:55 +01:00
Mathias Buus 70cd098a83 3.2.0 2022-03-11 19:46:11 +01:00
Mathias Buus 0e5095aa35 re-add destroy 2022-03-11 19:46:06 +01:00
Mathias Buus ab9d484ada 3.1.1 2022-03-11 13:58:06 +01:00
Mathias Buus 21415211e7 session -> channel and make open explicit for easier control 2022-03-11 13:55:39 +01:00
Mathias Buus 90e8bc3288 3.1.0 2022-03-11 02:18:33 +01:00
Mathias Buus 8aff462da3 add isProtomux helper 2022-03-11 02:18:31 +01:00
Mathias Buus 79ce9e21f8 3.0.2 2022-03-11 02:11:51 +01:00
Mathias Buus 22acc08aa1 set backlog to infinity for now 2022-03-11 02:11:45 +01:00
Mathias Buus 1a3d98457c 3.0.1 2022-03-11 02:11:04 +01:00
Mathias Buus 017315cec2 missing queue-tick 2022-03-11 02:11:02 +01:00
Mathias Buus a4485f7f55 3.0.0 2022-03-11 02:10:21 +01:00
Mathias Buus 862d90d5ab docs for v3 2022-03-11 02:10:04 +01:00
Mathias Buus b3b9565081 context should be the first arg 2022-03-11 02:09:55 +01:00
Mathias Buus b266f01bf2 pass session to onopen/onclose and ondestroy for consistency 2022-03-10 23:38:18 +01:00
Mathias Buus 576e08180f move to sessions 2022-03-10 23:08:37 +01:00
Mathias Buus 717dbd0e50 2.0.0 2022-02-01 19:10:15 +01:00
Mathias Buus e2d05941d6
use message object api (#1) 2022-02-01 19:09:56 +01:00
Mathias Buus 08f976b283 1.1.0 2022-01-28 16:00:12 +01:00
Mathias Buus 534c417ed0 Protomux.from 2022-01-28 16:00:09 +01:00
Mathias Buus 1c3c559d99 1.0.1 2021-12-30 21:15:07 +01:00
Mathias Buus 7ba56242e7 missing deps 2021-12-30 21:15:04 +01:00
Mathias Buus e824628d06 1.0.0 2021-12-30 21:13:54 +01:00
Mathias Buus 45e10f4bec rewrote it 2021-12-30 21:13:47 +01:00
Mathias Buus c70c9f989f fix some bugs, iterate the api 2021-12-27 16:09:34 +01:00
Mathias Buus e8acc3934f missing messages.js 2021-11-15 16:12:21 +01:00
Mathias Buus ce309533f4 first commit 2021-11-10 15:15:09 +01:00