diff --git a/src/lib/Client.ts b/src/lib/Client.ts index 80f5822fb..33bd04fcc 100644 --- a/src/lib/Client.ts +++ b/src/lib/Client.ts @@ -131,11 +131,16 @@ export class Client { } export type ClientOptions = NetworkOptions; +export enum Env { + local = 'local', + dev = 'dev', + production = 'production' +} export type NetworkOptions = { /** * Specify which XMTP environment to connect to. (default: `dev`) */ - env: "local" | "dev" | "production"; + env: keyof typeof Env; /** * identifier that's included with API requests. *