bump lib0

This commit is contained in:
Kevin Jahns
2026-04-15 01:29:00 +02:00
parent f30c784cb9
commit ccff67a3f1
2 changed files with 7 additions and 6 deletions

View File

@@ -134,7 +134,9 @@ export const testBasics = _tc => {
// define a change: insert textual content and an object
const childChange = delta.create().insert('hello').insert([{ my: 'object' }]).done()
// merge changes
const mergedChanges = delta.create(delta.$deltaAny).apply(attrChange).apply(childChange).done()
const mergedChanges = delta.create(delta.$deltaAny)
mergedChanges.apply(attrChange)
mergedChanges.apply(childChange).done()
console.log('merged changes: ', mergedChanges.toJSON())
ytype.applyDelta(mergedChanges)
// the observed change should equal the applied change