mirror of
https://github.com/status-im/js-waku.git
synced 2025-02-24 02:48:11 +00:00
This commit creates the class for an SDS message channel, including buffers for outgoing and incoming messages. Adds logic for sending messages, receiving messages, delivering messages, and reviewing acknowledgement status of messages. Also adds byte serialization for bloom filters.
92 lines
2.6 KiB
JSON
92 lines
2.6 KiB
JSON
{
|
|
"name": "@waku/sds",
|
|
"version": "0.0.1",
|
|
"description": "Scalable Data Sync implementation for the browser. Based on https://github.com/vacp2p/rfc-index/blob/main/vac/raw/sds.md",
|
|
"types": "./dist/index.d.ts",
|
|
"module": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"*",
|
|
"dist/*",
|
|
"dist/*/index"
|
|
]
|
|
}
|
|
},
|
|
"type": "module",
|
|
"author": "Waku Team",
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/scalable-data-sync#readme",
|
|
"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:*",
|
|
"fix:lint": "eslint src *.js --fix",
|
|
"check": "run-s check:*",
|
|
"check:lint": "eslint src *.js",
|
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
|
"check:tsc": "tsc -p tsconfig.dev.json",
|
|
"prepublish": "npm run build",
|
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build",
|
|
"test": "NODE_ENV=test run-s test:*",
|
|
"test:node": "NODE_ENV=test TS_NODE_PROJECT=./tsconfig.dev.json mocha"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"dependencies": {
|
|
"@noble/hashes": "^1.7.1",
|
|
"@waku/message-hash": "^0.1.17",
|
|
"@waku/proto": "^0.0.8",
|
|
"@waku/utils": "^0.0.21",
|
|
"chai": "^5.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@waku/build-utils": "*",
|
|
"allure-commandline": "^2.27.0",
|
|
"allure-mocha": "^2.9.2",
|
|
"cspell": "^8.6.1",
|
|
"fast-check": "^3.19.0",
|
|
"mocha-multi-reporters": "^1.5.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"rollup": "^4.12.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bundle",
|
|
"src/**/*.ts",
|
|
"!**/*.spec.*",
|
|
"!**/*.json",
|
|
"CHANGELOG.md",
|
|
"LICENSE",
|
|
"README.md"
|
|
]
|
|
}
|