-
Couldn't load subscription status.
- Fork 48
Open
Description
I am calling client.log.add in the browser code, and the returned metadata does not have the added field.
const client = new CrossTabClient({
server: (import.meta.env.DEV ?
'ws://localhost:8765' :
'wss://logux.example.com'),
store: new IndexedStore('try-logux'),
subprotocol: '1.0.0',
userId: 'anonymous', // TODO: We will fill it, in Authentication recipe
token: '123' // TODO: We will fill it in Authentication recipe
})
// ...
const inc = increment()
const meta = await client.log.add(inc, { sync: true }) // should add `added` here
debug('the increment meta', meta) // <-- does not have 'added' propLooking at the source code, we see that 'added' is added to meta. I'm not sure why I don't see it.
Metadata
Metadata
Assignees
Labels
No labels