From d6d9dc0be16a77468c3415f0cd455ea9cf5be885 Mon Sep 17 00:00:00 2001 From: Iurii Malchenko Date: Thu, 17 Aug 2023 14:41:18 +0200 Subject: [PATCH] website update --- build.sbt | 2 +- .../site/examples/websocket/WebSocketUpickleExample.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 5e4e710..ce0b503 100644 --- a/build.sbt +++ b/build.sbt @@ -315,7 +315,7 @@ lazy val laminextSiteVersion: String = IO.read(file("website/.laminext-version") lazy val thisVersionSitePrefix = s"/v/$laminextSiteVersion/" lazy val vars = Seq( - "laminextVersion" -> "0.16.0", + "laminextVersion" -> "0.16.2", "laminarVersion" -> "16.0.0", "scalajsVersion" -> "1.13.2", "scala3version" -> "3.3.0", diff --git a/website/src/main/scala/io/laminext/site/examples/websocket/WebSocketUpickleExample.scala b/website/src/main/scala/io/laminext/site/examples/websocket/WebSocketUpickleExample.scala index 0442d3b..5816f9f 100644 --- a/website/src/main/scala/io/laminext/site/examples/websocket/WebSocketUpickleExample.scala +++ b/website/src/main/scala/io/laminext/site/examples/websocket/WebSocketUpickleExample.scala @@ -37,9 +37,9 @@ object WebSocketUpickleExample /* */ val ws = WebSocket.url("wss://echo.websocket.events").upickle(OptionPickler).json[Data, Data].build() + /* */ // or, when using upickle.default: // val ws = WebSocket.url("wss://echo.websocket.events").json[Data, Data].build() - /* */ val inputElement = input( tpe := "text",