oops fix the server

Changed files
+36 -1
lexicons
server
+2 -1
lexicons/package.json
··· 4 4 "description": "info about atproto apps", 5 5 "main": "index.js", 6 6 "scripts": {}, 7 - "author": "" 7 + "author": "", 8 + "type": "module" 8 9 }
+2
server/index.js
··· 7 7 import * as jose from 'jose'; 8 8 import cookie from 'cookie'; 9 9 import cookieSig from 'cookie-signature'; 10 + import lexicons from 'lexicons'; 11 + import psl from 'psl'; 10 12 import webpush from 'web-push'; 11 13 import WebSocket from 'ws'; 12 14 import { v4 as uuidv4 } from 'uuid';
+30
server/package-lock.json
··· 9 9 "cookie": "^1.0.2", 10 10 "cookie-signature": "^1.2.2", 11 11 "jose": "^6.0.11", 12 + "lexicons": "file:../lexicons", 13 + "psl": "^1.15.0", 12 14 "uuid": "^11.1.0", 13 15 "web-push": "^3.6.7", 14 16 "ws": "^8.18.3" 15 17 } 18 + }, 19 + "../lexicons": { 20 + "version": "0.0.1" 16 21 }, 17 22 "node_modules/agent-base": { 18 23 "version": "7.1.3", ··· 328 333 "safe-buffer": "^5.0.1" 329 334 } 330 335 }, 336 + "node_modules/lexicons": { 337 + "resolved": "../lexicons", 338 + "link": true 339 + }, 331 340 "node_modules/mimic-response": { 332 341 "version": "3.1.0", 333 342 "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", ··· 420 429 "node": ">=10" 421 430 } 422 431 }, 432 + "node_modules/psl": { 433 + "version": "1.15.0", 434 + "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz", 435 + "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==", 436 + "license": "MIT", 437 + "dependencies": { 438 + "punycode": "^2.3.1" 439 + }, 440 + "funding": { 441 + "url": "https://github.com/sponsors/lupomontero" 442 + } 443 + }, 423 444 "node_modules/pump": { 424 445 "version": "3.0.3", 425 446 "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz", ··· 428 449 "dependencies": { 429 450 "end-of-stream": "^1.1.0", 430 451 "once": "^1.3.1" 452 + } 453 + }, 454 + "node_modules/punycode": { 455 + "version": "2.3.1", 456 + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", 457 + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", 458 + "license": "MIT", 459 + "engines": { 460 + "node": ">=6" 431 461 } 432 462 }, 433 463 "node_modules/rc": {
+2
server/package.json
··· 4 4 "cookie": "^1.0.2", 5 5 "cookie-signature": "^1.2.2", 6 6 "jose": "^6.0.11", 7 + "lexicons": "file:../lexicons", 8 + "psl": "^1.15.0", 7 9 "uuid": "^11.1.0", 8 10 "web-push": "^3.6.7", 9 11 "ws": "^8.18.3"