This commit is contained in:
Rolands 2026-01-07 10:52:41 +02:00
parent fe19426215
commit 9e16f2faa7
3 changed files with 3 additions and 4 deletions

View file

@ -557,7 +557,6 @@ export class SocioClient extends LogHandler {
//update local cache too, if the server accepted the change. This is important, because the server might have validation logic that rejects the set,
// but also that prop might have set to not emit to sender, so this client receiving diffs wouldnt have its own val updates.
const res = await (prom as Promise<data_base & data_result_block>); //wait for the server to ack the set
log('SetProp result:', res);
if(res?.result?.success === 1){ //if success, then update local cache
const prop = this.#props.get(prop_name);
if(prop){

View file

@ -1,12 +1,12 @@
{
"name": "socio",
"version": "1.15.8",
"version": "1.15.9",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "socio",
"version": "1.15.8",
"version": "1.15.9",
"license": "MIT",
"dependencies": {
"@msgpack/msgpack": "^3.1.2",

View file

@ -1,6 +1,6 @@
{
"name": "socio",
"version": "1.15.8",
"version": "1.15.9",
"description": "A WebSocket Real-Time Communication (RTC) API framework.",
"main": "./dist/core.js",
"type": "module",