Skip to content

Commit ca8763d

Browse files
authored
Update meilisearch-js to v0.27.0 (#242)
* Update meilisearch-js to v0.27.0 * Fix setup script with task api changes
1 parent aba306a commit ca8763d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"setup": "node setup.js"
1010
},
1111
"dependencies": {
12-
"meilisearch": "^0.25.0",
12+
"meilisearch": "^0.27.0",
1313
"vuepress": "^1.4.1",
1414
"vuepress-theme-default-prefers-color-scheme": "^2.0.0"
1515
}

playground/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,6 @@ const { MeiliSearch } = require('meilisearch')
213213

214214
const response = await index.addDocuments(dataset)
215215

216-
const task = await client.waitForTask(response.uid)
216+
const task = await client.waitForTask(response.taskUid)
217217
console.log(task)
218218
})()

playground/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4837,10 +4837,10 @@ [email protected]:
48374837
resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
48384838
integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=
48394839

4840-
meilisearch@^0.25.0:
4841-
version "0.25.0"
4842-
resolved "https://registry.yarnpkg.com/meilisearch/-/meilisearch-0.25.0.tgz#8e980fbdd36b9fe6ed606205e262418f21e64d84"
4843-
integrity sha512-TSIJTh5lva7WHBaoG3arNYQXuIAQkcD3BY09h2nHhjHS/wzxWKJM45x5bEC67Grw8zXihVqqmWty4a4ps4S+tg==
4840+
meilisearch@^0.27.0:
4841+
version "0.27.0"
4842+
resolved "https://registry.yarnpkg.com/meilisearch/-/meilisearch-0.27.0.tgz#8bd57ddb77b975f93e054cb977b951c488ece297"
4843+
integrity sha512-kZOZFIuSO7c6xRf+Y2/9/h6A9pl0sCl/G44X4KuaSwxGbruOZPhmxbeVEgLHBv4pUFvQ56rNVTA/2d/5GCU1YA==
48444844
dependencies:
48454845
cross-fetch "^3.1.5"
48464846

0 commit comments

Comments
 (0)