Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | f3365838d9 | |
Derrick Hammer | c3377135b6 | |
Derrick Hammer | bb7c7dcece |
|
@ -1,3 +1,10 @@
|
|||
# [0.1.0-develop.24](https://git.lumeweb.com/LumeWeb/s5-js/compare/v0.1.0-develop.23...v0.1.0-develop.24) (2023-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* ensure we are using a ws protocol ([bb7c7dc](https://git.lumeweb.com/LumeWeb/s5-js/commit/bb7c7dcece26e4ff7de338ca2bf7bc12046edebe))
|
||||
|
||||
# [0.1.0-develop.23](https://git.lumeweb.com/LumeWeb/s5-js/compare/v0.1.0-develop.22...v0.1.0-develop.23) (2023-12-17)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/s5-js",
|
||||
"version": "0.1.0-develop.23",
|
||||
"version": "0.1.0-develop.24",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/s5-js",
|
||||
"version": "0.1.0-develop.23",
|
||||
"version": "0.1.0-develop.24",
|
||||
"dependencies": {
|
||||
"@lumeweb/libs5": "^0.1.0-develop.81",
|
||||
"@noble/hashes": "^1.3.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/s5-js",
|
||||
"version": "0.1.0-develop.23",
|
||||
"version": "0.1.0-develop.24",
|
||||
"type": "module",
|
||||
"module": "lib/index.js",
|
||||
"main": "lib/index.js",
|
||||
|
|
|
@ -70,7 +70,9 @@ export async function subscribeToEntry(
|
|||
endpointPath: opts.endpointSubscribeEntry,
|
||||
});
|
||||
|
||||
const socket = new WS(url);
|
||||
const wsUrl = url.replace(/^http/, "ws");
|
||||
|
||||
const socket = new WS(wsUrl);
|
||||
|
||||
socket.once("open", () => {
|
||||
const packer = new Packer();
|
||||
|
|
Loading…
Reference in New Issue