mirror of
https://github.com/Rolands-Laucis/Socio.git
synced 2026-05-15 14:15:57 -06:00
fix last
This commit is contained in:
parent
fe19426215
commit
9e16f2faa7
3 changed files with 3 additions and 4 deletions
|
|
@ -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){
|
||||
|
|
|
|||
4
core/package-lock.json
generated
4
core/package-lock.json
generated
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue