diff --git a/package.json b/package.json index 3dd7e28..681fee2 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "@libp2p/mplex": "^7.1.3", "@libp2p/tcp": "^6.1.5", "@libp2p/utils": "^3.0.7", + "@lumeweb/kernel-protomux-client": "git+https://git.lumeweb.com/LumeWeb/kernel-protomux-client.git", "@lumeweb/kernel-swarm-client": "git+https://git.lumeweb.com/LumeWeb/kernel-swarm-client.git", "@multiformats/mafmt": "^11.1.2", "@peculiar/webcrypto": "git+https://git.lumeweb.com/LumeWeb/webcrypto.git", @@ -101,5 +102,13 @@ "net": "./src/net.ts", "crypto": "crypto-browserify", "stream": "stream-browserify" + }, + "pnpm": { + "overrides": { + "protomux": "@lumeweb/kernel-protomux-client" + }, + "patchedDependencies": { + "@libp2p/tcp@5.0.2": "patches/@libp2p__tcp@5.0.2.patch" + } } } diff --git a/patches/@libp2p__tcp@5.0.2.patch b/patches/@libp2p__tcp@5.0.2.patch new file mode 100644 index 0000000..e781159 --- /dev/null +++ b/patches/@libp2p__tcp@5.0.2.patch @@ -0,0 +1,19 @@ +diff --git a/package.json b/package.json +index ebe277ee0823744075577945103d234b501810cb..556bea63296a85e2334562dc87455a5690613467 100644 +--- a/package.json ++++ b/package.json +@@ -36,6 +36,14 @@ + ".": { + "types": "./src/index.d.ts", + "import": "./dist/src/index.js" ++ }, ++ "./socket-to-conn": { ++ "types": "./dist/src/socket-to-conn.d.ts", ++ "import": "./dist/src/socket-to-conn.js" ++ }, ++ "./utils": { ++ "types": "./dist/src/utils.d.ts", ++ "import": "./dist/src/utils.js" + } + }, + "eslintConfig": { \ No newline at end of file