Skip to content

Commit

Permalink
Merge branch 'main' into fix-url-without-protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
sushrut111 authored Oct 4, 2021
2 parents 0ca6fef + 94e6310 commit faf92d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ NB: you can also download MeiliSearch from **Homebrew** or **APT**.

### Import <!-- omit in toc -->

Depending on the environment on which you are using MeiliSearch, imports may differ.
Depending on the environment in which you are using MeiliSearch, imports may differ.

#### Import Syntax <!-- omit in toc -->

Usage in a ES module environment:
Usage in an ES module environment:

```javascript
import { MeiliSearch } from 'meilisearch'
Expand Down Expand Up @@ -311,7 +311,7 @@ This repository also contains [more examples](./examples).

## ⚙️ Development Workflow and Contributing

Any new contribution is more than welcome in this project!
Any new contribution is more than welcome to this project!

If you want to know more about the development workflow or want to contribute, please visit our [contributing guidelines](/CONTRIBUTING.md) for detailed instructions!

Expand All @@ -323,7 +323,7 @@ If you want to know more about the development workflow or want to contribute, p

`client.index<T>('xxx').search(query: string, options: SearchParams = {}, config?: Partial<Request>): Promise<SearchResponse<T>>`

- Make a search request using GET method (slower than the search method):
- Make a search request using the GET method (slower than the search method):

`client.index<T>('xxx').searchGet(query: string, options: SearchParams = {}, config?: Partial<Request>): Promise<SearchResponse<T>>`

Expand All @@ -333,7 +333,7 @@ If you want to know more about the development workflow or want to contribute, p

`client.getIndexes(): Promise<IndexResponse[]>`

- Create new index:
- Create a new index:

`client.createIndex<T>(uid: string, options?: IndexOptions): Promise<Index<T>>`

Expand All @@ -345,7 +345,7 @@ If you want to know more about the development workflow or want to contribute, p

`client.getIndex<T>(uid: string): Promise<Index<T>>`

- Get or create index if it does not exist
- Get or create an index if it does not exist

`client.getOrCreateIndex<T>(uid: string, options?: IndexOptions): Promise<Index<T>>`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meilisearch",
"version": "0.21.0",
"version": "0.22.0",
"description": "The MeiliSearch JS client for Node.js and the browser.",
"keywords": [
"meilisearch",
Expand Down

0 comments on commit faf92d1

Please sign in to comment.