Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 20 Mar 14:44
· 1 commit to main since this release
b3cc043

Minor Changes

  • be08577: Add an option to throw if attempting to access an environment variable in the client that should only be accessed server-side.

    Example:

    /**
     * The following will throw an exception if run in the client.
     */
    const SECRET_API_KEY = getEnv("SECRET_API_KEY", { serverOnly: true });