diff --git a/README.md b/README.md index a44d2ab4..f6a9c0be 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,11 @@ client.config.serverUrl = 'http://localhost:50000'; ``` 3. You can create a new instance of the ExceptionlessClient and specify the `apiKey`, `serverUrl` or [configuration object](https://github.com/exceptionless/Exceptionless.JavaScript/blob/master/src/configuration/IConfigurationSettings.ts). ```javascript -var client = new exceptionless.ExceptionlessClient('API_KEY_HERE'); +var client = new Exceptionless.ExceptionlessClient('API_KEY_HERE'); // or with a api key and server url. -var client = new exceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:50000'); +var client = new Exceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:50000'); // or with a configuration object -var client = new exceptionless.ExceptionlessClient({ +var client = new Exceptionless.ExceptionlessClient({ apiKey: 'API_KEY_HERE', serverUrl: 'http://localhost:50000', submissionBatchSize: 100 @@ -69,11 +69,11 @@ client.config.serverUrl = 'http://localhost:50000'; ```javascript var exceptionless = require('exceptionless'); -var client = new exceptionless.ExceptionlessClient('API_KEY_HERE'); +var client = new Exceptionless.ExceptionlessClient('API_KEY_HERE'); // or with a api key and server url. -var client = new exceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:50000'); +var client = new Exceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:50000'); // or with a configuration object -var client = new exceptionless.ExceptionlessClient({ +var client = new Exceptionless.ExceptionlessClient({ apiKey: 'API_KEY_HERE', serverUrl: 'http://localhost:50000', submissionBatchSize: 100