You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lib0 is expecting item followed by key as parameters, while the set call in this package is sending key first and then value next, which is leading to the error:
Failed to execute 'put' on 'IDBObjectStore': The parameter is not a valid key
The text was updated successfully, but these errors were encountered:
Describe the bug
IndexeddbPersistence.set()
method has problems.Checkout this line of code
y-indexeddb/src/y-indexeddb.js
Line 152 in 2d21bdf
and then check this definition of
put
method from lib0:https://github.com/dmonad/lib0/blob/8a89d8d369c9dccd1187a75c04232e2a1ce39b7b/indexeddb.js#L126
The
lib0
is expectingitem
followed bykey
as parameters, while theset
call in this package is sendingkey
first and thenvalue
next, which is leading to the error:The text was updated successfully, but these errors were encountered: