diff --git a/examples/echo.nim b/examples/echo.nim index b9e52a2..4b9d395 100644 --- a/examples/echo.nim +++ b/examples/echo.nim @@ -1,4 +1,5 @@ -import ../src/nimbotsdk/[matrixTypes, MatrixClient, AutojoinRoomsMixin, SimpleFsStorageProvider, RustSdkCryptoStorageProvider] +import ../src/nimbotsdk/[matrixTypes, MatrixClient, mixins/AutojoinRoomsMixin] +import ../src/nimbotsdk/storage/[SimpleFsStorageProvider, RustSdkCryptoStorageProvider] const homeserver: cstring = "https://matrix.example.xyz" diff --git a/examples/printToken.nim b/examples/printToken.nim index d2b7817..f37335d 100644 --- a/examples/printToken.nim +++ b/examples/printToken.nim @@ -1,7 +1,7 @@ # This is a nim equivalent to the Login example written on the matrix-bot-sdk's # documentation website: https://turt2live.github.io/matrix-bot-sdk/tutorial-bot.html -import ../nimbotsdk +import ../src/nimbotsdk import jsconsole const homeserverUrl: cstring = "https://matrix.example.xyz"