Skip to content

Commit

Permalink
fix usage of deprecated api
Browse files Browse the repository at this point in the history
  • Loading branch information
iBicha committed Dec 17, 2024
1 parent e1bcfc0 commit 031601d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

- Nothing worth mentioning yet.

## [0.33.2] - 2024-12-17

### Changed
Expand Down
2 changes: 1 addition & 1 deletion playlet-lib/src/components/Logger/Logger.bs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Init()
m.top.ObserveField("logLine", port)

scene = m.top.getScene()
scene.ObserveFieldScoped("systemLogEvent", port)
scene.ObserveFieldScopedEx("systemLogEvent", port)

m.port = port

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function LoungeGenerateManualPairingCodeTask(input as object) as object

if StringUtils.IsNullOrEmpty(input.loungeToken)
messagePort = CreateObject("roMessagePort")
loungeService.observeFieldScoped("loungeToken", messagePort)
loungeService.observeFieldScopedEx("loungeToken", messagePort)
loungeService.join = true
message = wait(30000, messagePort)
loungeService.unobserveFieldScoped("loungeToken")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace Http
loungeToken = m.loungeService.loungeToken
if StringUtils.IsNullOrEmpty(loungeToken)
messagePort = CreateObject("roMessagePort")
m.loungeService.observeFieldScoped("loungeToken", messagePort)
m.loungeService.observeFieldScopedEx("loungeToken", messagePort)
m.loungeService.join = true
message = wait(30000, messagePort)
m.loungeService.unobserveFieldScoped("loungeToken")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace Http
' If the lib_version_latest field is not available, we can give it a few seconds
' To make a request to Github to get the latest version.
msgPort = CreateObject("roMessagePort")
m.applicationInfoNode.observeFieldScoped("lib_version_latest", msgPort)
m.applicationInfoNode.observeFieldScopedEx("lib_version_latest", msgPort)
wait(5000, msgPort)
m.applicationInfoNode.unobserveFieldScoped("lib_version_latest")

Expand Down

0 comments on commit 031601d

Please sign in to comment.