diff --git a/package-lock.json b/package-lock.json index d2bfe89567..e8b6b0235d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4894,6 +4894,10 @@ "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", "dev": true }, + "node_modules/@waku/core": { + "resolved": "packages/core", + "link": true + }, "node_modules/@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", @@ -10642,10 +10646,6 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "dev": true }, - "node_modules/js-waku": { - "resolved": "packages/core", - "link": true - }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -17981,8 +17981,8 @@ } }, "packages/core": { - "name": "js-waku", - "version": "0.30.0", + "name": "@waku/core", + "version": "0.0.1", "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^4.1.1", @@ -22009,6 +22009,116 @@ "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", "dev": true }, + "@waku/core": { + "version": "file:packages/core", + "requires": { + "@chainsafe/libp2p-gossipsub": "^4.1.1", + "@chainsafe/libp2p-noise": "^8.0.1", + "@ethersproject/rlp": "^5.5.0", + "@libp2p/crypto": "^1.0.4", + "@libp2p/interface-connection": "3.0.1", + "@libp2p/interface-peer-discovery": "^1.0.0", + "@libp2p/interface-peer-id": "^1.0.2", + "@libp2p/interface-peer-info": "^1.0.1", + "@libp2p/interface-peer-store": "^1.0.0", + "@libp2p/interface-pubsub": "^2.0.1", + "@libp2p/interfaces": "^3.0.2", + "@libp2p/mplex": "^5.1.1", + "@libp2p/peer-id": "^1.1.10", + "@libp2p/peer-id-factory": "^1.0.15", + "@libp2p/websockets": "^3.0.3", + "@multiformats/multiaddr": "^11.0.6", + "@noble/secp256k1": "^1.3.4", + "@rollup/plugin-commonjs": "^22.0.0", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.3.0", + "@types/app-root-path": "^1.2.4", + "@types/chai": "^4.2.15", + "@types/debug": "^4.1.7", + "@types/mocha": "^9.1.0", + "@types/node": "^17.0.6", + "@types/tail": "^2.0.0", + "@types/uuid": "^8.3.0", + "@typescript-eslint/eslint-plugin": "^5.8.1", + "@typescript-eslint/parser": "^5.8.1", + "app-root-path": "^3.0.0", + "chai": "^4.3.4", + "cspell": "^5.14.0", + "debug": "^4.3.4", + "dns-query": "^0.11.2", + "eslint": "^8.6.0", + "eslint-config-prettier": "^8.3.0", + "eslint-plugin-eslint-comments": "^3.2.0", + "eslint-plugin-functional": "^4.0.2", + "eslint-plugin-import": "^2.25.3", + "eslint-plugin-prettier": "^4.0.0", + "fast-check": "^2.14.0", + "gh-pages": "^3.2.3", + "hi-base32": "^0.5.1", + "ignore-loader": "^0.1.2", + "isomorphic-fetch": "^3.0.0", + "it-all": "^1.0.6", + "it-length-prefixed": "^8.0.2", + "it-pipe": "^2.0.4", + "js-sha3": "^0.8.0", + "jsdom": "^19.0.0", + "jsdom-global": "^3.0.2", + "karma": "^6.3.12", + "karma-chrome-launcher": "^3.1.0", + "karma-mocha": "^2.0.1", + "karma-webpack": "^5.0.0", + "libp2p": "0.38.0", + "mocha": "^9.1.3", + "npm-run-all": "^4.1.5", + "p-event": "^5.0.1", + "p-timeout": "^6.0.0", + "portfinder": "^1.0.28", + "prettier": "^2.1.1", + "process": "^0.11.10", + "protons": "^5.1.0", + "protons-runtime": "^3.1.0", + "puppeteer": "^13.0.1", + "rollup": "^2.75.0", + "tail": "^2.2.0", + "ts-loader": "^9.3.1", + "ts-node": "^10.9.1", + "typedoc": "^0.23.10", + "typescript": "^4.6.3", + "uint8arraylist": "^2.3.2", + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2" + }, + "dependencies": { + "@multiformats/multiaddr": { + "version": "11.0.6", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-11.0.6.tgz", + "integrity": "sha512-5TvEdCc5uFqcwGA+IwSw49swyHtUbwjhjwF3WQcV9vkzTv1C8oEWhoD2QcsiomDRk8rdqqRyDH6wlZExvLnxjw==", + "requires": { + "@chainsafe/is-ip": "^1.0.0", + "dns-over-http-resolver": "^2.1.0", + "err-code": "^3.0.1", + "multiformats": "^10.0.0", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "dependencies": { + "uint8arrays": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.2.tgz", + "integrity": "sha512-8CWXXZdOvVrIL4SeY/Gnp+idxxiGK4XFkP4FY26Sx/fpTz/b6vv4BVWELMDzQweSyyhdcuAcU14H6izzB6k1Cw==", + "requires": { + "multiformats": "^10.0.0" + } + } + } + }, + "multiformats": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-10.0.2.tgz", + "integrity": "sha512-nJEHLFOYhO4L+aNApHhCnWqa31FyqAHv9Q77AhmwU3KsM2f1j7tuJpCk5ByZ33smzycNCpSG5klNIejIyfFx2A==" + } + } + }, "@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", @@ -26398,116 +26508,6 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "dev": true }, - "js-waku": { - "version": "file:packages/core", - "requires": { - "@chainsafe/libp2p-gossipsub": "^4.1.1", - "@chainsafe/libp2p-noise": "^8.0.1", - "@ethersproject/rlp": "^5.5.0", - "@libp2p/crypto": "^1.0.4", - "@libp2p/interface-connection": "3.0.1", - "@libp2p/interface-peer-discovery": "^1.0.0", - "@libp2p/interface-peer-id": "^1.0.2", - "@libp2p/interface-peer-info": "^1.0.1", - "@libp2p/interface-peer-store": "^1.0.0", - "@libp2p/interface-pubsub": "^2.0.1", - "@libp2p/interfaces": "^3.0.2", - "@libp2p/mplex": "^5.1.1", - "@libp2p/peer-id": "^1.1.10", - "@libp2p/peer-id-factory": "^1.0.15", - "@libp2p/websockets": "^3.0.3", - "@multiformats/multiaddr": "^11.0.6", - "@noble/secp256k1": "^1.3.4", - "@rollup/plugin-commonjs": "^22.0.0", - "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-node-resolve": "^13.3.0", - "@types/app-root-path": "^1.2.4", - "@types/chai": "^4.2.15", - "@types/debug": "^4.1.7", - "@types/mocha": "^9.1.0", - "@types/node": "^17.0.6", - "@types/tail": "^2.0.0", - "@types/uuid": "^8.3.0", - "@typescript-eslint/eslint-plugin": "^5.8.1", - "@typescript-eslint/parser": "^5.8.1", - "app-root-path": "^3.0.0", - "chai": "^4.3.4", - "cspell": "^5.14.0", - "debug": "^4.3.4", - "dns-query": "^0.11.2", - "eslint": "^8.6.0", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^4.0.2", - "eslint-plugin-import": "^2.25.3", - "eslint-plugin-prettier": "^4.0.0", - "fast-check": "^2.14.0", - "gh-pages": "^3.2.3", - "hi-base32": "^0.5.1", - "ignore-loader": "^0.1.2", - "isomorphic-fetch": "^3.0.0", - "it-all": "^1.0.6", - "it-length-prefixed": "^8.0.2", - "it-pipe": "^2.0.4", - "js-sha3": "^0.8.0", - "jsdom": "^19.0.0", - "jsdom-global": "^3.0.2", - "karma": "^6.3.12", - "karma-chrome-launcher": "^3.1.0", - "karma-mocha": "^2.0.1", - "karma-webpack": "^5.0.0", - "libp2p": "0.38.0", - "mocha": "^9.1.3", - "npm-run-all": "^4.1.5", - "p-event": "^5.0.1", - "p-timeout": "^6.0.0", - "portfinder": "^1.0.28", - "prettier": "^2.1.1", - "process": "^0.11.10", - "protons": "^5.1.0", - "protons-runtime": "^3.1.0", - "puppeteer": "^13.0.1", - "rollup": "^2.75.0", - "tail": "^2.2.0", - "ts-loader": "^9.3.1", - "ts-node": "^10.9.1", - "typedoc": "^0.23.10", - "typescript": "^4.6.3", - "uint8arraylist": "^2.3.2", - "uint8arrays": "^3.0.0", - "uuid": "^8.3.2" - }, - "dependencies": { - "@multiformats/multiaddr": { - "version": "11.0.6", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-11.0.6.tgz", - "integrity": "sha512-5TvEdCc5uFqcwGA+IwSw49swyHtUbwjhjwF3WQcV9vkzTv1C8oEWhoD2QcsiomDRk8rdqqRyDH6wlZExvLnxjw==", - "requires": { - "@chainsafe/is-ip": "^1.0.0", - "dns-over-http-resolver": "^2.1.0", - "err-code": "^3.0.1", - "multiformats": "^10.0.0", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "dependencies": { - "uint8arrays": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.2.tgz", - "integrity": "sha512-8CWXXZdOvVrIL4SeY/Gnp+idxxiGK4XFkP4FY26Sx/fpTz/b6vv4BVWELMDzQweSyyhdcuAcU14H6izzB6k1Cw==", - "requires": { - "multiformats": "^10.0.0" - } - } - } - }, - "multiformats": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-10.0.2.tgz", - "integrity": "sha512-nJEHLFOYhO4L+aNApHhCnWqa31FyqAHv9Q77AhmwU3KsM2f1j7tuJpCk5ByZ33smzycNCpSG5klNIejIyfFx2A==" - } - } - }, "js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", diff --git a/packages/core/package.json b/packages/core/package.json index 85a975f2b5..542fa636b0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { - "name": "js-waku", - "version": "0.30.0", + "name": "@waku/core", + "version": "0.0.1", "description": "TypeScript implementation of the Waku v2 protocol", "types": "./dist/index.d.ts", "module": "./dist/index.js",