Skip to content

Commit

Permalink
modify client name (#177)
Browse files Browse the repository at this point in the history
change client name to @opensearch-project/opensearch

Signed-off-by: Anan Zhuang <ananzh@amazon.com>
  • Loading branch information
ananzh authored Sep 21, 2021
1 parent ce59d50 commit 7a9bbb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ If you prefer to add the client manually or just want to examine the source code
Then require the client:

```javascript
const { Client } = require('@opensearch/opensearch')
const { Client } = require('@opensearch-project/opensearch')
```


Expand All @@ -62,7 +62,7 @@ var ca_certs_path = '/full/path/to/root-ca.pem';
// var client_key_path = '/full/path/to/client-key.pem'

// Create a client with SSL/TLS enabled.
var { Client } = require('@opensearch/opensearch');
var { Client } = require('@opensearch-project/opensearch');
var fs = require('fs');
var client = new Client({
node: protocol + '://' + auth + '@' + host + ':' + port,
Expand Down

0 comments on commit 7a9bbb0

Please sign in to comment.