Skip to content

Commit d0d3f0e

Browse files
authored
Merge branch 'main' into bump-meilisearch-v0.28.0
2 parents 13335b4 + 066c7a8 commit d0d3f0e

File tree

3 files changed

+613
-672
lines changed

3 files changed

+613
-672
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"cross-fetch": "^3.1.5"
7373
},
7474
"devDependencies": {
75-
"@babel/preset-env": "^7.18.2",
75+
"@babel/preset-env": "^7.18.6",
7676
"@rollup/plugin-babel": "^5.3.1",
7777
"@rollup/plugin-commonjs": "22.0.1",
7878
"@rollup/plugin-json": "^4.0.2",
@@ -102,7 +102,7 @@
102102
"nodemon": "^2.0.16",
103103
"prettier": "^2.2.1",
104104
"pretty-bytes": "^5.6.0",
105-
"rollup": "^2.75.5",
105+
"rollup": "^2.76.0",
106106
"rollup-plugin-terser": "^7.0.0",
107107
"rollup-plugin-typescript2": "^0.31.2",
108108
"shx": "^0.3.2",

src/clients/client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class Client {
275275
* @method getKey
276276
*
277277
* @param {string} keyOrUid - Key or uid of the API key
278-
* @returns {Promise<Keys>} Promise returning a key
278+
* @returns {Promise<Key>} Promise returning a key
279279
*/
280280
async getKey(keyOrUid: string): Promise<Key> {
281281
const url = `keys/${keyOrUid}`
@@ -288,7 +288,7 @@ class Client {
288288
* @method createKey
289289
*
290290
* @param {KeyCreation} options - Key options
291-
* @returns {Promise<Key>} Promise returning an object with keys
291+
* @returns {Promise<Key>} Promise returning a key
292292
*/
293293
async createKey(options: KeyCreation): Promise<Key> {
294294
const url = `keys`
@@ -302,7 +302,7 @@ class Client {
302302
*
303303
* @param {string} keyOrUid - Key
304304
* @param {KeyUpdate} options - Key options
305-
* @returns {Promise<Key>} Promise returning an object with keys
305+
* @returns {Promise<Key>} Promise returning a key
306306
*/
307307
async updateKey(keyOrUid: string, options: KeyUpdate): Promise<Key> {
308308
const url = `keys/${keyOrUid}`

0 commit comments

Comments
 (0)