Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

BuyOptions

What buy takes beside the product’s key.

Type Parameter Default type
Key extends string ProductKey
Property Type Description
context? unknown The value the product’s context schema checks, which the receipt freezes and grant receives, such as the plot an upgrade is for.
label? string What the sheet shows beside the value, as the game’s words, such as “Plot 3 in Our base”: at most 60 characters, through the word filter names pass.