Compare commits

...

5 Commits

Author SHA1 Message Date
semantic-release-bot e968e3c853 chore(release): 0.1.0-develop.18 [skip ci]
# [0.1.0-develop.18](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/compare/v0.1.0-develop.17...v0.1.0-develop.18) (2023-09-02)

### Bug Fixes

* implement end ([d4d6e38](d4d6e38eb1))
2023-09-02 16:59:58 +00:00
Derrick Hammer d4d6e38eb1
fix: implement end 2023-09-02 12:58:42 -04:00
Derrick Hammer cdbd5bae9b
dep: update libs5 2023-09-02 12:54:20 -04:00
Derrick Hammer 06ec76869a
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 12:51:37 -04:00
Derrick Hammer d51dddc95e
dep: update libs5 2023-09-02 12:51:29 -04:00
4 changed files with 20 additions and 8 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.18](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/compare/v0.1.0-develop.17...v0.1.0-develop.18) (2023-09-02)
### Bug Fixes
* implement end ([d4d6e38](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/commit/d4d6e38eb1e4fd1fa00a974f279ea49ecb4703b3))
# [0.1.0-develop.17](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/compare/v0.1.0-develop.16...v0.1.0-develop.17) (2023-09-01) # [0.1.0-develop.17](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/compare/v0.1.0-develop.16...v0.1.0-develop.17) (2023-09-01)
# [0.1.0-develop.16](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/compare/v0.1.0-develop.15...v0.1.0-develop.16) (2023-09-01) # [0.1.0-develop.16](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/compare/v0.1.0-develop.15...v0.1.0-develop.16) (2023-09-01)

12
package-lock.json generated
View File

@ -1,14 +1,14 @@
{ {
"name": "@lumeweb/libs5-transport-hyper", "name": "@lumeweb/libs5-transport-hyper",
"version": "0.1.0-develop.15", "version": "0.1.0-develop.17",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/libs5-transport-hyper", "name": "@lumeweb/libs5-transport-hyper",
"version": "0.1.0-develop.15", "version": "0.1.0-develop.17",
"dependencies": { "dependencies": {
"@lumeweb/libs5": "^0.1.0-develop.25", "@lumeweb/libs5": "^0.1.0-develop.43",
"streamx": "^2.15.1" "streamx": "^2.15.1"
}, },
"devDependencies": { "devDependencies": {
@ -1828,9 +1828,9 @@
} }
}, },
"node_modules/@lumeweb/libs5": { "node_modules/@lumeweb/libs5": {
"version": "0.1.0-develop.25", "version": "0.1.0-develop.43",
"resolved": "https://registry.npmjs.org/@lumeweb/libs5/-/libs5-0.1.0-develop.25.tgz", "resolved": "https://registry.npmjs.org/@lumeweb/libs5/-/libs5-0.1.0-develop.43.tgz",
"integrity": "sha512-kqvMrAU3fZLFwAqVwv0btu7dx0wBN/XkCGV9LivCoUz2DIT0T63W1Xv4LinpqDIZmbiXNmYt0CVQAhfe53b2UA==", "integrity": "sha512-kUGuT4kK9YVggqyMUj+pPY7okAFKxzACZTlA4BBBsgxAGIdr+iZLQwMfDlwzE4bdxndS52g1XM39Xv3K2xA/lQ==",
"dependencies": { "dependencies": {
"@noble/curves": "^1.1.0", "@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1", "@noble/hashes": "^1.3.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/libs5-transport-hyper", "name": "@lumeweb/libs5-transport-hyper",
"version": "0.1.0-develop.17", "version": "0.1.0-develop.18",
"type": "module", "type": "module",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {
@ -24,7 +24,7 @@
"lib" "lib"
], ],
"dependencies": { "dependencies": {
"@lumeweb/libs5": "^0.1.0-develop.25", "@lumeweb/libs5": "^0.1.0-develop.43",
"streamx": "^2.15.1" "streamx": "^2.15.1"
} }
} }

View File

@ -85,4 +85,9 @@ export default class HyperTransportPeer extends BasePeer {
sendMessage(message: Uint8Array): void { sendMessage(message: Uint8Array): void {
this._pipe.send(message); this._pipe.send(message);
} }
end(): void {
this._pipe.end();
this._socket.end();
}
} }