Add WebSocket support and update dependencies

- Introduced WebSocket polyfill for Node.js in seed-activity.ts and seed-profiles.ts to support applesauce-relay and RxJS.
- Updated package.json and package-lock.json to include 'ws' version 8.19.0 and '@types/ws' version 8.18.1 as dependencies.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dorian
2026-02-12 13:25:58 +00:00
parent 4bc14caae7
commit ab0560de00
4 changed files with 49 additions and 2 deletions

View File

@@ -25,10 +25,12 @@
"nostr-tools": "^2.23.0",
"pinia": "^3.0.4",
"vue": "^3.5.24",
"vue-router": "^4.6.3"
"vue-router": "^4.6.3",
"ws": "^8.19.0"
},
"devDependencies": {
"@types/node": "^24.10.0",
"@types/ws": "^8.18.1",
"@vitejs/plugin-vue": "^6.0.1",
"@vue/tsconfig": "^0.8.1",
"autoprefixer": "^10.4.22",