2022-11-04 00:13:12 +00:00
|
|
|
{
|
|
|
|
"name": "@waku/message-encryption",
|
2024-09-05 23:42:16 +00:00
|
|
|
"version": "0.0.30",
|
2022-11-04 00:13:12 +00:00
|
|
|
"description": "Waku Message Payload Encryption",
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.js"
|
2022-12-05 04:14:17 +00:00
|
|
|
},
|
|
|
|
"./ecies": {
|
|
|
|
"types": "./dist/ecies.d.ts",
|
|
|
|
"import": "./dist/ecies.js"
|
|
|
|
},
|
|
|
|
"./symmetric": {
|
|
|
|
"types": "./dist/symmetric.d.ts",
|
|
|
|
"import": "./dist/symmetric.js"
|
2023-11-28 00:02:12 +00:00
|
|
|
},
|
|
|
|
"./crypto": {
|
|
|
|
"types": "./dist/crypto/index.d.ts",
|
|
|
|
"import": "./dist/crypto/index.js"
|
2022-11-04 00:13:12 +00:00
|
|
|
}
|
|
|
|
},
|
2022-12-16 01:10:14 +00:00
|
|
|
"typesVersions": {
|
|
|
|
"*": {
|
|
|
|
"*": [
|
|
|
|
"*",
|
|
|
|
"dist/*",
|
|
|
|
"dist/*/index"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-11-04 00:13:12 +00:00
|
|
|
"type": "module",
|
|
|
|
"author": "Waku Team",
|
|
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/message-encryption#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:*",
|
2023-02-28 03:55:17 +00:00
|
|
|
"fix:lint": "eslint src *.js --fix",
|
2022-11-04 00:13:12 +00:00
|
|
|
"check": "run-s check:*",
|
2023-02-28 03:55:17 +00:00
|
|
|
"check:lint": "eslint src *.js",
|
2022-11-04 00:13:12 +00:00
|
|
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
|
|
|
"check:tsc": "tsc -p tsconfig.dev.json",
|
2024-01-02 11:00:18 +00:00
|
|
|
"test": "NODE_ENV=test run-s test:*",
|
|
|
|
"test:node": "NODE_ENV=test TS_NODE_PROJECT=./tsconfig.dev.json mocha",
|
|
|
|
"test:browser": "NODE_ENV=test karma start karma.conf.cjs",
|
2022-11-04 00:13:12 +00:00
|
|
|
"prepublish": "npm run build",
|
2022-11-04 03:42:24 +00:00
|
|
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
2022-11-04 00:13:12 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2024-08-23 10:27:20 +00:00
|
|
|
"node": ">=20"
|
2022-11-04 00:13:12 +00:00
|
|
|
},
|
2022-11-04 00:38:32 +00:00
|
|
|
"browser": {
|
|
|
|
"crypto": false
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-02-10 00:22:25 +00:00
|
|
|
"@noble/secp256k1": "^1.7.1",
|
2024-09-05 23:42:16 +00:00
|
|
|
"@waku/core": "0.0.32",
|
|
|
|
"@waku/interfaces": "0.0.27",
|
2024-08-29 09:49:04 +00:00
|
|
|
"@waku/proto": "0.0.8",
|
2024-09-05 23:42:16 +00:00
|
|
|
"@waku/utils": "0.0.20",
|
2023-01-19 21:49:11 +00:00
|
|
|
"debug": "^4.3.4",
|
2023-12-08 10:52:16 +00:00
|
|
|
"js-sha3": "^0.9.2",
|
2024-02-07 00:38:10 +00:00
|
|
|
"uint8arrays": "^5.0.1"
|
2022-11-04 00:38:32 +00:00
|
|
|
},
|
2022-11-04 00:13:12 +00:00
|
|
|
"devDependencies": {
|
2023-11-27 11:11:15 +00:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
2023-02-10 02:14:02 +00:00
|
|
|
"@rollup/plugin-json": "^6.0.0",
|
2023-10-23 07:50:20 +00:00
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
2023-11-27 11:26:31 +00:00
|
|
|
"@types/chai": "^4.3.11",
|
2024-02-05 21:41:46 +00:00
|
|
|
"@types/mocha": "^10.0.6",
|
2023-03-02 04:24:08 +00:00
|
|
|
"@waku/build-utils": "*",
|
2023-11-27 11:26:31 +00:00
|
|
|
"chai": "^4.3.10",
|
2024-04-04 13:42:51 +00:00
|
|
|
"cspell": "^8.6.1",
|
2024-07-11 18:21:25 +00:00
|
|
|
"fast-check": "^3.19.0",
|
2024-02-13 16:51:57 +00:00
|
|
|
"mocha": "^10.3.0",
|
2022-11-04 00:13:12 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2023-02-10 05:30:18 +00:00
|
|
|
"process": "^0.11.10",
|
2024-02-29 00:16:50 +00:00
|
|
|
"rollup": "^4.12.0"
|
2022-11-04 00:13:12 +00:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"bundle",
|
|
|
|
"src/**/*.ts",
|
|
|
|
"!**/*.spec.*",
|
|
|
|
"!**/*.json",
|
|
|
|
"CHANGELOG.md",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
]
|
|
|
|
}
|