Jonas Platte
b5d7f10c6b
feature: Introduce a login builder API
...
This improves the readability of login calls.
The old login API is kept, but deprecated.
2022-06-22 17:17:52 +02:00
Benjamin Kampmann
ab87013125
chore: make wasm-example non-publish
2022-05-10 15:10:01 +02:00
Benjamin Kampmann
d2f251b2d5
chore: version and path fixes for releasing
2022-05-09 20:11:10 +02:00
Benjamin Kampmann
a0ba610e0b
fixing wasm example
2022-04-20 16:35:55 +02:00
Jonas Platte
ad538f3f28
Upgrade Ruma
2022-04-12 14:39:30 +02:00
Damir Jelić
b9f415e81e
chore(sdk): Fix some clippy lints in the wasm example
2022-04-05 14:47:01 +02:00
Damir Jelić
f2e2976496
fix(sdk): Make the wasm_command_bot example compile and work
...
This patch does a couple of things:
1. Fix the compilation of the example, Message -> MessageLike
2. Update Webpack and friends for the example
3. Remove futures-timer's Delay method and use equivalent methods from
Tokio and wasm-timers.
The last point was needed because futures-timer would end up triggering
this error:
ReferenceError: can't access lexical declaration '__wbg_clearTimeout_d8b36ad8fa330187' before initialization
2022-04-05 14:02:07 +02:00
Damir Jelić
f5d2ea0efa
fix(sdk): Use a consistent naming scheme for our features
2022-03-30 10:26:38 +02:00
Jonas Platte
db9b3febd3
Upgrade Ruma
2022-03-28 17:54:06 +02:00
Kévin Commaille
ad31540b10
sdk: Don't enable store encryption by default
2022-03-10 17:28:34 +01:00
Jonas Platte
2c181bca4f
Consistently use .to_owned() instead of .to_string() for &str => String
2022-03-09 12:41:57 +01:00
Benjamin Kampmann
e2c6dc33fb
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
2022-02-02 12:16:49 +01:00
Jonas Platte
2f67b62509
Unbreak wasm_command_bot compilation
2022-02-01 15:08:02 +01:00
Jonas Platte
8dec390258
Upgrade Ruma
2022-02-01 15:08:01 +01:00
Benjamin Kampmann
afaeae8e6b
unify indexeddb-features and improve example build
2021-12-01 12:57:09 +01:00
Benjamin Kampmann
9b7c1d7c4d
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
2021-11-30 18:40:14 +01:00
Benjamin Kampmann
42680164ea
fix up CI test
2021-11-25 15:49:20 +01:00
Benjamin Kampmann
9835c4ad92
Update to webpack5
2021-11-24 11:00:52 +01:00
Benjamin Kampmann
5bba24ce77
activating browser tests
2021-11-17 18:18:20 +01:00
Benjamin Kampmann
8a2732ab5d
first steps
2021-11-15 20:05:43 +01:00
Jonas Platte
b27795c0d1
Upgrade ruma
2021-11-05 16:05:25 +01:00
Jonas Platte
b959d4be29
Use new event type aliases
2021-10-05 18:20:07 +02:00
Damir Jelić
43011261a8
fix(sdk): Remove the room_send method from the Client
...
This method is a bit dangerous if the room is encrypted, e.g. people can
send events before the room state has been fetched and thus accidentally
send out unencrypted events in an encrypted room.
2021-09-15 10:36:58 +02:00
Damir Jelić
af74988a83
chore: Rename the crate folders to use dashes instead of underscores
2021-09-14 16:38:33 +02:00