Skip to content

@onlyworlds/sdk 4.90.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 08:54
· 373 commits to main since this release

Added

  • mintWorldKey(worldId, { keep: true }): the key is kept across a sign-out, so revoking the token that minted it leaves it live, for a tool that stores a key on the device; disconnecting the tool, or a replayed sign-in code, still takes it. OwMintedKey.kept says so. Without keep, revoking a token revokes the keys it minted unless the tool holds another live token of its own; a token made by hand, or one of a tool that asks each time, never takes its keys. A keep that is not true or false is a TypeError before anything is sent.