btoabtoa provided by the Convex function runtime fails if the string contains values outside a certain range. newApiKey()newApiKey() function works in browsers but fails in Convex: https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABGApgdwIIAcYGkUCeAFAJQBciAzlAE4xgDmiA3gFCKID0niDKqNAIZQUiAMwAmALQAjAiMQYACgElEAa0LtEEBNURyRlRAF5FNIQQB0wGnAC2RZogA2-BlAAWFSYgC+ADSIpKYAfIgAssKeNi5wcDREUV5WQmAAJg4hAFSIEgCsAGwkJADc2tyI-LrpovSIAKoASgAyUpSCwKIygpQohQAsFTxEfaKeUFBYlGTc-FZoMOowWCjpMIJWCQyci8ucAEK9-QMAxABqgnSCYFCUAPqUIPb2VwT3UIIybiTaNChQEA0JAyKBwQREADKtHoDBsdnsAGFPFdEXBalZBFgsC5iGAQC4XEFDChKCVtBxUigcYIICgiJwADoAak4DCCAHIpBzfhxKf8aXSGYzuOzEBz7jyKYgqYL6ZwTGzOVK-KxWII3DQoERUJgcPhiCUgAJoin the Discord to ask follow-up questions and connect with the community
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
16,164 Members
Join