update demo to 1.3.9

This commit is contained in:
Rolands 2023-07-29 22:25:39 +03:00
parent 6014b2d600
commit 60c443e301
3 changed files with 6 additions and 6 deletions

View file

@ -9,7 +9,7 @@
"version": "1.0.0",
"dependencies": {
"sequelize": "^6.28.0",
"socio": "^1.3.1",
"socio": "^1.3.9",
"sqlite3": "^5.1.4",
"svelte-french-toast": "^1.0.3",
"ws": "^8.11.0"
@ -2289,9 +2289,9 @@
}
},
"node_modules/socio": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/socio/-/socio-1.3.4.tgz",
"integrity": "sha512-RyuoYC5nBLA/6ZwiuyKHuB7dj4WDXvxMdwblyYM2zgLRN8Z576duxzAr5SUNElOzmCJdIC84yQNVgGbBpAd/FA==",
"version": "1.3.9",
"resolved": "https://registry.npmjs.org/socio/-/socio-1.3.9.tgz",
"integrity": "sha512-zgUDyeoXtpboEmYrW/7Xw5dgs/TZjcXuCZ8BJ2zLWfRtwkntEsyFQ8WuW3yb5cfvnYFCDZRZ7Be5pJ7LLxWOpQ==",
"dependencies": {
"base64-js": "^1.5.1",
"recursive-diff": "^1.0.9",

View file

@ -23,7 +23,7 @@
"type": "module",
"dependencies": {
"sequelize": "^6.28.0",
"socio": "^1.3.1",
"socio": "^1.3.9",
"sqlite3": "^5.1.4",
"svelte-french-toast": "^1.0.3",
"ws": "^8.11.0"

View file

@ -20,7 +20,7 @@ try {
//load in the secure_private_key with dotenv or smth. Dont hardcode like this
const socsec = new SocioSecurity({ secure_private_key: 'skk#$U#Y$7643GJHKGDHJH#$K#$HLI#H$KBKDBDFKU34534', logging: { verbose: false } });
const socserv = new SocioServer({ port: 3000 }, { db: db_interface, logging: { verbose: true, hard_crash: false }, socio_security: socsec });
const socserv = new SocioServer({ port: 3000, perMessageDeflate }, { db: db_interface, logging: { verbose: true, hard_crash: false }, socio_security: socsec });
socserv.RegisterProp('color', '#ffffff', {
// assigner is optional and has a default to just accept whatever new value comes in.