@veloceapps/sdk 7.0.2-25 → 7.0.2-26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
| @@ -375,6 +375,13 @@ class RuntimeService { | |
| 375 375 | 
             
                                observable$ = observable$.pipe(map(() => this.deleteElement(operation)));
         | 
| 376 376 | 
             
                                break;
         | 
| 377 377 | 
             
                            }
         | 
| 378 | 
            +
                            case 'replace': {
         | 
| 379 | 
            +
                                observable$ = observable$.pipe(switchMap(() => {
         | 
| 380 | 
            +
                                    this.deleteElement({ op: 'remove', path: operation.path });
         | 
| 381 | 
            +
                                    return this.addElement$({ op: 'add', path: operation.path, value: operation.value });
         | 
| 382 | 
            +
                                }));
         | 
| 383 | 
            +
                                break;
         | 
| 384 | 
            +
                            }
         | 
| 378 385 | 
             
                            default:
         | 
| 379 386 | 
             
                                observable$ = of();
         | 
| 380 387 | 
             
                        }
         |