• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
project logo

gaimeri17

getUpdateAvailability

Returns if an update is available.
Public
Like
getUpdateAvailability
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
1
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
6/5/2025
Viewing readonly version of main branch: v10
View latest version
README.md

getUpdateAvailability

Returns if the update is available.

Accessed via https://gaimeri17--d53f24729b424405a46d59f47fe47dab.web.val.run/1.0.0 where "1.0.0" is your version.

Current version is defined in the environment variable currentVersion.

If update is available, the following is returned:

{
  "message": "Update is available",
  "userVersion": "1.0.0",
  "serverVersion": "1.0.1"
}

If an update is not available, the following is returned:

{
  "message": "Update is not available",
  "userVersion": "1.0.0",
  "serverVersion": "1.0.0"
}
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.