statsig-io / js-client

Statsig's SDK for client-side javascript applications.
ISC License
17 stars 11 forks source link

support any environment name #9

Closed KlotzAndrew closed 2 years ago

KlotzAndrew commented 2 years ago

The environment tier type currently restricts environment names to be either: 'production' | 'staging' | 'development', which may not map up with what environemnets are named

This change allows environments with any names

KlotzAndrew commented 2 years ago

closing, change introduced here

jkw-statsig commented 2 years ago

Thanks @KlotzAndrew! Didn't realize you had put up a PR for this already so we implemented it ourselves.