- Introduced a TypeScript client library for the Distributed Directory Consensus Protocol (NIP-XX), providing a high-level API for managing directory events, identity resolution, and trust calculations. - Implemented core functionalities including event parsing, trust score aggregation, and replication filtering, mirroring the Go implementation. - Added comprehensive documentation and development guides for ease of use and integration. - Updated the `.gitignore` to include additional dependencies and build artifacts for the TypeScript client. - Enhanced validation mechanisms for group tag names and trust levels, ensuring robust input handling and security. - Created a new `bun.lock` file to manage package dependencies effectively.
44 lines
867 B
JSON
44 lines
867 B
JSON
{
|
|
"name": "@orly/directory-client",
|
|
"version": "0.1.0",
|
|
"description": "TypeScript client library for Nostr Distributed Directory Consensus Protocol",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"test": "vitest",
|
|
"lint": "eslint src/**/*.ts"
|
|
},
|
|
"keywords": [
|
|
"nostr",
|
|
"directory",
|
|
"consensus",
|
|
"relay",
|
|
"identity",
|
|
"delegation"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"applesauce-core": "^3.0.0",
|
|
"rxjs": "^7.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.3.0",
|
|
"vitest": "^1.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"applesauce-core": "^3.0.0"
|
|
}
|
|
}
|
|
|