2022-10-31 14:32:39 +11:00
|
|
|
{
|
2023-06-05 17:10:13 +05:30
|
|
|
"name": "@waku/sdk",
|
2024-03-05 00:11:44 +01:00
|
|
|
"version": "0.0.23",
|
2023-06-05 17:10:13 +05:30
|
|
|
"description": "A unified SDK for easy creation and management of js-waku nodes.",
|
2022-10-31 14:32:39 +11:00
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.js"
|
2024-01-11 19:08:21 +05:30
|
|
|
},
|
|
|
|
"./relay": {
|
2024-03-11 18:50:34 +05:30
|
|
|
"types": "./dist/relay-node/index.d.ts",
|
|
|
|
"import": "./dist/relay-node/index.js"
|
2024-01-11 19:08:21 +05:30
|
|
|
}
|
|
|
|
},
|
|
|
|
"typesVersions": {
|
|
|
|
"*": {
|
|
|
|
"*": [
|
|
|
|
"*",
|
|
|
|
"dist/*",
|
|
|
|
"dist/*/index"
|
|
|
|
]
|
2022-10-31 14:32:39 +11:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "module",
|
|
|
|
"author": "Waku Team",
|
2023-06-05 17:10:13 +05:30
|
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/sdk#readme",
|
2022-10-31 14:32:39 +11:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/waku-org/js-waku.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/waku-org/js-waku/issues"
|
|
|
|
},
|
|
|
|
"license": "MIT OR Apache-2.0",
|
|
|
|
"keywords": [
|
|
|
|
"waku",
|
|
|
|
"decentralized",
|
|
|
|
"secure",
|
|
|
|
"communication",
|
|
|
|
"web3",
|
|
|
|
"ethereum",
|
|
|
|
"dapps",
|
|
|
|
"privacy"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"build": "run-s build:**",
|
|
|
|
"build:esm": "tsc",
|
|
|
|
"build:bundle": "rollup --config rollup.config.js",
|
|
|
|
"fix": "run-s fix:*",
|
2023-02-28 14:55:17 +11:00
|
|
|
"fix:lint": "eslint src *.js --fix",
|
2022-10-31 14:32:39 +11:00
|
|
|
"check": "run-s check:*",
|
2023-02-28 14:55:17 +11:00
|
|
|
"check:lint": "eslint src *.js",
|
2022-10-31 14:32:39 +11:00
|
|
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
|
|
|
"check:tsc": "tsc -p tsconfig.dev.json",
|
|
|
|
"prepublish": "npm run build",
|
2022-11-04 14:42:24 +11:00
|
|
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
2022-10-31 14:32:39 +11:00
|
|
|
},
|
|
|
|
"engines": {
|
2023-09-22 14:37:34 +05:30
|
|
|
"node": ">=18"
|
2022-10-31 14:32:39 +11:00
|
|
|
},
|
2022-10-31 14:49:39 +11:00
|
|
|
"dependencies": {
|
2024-01-15 16:12:01 -08:00
|
|
|
"@chainsafe/libp2p-noise": "^14.1.0",
|
2024-01-19 18:58:53 +01:00
|
|
|
"@libp2p/identify": "^1.0.11",
|
2024-01-18 12:23:47 +01:00
|
|
|
"@libp2p/mplex": "^10.0.12",
|
2024-03-07 23:10:37 +01:00
|
|
|
"@libp2p/ping": "^1.0.12",
|
2024-01-15 16:12:01 -08:00
|
|
|
"@libp2p/websockets": "^8.0.11",
|
2024-03-12 15:56:49 +05:30
|
|
|
"@waku/discovery": "0.0.1",
|
2024-03-05 00:11:44 +01:00
|
|
|
"@waku/core": "0.0.27",
|
|
|
|
"@waku/dns-discovery": "0.0.21",
|
|
|
|
"@waku/interfaces": "0.0.22",
|
|
|
|
"@waku/local-peer-cache-discovery": "^1.0.0",
|
|
|
|
"@waku/peer-exchange": "^0.0.20",
|
|
|
|
"@waku/relay": "0.0.10",
|
|
|
|
"@waku/utils": "0.0.15",
|
2024-03-04 10:56:20 +01:00
|
|
|
"libp2p": "^1.1.2",
|
|
|
|
"@libp2p/bootstrap": "^10.0.11"
|
2023-02-09 13:37:57 +11:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-02-27 22:01:02 +05:30
|
|
|
"@chainsafe/libp2p-gossipsub": "^12.0.0",
|
2023-11-27 12:11:15 +01:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
2023-02-10 13:14:02 +11:00
|
|
|
"@rollup/plugin-json": "^6.0.0",
|
2023-10-23 13:20:20 +05:30
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
2023-03-02 15:24:08 +11:00
|
|
|
"@waku/build-utils": "*",
|
2024-02-05 22:57:20 +01:00
|
|
|
"cspell": "^8.3.2",
|
2024-01-16 19:15:28 +01:00
|
|
|
"interface-datastore": "^8.2.10",
|
2022-10-31 14:32:39 +11:00
|
|
|
"npm-run-all": "^4.1.5",
|
2024-02-29 01:16:50 +01:00
|
|
|
"rollup": "^4.12.0"
|
2022-11-02 15:05:12 +11:00
|
|
|
},
|
2024-03-04 10:56:20 +01:00
|
|
|
"peerDependencies": {
|
2024-03-12 02:18:40 +01:00
|
|
|
"@libp2p/bootstrap": "^10",
|
|
|
|
"@waku/core": "0.0.27",
|
|
|
|
"@waku/dns-discovery": "0.0.21",
|
|
|
|
"@waku/interfaces": "0.0.22",
|
|
|
|
"@waku/local-peer-cache-discovery": "^1.0.0",
|
|
|
|
"@waku/peer-exchange": "^0.0.20",
|
|
|
|
"@waku/relay": "0.0.10",
|
|
|
|
"@waku/utils": "0.0.15"
|
|
|
|
},
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"@waku/interfaces": {
|
|
|
|
"optional": true
|
|
|
|
},
|
|
|
|
"@libp2p/bootstrap": {
|
|
|
|
"optional": true
|
|
|
|
}
|
2024-03-04 10:56:20 +01:00
|
|
|
},
|
2022-10-31 14:32:39 +11:00
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"bundle",
|
2023-03-25 09:43:40 +11:00
|
|
|
"src/**/*.ts",
|
2022-10-31 14:32:39 +11:00
|
|
|
"!**/*.spec.*",
|
|
|
|
"!**/*.json",
|
|
|
|
"CHANGELOG.md",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
]
|
|
|
|
}
|