Bruno Windels
920fedae5e
merge master into bwindels/calls
2023-01-20 16:24:38 +01:00
Eric Eastwood
9ad5dd752c
Make no content PL fallback to 0
( #863 )
...
Make no `content` PL fallback to `0`. A valid PL event will have `content` but when you're just stubbing a PL event with an empty object `{}`, it doesn't need to exist and we can just as easily fallback to `0` PL level.
Split off from https://github.com/vector-im/hydrogen-web/pull/653
Changes necessary for https://github.com/matrix-org/matrix-public-archive/pull/57
2022-10-17 15:59:24 -05:00
Isaiah Becker-Mayer
77f21f7a91
fixes import order according to https://medium.com/visual-development/how-to-fix-nasty-circular-dependency-issues-once-and-for-all-in-javascript-typescript-a04c987cf0de
2022-08-20 16:39:39 -04:00
RMidhunSuresh
92c79c853d
Convert index.js to typescript
2022-05-27 22:42:21 +05:30
Bruno Windels
a50ea7e77b
add support for observing room state for single room + initial state
2022-05-12 17:27:03 +02:00
Bruno Windels
d727dfd843
add session.observeRoomState to observe state changes in all rooms
...
and use it for calls
this won't be called for state already received and stored in storage,
that you need to still do yourself
2022-05-12 11:58:28 +02:00
Bruno Windels
0fdc6b1c3a
log both to idb storage and console, include open items in export
...
refactor logging api so a logger has multiple reporters, IDBLogPersister
and/or ConsoleReporter.
By default, we add the idb persister for production and both for dev
You can also inject your own logger when creating the platform now.
2022-05-06 15:54:45 +02:00
Robert Long
2d00d10161
Export LocalMedia
2022-04-13 13:08:33 -07:00
Bruno Windels
d734a61447
Merge branch 'master' into bwindels/calls
2022-04-11 16:14:34 +02:00
Bruno Windels
cda96a35ee
rename viewClassForEntry to viewClassForTile
2022-04-08 15:01:06 +02:00
Bruno Windels
ac4bb8ca15
export tile view & view models from SDK
2022-04-08 14:27:08 +02:00
Bruno Windels
6aa79cf6e2
allow to inject custom tile view creator fn into timeline view
2022-04-07 17:25:20 +02:00
Bruno Windels
07bc0a2376
move observable values each in their own file
2022-03-29 12:01:46 +02:00
Bruno Windels
643ab1a5f3
cant export this for some reason
2022-03-01 15:48:42 +01:00
Bruno Windels
ee8e45926f
also export observable value classes
2022-03-01 15:42:04 +01:00
Bruno Windels
4c50dbf7ec
make SDK exports explicit
2022-03-01 15:41:44 +01:00
Ajay Bura
4a4856a29e
export module
2022-02-28 17:19:01 +05:30
Bruno Windels
2472f11ec0
export RoomStatus
2022-02-17 09:47:57 +01:00
Bruno Windels
1795f58ba5
rename imports
2022-02-14 17:53:59 +01:00
RMidhunSuresh
4a0db9f984
Add required exports
2022-02-04 18:28:17 +05:30
Bruno Windels
6247ced7b7
dont export, the ctor of these classes is not a public API
2021-12-22 17:24:58 +01:00
Bruno Windels
fe26f48c47
rename SessionContainer to Client
2021-12-22 17:09:52 +01:00
Bruno Windels
aac0e74b9d
also export LoadStatus
2021-10-01 12:49:30 +02:00
Bruno Windels
f89d169ef3
provide library entry point that provides convenient reexports of the public classes
2021-10-01 11:30:42 +02:00